Function at 0x40c260
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xf8
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]
mov dword [ebp - 0x34], 0xe0e0c7a9
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], edi
mov eax, dword [ebp - 0x34]
mov ecx, eax
sub ecx, 0x61b2f9c4
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
jg 0x40c55e
jmp 0x40c2ad
mov eax, dword [ebp - 0x4c]
sub eax, 0x5b18aa47
mov dword [ebp - 0x54], eax
jg 0x40c545
jmp 0x40c2c3
mov eax, dword [ebp - 0x4c]
sub eax, 0x888dfdfb
mov dword [ebp - 0x58], eax
jg 0x40c2ef
jmp 0x40c2d9
mov eax, dword [ebp - 0x4c]
sub eax, 0x8621afaf
mov dword [ebp - 0x5c], eax
je 0x40c7cb
jmp 0x40c577
mov eax, dword [ebp - 0x4c]
sub eax, 0xbfd5e471
mov dword [ebp - 0x60], eax
jg 0x40c31b
jmp 0x40c305
mov eax, dword [ebp - 0x4c]
sub eax, 0x888dfdfc
mov dword [ebp - 0x64], eax
je 0x40c823
jmp 0x40c577
mov eax, dword [ebp - 0x4c]
sub eax, 0xc2e6349a
mov dword [ebp - 0x68], eax
jg 0x40c347
jmp 0x40c331
mov eax, dword [ebp - 0x4c]
sub eax, 0xbfd5e472
mov dword [ebp - 0x6c], eax
je 0x40c729
jmp 0x40c577
mov eax, dword [ebp - 0x4c]
sub eax, 0xc6d44042
mov dword [ebp - 0x70], eax
jg 0x40c373
jmp 0x40c35d
mov eax, dword [ebp - 0x4c]
sub eax, 0xc2e6349b
mov dword [ebp - 0x74], eax
je 0x40c850
jmp 0x40c577
mov eax, dword [ebp - 0x4c]
sub eax, 0xd3875e58
mov dword [ebp - 0x78], eax
jg 0x40c39f
jmp 0x40c389
mov eax, dword [ebp - 0x4c]
sub eax, 0xc6d44043
mov dword [ebp - 0x7c], eax
je 0x40c6d1
jmp 0x40c577
mov eax, dword [ebp - 0x4c]
sub eax, 0xd56f6853
mov dword [ebp - 0x80], eax
jg 0x40c3ce
jmp 0x40c3b5
mov eax, dword [ebp - 0x4c]
sub eax, 0xd3875e59
mov dword [ebp - 0x84], eax
je 0x40c791
jmp 0x40c577
mov eax, dword [ebp - 0x4c]
sub eax, 0xe0e0c7a8
mov dword [ebp - 0x88], eax
jg 0x40c400
jmp 0x40c3e7
mov eax, dword [ebp - 0x4c]
sub eax, 0xd56f6854
mov dword [ebp - 0x8c], eax
je 0x40c70b
jmp 0x40c577
mov eax, dword [ebp - 0x4c]
sub eax, 0xf5de0ff3
mov dword [ebp - 0x90], eax
jg 0x40c432
jmp 0x40c419
mov eax, dword [ebp - 0x4c]
sub eax, 0xe0e0c7a9
mov dword [ebp - 0x94], eax
je 0x40c57c
jmp 0x40c577
mov eax, dword [ebp - 0x4c]
sub eax, 0x1e8a75b9
mov dword [ebp - 0x98], eax
jg 0x40c464
jmp 0x40c44b
mov eax, dword [ebp - 0x4c]
sub eax, 0xf5de0ff4
mov dword [ebp - 0x9c], eax
je 0x40c7fe
jmp 0x40c577
mov eax, dword [ebp - 0x4c]
sub eax, 0x1fe80fb7
mov dword [ebp - 0xa0], eax
jg 0x40c496
jmp 0x40c47d
mov eax, dword [ebp - 0x4c]
sub eax, 0x1e8a75ba
mov dword [ebp - 0xa4], eax
je 0x40c785
jmp 0x40c577
mov eax, dword [ebp - 0x4c]
sub eax, 0x2c3301a3
mov dword [ebp - 0xa8], eax
jg 0x40c4c8
jmp 0x40c4af
mov eax, dword [ebp - 0x4c]
sub eax, 0x1fe80fb8
mov dword [ebp - 0xac], eax
je 0x40c589
jmp 0x40c577
mov eax, dword [ebp - 0x4c]
sub eax, 0x30034204
mov dword [ebp - 0xb0], eax
jg 0x40c4fa
jmp 0x40c4e1
mov eax, dword [ebp - 0x4c]
sub eax, 0x2c3301a4
mov dword [ebp - 0xb4], eax
je 0x40c7e0
jmp 0x40c577
mov eax, dword [ebp - 0x4c]
sub eax, 0x30034205
mov dword [ebp - 0xb8], eax
je 0x40c830
jmp 0x40c513
mov eax, dword [ebp - 0x4c]
sub eax, 0x386f96f4
mov dword [ebp - 0xbc], eax
je 0x40c845
jmp 0x40c52c
mov eax, dword [ebp - 0x4c]
sub eax, 0x39c1c373
mov dword [ebp - 0xc0], eax
je 0x40c6c5
jmp 0x40c577
mov eax, dword [ebp - 0x4c]
sub eax, 0x5b18aa48
mov dword [ebp - 0xc4], eax
je 0x40c98c
jmp 0x40c577
mov eax, dword [ebp - 0x4c]
sub eax, 0x61b2f9c5
mov dword [ebp - 0xc8], eax
je 0x40c6aa
jmp 0x40c577
jmp 0x40c99c
mov eax, 0x1fe80fb8
mov dword [ebp - 0x34], eax
jmp 0x40c99c
lea eax, [0x448550]
mov ecx, 4
mov dword [ebp - 0xcc], eax
mov eax, ecx
mov dword [ebp - 0xd0], ecx
call fcn.0043da50
mov eax, esp
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xd0]
call fcn.0043da50
mov eax, esp
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xd0]
call fcn.0043da50
mov eax, esp
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xd0]
call fcn.0043da50
mov eax, esp
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xd0]
call fcn.0043da50
mov eax, esp
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
mov eax, ecx
call fcn.0043da50
mov eax, esp
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xd0]
call fcn.0043da50
mov eax, esp
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xd0]
call fcn.0043da50
mov eax, esp
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x3c]
mov dword [eax], edx
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x40]
mov dword [eax], esi
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x44]
mov dword [eax], edi
mov eax, dword [ebp - 0xd4]
mov ebx, dword [ebp - 0x48]
mov dword [eax], ebx
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, dword [ebp - 0x18]
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0xcc]
mov dword [esp + 4], eax
call fcn.0043e4e9
add esp, 8
mov ecx, 0x61b2f9c5
mov edx, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
sete al
and al, 1
mov byte [ebp - 0x11], al
mov dword [ebp - 0x34], ecx
jmp 0x40c99c
mov eax, 0xc6d44043
mov ecx, 0x39c1c373
mov dl, byte [ebp - 0x11]
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x40c99c
mov dword [ebp - 0x34], 0x2c3301a4
jmp 0x40c99c
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
mov esi, dword [ebp - 0x24]
mov esi, dword [esi]
sub esp, 0x10
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00405eb0
add esp, 0x10
mov dword [ebp - 0x34], 0xd56f6854
jmp 0x40c99c
mov eax, 0x8621afaf
mov ecx, 0xbfd5e472
mov edx, dword [ebp - 0x28]
cmp dword [edx], 0
cmovne eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x40c99c
mov eax, 1
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
mov esi, dword [ebp - 0x24]
mov esi, dword [esi]
sub esp, 0x10
mov dword [esp], esi
mov dword [esp + 4], 1
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [ebp - 0xd8], eax
call fcn.0043e655
add esp, 0x10
mov ecx, 0xd3875e59
mov edx, 0x1e8a75ba
mov esi, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov esi, dword [ebp - 0x28]
cmp eax, dword [esi]
cmovne ecx, edx
mov dword [ebp - 0x34], ecx
jmp 0x40c99c
mov dword [ebp - 0x34], 0x2c3301a4
jmp 0x40c99c
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
add ecx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
add ecx, 0x132a7fc7
sub ecx, eax
sub ecx, 0x132a7fc7
mov eax, dword [ebp - 0x28]
mov dword [eax], ecx
mov dword [ebp - 0x34], 0xd56f6854
jmp 0x40c99c
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
mov dword [ebp - 0x34], 0x2c3301a4
jmp 0x40c99c
mov eax, 0x888dfdfc
mov ecx, 0xf5de0ff4
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0
cmovne eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x40c99c
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.0043e73f
add esp, 4
mov dword [ebp - 0x34], 0x888dfdfc
mov dword [ebp - 0xdc], eax
jmp 0x40c99c
mov eax, 0x30034205
mov dword [ebp - 0x34], eax
jmp 0x40c99c
mov eax, 0x386f96f4
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x34], eax
jmp 0x40c99c
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [0x448550]
mov ecx, 4
mov dword [ebp - 0xe0], eax
mov eax, ecx
mov dword [ebp - 0xe4], ecx
call fcn.0043da50
mov eax, esp
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov eax, ecx
call fcn.0043da50
mov eax, esp
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xec], eax
mov eax, ecx
call fcn.0043da50
mov eax, esp
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xf0], eax
mov eax, ecx
call fcn.0043da50
mov eax, esp
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xf4], eax
mov eax, ecx
call fcn.0043da50
mov eax, esp
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xf8], eax
mov eax, ecx
call fcn.0043da50
mov eax, esp
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xfc], eax
mov eax, ecx
call fcn.0043da50
mov eax, esp
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x100], eax
mov eax, ecx
call fcn.0043da50
mov eax, esp
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0x38]
mov dword [ecx], edx
mov esi, dword [ebp - 0xec]
mov edi, dword [ebp - 0x3c]
mov dword [esi], edi
mov ebx, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x40]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ebp - 0x48]
mov dword [ecx], edx
mov ecx, dword [ebp - 0xfc]
mov dword [ecx], 0
mov ecx, dword [ebp - 0x100]
mov dword [ecx], 0
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax]
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0xe0]
mov dword [esp + 4], eax
call fcn.0043e4e9
add esp, 8
mov ecx, dword [ebp - 0xfc]
mov dword [ecx], eax
mov dword [ebp - 0x34], 0x1fe80fb8
jmp 0x40c99c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0x30034205
mov dword [ebp - 0x104], eax
jmp 0x40c291