Function at 0x567d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a00a
mov eax, dword fs:[0]
push eax
mov eax, 0x2160
call fcn.00450720
mov eax, dword [0x5ed130]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2158], ecx
mov ecx, dword [ebp - 0x2158]
call fcn.00567b60
mov ecx, dword [ebp - 0x2158]
add ecx, 0x11c
call fcn.00401720
movzx eax, al
test eax, eax
je 0x567d5f
xor al, al
jmp 0x56811d
push 0x104
push 0
lea ecx, [ebp - 0x213c]
push ecx
call fcn.0043fa10
add esp, 0xc
mov edx, dword [ebp - 0x2158]
add edx, 0x11c
push edx
lea ecx, [ebp - 0x30]
call fcn.004015c0
mov dword [ebp - 4], 0
push 0x5db13e
lea ecx, [ebp - 0x30]
call fcn.00401700
push eax
call fcn.00441910
add esp, 8
test eax, eax
jne 0x567def
push 0x104
lea eax, [ebp - 0x213c]
push eax
mov ecx, dword [ebp - 0x2158]
call fcn.00567af0
movzx ecx, al
test ecx, ecx
jne 0x567dea
mov byte [ebp - 0x213d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401600
mov al, byte [ebp - 0x213d]
jmp 0x56811d
jmp 0x567f3a
push 0x5dba20
lea ecx, [ebp - 0x30]
call fcn.00401700
push eax
call fcn.00444730
add esp, 8
test eax, eax
jne 0x567f22
mov edx, dword [ebp - 0x2158]
push edx
lea ecx, [ebp - 0x30]
call fcn.00401640
mov ecx, dword [ebp - 0x2158]
add ecx, 0x11c
call fcn.00401700
push eax
lea ecx, [ebp - 0x30]
call fcn.004020a0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2144], esp
lea eax, [ebp - 0x30]
push eax
call fcn.004015c0
mov dword [ebp - 0x215c], eax
call fcn.00567250
add esp, 0x1c
mov byte [ebp - 0x215d], al
movzx ecx, byte [ebp - 0x215d]
test ecx, ecx
jne 0x567edc
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2148], esp
lea edx, [ebp - 0x30]
push edx
call fcn.004015c0
mov dword [ebp - 0x2164], eax
call fcn.00567370
add esp, 0x1c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x214c], esp
lea eax, [ebp - 0x30]
push eax
call fcn.004015c0
mov dword [ebp - 0x2168], eax
call fcn.00567250
add esp, 0x1c
mov byte [ebp - 0x2169], al
movzx ecx, byte [ebp - 0x2169]
test ecx, ecx
jne 0x567edc
push 0xb4
push 0x6e
push 0x47a
call fcn.00401fe0
mov edx, dword [eax + 0x514]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x5c
mov eax, dword [ebp + 8]
push eax
call fcn.00441850
add esp, 8
test eax, eax
je 0x567efc
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00401640
jmp 0x567f08
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x30]
call fcn.004020a0
lea ecx, [ebp - 0x30]
call fcn.00401700
push eax
lea eax, [ebp - 0x213c]
push eax
call fcn.0042aea0
add esp, 8
jmp 0x567f3a
lea ecx, [ebp - 0x30]
call fcn.00401700
push eax
lea ecx, [ebp - 0x213c]
push ecx
call fcn.0042aea0
add esp, 8
mov dword [ebp - 0x10], 0
push 0x5db13f
lea edx, [ebp - 0x213c]
push edx
call fcn.00441910
add esp, 8
test eax, eax
jne 0x567f7a
mov byte [ebp - 0x214d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401600
mov al, byte [ebp - 0x214d]
jmp 0x56811d
mov dword [ebp - 0x34], 0x2000
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2034]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00567870
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x567fc0
mov byte [ebp - 0x214e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401600
mov al, byte [ebp - 0x214e]
jmp 0x56811d
mov ecx, dword [ebp - 0x2158]
add ecx, 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x5dba24
lea edx, [ebp - 0x213c]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.004433de
add esp, 0xc
test eax, eax
je 0x56805d
push 0x5dba28
lea ecx, [ebp - 0x213c]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.004433de
add esp, 0xc
test eax, eax
je 0x56805d
push 0xbe
push 0x6e
push 0x47a
call fcn.00401fe0
mov eax, dword [eax + 0x514]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp - 0x2158]
add ecx, 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x214f], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401600
mov al, byte [ebp - 0x214f]
jmp 0x56811d
cmp dword [ebp - 0x10], 0
je 0x5680ef
push 2
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.00445231
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 1
lea edx, [ebp - 0x2034]
push edx
call fcn.00443593
add esp, 0x10
test eax, eax
jne 0x5680b2
push 0xbe
push 0x6e
push 0x47a
call fcn.00401fe0
mov eax, dword [eax + 0x514]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00443872
add esp, 4
mov edx, dword [ebp - 0x2158]
add edx, 0x104
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x2150], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401600
mov al, byte [ebp - 0x2150]
jmp 0x56811d
mov eax, dword [ebp - 0x2158]
add eax, 0x104
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x2151], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401600
mov al, byte [ebp - 0x2151]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043dd0c
mov esp, ebp
pop ebp
ret 8