Function at 0x40ca10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x150
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], 0x10ab50e9
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, 0x6789f1eb
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
jg 0x40ced0
jmp 0x40ca5d
mov eax, dword [ebp - 0x4c]
sub eax, 0x9e5305be
mov dword [ebp - 0x54], eax
jg 0x40ca89
jmp 0x40ca73
mov eax, dword [ebp - 0x4c]
sub eax, 0x97255c1b
mov dword [ebp - 0x58], eax
je 0x40d037
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0xa8c70ff4
mov dword [ebp - 0x5c], eax
jg 0x40cab5
jmp 0x40ca9f
mov eax, dword [ebp - 0x4c]
sub eax, 0x9e5305bf
mov dword [ebp - 0x60], eax
je 0x40d180
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0xaf05febd
mov dword [ebp - 0x64], eax
jg 0x40cae1
jmp 0x40cacb
mov eax, dword [ebp - 0x4c]
sub eax, 0xa8c70ff5
mov dword [ebp - 0x68], eax
je 0x40d376
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0xb2946317
mov dword [ebp - 0x6c], eax
jg 0x40cb0d
jmp 0x40caf7
mov eax, dword [ebp - 0x4c]
sub eax, 0xaf05febe
mov dword [ebp - 0x70], eax
je 0x40d146
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0xb58a9491
mov dword [ebp - 0x74], eax
jg 0x40cb39
jmp 0x40cb23
mov eax, dword [ebp - 0x4c]
sub eax, 0xb2946318
mov dword [ebp - 0x78], eax
je 0x40d201
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0xbf8683ef
mov dword [ebp - 0x7c], eax
jg 0x40cb65
jmp 0x40cb4f
mov eax, dword [ebp - 0x4c]
sub eax, 0xb58a9492
mov dword [ebp - 0x80], eax
je 0x40d1c1
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0xc490b65c
mov dword [ebp - 0x84], eax
jg 0x40cb97
jmp 0x40cb7e
mov eax, dword [ebp - 0x4c]
sub eax, 0xbf8683f0
mov dword [ebp - 0x88], eax
je 0x40d36a
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0xc746de4f
mov dword [ebp - 0x8c], eax
jg 0x40cbc9
jmp 0x40cbb0
mov eax, dword [ebp - 0x4c]
sub eax, 0xc490b65d
mov dword [ebp - 0x90], eax
je 0x40d195
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0xd3b50eab
mov dword [ebp - 0x94], eax
jg 0x40cbfb
jmp 0x40cbe2
mov eax, dword [ebp - 0x4c]
sub eax, 0xc746de50
mov dword [ebp - 0x98], eax
je 0x40d097
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0xd72c8b3d
mov dword [ebp - 0x9c], eax
jg 0x40cc2d
jmp 0x40cc14
mov eax, dword [ebp - 0x4c]
sub eax, 0xd3b50eac
mov dword [ebp - 0xa0], eax
je 0x40d3d1
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0xec3f02b2
mov dword [ebp - 0xa4], eax
jg 0x40cc5f
jmp 0x40cc46
mov eax, dword [ebp - 0x4c]
sub eax, 0xd72c8b3e
mov dword [ebp - 0xa8], eax
je 0x40d1dc
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0xf871b244
mov dword [ebp - 0xac], eax
jg 0x40cc91
jmp 0x40cc78
mov eax, dword [ebp - 0x4c]
sub eax, 0xec3f02b3
mov dword [ebp - 0xb0], eax
je 0x40d01c
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0xfff35c6e
mov dword [ebp - 0xb4], eax
jg 0x40ccc3
jmp 0x40ccaa
mov eax, dword [ebp - 0x4c]
sub eax, 0xf871b245
mov dword [ebp - 0xb8], eax
je 0x40d3e6
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0x2c46c5e
mov dword [ebp - 0xbc], eax
jg 0x40ccf5
jmp 0x40ccdc
mov eax, dword [ebp - 0x4c]
sub eax, 0xfff35c6f
mov dword [ebp - 0xc0], eax
je 0x40cefb
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0x10ab50e8
mov dword [ebp - 0xc4], eax
jg 0x40cd27
jmp 0x40cd0e
mov eax, dword [ebp - 0x4c]
sub eax, 0x2c46c5f
mov dword [ebp - 0xc8], eax
je 0x40d0b5
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0x1da0bfb8
mov dword [ebp - 0xcc], eax
jg 0x40cd59
jmp 0x40cd40
mov eax, dword [ebp - 0x4c]
sub eax, 0x10ab50e9
mov dword [ebp - 0xd0], eax
je 0x40ceee
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0x5b2aebe8
mov dword [ebp - 0xd4], eax
jg 0x40ceb7
jmp 0x40cd72
mov eax, dword [ebp - 0x4c]
sub eax, 0x58759b1e
mov dword [ebp - 0xd8], eax
jg 0x40ce9e
jmp 0x40cd8b
mov eax, dword [ebp - 0x4c]
sub eax, 0x3d7366d8
mov dword [ebp - 0xdc], eax
jg 0x40ce85
jmp 0x40cda4
mov eax, dword [ebp - 0x4c]
sub eax, 0x3a690472
mov dword [ebp - 0xe0], eax
jg 0x40ce6c
jmp 0x40cdbd
mov eax, dword [ebp - 0x4c]
sub eax, 0x36d7f130
mov dword [ebp - 0xe4], eax
jg 0x40ce53
jmp 0x40cdd6
mov eax, dword [ebp - 0x4c]
sub eax, 0x2bdc1f75
mov dword [ebp - 0xe8], eax
jg 0x40ce3a
jmp 0x40cdef
mov eax, dword [ebp - 0x4c]
sub eax, 0x1da0bfb9
mov dword [ebp - 0xec], eax
je 0x40d223
jmp 0x40ce08
mov eax, dword [ebp - 0x4c]
sub eax, 0x1f54f4c3
mov dword [ebp - 0xf0], eax
je 0x40d11f
jmp 0x40ce21
mov eax, dword [ebp - 0x4c]
sub eax, 0x2096cf6b
mov dword [ebp - 0xf4], eax
je 0x40d044
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0x2bdc1f76
mov dword [ebp - 0xf8], eax
je 0x40d0c2
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0x36d7f131
mov dword [ebp - 0xfc], eax
je 0x40d05d
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0x3a690473
mov dword [ebp - 0x100], eax
je 0x40d20e
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0x3d7366d9
mov dword [ebp - 0x104], eax
je 0x40d22e
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0x58759b1f
mov dword [ebp - 0x108], eax
je 0x40d1a2
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0x5b2aebe9
mov dword [ebp - 0x10c], eax
je 0x40d051
jmp 0x40cee9
mov eax, dword [ebp - 0x4c]
sub eax, 0x6789f1ec
mov dword [ebp - 0x110], eax
je 0x40d13a
jmp 0x40cee9
jmp 0x40d3f6
mov eax, 0xfff35c6f
mov dword [ebp - 0x34], eax
jmp 0x40d3f6
lea eax, [0x436550]
mov ecx, 4
mov dword [ebp - 0x114], eax
mov eax, ecx
mov dword [ebp - 0x118], ecx
call fcn.0042b750
mov eax, esp
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x118]
call fcn.0042b750
mov eax, esp
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x118]
call fcn.0042b750
mov eax, esp
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x118]
call fcn.0042b750
mov eax, esp
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x118]
call fcn.0042b750
mov eax, esp
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
mov eax, ecx
call fcn.0042b750
mov eax, esp
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x118]
call fcn.0042b750
mov eax, esp
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x118]
call fcn.0042b750
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 - 0x11c]
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 - 0x11c]
mov eax, dword [eax]
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x114]
mov dword [esp + 4], eax
call fcn.0042c1e9
add esp, 8
mov ecx, 0xec3f02b3
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 - 0x13], al
mov dword [ebp - 0x34], ecx
jmp 0x40d3f6
mov eax, 0x36d7f131
mov ecx, 0x97255c1b
mov dl, byte [ebp - 0x13]
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x40d3f6
mov eax, 0x2096cf6b
mov dword [ebp - 0x34], eax
jmp 0x40d3f6
mov eax, 0x5b2aebe9
mov dword [ebp - 0x34], eax
jmp 0x40d3f6
mov dword [ebp - 0x34], 0xc490b65d
jmp 0x40d3f6
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.00406910
add esp, 0x10
mov dword [ebp - 0x34], 0xc746de50
jmp 0x40d3f6
mov eax, 0x9e5305bf
mov ecx, 0x2c46c5f
mov edx, dword [ebp - 0x28]
cmp dword [edx], 0
cmovne eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x40d3f6
mov eax, 0x2bdc1f76
mov dword [ebp - 0x34], eax
jmp 0x40d3f6
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 - 0x120], eax
call fcn.0042c355
add esp, 0x10
mov ecx, 0x1f54f4c3
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
cmp eax, dword [edx]
setne bl
and bl, 1
mov byte [ebp - 0x12], bl
mov dword [ebp - 0x34], ecx
jmp 0x40d3f6
mov eax, 0xaf05febe
mov ecx, 0x6789f1ec
mov dl, byte [ebp - 0x12]
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x40d3f6
mov dword [ebp - 0x34], 0xc490b65d
jmp 0x40d3f6
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, 0xbce5106b
sub ecx, eax
sub ecx, 0xbce5106b
mov eax, dword [ebp - 0x28]
mov dword [eax], ecx
mov dword [ebp - 0x34], 0xc746de50
jmp 0x40d3f6
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
mov dword [ebp - 0x34], 0xc490b65d
jmp 0x40d3f6
mov eax, 0x58759b1f
mov dword [ebp - 0x34], eax
jmp 0x40d3f6
mov eax, 0xb58a9492
mov ecx, dword [ebp - 0x20]
cmp dword [ecx], 0
setne dl
and dl, 1
mov byte [ebp - 0x11], dl
mov dword [ebp - 0x34], eax
jmp 0x40d3f6
mov eax, 0xb2946318
mov ecx, 0xd72c8b3e
mov dl, byte [ebp - 0x11]
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x40d3f6
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.0042c43f
add esp, 4
mov dword [ebp - 0x34], 0xb2946318
mov dword [ebp - 0x124], eax
jmp 0x40d3f6
mov eax, 0x3a690473
mov dword [ebp - 0x34], eax
jmp 0x40d3f6
mov eax, 0x1da0bfb9
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x34], eax
jmp 0x40d3f6
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [0x436550]
mov ecx, 4
mov dword [ebp - 0x128], eax
mov eax, ecx
mov dword [ebp - 0x12c], ecx
call fcn.0042b750
mov eax, esp
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], eax
mov eax, ecx
call fcn.0042b750
mov eax, esp
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x134], eax
mov eax, ecx
call fcn.0042b750
mov eax, esp
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x138], eax
mov eax, ecx
call fcn.0042b750
mov eax, esp
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x13c], eax
mov eax, ecx
call fcn.0042b750
mov eax, esp
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x140], eax
mov eax, ecx
call fcn.0042b750
mov eax, esp
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x144], eax
mov eax, ecx
call fcn.0042b750
mov eax, esp
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x148], eax
mov eax, ecx
call fcn.0042b750
mov eax, esp
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x38]
mov dword [ecx], edx
mov esi, dword [ebp - 0x134]
mov edi, dword [ebp - 0x3c]
mov dword [esi], edi
mov ebx, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x40]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov ecx, dword [ebp - 0x140]
mov edx, dword [ebp - 0x48]
mov dword [ecx], edx
mov ecx, dword [ebp - 0x144]
mov dword [ecx], 0
mov ecx, dword [ebp - 0x148]
mov dword [ecx], 0
mov dword [eax], 0xffffffff
mov eax, dword [ebp - 0x140]
mov eax, dword [eax]
sub esp, 8
mov dword [esp], eax
mov eax, dword [ebp - 0x128]
mov dword [esp + 4], eax
call fcn.0042c1e9
add esp, 8
mov ecx, dword [ebp - 0x144]
mov dword [ecx], eax
mov dword [ebp - 0x34], 0xfff35c6f
jmp 0x40d3f6
mov dword [ebp - 0x34], 0x2096cf6b
jmp 0x40d3f6
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 - 0x14c], eax
call fcn.0042c355
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x34], 0x2bdc1f76
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], ecx
jmp 0x40d3f6
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], 0x58759b1f
mov dword [ebp - 0x158], eax
jmp 0x40d3f6
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0x3a690473
mov dword [ebp - 0x15c], eax
jmp 0x40ca41