Function at 0x40bef0
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], 0x4b2af23e
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, 0x7a8bd5f2
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
jg 0x40c1ee
jmp 0x40bf3d
mov eax, dword [ebp - 0x4c]
sub eax, 0x6a5e257d
mov dword [ebp - 0x54], eax
jg 0x40c1d5
jmp 0x40bf53
mov eax, dword [ebp - 0x4c]
sub eax, 0x6560eda9
mov dword [ebp - 0x58], eax
jg 0x40c1bc
jmp 0x40bf69
mov eax, dword [ebp - 0x4c]
sub eax, 0x5ca6528e
mov dword [ebp - 0x5c], eax
jg 0x40c1a3
jmp 0x40bf7f
mov eax, dword [ebp - 0x4c]
sub eax, 0xacac766a
mov dword [ebp - 0x60], eax
jg 0x40bfab
jmp 0x40bf95
mov eax, dword [ebp - 0x4c]
sub eax, 0xab32f879
mov dword [ebp - 0x64], eax
je 0x40c355
jmp 0x40c207
mov eax, dword [ebp - 0x4c]
sub eax, 0xdeab8fac
mov dword [ebp - 0x68], eax
jg 0x40bfd7
jmp 0x40bfc1
mov eax, dword [ebp - 0x4c]
sub eax, 0xacac766b
mov dword [ebp - 0x6c], eax
je 0x40c39b
jmp 0x40c207
mov eax, dword [ebp - 0x4c]
sub eax, 0xe6ab8cd4
mov dword [ebp - 0x70], eax
jg 0x40c003
jmp 0x40bfed
mov eax, dword [ebp - 0x4c]
sub eax, 0xdeab8fad
mov dword [ebp - 0x74], eax
je 0x40c4d5
jmp 0x40c207
mov eax, dword [ebp - 0x4c]
sub eax, 0x5c1f669
mov dword [ebp - 0x78], eax
jg 0x40c02f
jmp 0x40c019
mov eax, dword [ebp - 0x4c]
sub eax, 0xe6ab8cd5
mov dword [ebp - 0x7c], eax
je 0x40c48e
jmp 0x40c207
mov eax, dword [ebp - 0x4c]
sub eax, 0x8fc5959
mov dword [ebp - 0x80], eax
jg 0x40c05e
jmp 0x40c045
mov eax, dword [ebp - 0x4c]
sub eax, 0x5c1f66a
mov dword [ebp - 0x84], eax
je 0x40c45b
jmp 0x40c207
mov eax, dword [ebp - 0x4c]
sub eax, 0x193c0b78
mov dword [ebp - 0x88], eax
jg 0x40c090
jmp 0x40c077
mov eax, dword [ebp - 0x4c]
sub eax, 0x8fc595a
mov dword [ebp - 0x8c], eax
je 0x40c4e0
jmp 0x40c207
mov eax, dword [ebp - 0x4c]
sub eax, 0x29b2579c
mov dword [ebp - 0x90], eax
jg 0x40c0c2
jmp 0x40c0a9
mov eax, dword [ebp - 0x4c]
sub eax, 0x193c0b79
mov dword [ebp - 0x94], eax
je 0x40c4c0
jmp 0x40c207
mov eax, dword [ebp - 0x4c]
sub eax, 0x2d7e139f
mov dword [ebp - 0x98], eax
jg 0x40c0f4
jmp 0x40c0db
mov eax, dword [ebp - 0x4c]
sub eax, 0x29b2579d
mov dword [ebp - 0x9c], eax
je 0x40c61c
jmp 0x40c207
mov eax, dword [ebp - 0x4c]
sub eax, 0x42b7d687
mov dword [ebp - 0xa0], eax
jg 0x40c126
jmp 0x40c10d
mov eax, dword [ebp - 0x4c]
sub eax, 0x2d7e13a0
mov dword [ebp - 0xa4], eax
je 0x40c3b9
jmp 0x40c207
mov eax, dword [ebp - 0x4c]
sub eax, 0x442d763e
mov dword [ebp - 0xa8], eax
jg 0x40c158
jmp 0x40c13f
mov eax, dword [ebp - 0x4c]
sub eax, 0x42b7d688
mov dword [ebp - 0xac], eax
je 0x40c219
jmp 0x40c207
mov eax, dword [ebp - 0x4c]
sub eax, 0x442d763f
mov dword [ebp - 0xb0], eax
je 0x40c421
jmp 0x40c171
mov eax, dword [ebp - 0x4c]
sub eax, 0x4b055c09
mov dword [ebp - 0xb4], eax
je 0x40c4b3
jmp 0x40c18a
mov eax, dword [ebp - 0x4c]
sub eax, 0x4b2af23e
mov dword [ebp - 0xb8], eax
je 0x40c20c
jmp 0x40c207
mov eax, dword [ebp - 0x4c]
sub eax, 0x5ca6528f
mov dword [ebp - 0xbc], eax
je 0x40c33a
jmp 0x40c207
mov eax, dword [ebp - 0x4c]
sub eax, 0x6560edaa
mov dword [ebp - 0xc0], eax
je 0x40c361
jmp 0x40c207
mov eax, dword [ebp - 0x4c]
sub eax, 0x6a5e257e
mov dword [ebp - 0xc4], eax
je 0x40c415
jmp 0x40c207
mov eax, dword [ebp - 0x4c]
sub eax, 0x7a8bd5f3
mov dword [ebp - 0xc8], eax
je 0x40c470
jmp 0x40c207
jmp 0x40c62c
mov eax, 0x42b7d688
mov dword [ebp - 0x34], eax
jmp 0x40c62c
lea eax, [0x447550]
mov ecx, 4
mov dword [ebp - 0xcc], eax
mov eax, ecx
mov dword [ebp - 0xd0], ecx
call fcn.0043caa0
mov eax, esp
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xd0]
call fcn.0043caa0
mov eax, esp
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xd0]
call fcn.0043caa0
mov eax, esp
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xd0]
call fcn.0043caa0
mov eax, esp
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xd0]
call fcn.0043caa0
mov eax, esp
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
mov eax, ecx
call fcn.0043caa0
mov eax, esp
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xd0]
call fcn.0043caa0
mov eax, esp
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xd0]
call fcn.0043caa0
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.0043d46c
add esp, 8
mov ecx, 0x5ca6528f
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 0x40c62c
mov eax, 0x6560edaa
mov ecx, 0xab32f879
mov dl, byte [ebp - 0x11]
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x40c62c
mov dword [ebp - 0x34], 0x7a8bd5f3
jmp 0x40c62c
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.00406500
add esp, 0x10
mov dword [ebp - 0x34], 0xacac766b
jmp 0x40c62c
mov eax, 0x5c1f66a
mov ecx, 0x2d7e13a0
mov edx, dword [ebp - 0x28]
cmp dword [edx], 0
cmovne eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x40c62c
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.0043d5d8
add esp, 0x10
mov ecx, 0x442d763f
mov edx, 0x6a5e257e
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 0x40c62c
mov dword [ebp - 0x34], 0x7a8bd5f3
jmp 0x40c62c
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]
sub ecx, 0x9caa0df3
sub ecx, eax
add ecx, 0x9caa0df3
mov eax, dword [ebp - 0x28]
mov dword [eax], ecx
mov dword [ebp - 0x34], 0xacac766b
jmp 0x40c62c
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
mov dword [ebp - 0x34], 0x7a8bd5f3
jmp 0x40c62c
mov eax, 0x4b055c09
mov ecx, 0xe6ab8cd5
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0
cmovne eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x40c62c
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.0043d6c2
add esp, 4
mov dword [ebp - 0x34], 0x4b055c09
mov dword [ebp - 0xdc], eax
jmp 0x40c62c
mov eax, 0x193c0b79
mov dword [ebp - 0x34], eax
jmp 0x40c62c
mov eax, 0xdeab8fad
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x34], eax
jmp 0x40c62c
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [0x447550]
mov ecx, 4
mov dword [ebp - 0xe0], eax
mov eax, ecx
mov dword [ebp - 0xe4], ecx
call fcn.0043caa0
mov eax, esp
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov eax, ecx
call fcn.0043caa0
mov eax, esp
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xec], eax
mov eax, ecx
call fcn.0043caa0
mov eax, esp
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xf0], eax
mov eax, ecx
call fcn.0043caa0
mov eax, esp
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xf4], eax
mov eax, ecx
call fcn.0043caa0
mov eax, esp
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xf8], eax
mov eax, ecx
call fcn.0043caa0
mov eax, esp
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xfc], eax
mov eax, ecx
call fcn.0043caa0
mov eax, esp
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x100], eax
mov eax, ecx
call fcn.0043caa0
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.0043d46c
add esp, 8
mov ecx, dword [ebp - 0xfc]
mov dword [ecx], eax
mov dword [ebp - 0x34], 0x42b7d688
jmp 0x40c62c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0x193c0b79
mov dword [ebp - 0x104], eax
jmp 0x40bf21