Function at 0x40b7a5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x374
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x40b820
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x224], eax
push dword [ebp - 0x224]
push dword [ebp - 0x228]
push 0
push 0x5403
push 0x7854
push 0x596e
push dword [ebp - 0x230]
push dword [ebp - 0x248]
push dword [ebp - 0x234]
call fcn.0040d095
add esp, 0x24
jmp 0x40ccd2
lea eax, [ebp + 0x28]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x300], 0
push 3
lea ecx, [ebp - 0x334]
call fcn.00410610
mov dword [ebp - 0x2e8], 0xffffffff
mov dword [ebp - 0x304], 0x1a4e
mov dword [ebp - 0x30c], 2
mov dword [ebp - 0x314], 0xfa55
mov dword [ebp - 0x158], 0x9e56
mov dword [ebp - 0x20], 0
jmp 0x40b89d
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x40b8b3
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x31c], 0x4f01
jmp 0x40b896
mov dword [ebp - 0x20], 0
jmp 0x40b8c3
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x40b8df
push dword [ebp - 0x20]
lea ecx, [ebp - 0x334]
call fcn.004106b1
mov dword [eax], 0xa75c19c5
jmp 0x40b8bc
mov eax, dword [ebp - 0x158]
inc eax
mov dword [ebp - 0x158], eax
lea ecx, [ebp - 0x334]
call fcn.004106ac
mov eax, dword [ebp - 0x214]
movzx eax, byte [eax]
test eax, eax
je 0x40c8a1
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x218], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x1b8], 0x511ecbfc
push 2
lea ecx, [ebp - 0x258]
call fcn.00410610
mov dword [ebp - 0x24], 0
jmp 0x40b942
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x40b958
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x240], 0xffffffff
jmp 0x40b93b
mov dword [ebp - 0x24], 0
jmp 0x40b968
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x40b984
push dword [ebp - 0x24]
lea ecx, [ebp - 0x258]
call fcn.004106b1
mov dword [eax], 0x5adb
jmp 0x40b961
mov dword [ebp - 8], 3
jmp 0x40b994
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xfffffff3
jle 0x40b9b1
mov dword [ebp - 0x220], 0x83c8
cmp dword [ebp - 0x220], 0
je 0x40b9af
jmp 0x40b9b1
jmp 0x40b98d
mov dword [ebp - 8], 0
jmp 0x40b9c1
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jg 0x40bc57
mov dword [ebp - 0x18], 0x22e6e7f7
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1dc], 0
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x40b9ff
push 0x644
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x18], 0
jmp 0x40ba0f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x40bc52
mov dword [ebp - 0x40], 0x86bdae89
mov dword [ebp - 0x1c4], 0xacdd1f66
mov dword [ebp - 0xdc], 0xfffffff6
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x240], 0
jne 0x40ba50
cmp dword [ebp - 8], 0xffffffff
jg 0x40ba50
and dword [ebp - 0x1f0], 0
jmp 0x40ba5a
mov dword [ebp - 0x1f0], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x240]
mov dword [ebp - 0x348], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x240]
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x338], eax
cmp dword [ebp - 8], 2
jne 0x40baa4
cmp dword [ebp - 0x18], 0
jne 0x40baa4
and dword [ebp - 0x1c0], 0
jmp 0x40baae
mov dword [ebp - 0x1c0], 1
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x240]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x2f4], eax
imul eax, dword [ebp - 0x1c8], 0x5e4d
cmp eax, dword [ebp - 0x18]
jge 0x40bae5
mov dword [ebp - 0xbc], 1
jmp 0x40baec
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xbc], eax
jg 0x40bafb
cmp dword [ebp - 8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x240]
cmp dword [ebp - 0x1b8], eax
je 0x40bb22
cmp dword [ebp - 0x1b8], 0
jne 0x40bb22
and dword [ebp - 0xb8], 0
jmp 0x40bb2c
mov dword [ebp - 0xb8], 1
cmp dword [ebp - 0xb8], 0x38d6
jge 0x40bb44
mov dword [ebp - 0x144], 1
jmp 0x40bb4b
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x40], eax
mov esi, dword [ebp - 0x40]
push 1
lea ecx, [ebp - 0x258]
call fcn.004106b1
mov dword [eax], esi
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x294], eax
push 1
lea ecx, [ebp - 0x258]
call fcn.004106b1
cmp dword [eax], 0
je 0x40bb93
cmp dword [ebp - 0x40], 0
je 0x40bb93
mov dword [ebp - 0xc4], 1
jmp 0x40bb9a
and dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0x737b
jg 0x40bbb2
mov dword [ebp - 0xd4], 1
jmp 0x40bbb9
and dword [ebp - 0xd4], 0
mov dword [ebp - 0x1c4], 0xaca6
cmp dword [ebp - 0x1c4], 0xeef1
jle 0x40bbdb
mov dword [ebp - 0xcc], 1
jmp 0x40bbe2
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xcc], eax
jge 0x40bbf9
mov dword [ebp - 0x14c], 1
jmp 0x40bc00
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0xd4]
sub ecx, eax
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 4
ja 0x40bc26
mov dword [ebp - 0x18c], 1
jmp 0x40bc2d
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x18c]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
mov dword [ebp - 0x1dc], 0xfffffffe
jmp 0x40ba08
jmp 0x40b9ba
lea ecx, [ebp - 0x258]
call fcn.004106ac
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x1e0], eax
push 1
lea ecx, [ebp - 0x84]
call fcn.00410610
mov dword [ebp - 0x14], 0x81c2900
mov dword [ebp - 0x6c], 0xe5411aa8
mov dword [ebp - 0x78], 0xe0e3cec3
mov dword [ebp - 0x74], 0
jmp 0x40bca0
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x40bcbc
push dword [ebp - 0x74]
lea ecx, [ebp - 0x84]
call fcn.004106b1
mov dword [eax], 0x1713b910
jmp 0x40bc99
mov dword [ebp - 0x14], 0
jmp 0x40bccc
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x40c137
mov dword [ebp - 0x10], 0x26a056eb
mov dword [ebp - 0x68], 0x4b748abb
mov dword [ebp - 0x34], 0xd7582ba8
mov dword [ebp - 0x194], 0
push 3
lea ecx, [ebp - 0x280]
call fcn.00410610
mov dword [ebp - 0x5c], 0
jmp 0x40bd12
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x40bd2e
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x280]
call fcn.004106b1
mov dword [eax], 0x3fccfb42
jmp 0x40bd0b
push dword [ebp - 0x14]
lea ecx, [ebp - 0x84]
call fcn.004106b1
cmp dword [eax], 0
je 0x40be9e
mov eax, 0x55467101
test eax, eax
je 0x40bda7
push 0
lea ecx, [ebp - 0x84]
call fcn.004106b1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x84]
call fcn.004106b1
push 0
lea ecx, [ebp - 0x84]
call fcn.004106b1
mov dword [ebp - 0x6c], 0xfffffff8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x10]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x84]
call fcn.004106b1
imul esi, dword [eax]
test esi, esi
je 0x40bda7
mov dword [ebp - 0x154], 1
jmp 0x40bdae
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x154], eax
jl 0x40bdd7
push 0
lea ecx, [ebp - 0x84]
call fcn.004106b1
cmp dword [eax], 0
je 0x40bdd7
mov dword [ebp - 0xe4], 1
jmp 0x40bdde
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xe4], eax
je 0x40bdf5
mov dword [ebp - 0x1ac], 1
jmp 0x40bdfc
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x68], eax
mov esi, dword [ebp - 0x68]
push 0
lea ecx, [ebp - 0x84]
call fcn.004106b1
cmp esi, dword [eax]
jg 0x40be25
mov dword [ebp - 0xec], 1
jmp 0x40be2c
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x34], eax
jl 0x40be49
mov dword [ebp - 0x15c], 1
jmp 0x40be50
and dword [ebp - 0x15c], 0
cmp dword [ebp - 0x15c], 6
jb 0x40be65
mov dword [ebp - 0xf4], 1
jmp 0x40be6c
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
sub eax, 0x4cd021aa
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x2fc], eax
cmp dword [ebp - 0x6c], 0x6522
je 0x40be9e
mov dword [ebp - 0xfc], 1
jmp 0x40bea5
and dword [ebp - 0xfc], 0
push 0
lea ecx, [ebp - 0x84]
call fcn.004106b1
mov ecx, dword [ebp - 0xfc]
cmp ecx, dword [eax]
je 0x40c065
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x29c], 0x5e2d
mov dword [ebp - 0x2f8], 1
mov dword [ebp - 0x200], 1
mov dword [ebp - 0x10], 0
jmp 0x40bef8
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x40c063
mov dword [ebp - 0x3c], 0xffffffff
push 0
lea ecx, [ebp - 0x84]
call fcn.004106b1
cmp dword [eax], 1
jge 0x40bf27
mov dword [ebp - 0x164], 1
jmp 0x40bf2e
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x6c]
imul eax, dword [ebp - 0x164]
test eax, eax
je 0x40bf4e
cmp dword [ebp - 0x10], 0
je 0x40bf4e
mov dword [ebp - 0x104], 1
jmp 0x40bf55
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x78]
dec ecx
mov dword [ebp - 0x78], ecx
test eax, eax
je 0x40bfa9
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x3c], 0
je 0x40bfa9
push dword [ebp - 0x14]
lea ecx, [ebp - 0x84]
call fcn.004106b1
cmp dword [eax], 0
je 0x40bfa9
cmp dword [ebp - 0x3c], 0
je 0x40bfa9
mov eax, 0x552e2968
test eax, eax
je 0x40bfa9
mov dword [ebp - 0x1bc], 1
jmp 0x40bfb0
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x1bc]
je 0x40bfc7
mov dword [ebp - 0x10c], 1
jmp 0x40bfce
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x10c], eax
jg 0x40bfe5
mov dword [ebp - 0x16c], 1
jmp 0x40bfec
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x24c]
cmp dword [ebp - 0x16c], eax
jg 0x40c006
mov dword [ebp - 0x114], 1
jmp 0x40c00d
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x114]
cmp dword [ebp - 0x3c], eax
jge 0x40c027
mov dword [ebp - 0x19c], 1
jmp 0x40c02e
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x68]
imul eax, dword [ebp - 0x19c]
cmp eax, 0x87c3cb87
ja 0x40c04b
mov dword [ebp - 0x11c], 1
jmp 0x40c052
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x200], eax
jmp 0x40bef1
jmp 0x40c0dc
mov dword [ebp - 0x44], 0xfffffffb
mov dword [ebp - 0x54], 0
jmp 0x40c07c
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 3
jge 0x40c092
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x354], 8
jmp 0x40c075
push 0
lea ecx, [ebp - 0x280]
call fcn.004106b1
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x174]
mov dword [ecx], eax
mov dword [ebp - 0x44], 0
jmp 0x40c0c6
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x40c0dc
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x354], 0x50227cdb
jmp 0x40c0bf
mov dword [ebp - 0x10], 0
jmp 0x40c0ec
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x40c127
mov dword [ebp - 0x34], 0
jmp 0x40c102
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x40c125
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x40c123
push 0
push 0xdc3
push 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
jmp 0x40c0fb
jmp 0x40c0e5
lea ecx, [ebp - 0x280]
call fcn.004106ac
jmp 0x40bcc5
lea ecx, [ebp - 0x84]
call fcn.004106ac
mov dword [ebp - 0x1d8], 0x57102d14
mov dword [ebp - 0x1d4], 0x57102d14
mov dword [ebp - 0x1d0], 0x57102d14
mov dword [ebp - 0x1cc], 0x57102d14
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x70], 0
jmp 0x40c188
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jge 0x40c19b
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0xc], 1
jmp 0x40c181
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xc], 0
jmp 0x40c1c0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xc], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc], 0x19
jge 0x40c75a
mov dword [ebp - 0x274], 0xfffffffb
mov dword [ebp - 0x270], 0xfffffffb
mov dword [ebp - 0x26c], 0xfffffffb
mov dword [ebp - 0x268], 0xfffffffb
lea ecx, [ebp - 0x8d]
call fcn.004017e5
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x35c]
call fcn.004106c0
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x50]
call fcn.00410686
mov dword [ebp - 0xac], 0xe356ec7e
mov dword [ebp - 0xa8], 0xe356ec7e
mov dword [ebp - 0xa4], 0xe356ec7e
mov dword [ebp - 0xa0], 0xe356ec7e
push 3
lea ecx, [ebp - 0x50]
call fcn.004106b1
and dword [eax], 0
jmp 0x40c283
push 3
lea ecx, [ebp - 0x50]
call fcn.004106b1
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x124]
mov dword [ecx], eax
push 3
lea ecx, [ebp - 0x50]
call fcn.004106b1
cmp dword [eax], 3
jg 0x40c56d
push 3
lea ecx, [ebp - 0x50]
call fcn.004106b1
mov esi, dword [eax]
push 3
lea ecx, [ebp - 0x50]
call fcn.004106b1
mov eax, dword [eax]
mov ecx, dword [ebp + esi*4 - 0x1d8]
mov dword [ebp + eax*4 - 0x1d8], ecx
push 3
lea ecx, [ebp - 0x50]
call fcn.004106b1
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x1d8], 0
jne 0x40c3d9
push 3
lea ecx, [ebp - 0x50]
call fcn.004106b1
push 3
lea ecx, [ebp - 0x50]
call fcn.004106b1
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xc]
cmp dword [eax], ecx
jl 0x40c304
mov dword [ebp - 0x1b4], 1
jmp 0x40c30b
and dword [ebp - 0x1b4], 0
push 3
lea ecx, [ebp - 0x50]
call fcn.004106b1
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x1d8]
cmp dword [ebp - 0x1b4], eax
jg 0x40c332
mov dword [ebp - 0x12c], 1
jmp 0x40c339
and dword [ebp - 0x12c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
cmp dword [ebp - 0x12c], eax
jl 0x40c357
mov dword [ebp - 0x17c], 1
jmp 0x40c35e
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x17c], eax
jne 0x40c375
mov dword [ebp - 0x22c], 1
jmp 0x40c37c
and dword [ebp - 0x22c], 0
push 3
lea ecx, [ebp - 0x50]
call fcn.004106b1
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x1d8]
mov dword [ebp - 0x320], eax
mov eax, 0x20ea
test eax, eax
jne 0x40c3b4
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc], 0
jne 0x40c3b4
and dword [ebp - 0x88], 0
jmp 0x40c3be
mov dword [ebp - 0x88], 1
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x88]
mov dword [ebp + eax - 0xac], ecx
cmp dword [ebp - 0x88], 0
je 0x40c400
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x40c3f0
push 0x4dd
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x30], 0
je 0x40c3fb
jmp 0x40c262
jmp 0x40c568
mov dword [ebp - 0xc8], 0xffffffff
mov dword [ebp - 0x1c], 3
jmp 0x40c41a
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x40c568
mov dword [ebp - 0x244], 0x1e69d086
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0xac], 0
je 0x40c440
jmp 0x40c568
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc], 0
je 0x40c45e
xor eax, eax
inc eax
je 0x40c45e
mov dword [ebp - 0x1a4], 1
jmp 0x40c465
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xac], 0xd6cd5387
xor eax, eax
inc eax
cmp eax, 0xd6cd5387
ja 0x40c489
mov dword [ebp - 0x134], 1
jmp 0x40c490
and dword [ebp - 0x134], 0
mov esi, dword [ebp - 0x134]
add esi, 0x39be
push 3
lea ecx, [ebp - 0x50]
call fcn.004106b1
cmp esi, dword [eax]
jge 0x40c4b6
mov dword [ebp - 0x13c], 1
jmp 0x40c4bd
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x1a4]
cmp eax, dword [ebp - 0x13c]
jge 0x40c4d7
mov dword [ebp - 0x208], 1
jmp 0x40c4de
and dword [ebp - 0x208], 0
push 3
lea ecx, [ebp - 0x50]
call fcn.004106b1
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x1d8]
mov dword [ebp - 0x2ac], eax
xor eax, eax
cmp eax, 0x32e0c280
jb 0x40c50c
mov dword [ebp - 0x184], 1
jmp 0x40c513
and dword [ebp - 0x184], 0
cmp dword [ebp - 0x184], 0xfffffffe
jle 0x40c528
mov dword [ebp - 0xb4], 1
jmp 0x40c52f
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0xb4], eax
je 0x40c549
mov dword [ebp - 0xc0], 1
jmp 0x40c550
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x244]
imul eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
jmp 0x40c413
jmp 0x40c262
mov dword [ebp - 0x30], 0
jmp 0x40c57d
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jg 0x40c74d
mov dword [ebp - 0x98], 0x77138bf9
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x100], 0xb5cfe74d
mov dword [ebp - 0x21c], 0x7fe6
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xac], 1
je 0x40c5ca
mov dword [ebp - 0xf8], 1
jmp 0x40c5d1
and dword [ebp - 0xf8], 0
push 3
lea ecx, [ebp - 0x50]
call fcn.004106b1
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x210]
test eax, eax
jne 0x40c604
mov eax, 0xefc5446e
test eax, eax
jne 0x40c604
and dword [ebp - 0xd0], 0
jmp 0x40c60e
mov dword [ebp - 0xd0], 1
cmp dword [ebp - 0xd0], 0
jne 0x40c632
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1d8], 0
je 0x40c632
mov dword [ebp - 0xd8], 1
jmp 0x40c639
and dword [ebp - 0xd8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
cmp dword [ebp - 0xd8], eax
jge 0x40c657
mov dword [ebp - 0xe0], 1
jmp 0x40c65e
and dword [ebp - 0xe0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xac]
add eax, dword [ebp - 0xe0]
jne 0x40c68b
push 1
lea ecx, [ebp - 0x50]
call fcn.004106b1
cmp dword [eax], 0
jne 0x40c68b
and dword [ebp - 0xe8], 0
jmp 0x40c695
mov dword [ebp - 0xe8], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
cmp dword [ebp - 0xe8], eax
jg 0x40c6b3
mov dword [ebp - 0xf0], 1
jmp 0x40c6ba
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xf8]
sub eax, dword [ebp - 0x100]
cmp eax, dword [ebp - 0x98]
jne 0x40c6e8
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0xac], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xac]
mov dword [ebp - 0x284], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc]
mov dword [ebp - 0x2b4], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x21c]
cmp dword [ebp + eax - 0xac], ecx
jle 0x40c72b
mov dword [ebp - 0x108], 1
jmp 0x40c732
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x30]
mov dword [ebp + ecx*4 - 0xac], eax
jmp 0x40c576
lea ecx, [ebp - 0x50]
call fcn.004106ac
jmp 0x40c1ab
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x33c], 9
mov dword [ebp - 0x2bc], 0xffffffff
mov dword [ebp - 0x308], 8
mov dword [ebp - 0x2c4], 6
mov dword [ebp - 0x328], 0xbac04ee7
mov dword [ebp - 0x2cc], 0x40194ddb
mov dword [ebp - 0x310], 1
mov dword [ebp - 0x2d4], 0x37a9a971
mov dword [ebp - 0x340], 0xffffffff
mov dword [ebp - 0x2dc], 0x2fdcba86
mov dword [ebp - 0x318], 1
mov dword [ebp - 0x2e4], 0xfffffffb
mov dword [ebp - 0x2f0], 0x831eb239
mov dword [ebp - 0x2ec], 1
mov dword [ebp - 0x288], 0x4ba8b35e
mov dword [ebp - 0x290], 6
mov dword [ebp - 0x110], 0x5f79
mov dword [ebp - 0x298], 0x342f
mov dword [ebp - 0x60], 0
jmp 0x40c82a
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 4
jge 0x40c840
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x374], 0x45c1d102
jmp 0x40c823
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x40c852
call dword [sym.imp.USER32.dll_EndMenu]
mov eax, dword [ebp - 0x110]
dec eax
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x9c]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
add eax, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
push dword [eax + 0x14]
call fcn.0040956a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1e4]
mov dword [ecx], eax
jmp 0x40ccd2
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x94], 4
mov dword [ebp - 0x138], 0x45f5b1b6
mov dword [ebp - 0x1f4], 0xfffffffa
mov dword [ebp - 0x2a0], 0x6e9f0866
mov dword [ebp - 0x2a8], 0x5493e623
mov dword [ebp - 0x2b0], 0x87a5eafb
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2c0], 0xc5530c4e
mov dword [ebp - 0x2c8], 0xfffffffb
mov dword [ebp - 0x140], 0xfffffffb
mov dword [ebp - 0x64], 0
jmp 0x40c921
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x40c937
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x364], 1
jmp 0x40c91a
push 4
pop eax
test eax, eax
je 0x40c953
mov eax, 0x310c13fe
test eax, eax
je 0x40c953
mov dword [ebp - 0x118], 1
jmp 0x40c95a
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 0x646b8d96
jne 0x40c972
mov dword [ebp - 0x120], 1
jmp 0x40c979
and dword [ebp - 0x120], 0
mov eax, 0x664dc9ed
sub eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x120]
cmp eax, 0xe446df3
jg 0x40c99d
mov dword [ebp - 0x128], 1
jmp 0x40c9a4
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x128], eax
jge 0x40c9c4
cmp dword [ebp - 0x94], 0
jne 0x40c9c4
and dword [ebp - 0x130], 0
jmp 0x40c9ce
mov dword [ebp - 0x130], 1
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x140]
inc eax
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x160], 0xfbb9cf7d
mov dword [ebp - 0x168], 0xeadd5d
mov dword [ebp - 0x190], 1
mov dword [ebp - 0x198], 0xfffffffa
mov dword [ebp - 0x58], 0
jmp 0x40ca3e
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x40ca54
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x260], 0x609d70ca
jmp 0x40ca37
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2d8], eax
cmp dword [ebp - 4], 0
je 0x40cad5
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 4], 2
jne 0x40ca87
mov dword [ebp - 0x148], 1
jmp 0x40ca8e
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 0x2092
jle 0x40caa6
mov dword [ebp - 0x8c], 1
jmp 0x40caad
and dword [ebp - 0x8c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x260], ecx
cmp dword [ebp - 0x8c], 0
je 0x40cad5
mov dword [ebp - 0x150], 1
jmp 0x40cadc
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x150], eax
jne 0x40cafc
mov eax, 0xd02e889e
test eax, eax
je 0x40cafc
mov dword [ebp - 0xb0], 1
jmp 0x40cb03
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
jne 0x40cb34
push 0xfffffffffffffffb
pop eax
test eax, eax
jne 0x40cb34
and dword [ebp - 0x170], 0
jmp 0x40cb3e
mov dword [ebp - 0x170], 1
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x170], eax
jle 0x40cb55
mov dword [ebp - 0x178], 1
jmp 0x40cb5c
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
sub eax, 6
cmp eax, dword [ebp - 4]
jl 0x40cb76
mov dword [ebp - 0x180], 1
jmp 0x40cb7d
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
sub eax, 0xe81d
cmp eax, 6
jne 0x40cb99
mov dword [ebp - 0x188], 1
jmp 0x40cba0
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x198], eax
jne 0x40cbcf
mov dword [ebp - 0x1a0], 1
jmp 0x40cbd6
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x1a0]
add eax, dword [ebp - 4]
neg eax
imul eax, dword [ebp - 4]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp - 4]
je 0x40cbfc
mov dword [ebp - 0x1a8], 1
jmp 0x40cc03
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x1a8], eax
jne 0x40cca1
mov dword [ebp - 0x38], 0xce404d4
mov dword [ebp - 0x204], 1
cmp dword [ebp - 0x38], 0
jne 0x40cc42
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x260], 0
jne 0x40cc42
and dword [ebp - 0x1b0], 0
jmp 0x40cc4c
mov dword [ebp - 0x1b0], 1
mov eax, dword [ebp - 0x1b0]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x38], 0
jmp 0x40cc6b
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x17
jl 0x40cc9f
mov dword [ebp - 4], 0
jmp 0x40cc81
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jg 0x40cc9d
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x40cc9b
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
jmp 0x40cc7a
jmp 0x40cc64
jmp 0x40ccb5
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x40ccb5
push 0
call dword [sym.imp.GDI32.dll_CreateBitmapIndirect]
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x40ccc9
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
mov eax, dword [ebp - 0x20c]
and dword [eax], 0
pop esi
mov esp, ebp
pop ebp
ret