Function at 0x406cb0
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], 0x4684a0
call fcn.00413bb5
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x30], 0xb5ad8be0
mov esi, 0x640b0d7e
jmp 0x406d20
mov dword [ebp - 0x30], 0x9c29de3c
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x30]
cmp eax, 0x4d1fe2f0
jg 0x406d70
cmp eax, 0x43513cfd
jg 0x406d80
cmp eax, 0x9c29de3b
jg 0x406d90
cmp eax, 0x9534135a
jne 0x406d20
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
add eax, esi
sub eax, dword [ebp - 0x28]
neg eax
mov ecx, 0x9bf4f282
sub ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], 0x2111510c
jmp 0x406d20
cmp eax, 0x4d1fe2f1
jne 0x406d20
jmp 0x406d12
cmp eax, 0x43513cfe
jne 0x406d20
mov dword [ebp - 0x30], 0xc148fe3
jmp 0x406d20
cmp eax, 0xb5ad8bdf
jg 0x406daa
cmp eax, 0x9c29de3c
jne 0x406d20
mov dword [ebp - 0x30], 0xc148fe3
jmp 0x406d20
cmp eax, 0xbbd772c3
jg 0x406dd4
cmp eax, 0xb5ad8be0
jne 0x406d20
mov eax, 0x43513cfe
cmp dword [ebp - 0xc], 0
je 0x406dcc
mov eax, 0xcdff3486
mov dword [ebp - 0x30], eax
jmp 0x406d20
cmp eax, 0xc6743513
jg 0x406df2
cmp eax, 0xbbd772c4
jne 0x406d20
mov dword [ebp - 0x30], 0x4d1fe2f1
jmp 0x406d20
cmp eax, 0xca1cf13e
jg 0x406e09
cmp eax, 0xc6743514
jne 0x406d20
jmp 0x406f37
cmp eax, 0xcdff3485
jg 0x406e56
cmp eax, 0xca1cf13f
jne 0x406d20
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.00413d21
mov dword [ebp - 0x28], eax
mov ecx, 0xbbd772c4
cmp eax, dword [ebp - 0x18]
jne 0x406e4e
mov ecx, 0x9534135a
mov dword [ebp - 0x30], ecx
jmp 0x406d20
cmp eax, 0xd72c7b8b
jg 0x406e94
cmp eax, 0xcdff3486
jne 0x406d20
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.00402a80
mov dword [ebp - 0x30], 0x2111510c
jmp 0x406d20
cmp eax, 0x73f9685
jg 0x406eb2
cmp eax, 0xd72c7b8c
jne 0x406d20
mov dword [ebp - 0x30], 0x4d1fe2f1
jmp 0x406d20
cmp eax, 0xc148fe2
jg 0x406ed7
cmp eax, 0x73f9686
jne 0x406d20
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0xc148fe3
jmp 0x406d20
cmp eax, 0xc148fe3
je 0x406efd
cmp eax, 0x2111510c
jne 0x406f15
mov eax, 0xca1cf13f
cmp dword [ebp - 0x18], 0
jne 0x406ef5
mov eax, 0x73f9686
mov dword [ebp - 0x30], eax
jmp 0x406d20
mov eax, 0x21a986c8
cmp dword [ebp - 0x24], 0
jne 0x406f0d
mov eax, 0xc6743514
mov dword [ebp - 0x30], eax
jmp 0x406d20
cmp eax, 0x21a986c8
jne 0x406d20
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00413e0b
mov dword [ebp - 0x30], 0xc6743514
jmp 0x406d20
mov eax, dword [ebp - 0x2c]
add esp, 0x38
pop esi
pop edi
pop ebp
ret