Function at 0x56a6b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x56a6b8
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.00405208
xor eax, eax
push ebp
push 0x56a9c3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, 2
call fcn.00403350
mov eax, dword [ebp - 0x14]
mov edx, 0x56a9dc
call fcn.004051b0
jne 0x56a708
mov eax, dword [0x5755a0]
mov eax, dword [eax]
mov byte [eax + 0x49], 1
jmp 0x56a713
mov eax, dword [0x5755a0]
mov eax, dword [eax]
mov byte [eax + 0x49], 1
cmp dword [ebp - 8], 0
jne 0x56a72e
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00403350
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 8]
call fcn.0040a4d4
lea eax, [ebp - 0x1c]
mov ecx, 0x56a9ec
mov edx, dword [ebp - 8]
call fcn.004050a0
mov eax, dword [ebp - 0x1c]
call fcn.0040a30c
test al, al
je 0x56a757
lea eax, [ebp - 8]
mov edx, 0x56aa04
call fcn.00405054
mov eax, dword [0x5755a0]
mov eax, dword [eax]
add eax, 0x58
mov edx, dword [ebp - 8]
call fcn.00404ddc
mov edx, dword [0x575a24]
mov edx, dword [edx]
lea eax, [ebp - 0x20]
mov ecx, 0x56aa14
call fcn.004050a0
mov eax, dword [ebp - 0x20]
call fcn.0040a30c
test al, al
je 0x56a7a3
mov eax, dword [0x5755a0]
mov eax, dword [eax]
add eax, 0x34
mov edx, dword [0x575a24]
mov edx, dword [edx]
call fcn.00404ddc
jmp 0x56a7f7
mov edx, dword [0x575d88]
mov edx, dword [edx]
lea eax, [ebp - 0x24]
mov ecx, 0x56aa14
call fcn.004050a0
mov eax, dword [ebp - 0x24]
call fcn.0040a30c
test al, al
je 0x56a7dd
mov eax, dword [0x5755a0]
mov eax, dword [eax]
add eax, 0x34
mov edx, dword [0x575d88]
mov edx, dword [edx]
call fcn.00404ddc
jmp 0x56a7f7
mov eax, dword [0x5755a0]
mov eax, dword [eax]
add eax, 0x34
mov edx, dword [0x5755a0]
mov edx, dword [edx]
mov edx, dword [edx + 0x58]
call fcn.00404ddc
mov eax, dword [0x5755a0]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x48]
lea eax, [ebp - 0x34]
mov edx, dword [0x575d88]
mov edx, dword [edx]
call fcn.00415b90
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
mov edx, 0x56aa28
call fcn.00415b90
lea eax, [ebp - 0x44]
xor ecx, ecx
pop edx
call fcn.00551f58
lea eax, [ebp - 0x54]
mov edx, dword [0x575a68]
mov edx, dword [edx]
call fcn.00415b90
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
mov edx, 0x56aa38
call fcn.00415b90
lea eax, [ebp - 0x64]
xor ecx, ecx
pop edx
call fcn.00551f58
lea eax, [ebp - 0x74]
mov edx, dword [0x5759fc]
mov edx, dword [edx]
call fcn.00415b90
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x84]
mov edx, 0x56aa4c
call fcn.00415b90
lea eax, [ebp - 0x84]
xor ecx, ecx
pop edx
call fcn.00551f58
mov edx, dword [0x5759fc]
mov edx, dword [edx]
lea eax, [ebp - 0x88]
mov ecx, 0x56aa60
call fcn.004050a0
mov eax, dword [ebp - 0x88]
call fcn.0040a30c
test al, al
je 0x56a8e8
mov eax, dword [0x5758a0]
cmp dword [eax], 0
jne 0x56a8e8
mov edx, dword [0x5759fc]
mov edx, dword [edx]
lea eax, [ebp - 0x8c]
mov ecx, 0x56aa60
call fcn.004050a0
mov edx, dword [ebp - 0x8c]
mov eax, dword [0x575b2c]
mov eax, dword [eax]
call fcn.005525e0
mov edx, dword [0x575a24]
mov edx, dword [edx]
lea eax, [ebp - 0x90]
mov ecx, 0x56aa14
call fcn.004050a0
mov eax, dword [ebp - 0x90]
call fcn.0040a30c
test al, al
je 0x56a97a
xor eax, eax
push ebp
push 0x56a970
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x575a24]
mov edx, dword [edx]
lea eax, [ebp - 0x94]
mov ecx, 0x56aa14
call fcn.004050a0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00405218
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
mov eax, dword [0x575a24]
mov eax, dword [eax]
call fcn.004033f4
call fcn.004030b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56a97a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56a9ca
lea eax, [ebp - 0x94]
mov edx, 4
call fcn.00404dac
lea eax, [ebp - 0x84]
mov edx, dword [0x4010f0]
mov ecx, 6
call fcn.004059a4
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00404dac
lea eax, [ebp - 8]
call fcn.00404d88
ret