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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff710
mov ebp, 0x4ae7e4
mov esi, 0x4c10c4
mov ebx, eax
mov byte [esp + 1], cl
mov byte [esp], dl
cmp byte [esp + 1], 0
je 0x45350b
cmp byte [ebp + 0x1410], 0
je 0x45357d
cmp dword [esi], 0
je 0x45357d
mov byte [ebp + 0x1410], 0
jmp 0x45357d
mov al, 1
call fcn.00452aac
mov dword [ebp + 0x20c4], 2
test bl, bl
jne 0x453526
cmp byte [esp], 0
je 0x45352f
mov dl, byte [esp]
mov byte [ebp + 0x20fc], dl
mov dword [0x4bcb00], 0
mov dword [0x4bcb04], 0
cmp dword [0x4bc1a0], 0
jne 0x45357d
mov eax, 0x4b982c
mov cl, 1
mov edx, dword [ebp + 0x4ad8]
call fcn.00463894
cmp byte [0x4b9c49], 0
je 0x45357d
mov eax, dword [ebp + 0x4ad8]
cmp dword [eax + 0x30], 1
jbe 0x45357d
mov dword [ebp + 0x20c0], 5
cmp dword [0x4bc1a0], 0
jne 0x45364b
cmp byte [ebp + 0x3ed8], 0
jne 0x45364b
xor ebx, ebx
lea edx, [ebp + 0x3ed8]
mov eax, dword [ebp + 0x2a90]
call fcn.00451fa3
lea eax, [ebp + 0x3ed8]
xor edx, edx
call fcn.0040bdb8
push 0x49dfe3
push 0x400
lea ecx, [esp + 0xc]
mov edx, 0x49e43d
mov eax, 0x49e35b
call fcn.0046582c
cmp byte [esp + 4], 0
jne 0x4535f3
cmp byte [0x4b9c49], 0
je 0x4535f3
lea ecx, [esp + 4]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [esp + 4], 0
je 0x45362b
lea eax, [esp + 4]
call fcn.0040ba78
lea edx, [ebp + 0x3ed8]
push edx
lea ecx, [esp + 8]
push ecx
call fcn.0048d348
add esp, 8
lea eax, [esp + 4]
push eax
lea edx, [ebp + 0x3ed8]
push edx
call fcn.0048d424
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.00453920
cmp dword [ebp + 0x20c0], 0
jne 0x45365e
mov dword [ebp + 0x20c0], 4
cmp dword [0x4bc1a0], 0
je 0x453745
mov edi, dword [0x4ba764]
test edi, edi
je 0x4536a2
cmp edi, 1
je 0x4536a2
push 0x30
mov eax, 0x65
call fcn.004117b8
push eax
mov eax, 0x1fd
call fcn.004117b8
push eax
push dword [0x4b9818]
call sub.USER32.DLL_MessageBoxA
jmp 0x453914
lea ecx, [ebp + 0x42d8]
lea edx, [ebp + 0x3ed8]
mov eax, 0x4ba55c
call fcn.0045d1a4
lea edx, [ebp + 0x1810]
mov eax, 0x4ba55c
xor ecx, ecx
call fcn.0045d178
cmp byte [ebp + 0x1810], 0
je 0x4536de
lea eax, [ebp + 0x1810]
call fcn.0040ba78
mov byte [ebp + 0x20fe], 0
lea edx, [esp + 0x404]
mov eax, 0x4ba55c
call fcn.0045d1d8
mov edx, dword [esp + 0x414]
test edi, edi
mov dword [ebp + 0x2a90], edx
jne 0x453711
cmp dword [esp + 0x45c], 0
je 0x45371e
mov ecx, dword [esp + 0x488]
mov dword [ebp + 0x20b0], ecx
cmp dword [esp + 0x474], 0
je 0x45373e
push 0x49e07e
lea eax, [ebp + 0x410]
push eax
call fcn.0048d424
add esp, 8
jmp 0x453745
mov byte [ebp + 0x410], 0
push dword [0x4b9818]
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x45375c
mov edi, dword [0x4b9818]
jmp 0x45375e
xor edi, edi
xor ecx, ecx
mov edx, ebx
mov eax, edi
call fcn.00451dbf
test al, al
je 0x4538fb
mov eax, dword [esi + 8]
cmp eax, 1
je 0x45377e
cmp eax, 2
jne 0x4537c8
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push 0x49e2b2
lea edx, [esp + 0x4b0]
push edx
call fcn.004902f4
add esp, 0x14
cmp dword [esi + 8], 1
jne 0x4537b6
lea edx, [esp + 0x4a0]
lea eax, [ebp + 0x215c]
call fcn.004132a0
jmp 0x4537c8
lea edx, [esp + 0x4a0]
lea eax, [ebp + 0x2188]
call fcn.004132a0
mov eax, dword [esi]
test eax, eax
je 0x4537d7
xor edx, edx
call fcn.00452fac
jmp 0x4537fe
cmp dword [0x4bc1a0], 0
je 0x4537fe
cmp dword [esp + 0x474], 0
je 0x4537fe
xor edx, edx
mov dl, byte [ebp + 0x410]
cmp edx, 0x2a
jne 0x4537fe
mov byte [ebp + 0x410], 0
mov ecx, dword [ebp + 0x4ad8]
cmp dword [ecx + 0x30], 0
jne 0x453832
push 0x30
mov eax, 0x65
call fcn.004117b8
push eax
mov eax, 0x14b
call fcn.004117b8
push eax
push dword [0x4b9818]
call sub.USER32.DLL_MessageBoxA
jmp 0x4538fb
cmp byte [ebp + 0x1c10], 0
setne al
and eax, 1
mov byte [0x4b9db0], al
mov eax, 0x4b9d84
call fcn.00445538
cmp byte [esi + 0x1a], 0
je 0x45385b
call fcn.004508fa
jmp 0x45386b
mov eax, 0x4ba55c
mov dl, byte [ebp + 0x3295]
call fcn.00458b34
cmp dword [esi], 0
je 0x45387c
lea ecx, [ebp + 0x1410]
push ecx
call sub.KERNEL32.DLL_DeleteFileA
cmp dword [0x4bc1a4], 1
je 0x4538fb
cmp dword [0x4bc1a0], 0
je 0x45389a
mov eax, 0x4b982c
call fcn.0045fb00
jmp 0x4538fb
lea edx, [esp + 0x4f0]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea ecx, [esp + 0x4f0]
push ecx
call fcn.0048d454
pop ecx
mov ecx, eax
lea edx, [ebp + 0x3ed8]
lea eax, [esp + 0x4f0]
call fcn.0040e718
test eax, eax
jne 0x4538eb
lea eax, [ebp + 0x3ed8]
call fcn.0040b590
mov edx, eax
mov eax, 0x4b982c
call fcn.0045e284
jmp 0x4538fb
lea edx, [ebp + 0x3ed8]
mov eax, 0x4b982c
call fcn.0045e284
push dword [esi]
call fcn.0048ba28
pop ecx
mov byte [0x4b9db0], 0
mov eax, 0x4b9d84
call fcn.00445538
add esp, 0x8f0
pop ebp
pop edi
pop esi
pop ebx
ret