Function at 0x44ffcc
Capabilities:
Delete file
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff714
mov ebp, 0x4a5e34
mov esi, 0x4ba9fc
mov ebx, eax
mov byte [esp + 1], cl
mov byte [esp], dl
cmp byte [esp + 1], 0
je 0x450007
cmp byte [ebp + 0xc08], 0
je 0x450058
cmp dword [esi], 0
je 0x450058
mov byte [ebp + 0xc08], 0
jmp 0x450058
mov al, 1
call fcn.0044f618
mov dword [ebp + 0x18bc], 2
test bl, bl
jne 0x450022
cmp byte [esp], 0
je 0x45002b
mov dl, byte [esp]
mov byte [ebp + 0x18e4], dl
mov dword [0x4b0564], 0
mov dword [0x4b0568], 0
cmp dword [0x4afc0c], 0
jne 0x450058
mov eax, 0x4ad5bc
mov edx, dword [ebp + 0x3284]
call fcn.0045ec40
cmp dword [0x4afc0c], 0
jne 0x450105
cmp byte [ebp + 0x2684], 0
jne 0x450105
xor ebx, ebx
lea edx, [ebp + 0x2684]
mov eax, dword [ebp + 0x1e68]
call fcn.0044ec01
lea eax, [ebp + 0x2684]
xor edx, edx
call fcn.0040b0f8
push 0x496bbf
push 0x400
lea ecx, [esp + 0xc]
mov edx, 0x496ff7
mov eax, 0x496f14
call fcn.00460a70
cmp byte [esp + 4], 0
je 0x4500e7
lea eax, [esp + 4]
call fcn.0040adfc
lea edx, [ebp + 0x2684]
push edx
lea ecx, [esp + 8]
push ecx
call fcn.00482924
add esp, 8
lea eax, [esp + 4]
push eax
lea edx, [ebp + 0x2684]
push edx
call fcn.00482a00
add esp, 8
cmp byte [ebp + 0x408], 0
setne dl
and edx, 1
lea eax, [ebp + 0x2684]
mov ecx, dword [ebp + 0x1e68]
call fcn.0044ed20
cmp dword [ebp + 0x18b8], 0
jne 0x450118
mov dword [ebp + 0x18b8], 4
cmp dword [0x4afc0c], 0
je 0x4501f2
mov edi, dword [0x4ae1d8]
test edi, edi
je 0x45015c
cmp edi, 1
je 0x45015c
push 0x30
mov eax, 0x65
call fcn.00410804
push eax
mov eax, 0x1fd
call fcn.00410804
push eax
push dword [0x4ad5a8]
call sub.USER32.DLL_MessageBoxA
jmp 0x450382
lea edx, [ebp + 0x2684]
mov eax, 0x4adfd0
xor ecx, ecx
call fcn.0045900c
lea edx, [ebp + 0x1008]
mov eax, 0x4adfd0
xor ecx, ecx
call fcn.00458fe0
cmp byte [ebp + 0x1008], 0
je 0x450194
lea eax, [ebp + 0x1008]
call fcn.0040adfc
mov byte [ebp + 0x18e6], 0
lea edx, [esp + 0x404]
mov eax, 0x4adfd0
call fcn.00459040
mov edx, dword [esp + 0x414]
test edi, edi
mov dword [ebp + 0x1e68], edx
jne 0x4501c7
cmp dword [esp + 0x45c], 0
je 0x4501d4
mov ecx, dword [esp + 0x488]
mov dword [ebp + 0x18a8], ecx
cmp dword [esp + 0x474], 0
je 0x4501f2
push str..rar_.zip_.cab_.ace_.arj_.bz2_.gz_.lha_.lzh_.taz_.tgz
lea eax, [ebp + 0x408]
push eax
call fcn.00482a00
add esp, 8
xor ecx, ecx
mov edx, ebx
mov eax, dword [0x4ad5a8]
call fcn.0044ea25
test al, al
je 0x450369
mov eax, dword [esi + 8]
cmp eax, 1
je 0x450215
cmp eax, 2
jne 0x45025f
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push str._dd_dh_dm
lea edx, [esp + 0x4ac]
push edx
call fcn.00486578
add esp, 0x14
cmp dword [esi + 8], 1
jne 0x45024d
lea edx, [esp + 0x49c]
lea eax, [ebp + 0x1944]
call fcn.0041208c
jmp 0x45025f
lea edx, [esp + 0x49c]
lea eax, [ebp + 0x1968]
call fcn.0041208c
mov eax, dword [esi]
test eax, eax
je 0x45026c
xor edx, edx
call fcn.0044fb18
mov edx, dword [ebp + 0x3284]
cmp dword [edx + 0x30], 0
jne 0x4502a0
push 0x30
mov eax, 0x65
call fcn.00410804
push eax
mov eax, 0x14b
call fcn.00410804
push eax
push dword [0x4ad5a8]
call sub.USER32.DLL_MessageBoxA
jmp 0x450369
cmp byte [ebp + 0x1408], 0
setne al
and eax, 1
mov byte [0x4adb40], al
mov eax, 0x4adb14
call fcn.00441fd8
cmp byte [esi + 0x1a], 0
je 0x4502c9
call fcn.0044d584
jmp 0x4502d9
mov eax, 0x4adfd0
mov dl, byte [ebp + 0x226d]
call fcn.00454c40
cmp dword [esi], 0
je 0x4502ea
lea ecx, [ebp + 0xc08]
push ecx
call sub.KERNEL32.DLL_DeleteFileA
cmp dword [0x4afc10], 1
je 0x450369
cmp dword [0x4afc0c], 0
je 0x450308
mov eax, 0x4ad5bc
call fcn.0045b6f8
jmp 0x450369
lea edx, [esp + 0x4ec]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea ecx, [esp + 0x4ec]
push ecx
call fcn.00482a30
pop ecx
mov ecx, eax
lea edx, [ebp + 0x2684]
lea eax, [esp + 0x4ec]
call fcn.0040d840
test eax, eax
jne 0x450359
lea eax, [ebp + 0x2684]
call fcn.0040a924
mov edx, eax
mov eax, 0x4ad5bc
call fcn.00459fd8
jmp 0x450369
lea edx, [ebp + 0x2684]
mov eax, 0x4ad5bc
call fcn.00459fd8
push dword [esi]
call fcn.00481004
pop ecx
mov byte [0x4adb40], 0
mov eax, 0x4adb14
call fcn.00441fd8
add esp, 0x8ec
pop ebp
pop edi
pop esi
pop ebx
ret