Function at 0x404fe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x38
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 - 0x10], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0xffffffff
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x46e4a0
call fcn.00413bc5
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x30], 0xdfd95521
mov esi, 0xd78ccd8f
jmp 0x405050
mov dword [ebp - 0x30], 0x90bebca4
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x30]
cmp eax, 0x90bebca3
jg 0x405070
cmp eax, 0x80e5a4ef
jne 0x405050
jmp 0x405042
cmp eax, 0xdfd95520
jg 0x405090
cmp eax, 0x90bebca4
jne 0x405050
mov dword [ebp - 0x30], 0x2a16f1aa
jmp 0x405050
cmp eax, 0xf7b44d35
jg 0x4050b3
cmp eax, 0xdfd95521
jne 0x405050
mov eax, 0x13522cf0
cmp dword [ebp - 0xc], 0
je 0x4050ae
mov eax, 0x5b8abee4
mov dword [ebp - 0x30], eax
jmp 0x405050
cmp eax, 0x146c84b
jg 0x4050e3
cmp eax, 0xf7b44d36
jne 0x405050
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
add eax, esi
sub eax, dword [ebp - 0x28]
add eax, 0x28733271
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], 0x60a3cc6e
jmp 0x405050
cmp eax, 0xde511c8
jg 0x40510c
cmp eax, 0x146c84c
jne 0x405050
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00413c46
mov dword [ebp - 0x30], 0xde511c9
jmp 0x405050
cmp eax, 0x13522cef
jg 0x405123
cmp eax, 0xde511c9
jne 0x405050
jmp 0x405278
cmp eax, 0x22d05582
jg 0x405141
cmp eax, 0x13522cf0
jne 0x405050
mov dword [ebp - 0x30], 0x90bebca4
jmp 0x405050
cmp eax, 0x60a3cc6d
jg 0x4051ba
cmp eax, 0x5b8abee3
jg 0x4051dd
cmp eax, 0x4fac3e3d
jg 0x405214
cmp eax, 0x40c76aa0
jg 0x40522b
cmp eax, 0x22d05583
je 0x405249
cmp eax, 0x251bc903
jne 0x405261
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00413e14
mov dword [ebp - 0x28], eax
mov ecx, 0x4fac3e3e
cmp eax, dword [ebp - 0x18]
jne 0x4051b2
mov ecx, 0xf7b44d36
mov dword [ebp - 0x30], ecx
jmp 0x405050
cmp eax, 0x60a3cc6e
jne 0x405050
mov eax, 0x251bc903
cmp dword [ebp - 0x18], 0
jne 0x4051d5
mov eax, 0x40c76aa1
mov dword [ebp - 0x30], eax
jmp 0x405050
cmp eax, 0x5b8abee4
jne 0x405050
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.00402690
mov dword [ebp - 0x30], 0x60a3cc6e
jmp 0x405050
cmp eax, 0x4fac3e3e
jne 0x405050
mov dword [ebp - 0x30], 0x22d05583
jmp 0x405050
cmp eax, 0x40c76aa1
jne 0x405050
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0x22d05583
jmp 0x405050
mov eax, 0x146c84c
cmp dword [ebp - 0x24], 0
jne 0x405259
mov eax, 0xde511c9
mov dword [ebp - 0x30], eax
jmp 0x405050
cmp eax, 0x2a16f1aa
jne 0x405050
mov dword [ebp - 0x30], 0x22d05583
jmp 0x405050
mov eax, dword [ebp - 0x2c]
add esp, 0x38
pop esi
pop edi
pop ebp
ret