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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff710
mov ebp, 0x4b5fc4
mov esi, 0x4c6d64
mov ebx, eax
mov byte [esp + 1], cl
mov byte [esp], dl
cmp byte [esp + 1], 0
je 0x457e4b
cmp byte [ebp + 0x1410], 0
je 0x457ebd
cmp dword [esi], 0
je 0x457ebd
mov byte [ebp + 0x1410], 0
jmp 0x457ebd
mov al, 1
call fcn.00457054
mov dword [ebp + 0x20c4], 2
test bl, bl
jne 0x457e66
cmp byte [esp], 0
je 0x457e6f
mov dl, byte [esp]
mov byte [ebp + 0x20fc], dl
mov dword [0x4c4748], 0
mov dword [0x4c474c], 0
cmp dword [0x4c3de0], 0
jne 0x457ebd
mov eax, 0x4c1454
mov cl, 1
mov edx, dword [ebp + 0x4af0]
call fcn.00468d04
cmp byte [0x4c1871], 0
je 0x457ebd
mov eax, dword [ebp + 0x4af0]
cmp dword [eax + 0x30], 1
jbe 0x457ebd
mov dword [ebp + 0x20c0], 5
cmp dword [0x4c3de0], 0
jne 0x457f8b
cmp byte [ebp + 0x3ef0], 0
jne 0x457f8b
xor ebx, ebx
lea edx, [ebp + 0x3ef0]
mov eax, dword [ebp + 0x2aa8]
call fcn.0045645b
lea eax, [ebp + 0x3ef0]
xor edx, edx
call fcn.0040c2e0
push 0x4a5503
push 0x400
lea ecx, [esp + 0xc]
mov edx, 0x4a59cf
mov eax, 0x4a5877
call fcn.0046be20
cmp byte [esp + 4], 0
jne 0x457f33
cmp byte [0x4c1871], 0
je 0x457f33
lea ecx, [esp + 4]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [esp + 4], 0
je 0x457f6b
lea eax, [esp + 4]
call fcn.0040bf34
lea edx, [ebp + 0x3ef0]
push edx
lea ecx, [esp + 8]
push ecx
call fcn.004948ec
add esp, 8
lea eax, [esp + 4]
push eax
lea edx, [ebp + 0x3ef0]
push edx
call fcn.004949c8
add esp, 8
push dword [ebp + 0x2aa8]
cmp byte [ebp + 0x410], 0
setne cl
and ecx, 1
lea eax, [ebp + 0x3ef0]
xor edx, edx
call fcn.00458278
cmp dword [ebp + 0x20c0], 0
jne 0x457f9e
mov dword [ebp + 0x20c0], 4
cmp dword [0x4c3de0], 0
je 0x458085
mov edi, dword [0x4c23a4]
test edi, edi
je 0x457fe2
cmp edi, 1
je 0x457fe2
push 0x30
mov eax, 0x65
call fcn.00411fe8
push eax
mov eax, 0x1fd
call fcn.00411fe8
push eax
push dword [0x4c1440]
call sub.USER32.DLL_MessageBoxA
jmp 0x45826b
lea ecx, [ebp + 0x42f0]
lea edx, [ebp + 0x3ef0]
mov eax, 0x4c219c
call fcn.004623f0
lea edx, [ebp + 0x1811]
mov eax, 0x4c219c
xor ecx, ecx
call fcn.004623c4
cmp byte [ebp + 0x1811], 0
je 0x45801e
lea eax, [ebp + 0x1811]
call fcn.0040bf34
mov byte [ebp + 0x20fe], 0
lea edx, [esp + 0x404]
mov eax, 0x4c219c
call fcn.00462424
mov edx, dword [esp + 0x414]
test edi, edi
mov dword [ebp + 0x2aa8], edx
jne 0x458051
cmp dword [esp + 0x45c], 0
je 0x45805e
mov ecx, dword [esp + 0x488]
mov dword [ebp + 0x20b0], ecx
cmp dword [esp + 0x474], 0
je 0x45807e
push str..rar_.zip_.cab_.7z_.ace_.arj_.bz2_.gz_.lha_.lzh_.taz_.tgz
lea eax, [ebp + 0x410]
push eax
call fcn.004949c8
add esp, 8
jmp 0x458085
mov byte [ebp + 0x410], 0
push dword [0x4c1440]
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x45809c
mov edi, dword [0x4c1440]
jmp 0x45809e
xor edi, edi
xor ecx, ecx
mov edx, ebx
mov eax, edi
call fcn.004562a1
test al, al
je 0x458252
mov eax, dword [esi + 8]
cmp eax, 1
je 0x4580be
cmp eax, 2
jne 0x458108
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push str._dd_dh_dm
lea edx, [esp + 0x4b0]
push edx
call fcn.00497928
add esp, 0x14
cmp dword [esi + 8], 1
jne 0x4580f6
lea edx, [esp + 0x4a0]
lea eax, [ebp + 0x215c]
call fcn.00413b24
jmp 0x458108
lea edx, [esp + 0x4a0]
lea eax, [ebp + 0x2188]
call fcn.00413b24
mov eax, dword [esi]
test eax, eax
je 0x458117
xor edx, edx
call fcn.00457564
jmp 0x45813e
cmp dword [0x4c3de0], 0
je 0x45813e
cmp dword [esp + 0x474], 0
je 0x45813e
xor edx, edx
mov dl, byte [ebp + 0x410]
cmp edx, 0x2a
jne 0x45813e
mov byte [ebp + 0x410], 0
mov ecx, dword [ebp + 0x4af0]
cmp dword [ecx + 0x30], 0
jne 0x458172
push 0x30
mov eax, 0x65
call fcn.00411fe8
push eax
mov eax, 0x14b
call fcn.00411fe8
push eax
push dword [0x4c1440]
call sub.USER32.DLL_MessageBoxA
jmp 0x458252
cmp byte [ebp + 0x1c11], 0
setne al
and eax, 1
mov byte [0x4c19f0], al
mov eax, 0x4c19c4
call fcn.004493b8
cmp byte [esi + 0x1a], 0
je 0x45819b
call fcn.00454dd9
jmp 0x4581ab
mov eax, 0x4c219c
mov dl, byte [ebp + 0x32ad]
call fcn.0045db7c
cmp dword [esi], 0
je 0x4581bc
lea ecx, [ebp + 0x1410]
push ecx
call sub.KERNEL32.DLL_DeleteFileA
cmp dword [0x4c3de4], 1
je 0x458252
cmp dword [0x4c3de0], 0
je 0x4581de
mov eax, 0x4c1454
call fcn.00464f18
jmp 0x458252
cmp byte [ebp + 0x20fc], 0
je 0x4581f1
mov eax, 0x4c197c
call fcn.004696d8
lea edx, [esp + 0x4f0]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea ecx, [esp + 0x4f0]
push ecx
call fcn.004949f8
pop ecx
mov ecx, eax
lea edx, [ebp + 0x3ef0]
lea eax, [esp + 0x4f0]
call fcn.0040edf0
test eax, eax
jne 0x458242
lea eax, [ebp + 0x3ef0]
call fcn.0040ba30
mov edx, eax
mov eax, 0x4c1454
call fcn.0046364c
jmp 0x458252
lea edx, [ebp + 0x3ef0]
mov eax, 0x4c1454
call fcn.0046364c
push dword [esi]
call fcn.00492fcc
pop ecx
mov byte [0x4c19f0], 0
mov eax, 0x4c19c4
call fcn.004493b8
add esp, 0x8f0
pop ebp
pop edi
pop esi
pop ebx
ret