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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff710
mov ebp, 0x4ae85c
mov esi, 0x4bf13c
mov ebx, eax
mov byte [esp + 1], cl
mov byte [esp], dl
cmp byte [esp + 1], 0
je 0x45356f
cmp byte [ebp + 0x1410], 0
je 0x4535e1
cmp dword [esi], 0
je 0x4535e1
mov byte [ebp + 0x1410], 0
jmp 0x4535e1
mov al, 1
call fcn.00452b10
mov dword [ebp + 0x20c4], 2
test bl, bl
jne 0x45358a
cmp byte [esp], 0
je 0x453593
mov dl, byte [esp]
mov byte [ebp + 0x20fc], dl
mov dword [0x4bcb78], 0
mov dword [0x4bcb7c], 0
cmp dword [0x4bc218], 0
jne 0x4535e1
mov eax, 0x4b98a4
mov cl, 1
mov edx, dword [ebp + 0x4ad8]
call fcn.004639cc
cmp byte [0x4b9cc1], 0
je 0x4535e1
mov eax, dword [ebp + 0x4ad8]
cmp dword [eax + 0x30], 1
jbe 0x4535e1
mov dword [ebp + 0x20c0], 5
cmp dword [0x4bc218], 0
jne 0x4536af
cmp byte [ebp + 0x3ed8], 0
jne 0x4536af
xor ebx, ebx
lea edx, [ebp + 0x3ed8]
mov eax, dword [ebp + 0x2a90]
call fcn.00451fef
lea eax, [ebp + 0x3ed8]
xor edx, edx
call fcn.0040bda0
push 0x49e0c7
push 0x400
lea ecx, [esp + 0xc]
mov edx, 0x49e521
mov eax, 0x49e43f
call fcn.00465984
cmp byte [esp + 4], 0
jne 0x453657
cmp byte [0x4b9cc1], 0
je 0x453657
lea ecx, [esp + 4]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [esp + 4], 0
je 0x45368f
lea eax, [esp + 4]
call fcn.0040ba60
lea edx, [ebp + 0x3ed8]
push edx
lea ecx, [esp + 8]
push ecx
call fcn.0048d80c
add esp, 8
lea eax, [esp + 4]
push eax
lea edx, [ebp + 0x3ed8]
push edx
call fcn.0048d8e8
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.00453984
cmp dword [ebp + 0x20c0], 0
jne 0x4536c2
mov dword [ebp + 0x20c0], 4
cmp dword [0x4bc218], 0
je 0x4537a9
mov edi, dword [0x4ba7dc]
test edi, edi
je 0x453706
cmp edi, 1
je 0x453706
push 0x30
mov eax, 0x65
call fcn.004116e8
push eax
mov eax, 0x1fd
call fcn.004116e8
push eax
push dword [0x4b9890]
call sub.USER32.DLL_MessageBoxA
jmp 0x453978
lea ecx, [ebp + 0x42d8]
lea edx, [ebp + 0x3ed8]
mov eax, 0x4ba5d4
call fcn.0045d270
lea edx, [ebp + 0x1810]
mov eax, 0x4ba5d4
xor ecx, ecx
call fcn.0045d244
cmp byte [ebp + 0x1810], 0
je 0x453742
lea eax, [ebp + 0x1810]
call fcn.0040ba60
mov byte [ebp + 0x20fe], 0
lea edx, [esp + 0x404]
mov eax, 0x4ba5d4
call fcn.0045d2a4
mov edx, dword [esp + 0x414]
test edi, edi
mov dword [ebp + 0x2a90], edx
jne 0x453775
cmp dword [esp + 0x45c], 0
je 0x453782
mov ecx, dword [esp + 0x488]
mov dword [ebp + 0x20b0], ecx
cmp dword [esp + 0x474], 0
je 0x4537a2
push str..rar_.zip_.cab_.ace_.arj_.bz2_.gz_.lha_.lzh_.taz_.tgz
lea eax, [ebp + 0x410]
push eax
call fcn.0048d8e8
add esp, 8
jmp 0x4537a9
mov byte [ebp + 0x410], 0
push dword [0x4b9890]
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4537c0
mov edi, dword [0x4b9890]
jmp 0x4537c2
xor edi, edi
xor ecx, ecx
mov edx, ebx
mov eax, edi
call fcn.00451e0b
test al, al
je 0x45395f
mov eax, dword [esi + 8]
cmp eax, 1
je 0x4537e2
cmp eax, 2
jne 0x45382c
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.004908b8
add esp, 0x14
cmp dword [esi + 8], 1
jne 0x45381a
lea edx, [esp + 0x4a0]
lea eax, [ebp + 0x215c]
call fcn.004131d0
jmp 0x45382c
lea edx, [esp + 0x4a0]
lea eax, [ebp + 0x2188]
call fcn.004131d0
mov eax, dword [esi]
test eax, eax
je 0x45383b
xor edx, edx
call fcn.00453010
jmp 0x453862
cmp dword [0x4bc218], 0
je 0x453862
cmp dword [esp + 0x474], 0
je 0x453862
xor edx, edx
mov dl, byte [ebp + 0x410]
cmp edx, 0x2a
jne 0x453862
mov byte [ebp + 0x410], 0
mov ecx, dword [ebp + 0x4ad8]
cmp dword [ecx + 0x30], 0
jne 0x453896
push 0x30
mov eax, 0x65
call fcn.004116e8
push eax
mov eax, 0x14b
call fcn.004116e8
push eax
push dword [0x4b9890]
call sub.USER32.DLL_MessageBoxA
jmp 0x45395f
cmp byte [ebp + 0x1c10], 0
setne al
and eax, 1
mov byte [0x4b9e28], al
mov eax, 0x4b9dfc
call fcn.00445520
cmp byte [esi + 0x1a], 0
je 0x4538bf
call fcn.00450946
jmp 0x4538cf
mov eax, 0x4ba5d4
mov dl, byte [ebp + 0x3295]
call fcn.00458c00
cmp dword [esi], 0
je 0x4538e0
lea ecx, [ebp + 0x1410]
push ecx
call sub.KERNEL32.DLL_DeleteFileA
cmp dword [0x4bc21c], 1
je 0x45395f
cmp dword [0x4bc218], 0
je 0x4538fe
mov eax, 0x4b98a4
call fcn.0045fbcc
jmp 0x45395f
lea edx, [esp + 0x4f0]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea ecx, [esp + 0x4f0]
push ecx
call fcn.0048d918
pop ecx
mov ecx, eax
lea edx, [ebp + 0x3ed8]
lea eax, [esp + 0x4f0]
call fcn.0040e648
test eax, eax
jne 0x45394f
lea eax, [ebp + 0x3ed8]
call fcn.0040b578
mov edx, eax
mov eax, 0x4b98a4
call fcn.0045e350
jmp 0x45395f
lea edx, [ebp + 0x3ed8]
mov eax, 0x4b98a4
call fcn.0045e350
push dword [esi]
call fcn.0048beec
pop ecx
mov byte [0x4b9e28], 0
mov eax, 0x4b9dfc
call fcn.00445520
add esp, 0x8f0
pop ebp
pop edi
pop esi
pop ebx
ret