Function at 0x40c7d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc8
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea ebx, [0x44a550]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.00440ab9
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], 0x289007dd
mov eax, dword [ebp - 0x3c]
mov ecx, eax
sub ecx, 0x86b247bd
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
jg 0x40c866
jmp 0x40c850
mov eax, dword [ebp - 0x40]
sub eax, 0x84043bf7
mov dword [ebp - 0x48], eax
je 0x40cc81
jmp 0x40cb11
mov eax, dword [ebp - 0x40]
sub eax, 0x90188aad
mov dword [ebp - 0x4c], eax
jg 0x40c892
jmp 0x40c87c
mov eax, dword [ebp - 0x40]
sub eax, 0x86b247be
mov dword [ebp - 0x50], eax
je 0x40ccbb
jmp 0x40cb11
mov eax, dword [ebp - 0x40]
sub eax, 0x98573a14
mov dword [ebp - 0x54], eax
jg 0x40c8be
jmp 0x40c8a8
mov eax, dword [ebp - 0x40]
sub eax, 0x90188aae
mov dword [ebp - 0x58], eax
je 0x40cc0c
jmp 0x40cb11
mov eax, dword [ebp - 0x40]
sub eax, 0xa9b487f7
mov dword [ebp - 0x5c], eax
jg 0x40c8ea
jmp 0x40c8d4
mov eax, dword [ebp - 0x40]
sub eax, 0x98573a15
mov dword [ebp - 0x60], eax
je 0x40cb40
jmp 0x40cb11
mov eax, dword [ebp - 0x40]
sub eax, 0xaf89179a
mov dword [ebp - 0x64], eax
jg 0x40c916
jmp 0x40c900
mov eax, dword [ebp - 0x40]
sub eax, 0xa9b487f8
mov dword [ebp - 0x68], eax
je 0x40cbde
jmp 0x40cb11
mov eax, dword [ebp - 0x40]
sub eax, 0xb1d1a547
mov dword [ebp - 0x6c], eax
jg 0x40c942
jmp 0x40c92c
mov eax, dword [ebp - 0x40]
sub eax, 0xaf89179b
mov dword [ebp - 0x70], eax
je 0x40cc1f
jmp 0x40cb11
mov eax, dword [ebp - 0x40]
sub eax, 0xd833ea55
mov dword [ebp - 0x74], eax
jg 0x40c96e
jmp 0x40c958
mov eax, dword [ebp - 0x40]
sub eax, 0xb1d1a548
mov dword [ebp - 0x78], eax
je 0x40cc2c
jmp 0x40cb11
mov eax, dword [ebp - 0x40]
sub eax, 0xf72d5d21
mov dword [ebp - 0x7c], eax
jg 0x40c99a
jmp 0x40c984
mov eax, dword [ebp - 0x40]
sub eax, 0xd833ea56
mov dword [ebp - 0x80], eax
je 0x40cc8e
jmp 0x40cb11
mov eax, dword [ebp - 0x40]
sub eax, 0x20654a9a
mov dword [ebp - 0x84], eax
jg 0x40c9cc
jmp 0x40c9b3
mov eax, dword [ebp - 0x40]
sub eax, 0xf72d5d22
mov dword [ebp - 0x88], eax
je 0x40cc64
jmp 0x40cb11
mov eax, dword [ebp - 0x40]
sub eax, 0x289007dc
mov dword [ebp - 0x8c], eax
jg 0x40c9fe
jmp 0x40c9e5
mov eax, dword [ebp - 0x40]
sub eax, 0x20654a9b
mov dword [ebp - 0x90], eax
je 0x40ccaf
jmp 0x40cb11
mov eax, dword [ebp - 0x40]
sub eax, 0x75872f39
mov dword [ebp - 0x94], eax
jg 0x40caf8
jmp 0x40ca17
mov eax, dword [ebp - 0x40]
sub eax, 0x7370454a
mov dword [ebp - 0x98], eax
jg 0x40cadf
jmp 0x40ca30
mov eax, dword [ebp - 0x40]
sub eax, 0x29df460a
mov dword [ebp - 0x9c], eax
jg 0x40ca62
jmp 0x40ca49
mov eax, dword [ebp - 0x40]
sub eax, 0x289007dd
mov dword [ebp - 0xa0], eax
je 0x40cb16
jmp 0x40cb11
mov eax, dword [ebp - 0x40]
sub eax, 0x3e2b7c41
mov dword [ebp - 0xa4], eax
jg 0x40ca94
jmp 0x40ca7b
mov eax, dword [ebp - 0x40]
sub eax, 0x29df460b
mov dword [ebp - 0xa8], eax
je 0x40cb34
jmp 0x40cb11
mov eax, dword [ebp - 0x40]
sub eax, 0x3e2b7c42
mov dword [ebp - 0xac], eax
je 0x40cb88
jmp 0x40caad
mov eax, dword [ebp - 0x40]
sub eax, 0x6e9f0b71
mov dword [ebp - 0xb0], eax
je 0x40cbd2
jmp 0x40cac6
mov eax, dword [ebp - 0x40]
sub eax, 0x6fe7eec6
mov dword [ebp - 0xb4], eax
je 0x40cc49
jmp 0x40cb11
mov eax, dword [ebp - 0x40]
sub eax, 0x7370454b
mov dword [ebp - 0xb8], eax
je 0x40cca1
jmp 0x40cb11
mov eax, dword [ebp - 0x40]
sub eax, 0x75872f3a
mov dword [ebp - 0xbc], eax
je 0x40cb6c
jmp 0x40cb11
jmp 0x40ccc2
mov eax, 0x98573a15
mov ecx, 0x29df460b
mov edx, dword [ebp - 0x18]
cmp edx, 0
cmove eax, ecx
mov dword [ebp - 0x3c], eax
jmp 0x40ccc2
mov dword [ebp - 0x3c], 0xaf89179b
jmp 0x40ccc2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00406070
mov dword [ebp - 0x3c], 0x75872f3a
jmp 0x40ccc2
mov eax, 0x90188aae
mov ecx, 0x3e2b7c42
cmp dword [ebp - 0x24], 0
cmovne eax, ecx
mov dword [ebp - 0x3c], eax
jmp 0x40ccc2
mov eax, 1
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov dword [esp], esi
mov dword [esp + 4], 1
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [ebp - 0xc0], eax
call fcn.00440c25
mov ecx, 0xa9b487f8
mov edx, 0x6e9f0b71
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x24]
cmovne ecx, edx
mov dword [ebp - 0x3c], ecx
jmp 0x40ccc2
mov dword [ebp - 0x3c], 0xaf89179b
jmp 0x40ccc2
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
add ecx, eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
add ecx, 0x645e6fdc
sub ecx, eax
sub ecx, 0x645e6fdc
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], 0x75872f3a
jmp 0x40ccc2
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0xaf89179b
jmp 0x40ccc2
mov eax, 0xb1d1a548
mov dword [ebp - 0x3c], eax
jmp 0x40ccc2
mov eax, 0x6fe7eec6
cmp dword [ebp - 0x30], 0
setne cl
and cl, 1
mov byte [ebp - 0x11], cl
mov dword [ebp - 0x3c], eax
jmp 0x40ccc2
mov eax, 0x84043bf7
mov ecx, 0xf72d5d22
mov dl, byte [ebp - 0x11]
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x3c], eax
jmp 0x40ccc2
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00440d0f
mov dword [ebp - 0x3c], 0x84043bf7
mov dword [ebp - 0xc4], eax
jmp 0x40ccc2
mov eax, 0xd833ea56
mov dword [ebp - 0x3c], eax
jmp 0x40ccc2
mov eax, 0x7370454b
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x3c], eax
jmp 0x40ccc2
mov eax, dword [ebp - 0x10]
add esp, 0xc8
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x3c], 0xb1d1a548
jmp 0x40ccc2
mov dword [ebp - 0x3c], 0xd833ea56
jmp 0x40c834