Function at 0x40baba
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
jmp 0x40badf
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x40c745
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x6c], 0xf7e7308f
mov dword [ebp - 0x1a4], 1
mov dword [ebp - 0x1a0], 1
mov dword [ebp - 0x19c], 1
mov dword [ebp - 0x198], 1
mov dword [ebp - 0x7c], 0xfffffffc
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x104], 0xffffffff
mov dword [ebp - 0x3c], 0
jmp 0x40bb4e
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x40bb64
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x1e0], 0xedac7a8c
jmp 0x40bb47
cmp dword [ebp - 0x18], 0
jne 0x40bbfd
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jge 0x40bb82
mov dword [ebp - 0x100], 1
jmp 0x40bb89
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xe8], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xe8]
mov dword [ebp + eax - 0x1a4], ecx
mov eax, dword [ebp - 0x6c]
imul eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0x18]
je 0x40bbc5
mov dword [ebp - 0x74], 1
jmp 0x40bbc9
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x74], eax
je 0x40bbdd
mov dword [ebp - 0xf4], 1
jmp 0x40bbe4
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x18]
neg eax
add eax, dword [ebp - 0xf4]
mov dword [ebp - 0x7c], eax
jne 0x40bbfd
and dword [ebp - 0xfc], 0
jmp 0x40bc07
mov dword [ebp - 0xfc], 1
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x104], eax
jle 0x40bc36
mov dword [ebp - 0x8c], 1
jmp 0x40bc3d
and dword [ebp - 0x8c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x1e0], ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0x80000000
je 0x40bee3
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x4c], 0x1213072
mov dword [ebp - 0x94], 0xfffffffc
mov dword [ebp - 0x11c], 0x722a
mov dword [ebp - 0x15c], 0xe8e6
mov dword [ebp - 0xbc], 1
mov dword [ebp - 0x34], 0
jmp 0x40bca8
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x40bcbb
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x44], 0xffffffff
jmp 0x40bca1
cmp dword [ebp - 0x1c], 0
jne 0x40bcd6
cmp dword [ebp - 0x1c], 0
jne 0x40bcd6
cmp dword [ebp - 0x4c], 0
jne 0x40bcd6
and dword [ebp - 0x10c], 0
jmp 0x40bce0
mov dword [ebp - 0x10c], 1
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x10c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x11c]
add eax, 0x15d3e997
je 0x40bd0d
xor eax, eax
je 0x40bd0d
mov dword [ebp - 0x150], 1
jmp 0x40bd14
and dword [ebp - 0x150], 0
cmp dword [ebp - 0x94], 0
je 0x40bd32
mov eax, 0xc7ba
test eax, eax
je 0x40bd32
mov dword [ebp - 0x114], 1
jmp 0x40bd39
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x114], eax
jl 0x40bd50
mov dword [ebp - 0x9c], 1
jmp 0x40bd57
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x9c], eax
jne 0x40bd6e
mov dword [ebp - 0x170], 1
jmp 0x40bd75
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1bc], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x44], 7
jl 0x40bd97
mov dword [ebp - 0xa4], 1
jmp 0x40bd9e
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x11c]
cmp dword [ebp - 0xa4], eax
jg 0x40bdb8
mov dword [ebp - 0x124], 1
jmp 0x40bdbf
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 0x76c5
jg 0x40bdd7
mov dword [ebp - 0xf0], 1
jmp 0x40bdde
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0xc545e213
je 0x40bdf6
mov dword [ebp - 0xb0], 1
jmp 0x40bdfd
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 1
jl 0x40be12
mov dword [ebp - 0x17c], 1
jmp 0x40be19
and dword [ebp - 0x17c], 0
cmp dword [ebp - 0x1c], 0
je 0x40be38
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x44], 0
je 0x40be38
mov dword [ebp - 0xb4], 1
jmp 0x40be3f
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x15c]
cmp dword [ebp - 0xb4], eax
jg 0x40be59
mov dword [ebp - 0xec], 1
jmp 0x40be60
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x1c0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x40beb2
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_PlayEnhMetaFile]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0xffff
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0x14fc
push 0x1b23
call fcn.0040723c
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x40c396
mov dword [ebp - 0x1d8], 0x847dfa86
mov dword [ebp - 0x1d4], 0x847dfa86
mov dword [ebp - 0x1d0], 0x847dfa86
mov dword [ebp - 0x1cc], 0x847dfa86
mov dword [ebp - 0x168], 0x250e6da5
mov dword [ebp - 0x14], 0
jmp 0x40bf25
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x40bf3b
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x204], 0xd9b95031
jmp 0x40bf1e
mov dword [ebp - 0x14], 0
jmp 0x40bf4b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x40bf61
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x194], 0x35ca4204
jmp 0x40bf44
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x194]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x194], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x194]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax]
mov dword [ebp - 0x178], ecx
mov dword [ebp - 8], 0xfffffffc
mov dword [ebp - 0x134], 0x29cbc21b
mov dword [ebp - 0x130], 0x29cbc21b
mov dword [ebp - 0x12c], 0x29cbc21b
mov dword [ebp - 0x128], 0x29cbc21b
mov dword [ebp - 0xe4], 7
mov dword [ebp - 8], 0xfffffff0
jmp 0x40bfe6
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffee
jle 0x40c140
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x110], 0xffffffff
mov dword [ebp - 0x38], 0xfffffff8
mov dword [ebp - 0x174], 0xffffffff
cmp dword [ebp - 0x24], 1
jne 0x40c024
mov dword [ebp - 0x118], 1
jmp 0x40c02b
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x118], eax
jge 0x40c042
mov dword [ebp - 0xc4], 1
jmp 0x40c049
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xc4], eax
jl 0x40c060
mov dword [ebp - 0xf8], 1
jmp 0x40c067
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0x3526
jne 0x40c07f
mov dword [ebp - 0xcc], 1
jmp 0x40c086
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xcc]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jg 0x40c0b3
cmp dword [ebp - 0x38], 0
jne 0x40c0b3
and dword [ebp - 0xd4], 0
jmp 0x40c0bd
mov dword [ebp - 0xd4], 1
mov eax, 0xda2ae7b7
sub eax, dword [ebp - 0xd4]
cmp eax, 1
je 0x40c0d6
mov dword [ebp - 0x5c], 1
jmp 0x40c0da
and dword [ebp - 0x5c], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x5c]
mov dword [ebp + eax - 0x134], ecx
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x24]
cmp eax, 0xfffffffd
jl 0x40c0fe
mov dword [ebp - 0x64], 1
jmp 0x40c102
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x64]
sub ecx, 3
imul eax, ecx
cmp eax, dword [ebp - 0x24]
jg 0x40c11f
mov dword [ebp - 0x158], 1
jmp 0x40c126
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x24], eax
je 0x40c132
cmp dword [ebp - 0x38], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x174], eax
jmp 0x40bfdf
mov dword [ebp - 8], 3
jmp 0x40c150
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xc
jg 0x40c36e
mov dword [ebp - 0x30], 0x4b71808a
mov dword [ebp - 0x58], 0xd142575e
mov dword [ebp - 0x50], 0xf381c4ed
mov dword [ebp - 0xc], 0
jmp 0x40c17f
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x40c195
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x188], 0
jmp 0x40c178
mov dword [ebp - 0xc], 0
jmp 0x40c1a5
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jge 0x40c1bb
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1f4], 0
jmp 0x40c19e
mov dword [ebp - 0x30], 6
jmp 0x40c1cb
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffed
jne 0x40c314
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x10], 3
jmp 0x40c1ec
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x40c30f
mov dword [ebp - 0x54], 0xffffffff
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x134]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x134], 1
jge 0x40c226
mov dword [ebp - 0x164], 1
jmp 0x40c22d
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x134]
cmp dword [ebp - 0x58], eax
jg 0x40c258
mov dword [ebp - 0xdc], 1
jmp 0x40c25f
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xdc]
neg ecx
sub eax, ecx
mov dword [ebp - 0x50], eax
je 0x40c27f
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x134], 0
cmp dword [ebp - 0x54], 0xfffffff7
jl 0x40c28b
cmp dword [ebp - 0x54], 0
je 0x40c2a0
mov eax, 0xffff
test eax, eax
je 0x40c2a0
mov dword [ebp - 0x120], 1
jmp 0x40c2a7
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x120], eax
jl 0x40c2bb
mov dword [ebp - 0x48], 1
jmp 0x40c2bf
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x134], ecx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
sub eax, 0xfffffffc
mov dword [ebp - 0x108], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x108]
mov dword [ebp + eax - 0x188], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x108]
mov dword [ebp + eax - 0x1f4], ecx
jmp 0x40c1e5
jmp 0x40c1c4
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x188]
imul eax, dword [ebp - 0x50]
test eax, eax
jne 0x40c356
mov eax, dword [ebp - 0x58]
push 4
pop ecx
shl ecx, 1
imul ecx, dword [ebp + ecx - 0x134], 0xb3f0
add ecx, 0x7bd129ac
imul eax, ecx
test eax, eax
jne 0x40c356
xor eax, eax
jne 0x40c356
and dword [ebp - 0xac], 0
jmp 0x40c360
mov dword [ebp - 0xac], 1
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x30], eax
jmp 0x40c149
mov eax, dword [ebp - 0x178]
inc eax
inc eax
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0x14fc
push 0x1b23
call fcn.0040723c
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov dword [ebp - 0x60], 0xfffffff7
mov dword [ebp - 0x98], 0
mov dword [ebp - 0xd8], 0xe1a0
mov dword [ebp - 0x70], 2
mov dword [ebp - 4], 0
jmp 0x40c3c8
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x40c3de
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x144], 0xffffffff
jmp 0x40c3c1
mov dword [ebp - 4], 0
jmp 0x40c3ee
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x40c401
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x2c], 0x3c1de6fc
jmp 0x40c3e7
mov dword [ebp - 4], 0
jmp 0x40c411
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x40c427
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x14c], 0xffffffff
jmp 0x40c40a
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x60]
mov dword [ebp + eax - 0x144], ecx
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x144]
mov dword [ebp - 0xa8], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xa8]
mov dword [ebp + eax - 0x2c], ecx
cmp dword [ebp - 0xa8], 0
je 0x40c554
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
add eax, 0x6e40
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x2c]
jne 0x40c48e
mov dword [ebp - 0xb8], 1
jmp 0x40c495
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0x65f
je 0x40c4ad
mov dword [ebp - 0xc0], 1
jmp 0x40c4b4
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0xfffa
jne 0x40c4cc
mov dword [ebp - 0x16c], 1
jmp 0x40c4d3
and dword [ebp - 0x16c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
mov dword [ebp - 0x1a8], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x2c]
cmp dword [ebp + eax - 0x2c], ecx
jg 0x40c505
mov dword [ebp - 0xc8], 1
jmp 0x40c50c
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0xc8], eax
jge 0x40c523
mov dword [ebp - 0x180], 1
jmp 0x40c52a
and dword [ebp - 0x180], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x144]
mov dword [ebp - 0x1c4], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x14c], 0
je 0x40c554
cmp dword [ebp - 0x98], 0
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 3
mov ecx, dword [ebp + ecx - 0x144]
cmp dword [ebp + eax - 0x14c], ecx
je 0x40c57c
mov dword [ebp - 0xd0], 1
jmp 0x40c583
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0xd8], eax
mov eax, 0x1e6e2bfb
cmp eax, 0x826243a5
jne 0x40c5b0
mov dword [ebp - 0xe0], 1
jmp 0x40c5b7
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0
jb 0x40c5c9
mov dword [ebp - 0x68], 1
jmp 0x40c5cd
and dword [ebp - 0x68], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x144]
cmp eax, dword [ebp - 0x68]
jg 0x40c5ee
cmp dword [ebp - 0x70], 0
je 0x40c5ee
mov dword [ebp - 0x78], 1
jmp 0x40c5f2
and dword [ebp - 0x78], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x144]
cmp dword [ebp - 0x78], eax
jl 0x40c60d
mov dword [ebp - 0x80], 1
jmp 0x40c611
and dword [ebp - 0x80], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x144]
cmp dword [ebp - 0x80], eax
jne 0x40c62f
mov dword [ebp - 0x88], 1
jmp 0x40c636
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 1
jae 0x40c64b
mov dword [ebp - 0x90], 1
jmp 0x40c652
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
sub eax, 4
je 0x40c676
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2c], 0
je 0x40c676
mov dword [ebp - 0x154], 1
jmp 0x40c67d
and dword [ebp - 0x154], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x14c]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x1c8], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x14c]
mov dword [ebp - 0x1b8], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x144]
cmp dword [ebp - 0x60], eax
jl 0x40c6cd
mov dword [ebp - 0xa0], 1
jmp 0x40c6d4
and dword [ebp - 0xa0], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xa0]
mov dword [ebp + eax - 0x144], ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x40c740
mov eax, dword [ebp + 0x18]
and dword [eax], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x40], 0x17
jmp 0x40c70d
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffe9
je 0x40c73e
mov dword [ebp - 0x160], 0
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x40c731
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [ebp - 0x160], 0
je 0x40c73c
jmp 0x40c706
jmp 0x40c706
jmp 0x40c745
jmp 0x40bac5
mov esp, ebp
pop ebp
ret