Function at 0x40cca0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc4
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, [0x447550]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
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], ebx
call fcn.0043d079
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], 0xc40666aa
mov eax, dword [ebp - 0x38]
mov ecx, eax
sub ecx, 0x9208481c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
jg 0x40cd36
jmp 0x40cd20
mov eax, dword [ebp - 0x3c]
sub eax, 0x80d4375f
mov dword [ebp - 0x44], eax
je 0x40d163
jmp 0x40cfde
mov eax, dword [ebp - 0x3c]
sub eax, 0x9b2cc4f9
mov dword [ebp - 0x48], eax
jg 0x40cd62
jmp 0x40cd4c
mov eax, dword [ebp - 0x3c]
sub eax, 0x9208481d
mov dword [ebp - 0x4c], eax
je 0x40d039
jmp 0x40cfde
mov eax, dword [ebp - 0x3c]
sub eax, 0xc40666a9
mov dword [ebp - 0x50], eax
jg 0x40cd8e
jmp 0x40cd78
mov eax, dword [ebp - 0x3c]
sub eax, 0x9b2cc4fa
mov dword [ebp - 0x54], eax
je 0x40d10a
jmp 0x40cfde
mov eax, dword [ebp - 0x3c]
sub eax, 0xcdaba82a
mov dword [ebp - 0x58], eax
jg 0x40cdba
jmp 0x40cda4
mov eax, dword [ebp - 0x3c]
sub eax, 0xc40666aa
mov dword [ebp - 0x5c], eax
je 0x40cfe3
jmp 0x40cfde
mov eax, dword [ebp - 0x3c]
sub eax, 0xe09bf7bd
mov dword [ebp - 0x60], eax
jg 0x40cde6
jmp 0x40cdd0
mov eax, dword [ebp - 0x3c]
sub eax, 0xcdaba82b
mov dword [ebp - 0x64], eax
je 0x40d00d
jmp 0x40cfde
mov eax, dword [ebp - 0x3c]
sub eax, 0xeb2ab1ca
mov dword [ebp - 0x68], eax
jg 0x40ce12
jmp 0x40cdfc
mov eax, dword [ebp - 0x3c]
sub eax, 0xe09bf7be
mov dword [ebp - 0x6c], eax
je 0x40d0fd
jmp 0x40cfde
mov eax, dword [ebp - 0x3c]
sub eax, 0x189a0e6f
mov dword [ebp - 0x70], eax
jg 0x40ce3e
jmp 0x40ce28
mov eax, dword [ebp - 0x3c]
sub eax, 0xeb2ab1cb
mov dword [ebp - 0x74], eax
je 0x40d046
jmp 0x40cfde
mov eax, dword [ebp - 0x3c]
sub eax, 0x25709104
mov dword [ebp - 0x78], eax
jg 0x40ce6a
jmp 0x40ce54
mov eax, dword [ebp - 0x3c]
sub eax, 0x189a0e70
mov dword [ebp - 0x7c], eax
je 0x40d146
jmp 0x40cfde
mov eax, dword [ebp - 0x3c]
sub eax, 0x32f96f0f
mov dword [ebp - 0x80], eax
jg 0x40ce99
jmp 0x40ce80
mov eax, dword [ebp - 0x3c]
sub eax, 0x25709105
mov dword [ebp - 0x84], eax
je 0x40d0d4
jmp 0x40cfde
mov eax, dword [ebp - 0x3c]
sub eax, 0x788dd794
mov dword [ebp - 0x88], eax
jg 0x40cfc5
jmp 0x40ceb2
mov eax, dword [ebp - 0x3c]
sub eax, 0x75151ae6
mov dword [ebp - 0x8c], eax
jg 0x40cfac
jmp 0x40cecb
mov eax, dword [ebp - 0x3c]
sub eax, 0x6ac77403
mov dword [ebp - 0x90], eax
jg 0x40cf93
jmp 0x40cee4
mov eax, dword [ebp - 0x3c]
sub eax, 0x60711c0a
mov dword [ebp - 0x94], eax
jg 0x40cf7a
jmp 0x40cefd
mov eax, dword [ebp - 0x3c]
sub eax, 0x4a696e7a
mov dword [ebp - 0x98], eax
jg 0x40cf61
jmp 0x40cf16
mov eax, dword [ebp - 0x3c]
sub eax, 0x32f96f10
mov dword [ebp - 0x9c], eax
je 0x40d171
jmp 0x40cf2f
mov eax, dword [ebp - 0x3c]
sub eax, 0x362b6dcb
mov dword [ebp - 0xa0], eax
je 0x40d07e
jmp 0x40cf48
mov eax, dword [ebp - 0x3c]
sub eax, 0x3682f2f6
mov dword [ebp - 0xa4], eax
je 0x40d0c8
jmp 0x40cfde
mov eax, dword [ebp - 0x3c]
sub eax, 0x4a696e7b
mov dword [ebp - 0xa8], eax
je 0x40d17d
jmp 0x40cfde
mov eax, dword [ebp - 0x3c]
sub eax, 0x60711c0b
mov dword [ebp - 0xac], eax
je 0x40d001
jmp 0x40cfde
mov eax, dword [ebp - 0x3c]
sub eax, 0x6ac77404
mov dword [ebp - 0xb0], eax
je 0x40d12a
jmp 0x40cfde
mov eax, dword [ebp - 0x3c]
sub eax, 0x75151ae7
mov dword [ebp - 0xb4], eax
je 0x40d11e
jmp 0x40cfde
mov eax, dword [ebp - 0x3c]
sub eax, 0x788dd795
mov dword [ebp - 0xb8], eax
je 0x40d063
jmp 0x40cfde
jmp 0x40d18b
mov eax, 0xcdaba82b
mov ecx, 0x60711c0b
mov edx, dword [ebp - 0x14]
cmp edx, 0
cmove eax, ecx
mov dword [ebp - 0x38], eax
jmp 0x40d18b
mov dword [ebp - 0x38], 0x6ac77404
jmp 0x40d18b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004060e0
mov dword [ebp - 0x38], 0x9208481d
jmp 0x40d18b
mov eax, 0xeb2ab1cb
mov dword [ebp - 0x38], eax
jmp 0x40d18b
mov eax, 0x788dd795
cmp dword [ebp - 0x20], 0
setne cl
and cl, 1
mov byte [ebp - 0xd], cl
mov dword [ebp - 0x38], eax
jmp 0x40d18b
mov eax, 0xe09bf7be
mov ecx, 0x362b6dcb
mov dl, byte [ebp - 0xd]
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x38], eax
jmp 0x40d18b
mov eax, 1
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov dword [esp], esi
mov dword [esp + 4], 1
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [ebp - 0xbc], eax
call fcn.0043d1e5
mov ecx, 0x25709105
mov edx, 0x3682f2f6
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x20]
cmovne ecx, edx
mov dword [ebp - 0x38], ecx
jmp 0x40d18b
mov dword [ebp - 0x38], 0x6ac77404
jmp 0x40d18b
mov eax, 0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
add edx, ecx
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x20]
sub eax, ecx
add edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x38], 0x9208481d
jmp 0x40d18b
mov eax, 0x9b2cc4fa
mov dword [ebp - 0x38], eax
jmp 0x40d18b
mov eax, 0x75151ae7
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], eax
jmp 0x40d18b
mov dword [ebp - 0x38], 0x6ac77404
jmp 0x40d18b
mov eax, 0x80d4375f
mov ecx, 0x189a0e70
cmp dword [ebp - 0x2c], 0
cmovne eax, ecx
mov dword [ebp - 0x38], eax
jmp 0x40d18b
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.0043d2cf
mov dword [ebp - 0x38], 0x80d4375f
mov dword [ebp - 0xc0], eax
jmp 0x40d18b
mov eax, dword [ebp - 0x34]
add esp, 0xc4
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x38], 0xeb2ab1cb
jmp 0x40d18b
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0x9b2cc4fa
jmp 0x40cd04