Function at 0x4071e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x40
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 - 0x18], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0x4704a0
call fcn.00417f95
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], 0xae2692b
jmp 0x407250
mov dword [ebp - 0x38], 0x9d9fc997
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x38]
cmp eax, 0x9d9fc996
jg 0x407270
cmp eax, 0x9522992e
jne 0x407250
jmp 0x40723d
cmp eax, 0xb5a332d4
jg 0x407290
cmp eax, 0x9d9fc997
jne 0x407250
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x38], 0xfda600e7
jmp 0x407250
cmp eax, 0x7da55d46
jg 0x40738e
cmp eax, 0x77a4f292
jg 0x4073ac
cmp eax, 0x51d8b425
jg 0x4073c9
cmp eax, 0x514266d9
jg 0x4073ec
cmp eax, 0x4c2401e2
jg 0x40740f
cmp eax, 0x49652c20
jg 0x407432
cmp eax, 0x45c1d50e
jg 0x407449
cmp eax, 0x3d69beca
jg 0x407459
cmp eax, 0x313af4f1
jg 0x407470
cmp eax, 0x2fd63107
jg 0x40748b
cmp eax, 0x2bada22e
jg 0x4074a2
cmp eax, 0x1ccf0df6
jg 0x4074b9
cmp eax, 0x1212e0cd
jg 0x4074d0
cmp eax, 0xae2692a
jg 0x4074e7
cmp eax, 0x34a2354
jg 0x40750a
cmp eax, 0xfda600e6
jg 0x407521
cmp eax, 0xf5cb71c5
jg 0x407545
cmp eax, 0xf0041130
jg 0x40755c
cmp eax, 0xd3d63f55
jg 0x407573
cmp eax, 0xb6339dc2
jg 0x40758a
cmp eax, 0xb5a332d5
jne 0x407250
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.00418016
mov dword [ebp - 0x38], 0x1212e0ce
jmp 0x407250
cmp eax, 0x7da55d47
jne 0x407250
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0x4c2401e3
jmp 0x407250
cmp eax, 0x77a4f293
jne 0x407250
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x38], 0xc492dc48
jmp 0x407250
cmp eax, 0x51d8b426
jne 0x407250
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x30]
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x38], 0xf5cb71c6
jmp 0x407250
cmp eax, 0x514266da
jne 0x407250
mov eax, 0xbedb596a
cmp dword [ebp - 0x20], 0
jne 0x407407
mov eax, 0x7da55d47
mov dword [ebp - 0x38], eax
jmp 0x407250
cmp eax, 0x4c2401e3
jne 0x407250
mov eax, 0xb5a332d5
cmp dword [ebp - 0x2c], 0
jne 0x40742a
mov eax, 0x1212e0ce
mov dword [ebp - 0x38], eax
jmp 0x407250
cmp eax, 0x49652c21
jne 0x407250
mov dword [ebp - 0x38], 0x9d9fc997
jmp 0x407250
cmp eax, 0x45c1d50f
jne 0x407250
jmp 0x4076a7
cmp eax, 0x3d69becb
jne 0x407250
mov dword [ebp - 0x38], 0x45c1d50f
jmp 0x407250
cmp eax, 0x313af4f2
jne 0x407250
mov byte [ebp - 0xe], 1
mov dword [ebp - 0x38], 0xb6339dc3
jmp 0x407250
cmp eax, 0x2fd63108
jne 0x407250
mov dword [ebp - 0x38], 0x4c2401e3
jmp 0x407250
cmp eax, 0x2bada22f
jne 0x407250
mov dword [ebp - 0x38], 0x313af4f2
jmp 0x407250
cmp eax, 0x1ccf0df7
jne 0x407250
mov dword [ebp - 0x38], 0x77a4f293
jmp 0x407250
cmp eax, 0x1212e0ce
jne 0x407250
mov dword [ebp - 0x38], 0x77a4f293
jmp 0x407250
cmp eax, 0xae2692b
jne 0x407250
mov eax, 0xf0041131
cmp dword [ebp - 0x14], 0
je 0x407502
mov eax, 0xc3d4f39f
mov dword [ebp - 0x38], eax
jmp 0x407250
cmp eax, 0x34a2355
jne 0x407250
mov dword [ebp - 0x38], 0x4c2401e3
jmp 0x407250
cmp eax, 0xfda600e7
jne 0x407250
mov al, byte [ebp - 0xd]
test al, al
mov eax, 0x51d8b426
jne 0x40753d
mov eax, 0xbc43c155
mov dword [ebp - 0x38], eax
jmp 0x407250
cmp eax, 0xf5cb71c6
jne 0x407250
mov dword [ebp - 0x38], 0x514266da
jmp 0x407250
cmp eax, 0xf0041131
jne 0x407250
mov dword [ebp - 0x38], 0x2bada22f
jmp 0x407250
cmp eax, 0xd3d63f56
jne 0x407250
mov dword [ebp - 0x38], 0x2bada22f
jmp 0x407250
cmp eax, 0xbc43c154
jg 0x4075b5
cmp eax, 0xb6339dc3
jne 0x407250
mov al, byte [ebp - 0xe]
test al, al
mov eax, 0x2fd63108
jne 0x4075ad
mov eax, 0xd3d63f56
mov dword [ebp - 0x38], eax
jmp 0x407250
cmp eax, 0xbedb5969
jg 0x4075df
cmp eax, 0xbc43c155
jne 0x407250
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x30]
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x38], 0x51d8b426
jmp 0x407250
cmp eax, 0xc3d4f39e
jg 0x40762c
cmp eax, 0xbedb596a
jne 0x407250
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.004181e4
mov dword [ebp - 0x30], eax
mov ecx, 0x34a2355
cmp eax, dword [ebp - 0x20]
jne 0x407624
mov ecx, 0x9522992e
mov dword [ebp - 0x38], ecx
jmp 0x407250
cmp eax, 0xc492dc47
jg 0x40766a
cmp eax, 0xc3d4f39f
jne 0x407250
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.00402d10
mov dword [ebp - 0x38], 0x514266da
jmp 0x407250
cmp eax, 0xc492dc48
je 0x407684
cmp eax, 0xcfb98ab8
jne 0x407690
mov dword [ebp - 0x38], 0x313af4f2
jmp 0x407250
mov dword [ebp - 0x38], 0x3d69becb
jmp 0x407250
cmp eax, 0xd0018040
jne 0x407250
mov dword [ebp - 0x38], 0x3d69becb
jmp 0x407250
mov eax, dword [ebp - 0xc]
add esp, 0x40
pop esi
pop edi
pop ebp
ret