Function at 0x41e6a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], 0
mov dword [ebp - 0xc], 0
movsx eax, byte [0x5f5e88]
test eax, eax
jne 0x41e6e1
push 0x55b754
push 0x5f5e88
call fcn.00532580
add esp, 8
movsx ecx, byte [0x5f5e88]
test ecx, ecx
je 0x41e985
mov edx, dword [ebp + 0x10]
push edx
push 0x5f5e88
push 0x55b790
lea eax, [ebp - 0x410]
push eax
call fcn.00532706
add esp, 0x10
mov dword [0x5f9e2c], 1
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00454b20
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ecx, dword [0x5f9e2c]
and ecx, 0x80
je 0x41e746
mov dword [ebp - 0xc], 1
mov dword [0x5f9e2c], 0
cmp dword [ebp - 0xc], 0
jne 0x41e985
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x55b798
lea ecx, [ebp - 0x810]
push ecx
call fcn.00532706
add esp, 0x10
lea edx, [ebp - 0x810]
push edx
call fcn.0041dea0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41e985
push 8
push 0x55b7a0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call fcn.0053387c
add esp, 0xc
test eax, eax
jne 0x41e936
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
add eax, 8
mov dword [ebp - 0x818], eax
mov ecx, dword [ebp - 0x818]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x818]
movzx ecx, byte [eax + 1]
shl ecx, 8
add edx, ecx
mov eax, dword [ebp - 0x818]
movzx ecx, byte [eax + 2]
shl ecx, 8
shl ecx, 8
add edx, ecx
mov eax, dword [ebp - 0x818]
movzx ecx, byte [eax + 3]
shl ecx, 8
shl ecx, 8
shl ecx, 8
add edx, ecx
mov dword [ebp - 0x824], edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
add eax, 0xc
mov dword [ebp - 0x818], eax
mov ecx, dword [ebp - 0x818]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x818]
movzx ecx, byte [eax + 1]
shl ecx, 8
add edx, ecx
mov eax, dword [ebp - 0x818]
movzx ecx, byte [eax + 2]
shl ecx, 8
shl ecx, 8
add edx, ecx
mov eax, dword [ebp - 0x818]
movzx ecx, byte [eax + 3]
shl ecx, 8
shl ecx, 8
shl ecx, 8
add edx, ecx
mov dword [ebp - 0x81c], edx
mov edx, dword [ebp - 0x81c]
add edx, 5
push edx
call fcn.005324a9
add esp, 4
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 0
je 0x41e925
mov eax, dword [ebp - 0x824]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
add edx, 0x10
push edx
lea eax, [ebp - 0x81c]
push eax
mov ecx, dword [ebp - 0x820]
push ecx
call fcn.0049d3d0
add esp, 0x10
lea edx, [ebp - 0x810]
push edx
lea eax, [ebp - 0x410]
push eax
call fcn.00532580
add esp, 8
lea ecx, [ebp - 0x410]
push ecx
call fcn.00532e80
add esp, 4
mov byte [ebp + eax - 0x413], 0
push 0x55b7ac
lea edx, [ebp - 0x410]
push edx
call fcn.0042eaa0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41e916
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp - 0x81c]
push ecx
mov edx, dword [ebp - 0x820]
push edx
call fcn.005337fa
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.00431d50
add esp, 4
mov ecx, dword [ebp - 0x820]
push ecx
call fcn.00532828
add esp, 4
lea edx, [ebp - 0x810]
push edx
call fcn.00429360
add esp, 4
jmp 0x41e979
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x410]
push ecx
call fcn.00532580
add esp, 8
lea edx, [ebp - 0x410]
push edx
call fcn.00532e80
add esp, 4
mov byte [ebp + eax - 0x413], 0
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x810]
push ecx
call fcn.00488210
add esp, 8
mov edx, dword [ebp - 4]
push edx
call fcn.0041e310
add esp, 4
mov eax, dword [ebp - 0x814]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret