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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff710
mov ebp, 0x4ae7ec
mov esi, 0x4c10cc
mov ebx, eax
mov byte [esp + 1], cl
mov byte [esp], dl
cmp byte [esp + 1], 0
je 0x45343f
cmp byte [ebp + 0x1410], 0
je 0x4534b1
cmp dword [esi], 0
je 0x4534b1
mov byte [ebp + 0x1410], 0
jmp 0x4534b1
mov al, 1
call fcn.004529e0
mov dword [ebp + 0x20c4], 2
test bl, bl
jne 0x45345a
cmp byte [esp], 0
je 0x453463
mov dl, byte [esp]
mov byte [ebp + 0x20fc], dl
mov dword [0x4bcb08], 0
mov dword [0x4bcb0c], 0
cmp dword [0x4bc1a8], 0
jne 0x4534b1
mov eax, 0x4b9834
mov cl, 1
mov edx, dword [ebp + 0x4ad8]
call fcn.00463858
cmp byte [0x4b9c51], 0
je 0x4534b1
mov eax, dword [ebp + 0x4ad8]
cmp dword [eax + 0x30], 1
jbe 0x4534b1
mov dword [ebp + 0x20c0], 5
cmp dword [0x4bc1a8], 0
jne 0x45357f
cmp byte [ebp + 0x3ed8], 0
jne 0x45357f
xor ebx, ebx
lea edx, [ebp + 0x3ed8]
mov eax, dword [ebp + 0x2a90]
call fcn.00451ed7
lea eax, [ebp + 0x3ed8]
xor edx, edx
call fcn.0040bda0
push 0x49e057
push 0x400
lea ecx, [esp + 0xc]
mov edx, 0x49e4b1
mov eax, 0x49e3cf
call fcn.004657f4
cmp byte [esp + 4], 0
jne 0x453527
cmp byte [0x4b9c51], 0
je 0x453527
lea ecx, [esp + 4]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [esp + 4], 0
je 0x45355f
lea eax, [esp + 4]
call fcn.0040ba60
lea edx, [ebp + 0x3ed8]
push edx
lea ecx, [esp + 8]
push ecx
call fcn.0048d67c
add esp, 8
lea eax, [esp + 4]
push eax
lea edx, [ebp + 0x3ed8]
push edx
call fcn.0048d758
add esp, 8
push dword [ebp + 0x2a90]
cmp byte [ebp + 0x410], 0
setne cl
and ecx, 1
lea eax, [ebp + 0x3ed8]
xor edx, edx
call fcn.00453854
cmp dword [ebp + 0x20c0], 0
jne 0x453592
mov dword [ebp + 0x20c0], 4
cmp dword [0x4bc1a8], 0
je 0x453679
mov edi, dword [0x4ba76c]
test edi, edi
je 0x4535d6
cmp edi, 1
je 0x4535d6
push 0x30
mov eax, 0x65
call fcn.004116e0
push eax
mov eax, 0x1fd
call fcn.004116e0
push eax
push dword [0x4b9820]
call sub.USER32.DLL_MessageBoxA
jmp 0x453848
lea ecx, [ebp + 0x42d8]
lea edx, [ebp + 0x3ed8]
mov eax, 0x4ba564
call fcn.0045d0fc
lea edx, [ebp + 0x1810]
mov eax, 0x4ba564
xor ecx, ecx
call fcn.0045d0d0
cmp byte [ebp + 0x1810], 0
je 0x453612
lea eax, [ebp + 0x1810]
call fcn.0040ba60
mov byte [ebp + 0x20fe], 0
lea edx, [esp + 0x404]
mov eax, 0x4ba564
call fcn.0045d130
mov edx, dword [esp + 0x414]
test edi, edi
mov dword [ebp + 0x2a90], edx
jne 0x453645
cmp dword [esp + 0x45c], 0
je 0x453652
mov ecx, dword [esp + 0x488]
mov dword [ebp + 0x20b0], ecx
cmp dword [esp + 0x474], 0
je 0x453672
push str..rar_.zip_.cab_.ace_.arj_.bz2_.gz_.lha_.lzh_.taz_.tgz
lea eax, [ebp + 0x410]
push eax
call fcn.0048d758
add esp, 8
jmp 0x453679
mov byte [ebp + 0x410], 0
push dword [0x4b9820]
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x453690
mov edi, dword [0x4b9820]
jmp 0x453692
xor edi, edi
xor ecx, ecx
mov edx, ebx
mov eax, edi
call fcn.00451cf3
test al, al
je 0x45382f
mov eax, dword [esi + 8]
cmp eax, 1
je 0x4536b2
cmp eax, 2
jne 0x4536fc
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.00490628
add esp, 0x14
cmp dword [esi + 8], 1
jne 0x4536ea
lea edx, [esp + 0x4a0]
lea eax, [ebp + 0x215c]
call fcn.004131c8
jmp 0x4536fc
lea edx, [esp + 0x4a0]
lea eax, [ebp + 0x2188]
call fcn.004131c8
mov eax, dword [esi]
test eax, eax
je 0x45370b
xor edx, edx
call fcn.00452ee0
jmp 0x453732
cmp dword [0x4bc1a8], 0
je 0x453732
cmp dword [esp + 0x474], 0
je 0x453732
xor edx, edx
mov dl, byte [ebp + 0x410]
cmp edx, 0x2a
jne 0x453732
mov byte [ebp + 0x410], 0
mov ecx, dword [ebp + 0x4ad8]
cmp dword [ecx + 0x30], 0
jne 0x453766
push 0x30
mov eax, 0x65
call fcn.004116e0
push eax
mov eax, 0x14b
call fcn.004116e0
push eax
push dword [0x4b9820]
call sub.USER32.DLL_MessageBoxA
jmp 0x45382f
cmp byte [ebp + 0x1c10], 0
setne al
and eax, 1
mov byte [0x4b9db8], al
mov eax, 0x4b9d8c
call fcn.0044546c
cmp byte [esi + 0x1a], 0
je 0x45378f
call fcn.0045082e
jmp 0x45379f
mov eax, 0x4ba564
mov dl, byte [ebp + 0x3295]
call fcn.00458a8c
cmp dword [esi], 0
je 0x4537b0
lea ecx, [ebp + 0x1410]
push ecx
call sub.KERNEL32.DLL_DeleteFileA
cmp dword [0x4bc1ac], 1
je 0x45382f
cmp dword [0x4bc1a8], 0
je 0x4537ce
mov eax, 0x4b9834
call fcn.0045fa58
jmp 0x45382f
lea edx, [esp + 0x4f0]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea ecx, [esp + 0x4f0]
push ecx
call fcn.0048d788
pop ecx
mov ecx, eax
lea edx, [ebp + 0x3ed8]
lea eax, [esp + 0x4f0]
call fcn.0040e640
test eax, eax
jne 0x45381f
lea eax, [ebp + 0x3ed8]
call fcn.0040b578
mov edx, eax
mov eax, 0x4b9834
call fcn.0045e1dc
jmp 0x45382f
lea edx, [ebp + 0x3ed8]
mov eax, 0x4b9834
call fcn.0045e1dc
push dword [esi]
call fcn.0048bd5c
pop ecx
mov byte [0x4b9db8], 0
mov eax, 0x4b9d8c
call fcn.0044546c
add esp, 0x8f0
pop ebp
pop edi
pop esi
pop ebx
ret