Function at 0x4057d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0xffffffff
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0x421461
call fcn.00416c85
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], 0xe1a4c7a9
mov esi, 0xc5a66a22
jmp 0x405840
mov dword [ebp - 0x34], 0xe1e2dac4
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x34]
cmp eax, 0x75abcbb4
jg 0x4058b0
cmp eax, 0x6ad9ca3e
jg 0x4058c0
cmp eax, 0x6052e5fc
jg 0x4058d7
cmp eax, 0x402bb42f
jg 0x4058ee
cmp eax, 0xcb151bf8
jg 0x40591b
cmp eax, 0xc3374b76
jne 0x405840
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00416df1
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x1c]
setne byte [ebp - 0xa]
mov dword [ebp - 0x34], 0xd0630761
jmp 0x405840
cmp eax, 0x75abcbb5
jne 0x405840
jmp 0x405832
cmp eax, 0x6ad9ca3f
jne 0x405840
mov dword [ebp - 0x34], 0xd37bd8d8
jmp 0x405840
cmp eax, 0x6052e5fd
jne 0x405840
mov dword [ebp - 0x34], 0xd3dec411
jmp 0x405840
cmp eax, 0x402bb430
jne 0x405840
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
add eax, esi
sub eax, dword [ebp - 0x2c]
add eax, 0x3a5995de
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], 0xcb151bf9
jmp 0x405840
cmp eax, 0x1d9326c5
jg 0x405974
cmp eax, 0x1748880d
jg 0x405996
cmp eax, 0x9d751d1
jg 0x4059ad
cmp eax, 0xf4964f81
jg 0x4059d1
cmp eax, 0xf1ac1c4c
jg 0x405a08
cmp eax, 0xcd088369
jg 0x405a26
cmp eax, 0xcb151bf9
jne 0x405840
mov eax, 0xedce0a2a
cmp dword [ebp - 0x1c], 0
jne 0x40596c
mov eax, 0xf1ac1c4d
mov dword [ebp - 0x34], eax
jmp 0x405840
cmp eax, 0x1d9326c6
jne 0x405840
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call fcn.00416edb
mov dword [ebp - 0x34], 0xe8093557
jmp 0x405840
cmp eax, 0x1748880e
jne 0x405840
mov dword [ebp - 0x34], 0xd37bd8d8
jmp 0x405840
cmp eax, 0x9d751d2
jne 0x405840
mov al, byte [ebp - 9]
test al, al
mov eax, 0x1d9326c6
jne 0x4059c9
mov eax, 0xe8093557
mov dword [ebp - 0x34], eax
jmp 0x405840
cmp eax, 0xf4964f82
jne 0x405840
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.004025b0
mov dword [ebp - 0x34], 0xcb151bf9
jmp 0x405840
cmp eax, 0xf1ac1c4d
jne 0x405840
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0xd37bd8d8
jmp 0x405840
cmp eax, 0xd0630760
jg 0x405a68
cmp eax, 0xcd08836a
jne 0x405840
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00416df1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], 0xc3374b76
jmp 0x405840
cmp eax, 0xd37bd8d7
jg 0x405a93
cmp eax, 0xd0630761
jne 0x405840
mov al, byte [ebp - 0xa]
test al, al
mov eax, 0x6052e5fd
jne 0x405a8b
mov eax, 0x402bb430
mov dword [ebp - 0x34], eax
jmp 0x405840
cmp eax, 0xedce0a29
jg 0x405ac6
cmp eax, 0xed20d63a
jg 0x405add
cmp eax, 0xe8093556
jg 0x405af4
cmp eax, 0xd3dec410
jg 0x405b01
cmp eax, 0xd37bd8d8
jne 0x405840
mov dword [ebp - 0x34], 0xe1e2dac4
jmp 0x405840
cmp eax, 0xedce0a2a
jne 0x405840
mov dword [ebp - 0x34], 0xc3374b76
jmp 0x405840
cmp eax, 0xed20d63b
jne 0x405840
mov dword [ebp - 0x34], 0xd3dec411
jmp 0x405840
cmp eax, 0xe8093557
jne 0x405840
jmp 0x405b52
cmp eax, 0xd3dec411
je 0x405b27
cmp eax, 0xe1a4c7a9
jne 0x405b33
mov eax, 0x6ad9ca3f
cmp dword [ebp - 0x10], 0
je 0x405b1f
mov eax, 0xf4964f82
mov dword [ebp - 0x34], eax
jmp 0x405840
mov dword [ebp - 0x34], 0x1748880e
jmp 0x405840
cmp eax, 0xe1e2dac4
jne 0x405840
cmp dword [ebp - 0x28], 0
setne byte [ebp - 9]
mov dword [ebp - 0x34], 0x9d751d2
jmp 0x405840
mov eax, dword [ebp - 0x30]
add esp, 0x3c
pop esi
pop edi
pop ebp
ret