Function at 0x5f2cf0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x5f2cf8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5f31a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
push 0
push 1
lea edx, [ebp - 0x20]
mov eax, dword [0x65a970]
mov eax, dword [eax]
call fcn.0061cb98
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov edx, 0x5f31c4
call fcn.00639070
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x65a7a8]
mov eax, dword [eax]
mov edx, 0x5f31e0
call fcn.00630e6c
test al, al
jne 0x5f2d62
push ebp
call fcn.005f2c4c
pop ecx
jmp 0x5f3170
lea edx, [ebp - 0x24]
mov eax, dword [0x65a970]
mov eax, dword [eax]
call fcn.0061cb98
lea eax, [ebp - 0x24]
mov edx, 0x5f31c4
call fcn.00405994
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov eax, dword [eax + 0x260]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor esi, esi
jmp 0x5f2f77
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
call fcn.00406e94
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 0x370
mov ecx, 1
mov edx, dword [0x5f2588]
call fcn.00407050
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
call fcn.00406e94
add eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x370]
lea ebx, [edx + eax*8 - 0x10]
lea ecx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov eax, dword [eax + 0x260]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea ecx, [ebp - 0x28]
mov edx, 0x5f3224
mov eax, dword [ebp - 8]
call fcn.006388b0
mov edx, dword [ebp - 0x28]
mov eax, ebx
call fcn.00405700
lea ecx, [ebp - 0x2c]
mov edx, 0x5f3224
mov eax, dword [ebp - 8]
call fcn.0063894c
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.00405744
lea ecx, [ebp - 0x30]
mov edx, 0x5f3224
mov eax, dword [ebp - 8]
call fcn.006388b0
mov eax, dword [ebp - 0x30]
xor edx, edx
call fcn.0040bb38
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x34]
mov edx, 0x5f3224
mov eax, dword [ebp - 8]
call fcn.0063894c
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 8]
call fcn.00405700
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5f2e81
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x14]
sub edx, 3
mov eax, dword [ebx + 8]
call fcn.0044f298
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0xc]
mov ecx, 0x5f3230
call fcn.004059e0
cmp dword [ebx + 8], 0
jne 0x5f2eee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
call fcn.00406e94
dec eax
push eax
mov eax, dword [ebp - 4]
add eax, 0x370
mov ecx, 1
mov edx, dword [0x5f2588]
call fcn.00407050
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov eax, dword [eax + 0x260]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x5f2f77
push dword [ebx]
push 0x5f323c
push dword [ebx + 8]
push 0x5f324c
push 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x65a508]
mov eax, dword [eax]
mov ecx, 0x5f3258
mov edx, 0x2d
call fcn.00637180
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
call fcn.00405950
mov eax, dword [ebp - 0x44]
push eax
lea edx, [ebp - 0x50]
mov eax, dword [ebx + 4]
call fcn.0040b8ac
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x4c]
mov eax, dword [0x65a508]
mov eax, dword [eax]
pop edx
call fcn.006378a4
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.00405a5c
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov eax, dword [eax + 0x260]
mov edx, esi
mov ebx, dword [eax]
call dword [ebx + 0x20]
inc esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov edx, dword [eax]
call dword [edx + 0xd8]
dec eax
cmp esi, eax
jle 0x5f2d9c
cmp dword [ebp - 0xc], 0xffffffff
je 0x5f2faa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov cl, 1
mov edx, dword [ebp - 0xc]
call fcn.0053b708
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.005f2c30
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xfc]
dec eax
jne 0x5f3170
mov eax, dword [ebp - 4]
call fcn.005f2bf0
test eax, eax
jne 0x5f2fdf
push ebp
call fcn.005f2c4c
pop ecx
jmp 0x5f3170
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov edx, dword [eax]
call dword [edx + 0xd8]
mov edi, eax
dec edi
test edi, edi
jl 0x5f316c
inc edi
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov edx, esi
call fcn.0053b7f0
test al, al
je 0x5f3164
mov ebx, esi
add ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
mov eax, dword [eax + ebx*8 + 4]
push eax
push 1
lea edx, [ebp - 0x58]
mov eax, dword [0x65a970]
mov eax, dword [eax]
call fcn.0061cb98
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x370]
mov edx, dword [edx + ebx*8 + 0xc]
lea ecx, [ebp - 0x54]
call fcn.00639070
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
mov ecx, dword [eax + ebx*8 + 0xc]
lea eax, [ebp - 0x5c]
mov edx, 0x5f3268
call fcn.004059e0
mov edx, dword [ebp - 0x5c]
mov eax, dword [0x65a7a8]
mov eax, dword [eax]
pop ecx
call fcn.00630e6c
test al, al
je 0x5f3123
lea edx, [ebp - 0x64]
mov eax, dword [0x65a970]
mov eax, dword [eax]
call fcn.0061cb98
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x370]
mov edx, dword [edx + ebx*8 + 8]
lea ecx, [ebp - 0x60]
call fcn.00639070
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.00405b58
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea edx, [ebp - 0x6c]
mov eax, dword [0x65a970]
mov eax, dword [eax]
call fcn.0061cb98
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x370]
mov edx, dword [edx + ebx*8 + 8]
lea ecx, [ebp - 0x68]
call fcn.00639070
mov eax, dword [ebp - 0x68]
push eax
lea edx, [ebp - 0x74]
mov eax, dword [0x65a970]
mov eax, dword [eax]
call fcn.0061cb98
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x370]
mov edx, dword [edx + ebx*8 + 0xc]
lea ecx, [ebp - 0x70]
call fcn.00639070
mov eax, dword [ebp - 0x70]
pop edx
call fcn.0063c4a8
lea edx, [ebp - 0x7c]
mov eax, dword [0x65a970]
mov eax, dword [eax]
call fcn.0061cb98
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x370]
mov edx, dword [edx + ebx*8 + 0xc]
lea ecx, [ebp - 0x78]
call fcn.00639070
mov ebx, dword [ebp - 0x78]
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp - 0x4c]
call fcn.00405b58
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
inc esi
dec edi
jne 0x5f2ffe
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f31af
lea eax, [ebp - 0x7c]
mov edx, 0xc
call fcn.004056d0
lea eax, [ebp - 0x48]
call fcn.00405ea8
lea eax, [ebp - 0x44]
mov edx, 0xb
call fcn.004056d0
lea eax, [ebp - 8]
call fcn.004056ac
ret