Function at 0x645b5c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x645b64
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405a7c
xor eax, eax
push ebp
push 0x645e6f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, 2
call fcn.00403404
mov eax, dword [ebp - 0x14]
mov edx, 0x645e88
call fcn.00405a24
jne 0x645bb4
mov eax, dword [0x65a1f8]
mov eax, dword [eax]
mov byte [eax + 0x49], 1
jmp 0x645bbf
mov eax, dword [0x65a1f8]
mov eax, dword [eax]
mov byte [eax + 0x49], 1
cmp dword [ebp - 8], 0
jne 0x645bda
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00403404
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 8]
call fcn.0040b358
lea eax, [ebp - 0x1c]
mov ecx, 0x645e98
mov edx, dword [ebp - 8]
call fcn.00405914
mov eax, dword [ebp - 0x1c]
call fcn.0040b07c
test al, al
je 0x645c03
lea eax, [ebp - 8]
mov edx, 0x645eb0
call fcn.004058c8
mov eax, dword [0x65a1f8]
mov eax, dword [eax]
add eax, 0x58
mov edx, dword [ebp - 8]
call fcn.00405650
mov edx, dword [0x65a730]
mov edx, dword [edx]
lea eax, [ebp - 0x20]
mov ecx, 0x645ec0
call fcn.00405914
mov eax, dword [ebp - 0x20]
call fcn.0040b07c
test al, al
je 0x645c4f
mov eax, dword [0x65a1f8]
mov eax, dword [eax]
add eax, 0x34
mov edx, dword [0x65a730]
mov edx, dword [edx]
call fcn.00405650
jmp 0x645ca3
mov edx, dword [0x65ab20]
mov edx, dword [edx]
lea eax, [ebp - 0x24]
mov ecx, 0x645ec0
call fcn.00405914
mov eax, dword [ebp - 0x24]
call fcn.0040b07c
test al, al
je 0x645c89
mov eax, dword [0x65a1f8]
mov eax, dword [eax]
add eax, 0x34
mov edx, dword [0x65ab20]
mov edx, dword [edx]
call fcn.00405650
jmp 0x645ca3
mov eax, dword [0x65a1f8]
mov eax, dword [eax]
add eax, 0x34
mov edx, dword [0x65a1f8]
mov edx, dword [edx]
mov edx, dword [edx + 0x58]
call fcn.00405650
mov eax, dword [0x65a1f8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x48]
lea eax, [ebp - 0x34]
mov edx, dword [0x65ab20]
mov edx, dword [edx]
call fcn.00416aa0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
mov edx, 0x645ed4
call fcn.00416aa0
lea eax, [ebp - 0x44]
xor ecx, ecx
pop edx
call fcn.0062c6b0
lea eax, [ebp - 0x54]
mov edx, dword [0x65a784]
mov edx, dword [edx]
call fcn.00416aa0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
mov edx, 0x645ee4
call fcn.00416aa0
lea eax, [ebp - 0x64]
xor ecx, ecx
pop edx
call fcn.0062c6b0
lea eax, [ebp - 0x74]
mov edx, dword [0x65a6f8]
mov edx, dword [edx]
call fcn.00416aa0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x84]
mov edx, 0x645ef8
call fcn.00416aa0
lea eax, [ebp - 0x84]
xor ecx, ecx
pop edx
call fcn.0062c6b0
mov edx, dword [0x65a6f8]
mov edx, dword [edx]
lea eax, [ebp - 0x88]
mov ecx, 0x645f0c
call fcn.00405914
mov eax, dword [ebp - 0x88]
call fcn.0040b07c
test al, al
je 0x645d94
mov eax, dword [0x65a55c]
cmp dword [eax], 0
jne 0x645d94
mov edx, dword [0x65a6f8]
mov edx, dword [edx]
lea eax, [ebp - 0x8c]
mov ecx, 0x645f0c
call fcn.00405914
mov edx, dword [ebp - 0x8c]
mov eax, dword [0x65a86c]
mov eax, dword [eax]
call fcn.0062cd38
mov edx, dword [0x65a730]
mov edx, dword [edx]
lea eax, [ebp - 0x90]
mov ecx, 0x645ec0
call fcn.00405914
mov eax, dword [ebp - 0x90]
call fcn.0040b07c
test al, al
je 0x645e26
xor eax, eax
push ebp
push 0x645e1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x65a730]
mov edx, dword [edx]
lea eax, [ebp - 0x94]
mov ecx, 0x645ec0
call fcn.00405914
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00405a8c
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
mov eax, dword [0x65a730]
mov eax, dword [eax]
call fcn.004034a8
call fcn.00403108
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x645e26
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x645e76
lea eax, [ebp - 0x94]
mov edx, 4
call fcn.00405620
lea eax, [ebp - 0x84]
mov edx, dword [0x40110c]
mov ecx, 6
call fcn.004063bc
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00405620
lea eax, [ebp - 8]
call fcn.004055fc
ret