Function at 0x405a30
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], 0x421461
call fcn.00417925
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x30], 0xab17c02
mov esi, 0x7a858338
jmp 0x405aa0
mov dword [ebp - 0x30], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x30]
cmp eax, 0x8c4aba6a
jg 0x405ac0
cmp eax, 0x8470ec4d
jne 0x405aa0
jmp 0x405cac
cmp eax, 0x8fe6ce2f
jg 0x405ae0
cmp eax, 0x8c4aba6b
jne 0x405aa0
mov eax, 0xa1f637fb
cmp dword [ebp - 0x18], 0
jne 0x405a92
mov eax, 0x8fe6ce30
jmp 0x405a92
cmp eax, 0x9908074a
jg 0x405afe
cmp eax, 0x8fe6ce30
jne 0x405aa0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0xa64fa3b5
jmp 0x405aa0
cmp eax, 0xa1f637fa
jg 0x405b15
cmp eax, 0x9908074b
jne 0x405aa0
mov dword [ebp - 0x30], 0xa64fa3b5
jmp 0x405aa0
cmp eax, 0xa64fa3b4
jg 0x405b62
cmp eax, 0xa1f637fb
jne 0x405aa0
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.00417a91
mov dword [ebp - 0x28], eax
mov ecx, 0x4f1ad138
cmp eax, dword [ebp - 0x18]
jne 0x405b5a
mov ecx, 0xb29bc8ef
mov dword [ebp - 0x30], ecx
jmp 0x405aa0
cmp eax, 0xb29bc8ee
jg 0x405b8c
cmp eax, 0xa64fa3b5
jne 0x405aa0
mov eax, 0x4dc9cd26
cmp dword [ebp - 0x24], 0
jne 0x405b84
mov eax, 0x8470ec4d
mov dword [ebp - 0x30], eax
jmp 0x405aa0
cmp eax, 0xb566954e
jg 0x405bc0
cmp eax, 0xb29bc8ef
jne 0x405aa0
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, 0x857a7cc8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], 0x8c4aba6b
jmp 0x405aa0
cmp eax, 0xb7b9a667
jg 0x405bfe
cmp eax, 0xb566954f
jne 0x405aa0
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.004027d0
mov dword [ebp - 0x30], 0x8c4aba6b
jmp 0x405aa0
cmp eax, 0x70c2955
jg 0x405c1c
cmp eax, 0xb7b9a668
jne 0x405aa0
mov dword [ebp - 0x30], 0x70c2956
jmp 0x405aa0
cmp eax, 0xab17c01
jg 0x405c3a
cmp eax, 0x70c2956
jne 0x405aa0
mov dword [ebp - 0x30], 0x4672a883
jmp 0x405aa0
cmp eax, 0x4672a882
jg 0x405c64
cmp eax, 0xab17c02
jne 0x405aa0
mov eax, 0x9908074b
cmp dword [ebp - 0xc], 0
je 0x405c5c
mov eax, 0xb566954f
mov dword [ebp - 0x30], eax
jmp 0x405aa0
cmp eax, 0x4672a883
je 0x405c89
cmp eax, 0x4dc9cd26
jne 0x405c95
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00417b7b
mov dword [ebp - 0x30], 0x8470ec4d
jmp 0x405aa0
mov dword [ebp - 0x30], 0xa64fa3b5
jmp 0x405aa0
cmp eax, 0x4f1ad138
jne 0x405aa0
mov dword [ebp - 0x30], 0x70c2956
jmp 0x405aa0
mov eax, dword [ebp - 0x2c]
add esp, 0x38
pop esi
pop edi
pop ebp
ret