Function at 0x57f83c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xfe
push 0
push 0
dec ecx
jne 0x57f844
push ebx
push esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x58007b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
call fcn.0040ac80
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x57f878
sub ebx, 4
mov ebx, dword [ebx]
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x57f884
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x6ac]
push eax
mov ecx, ebx
sub ecx, esi
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.00405400
push dword [ebp - 0x6ac]
push 0x580090
push dword [ebp - 0x14]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040529c
lea edx, [ebp - 0x6b0]
mov eax, dword [ebp - 0x14]
call fcn.0040ac48
mov eax, dword [ebp - 0x6b0]
push eax
lea edx, [ebp - 0x6b8]
mov eax, dword [0x59e16c]
mov eax, dword [eax]
call fcn.00480304
mov eax, dword [ebp - 0x6b8]
lea edx, [ebp - 0x6b4]
call fcn.0040abc0
mov edx, dword [ebp - 0x6b4]
lea eax, [ebp - 0x14]
pop ecx
call fcn.00405220
mov eax, dword [ebp - 0x14]
call fcn.0040a9dc
test al, al
je 0x57f918
mov eax, dword [ebp - 0x14]
call fcn.00405398
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x370]
mov edx, 0x580098
call fcn.004dd56c
mov edx, dword [eax]
call dword [edx + 0x50]
fstp qword [ebp - 0x1e8]
wait
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x370]
mov edx, 0x5800b8
call fcn.004dd56c
mov edx, dword [eax]
call dword [edx + 0x50]
fstp qword [ebp - 0xe0]
wait
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x370]
mov edx, 0x5800d4
call fcn.004dd56c
lea edx, [ebp - 0x7bc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x7bc]
lea eax, [ebp - 0x7b8]
mov ecx, 0xff
call fcn.004051a4
lea edx, [ebp - 0x7b8]
lea eax, [ebp - 0x2e8]
mov cl, 0xfe
call fcn.004035cc
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x370]
mov edx, 0x5800ec
call fcn.004dd56c
lea edx, [ebp - 0x7c0]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x7c0]
lea eax, [ebp - 0x7b8]
mov ecx, 0xff
call fcn.004051a4
lea edx, [ebp - 0x7b8]
lea eax, [ebp - 0x1e0]
mov cl, 0xfe
call fcn.004035cc
lea edx, [ebp - 0x7c4]
lea eax, [ebp - 0x2e8]
call fcn.005704c0
mov eax, dword [ebp - 0x7c4]
lea edx, [ebp - 4]
call fcn.005706f0
mov ecx, 0x58010c
mov edx, 4
mov eax, dword [ebp - 0x18]
call fcn.0057e310
mov eax, dword [0x59e16c]
mov eax, dword [eax]
call fcn.0047f9cc
xor ecx, ecx
push ebp
push 0x580013
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov dl, 1
mov eax, dword [0x41e57c]
call fcn.00403e94
mov ebx, eax
lea edx, [ebp - 0x7c8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x430]
call fcn.00461bf0
mov edx, dword [ebp - 0x7c8]
mov eax, ebx
call fcn.00423c5c
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
sub eax, 2
sbb edx, 0
push edx
push eax
mov eax, ebx
call fcn.00423428
lea edx, [ebp - 0x1e]
mov ecx, 2
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
sub eax, 2
sbb edx, 0
push edx
push eax
movzx eax, word [ebp - 0x1e]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, ebx
call fcn.00423428
movzx edx, word [ebp - 0x1e]
lea eax, [ebp - 0xc]
call fcn.00405628
lea eax, [ebp - 0xc]
call fcn.004053f8
mov edx, eax
movzx ecx, word [ebp - 0x1e]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.005705d4
lea eax, [ebp - 8]
call fcn.004053f8
lea edx, [ebp - 0x6c]
mov ecx, 0x4c
call fcn.0040318c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x24]
call fcn.00405628
mov eax, dword [ebp - 0x28]
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.00423428
lea eax, [ebp - 0x10]
call fcn.004053f8
mov edx, eax
mov ecx, dword [ebp - 0x24]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x48]
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.00423428
mov dl, 1
mov eax, dword [0x41e57c]
call fcn.00403e94
mov esi, eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x4f0], esi
mov eax, dword [ebp - 0x44]
xor edx, edx
push edx
push eax
mov eax, esi
mov edx, ebx
call fcn.004236a4
mov dl, 1
mov eax, dword [0x579de8]
call fcn.00579e5c
mov esi, eax
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.00579f9c
mov eax, dword [ebp - 0x18]
lea edx, [eax + 0x4f0]
mov eax, esi
call fcn.00579ea0
mov eax, esi
call fcn.00403ec4
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x4f0]
mov eax, dword [ebp - 0x18]
call fcn.0057cc58
mov dl, 1
mov eax, dword [0x579de8]
call fcn.00579e5c
mov esi, eax
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.00579f9c
mov eax, dword [ebp - 0x18]
lea edx, [eax + 0x4f0]
mov eax, esi
call fcn.00579ecc
mov eax, esi
call fcn.00403ec4
mov edx, dword [ebp - 0x48]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 4]
mov cx, 2
xor edx, edx
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x4f0]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x4f0]
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [esi + 4]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x57fc1d
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov cx, 2
xor edx, edx
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x14]
lea eax, [ebp - 0x10]
call fcn.004053f8
mov edx, eax
mov ecx, dword [ebp - 0x78]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 4]
mov eax, edx
test eax, eax
je 0x57fc5b
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov esi, edx
test esi, esi
je 0x57fc69
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 4]
call fcn.004053f8
mov edx, eax
mov ecx, esi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10]
mov dl, 1
mov eax, dword [0x41e57c]
call fcn.00403e94
mov esi, eax
lea edx, [ebp - 0x7d0]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x434]
call fcn.00461bf0
mov eax, dword [ebp - 0x7d0]
lea edx, [ebp - 0x7cc]
call fcn.00409ea8
cmp dword [ebp - 0x7cc], 0
je 0x57fd04
lea edx, [ebp - 0x7d4]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x434]
call fcn.00461bf0
mov edx, dword [ebp - 0x7d4]
mov eax, esi
call fcn.00423c5c
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x9c], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x98], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, esi
mov eax, ebx
call fcn.004236a4
jmp 0x57fd18
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x9c], eax
xor eax, eax
mov dword [ebp - 0x98], eax
lea edx, [ebp - 0x7d8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x4b8]
call fcn.00461bf0
cmp dword [ebp - 0x7d8], 0
je 0x57fd86
mov eax, esi
call fcn.00423c0c
lea edx, [ebp - 0x7dc]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x4b8]
call fcn.00461bf0
mov edx, dword [ebp - 0x7dc]
mov eax, esi
call fcn.00423c5c
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x94], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x90], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, esi
mov eax, ebx
call fcn.004236a4
lea edx, [ebp - 0x7e0]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x438]
call fcn.00461bf0
cmp dword [ebp - 0x7e0], 0
je 0x57fdf4
mov eax, esi
call fcn.00423c0c
lea edx, [ebp - 0x7e4]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x438]
call fcn.00461bf0
mov edx, dword [ebp - 0x7e4]
mov eax, esi
call fcn.00423c5c
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x8c], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x88], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, esi
mov eax, ebx
call fcn.004236a4
mov eax, esi
call fcn.00403ec4
mov cx, 2
xor edx, edx
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], 0x3c0
lea edx, [ebp - 0x6a8]
mov eax, dword [ebp - 0x18]
call fcn.0057c7c0
lea edx, [ebp - 0x6a8]
mov ecx, dword [ebp - 0x70]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10]
lea edx, [ebp - 0x7e8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x420]
call fcn.00461bf0
mov edx, dword [ebp - 0x7e8]
lea eax, [ebp - 0x7b8]
mov ecx, 0xff
call fcn.004051a4
lea edx, [ebp - 0x7b8]
lea eax, [ebp - 0xd4]
mov cl, 8
call fcn.004035cc
lea edx, [ebp - 0x7ec]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x41c]
call fcn.00461bf0
mov edx, dword [ebp - 0x7ec]
lea eax, [ebp - 0x7b8]
mov ecx, 0xff
call fcn.004051a4
lea edx, [ebp - 0x7b8]
lea eax, [ebp - 0xcb]
mov cl, 0x18
call fcn.004035cc
mov eax, dword [0x5a5518]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb0], 1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x4c8]
mov edx, dword [eax]
call dword [edx + 0xd8]
mov byte [ebp - 0xac], al
lea eax, [ebp - 8]
mov edx, 0x68
call fcn.00405628
lea eax, [ebp - 8]
call fcn.004053f8
mov edx, eax
lea eax, [ebp - 0xd4]
mov ecx, 0x68
call fcn.0040318c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.005706f0
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x57ff1a
sub eax, 4
mov eax, dword [eax]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0xc]
call fcn.004053f8
mov edx, eax
movzx ecx, word [ebp - 0x1e]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10]
movzx eax, word [ebp - 0x1e]
shr eax, 8
jne 0x57ff42
add word [ebp - 0x1e], 0xcd00
lea edx, [ebp - 0x1e]
mov ecx, 2
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x10]
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.00423b88
mov eax, ebx
call fcn.00403ec4
mov eax, dword [ebp - 0x18]
call fcn.0057ef30
mov ecx, 0x58012c
mov edx, 4
mov eax, dword [ebp - 0x18]
call fcn.0057e310
mov eax, dword [ebp - 0x14]
call fcn.00570d0c
lea edx, [ebp - 0x7f0]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x41c]
call fcn.00461bf0
mov ecx, dword [ebp - 0x7f0]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
call fcn.00579a18
push 0xc8
call sub.kernel32.dll_Sleep_2
mov eax, dword [ebp - 0x1c]
call fcn.00570d0c
mov eax, dword [ebp - 0x14]
call fcn.00405398
push eax
call sub.kernel32.dll_DeleteFileA
mov ecx, 0x580150
mov edx, 4
mov eax, dword [ebp - 0x18]
call fcn.0057e310
mov eax, 0x580168
call fcn.0045272c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58001a
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3cc]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3d0]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x68]
ret