Function at 0x57d1d8
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x200a
push 0
push 0
dec ecx
jne 0x57d1e0
push ecx
push ebx
push esi
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x57d64c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10018]
mov eax, dword [0x58f298]
mov eax, dword [eax]
call fcn.004d897c
mov eax, dword [ebp - 0x10018]
mov edx, 0x40
call fcn.004148f8
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x57d5d7
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, 2
mov edx, 0xfffffdd0
mov eax, dword [ebp - 0x10]
call fcn.004149ec
mov eax, dword [ebp - 0xc]
lea edx, [eax + 0x3a0]
mov ecx, 0x230
mov eax, dword [ebp - 0x10]
call fcn.00414994
mov eax, dword [ebp - 0xc]
add eax, 0x3a0
mov edx, 0x57d65c
movzx ecx, byte [eax]
inc ecx
call fcn.00404b98
jne 0x57d5b6
lea eax, [ebp - 0x1001c]
mov edx, dword [ebp - 0xc]
add edx, 0x4e8
call fcn.00407770
mov eax, dword [ebp - 0x1001c]
push eax
lea edx, [ebp - 0x10024]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x388]
call fcn.004a82e4
mov edx, dword [ebp - 0x10024]
lea ecx, [ebp - 0x10020]
mov eax, dword [ebp - 0xc]
call fcn.0057ca40
mov edx, dword [ebp - 0x10020]
pop eax
call fcn.00407b84
jne 0x57d5aa
lea eax, [ebp - 0x10028]
mov edx, dword [ebp - 0xc]
add edx, 0x4f8
call fcn.00407770
mov eax, dword [ebp - 0x10028]
call fcn.0057cc78
test al, al
jne 0x57d2fe
mov eax, 0x57d670
call fcn.0057c840
call fcn.004060a4
jmp 0x57d5e6
call fcn.004175e4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x1002c]
mov edx, dword [ebp - 0xc]
add edx, 0x563
call fcn.00407770
mov eax, dword [ebp - 0x1002c]
push eax
lea eax, [ebp - 0x10030]
mov edx, dword [ebp - 0xc]
add edx, 0x530
call fcn.00407770
mov eax, dword [ebp - 0x10030]
pop edx
call fcn.0057cd8c
test al, al
jne 0x57d35d
mov eax, 0x57d68c
call fcn.0057c840
call fcn.004060a4
jmp 0x57d5e6
call fcn.004175e4
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x10034]
mov edx, dword [ebp - 0xc]
add edx, 0x596
call fcn.00407770
mov eax, dword [ebp - 0x10034]
call fcn.0057ce44
test al, al
jne 0x57d3bf
mov eax, 0x57d6ac
call fcn.0057c840
lea eax, [ebp - 0x10038]
mov edx, dword [ebp - 0xc]
add edx, 0x4f8
call fcn.00407770
mov eax, dword [ebp - 0x10038]
call fcn.0057cd14
call fcn.004060a4
jmp 0x57d5e6
lea eax, [ebp - 0x1003c]
mov edx, dword [ebp - 0xc]
add edx, 0x4f8
call fcn.00407770
mov eax, dword [ebp - 0x1003c]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x52c]
call fcn.0057cba0
test al, al
jne 0x57d41e
mov eax, 0x57d670
call fcn.0057c840
lea eax, [ebp - 0x10040]
mov edx, dword [ebp - 0xc]
add edx, 0x4f8
call fcn.00407770
mov eax, dword [ebp - 0x10040]
call fcn.0057cd14
call fcn.004060a4
jmp 0x57d5e6
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x5cc]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.004149ec
lea eax, [ebp - 0x10048]
mov edx, dword [ebp - 0xc]
add edx, 0x3a8
mov ecx, 0
call fcn.00406b18
mov ecx, dword [ebp - 0x10048]
lea eax, [ebp - 0x10044]
mov edx, 0x57d6cc
call fcn.00406c80
mov edx, dword [ebp - 0x10044]
mov eax, dword [ebp - 0xc]
add eax, 0x398
call fcn.00407628
lea edx, [ebp - 0x10050]
mov eax, dword [0x58f298]
mov eax, dword [eax]
call fcn.004d897c
mov eax, dword [ebp - 0x10050]
lea edx, [ebp - 0x1004c]
call fcn.00414c70
mov edx, dword [ebp - 0x1004c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x398]
lea eax, [ebp - 8]
call fcn.004078e0
xor ecx, ecx
mov edx, 0x10
mov eax, dword [ebp - 8]
call fcn.00414950
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x57d52c
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x10014]
mov ecx, 0x10000
mov eax, dword [ebp - 0x10]
call fcn.00414994
mov ebx, eax
lea edx, [ebp - 0x10014]
mov ecx, ebx
mov eax, dword [ebp - 0x14]
call fcn.004149c0
test ebx, ebx
je 0x57d4fa
cmp ebx, eax
je 0x57d4cd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57d533
mov ecx, 2
mov edx, 0xfffffdd0
mov eax, dword [ebp - 0x14]
call fcn.004149ec
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetEndOfFile_1
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov eax, 0x57d6ec
call fcn.0057c840
jmp 0x57d5c0
mov eax, 0x57d704
call fcn.0057c840
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57d5de
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57d653
lea eax, [ebp - 0x10054]
mov edx, 3
call fcn.004073f4
lea eax, [ebp - 0x10048]
mov edx, 2
call fcn.004067e4
lea eax, [ebp - 0x10040]
mov edx, 7
call fcn.004073f4
lea eax, [ebp - 0x10024]
call fcn.004073ec
lea eax, [ebp - 0x10020]
mov edx, 3
call fcn.004073f4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004073f4
ret