Function at 0x405d80
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.00417b45
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x30], 0x6b2def6c
mov esi, 0xc524019f
jmp 0x405df0
mov dword [ebp - 0x30], 0xb8ab9880
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x30]
cmp eax, 0x74462ccf
jg 0x405e30
cmp eax, 0x71e023fa
jg 0x405e40
cmp eax, 0x6cb8fbfb
jg 0x405e57
cmp eax, 0x82fdb7fe
jg 0x405e67
cmp eax, 0x8247f05a
jne 0x405df0
mov eax, 0x5578ac8a
cmp dword [ebp - 0x18], 0
jne 0x405e26
mov eax, 0x71e023fb
mov dword [ebp - 0x30], eax
jmp 0x405df0
cmp eax, 0x74462cd0
jne 0x405df0
jmp 0x405de2
cmp eax, 0x71e023fb
jne 0x405df0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0xc4ef58c8
jmp 0x405df0
cmp eax, 0x6cb8fbfc
jne 0x405df0
mov dword [ebp - 0x30], 0x9c1ca557
jmp 0x405df0
cmp eax, 0x9c1ca556
jg 0x405e9b
cmp eax, 0x82fdb7ff
jne 0x405df0
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, 0x3adbfe61
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], 0x8247f05a
jmp 0x405df0
cmp eax, 0xb8ab987f
jg 0x405ec4
cmp eax, 0x9c1ca557
jne 0x405df0
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00417bc6
mov dword [ebp - 0x30], 0x74462cd0
jmp 0x405df0
cmp eax, 0xc4ef58c7
jg 0x405edb
cmp eax, 0xb8ab9880
jne 0x405df0
jmp 0x406002
cmp eax, 0xe2488537
jg 0x405f05
cmp eax, 0xc4ef58c8
jne 0x405df0
mov eax, 0x6cb8fbfc
cmp dword [ebp - 0x24], 0
jne 0x405efd
mov eax, 0xb8ab9880
mov dword [ebp - 0x30], eax
jmp 0x405df0
cmp eax, 0xf9468a9
jg 0x405f2e
cmp eax, 0xe2488538
jne 0x405df0
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00417bc6
mov dword [ebp - 0x30], 0x9c1ca557
jmp 0x405df0
cmp eax, 0x101d75f6
jg 0x405f4c
cmp eax, 0xf9468aa
jne 0x405df0
mov dword [ebp - 0x30], 0xc4ef58c8
jmp 0x405df0
cmp eax, 0x5578ac89
jg 0x405f6a
cmp eax, 0x101d75f7
jne 0x405df0
mov dword [ebp - 0x30], 0xc4ef58c8
jmp 0x405df0
cmp eax, 0x5578ac8a
je 0x405fa4
cmp eax, 0x6b153030
jne 0x405fdf
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.00402360
mov dword [ebp - 0x30], 0x8247f05a
jmp 0x405df0
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.00417d94
mov dword [ebp - 0x28], eax
mov ecx, 0xf9468aa
cmp eax, dword [ebp - 0x18]
jne 0x405fd7
mov ecx, 0x82fdb7ff
mov dword [ebp - 0x30], ecx
jmp 0x405df0
cmp eax, 0x6b2def6c
jne 0x405df0
mov eax, 0x101d75f7
cmp dword [ebp - 0xc], 0
je 0x405ffa
mov eax, 0x6b153030
mov dword [ebp - 0x30], eax
jmp 0x405df0
mov eax, dword [ebp - 0x2c]
add esp, 0x38
pop esi
pop edi
pop ebp
ret