Function at 0x10008bb9
Capabilities:
Check for time delay via queryperformancecounter
Connect pipe
Identify system language via api
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b4dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe5c
push esi
push edi
push 3
lea ecx, [ebp - 0x90c]
call fcn.10014761
and dword [ebp - 4], 0
mov dword [ebp - 0x934], 0
mov dword [ebp - 0x2c8], 0x126ff23b
mov dword [ebp - 0x320], 0x8cccddd
mov dword [ebp - 0x2c0], 0xffffffff
mov dword [ebp - 0xc38], 0xfffffff7
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x888], 0xfffffffb
mov dword [ebp - 0x20c], 0
jmp 0x10008c49
mov eax, dword [ebp - 0x20c]
inc eax
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 3
jge 0x10008c6b
push dword [ebp - 0x20c]
lea ecx, [ebp - 0x90c]
call fcn.100147ff
mov dword [eax], 0xc69aed23
jmp 0x10008c3c
mov eax, dword [ebp - 0x18c]
inc eax
mov dword [ebp - 0x18c], eax
push 0
lea ecx, [ebp - 0x90c]
call fcn.100147ff
cmp dword [eax], 0
jne 0x10008d08
xor eax, eax
jne 0x10008d08
cmp dword [ebp - 0x18c], 0xcda7209c
jae 0x10008ca6
mov dword [ebp - 0x754], 1
jmp 0x10008cad
and dword [ebp - 0x754], 0
mov eax, dword [ebp - 0x888]
mov ecx, dword [ebp - 0x754]
lea eax, [ecx + eax - 0x2fdd970a]
cmp eax, 0x5f27
jl 0x10008cd3
mov dword [ebp - 0x860], 1
jmp 0x10008cda
and dword [ebp - 0x860], 0
cmp dword [ebp - 0x860], 0x44f4
je 0x10008cf3
push 1
lea ecx, [ebp - 0x90c]
call fcn.100147ff
mov eax, dword [ebp - 0x934]
neg eax
neg eax
jne 0x10008d08
and dword [ebp - 0x868], 0
jmp 0x10008d12
mov dword [ebp - 0x868], 1
mov eax, dword [ebp - 0x2c0]
cmp dword [ebp - 0x868], eax
jg 0x10008d2c
mov dword [ebp - 0x890], 1
jmp 0x10008d33
and dword [ebp - 0x890], 0
mov eax, dword [ebp - 0x888]
imul eax, dword [ebp - 0x890]
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x320]
cmp dword [ebp - 0x2c0], eax
jge 0x10008d60
mov dword [ebp - 0x898], 1
jmp 0x10008d67
and dword [ebp - 0x898], 0
mov eax, dword [ebp - 0x898]
mov dword [ebp - 0x2c8], eax
mov esi, dword [ebp - 0x2c8]
push 0
lea ecx, [ebp - 0x90c]
call fcn.100147ff
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0x90c]
call fcn.100147ff
imul esi, dword [eax]
mov dword [ebp - 0x320], esi
cmp dword [ebp - 0x320], 0
je 0x10008e2d
mov dword [ebp - 0x960], 0x7d3709e8
mov byte [ebp - 0xb6], 0
movzx eax, byte [ebp - 0xb6]
test eax, eax
je 0x10008dd4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_DrawMenuBar]
push 0
lea ecx, [ebp - 0x90c]
call fcn.100147ff
mov ecx, dword [ebp - 0x18c]
cmp dword [eax], ecx
jl 0x10008df7
mov dword [ebp - 0x738], 1
jmp 0x10008dfe
and dword [ebp - 0x738], 0
mov eax, dword [ebp - 0x2c8]
cmp dword [ebp - 0x738], eax
jg 0x10008e18
mov dword [ebp - 0x38c], 1
jmp 0x10008e1f
and dword [ebp - 0x38c], 0
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x960], eax
jmp 0x10008e4c
mov byte [ebp - 0xe4], 0
movzx eax, byte [ebp - 0xe4]
test eax, eax
je 0x10008e4c
push 0x1418
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90c]
call fcn.100147e3
push 3
lea ecx, [ebp - 0x924]
call fcn.10014761
mov dword [ebp - 4], 1
mov dword [ebp - 0x968], 0
mov dword [ebp - 0x328], 0x126ff23b
mov dword [ebp - 0x2d0], 0x8cccddd
mov dword [ebp - 0x350], 0xffffffff
mov dword [ebp - 0xbb0], 0xfffffff7
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x39c], 0xfffffffb
mov dword [ebp - 0x28c], 0
jmp 0x10008ece
mov eax, dword [ebp - 0x28c]
inc eax
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 3
jge 0x10008ef0
push dword [ebp - 0x28c]
lea ecx, [ebp - 0x924]
call fcn.100147ff
mov dword [eax], 0xc69aed23
jmp 0x10008ec1
mov eax, dword [ebp - 0x194]
inc eax
mov dword [ebp - 0x194], eax
push 0
lea ecx, [ebp - 0x924]
call fcn.100147ff
cmp dword [eax], 0
jne 0x10008f8d
xor eax, eax
jne 0x10008f8d
cmp dword [ebp - 0x194], 0xcda7209c
jae 0x10008f2b
mov dword [ebp - 0x740], 1
jmp 0x10008f32
and dword [ebp - 0x740], 0
mov eax, dword [ebp - 0x39c]
mov ecx, dword [ebp - 0x740]
lea eax, [ecx + eax - 0x2fdd970a]
cmp eax, 0x5f27
jl 0x10008f58
mov dword [ebp - 0x394], 1
jmp 0x10008f5f
and dword [ebp - 0x394], 0
cmp dword [ebp - 0x394], 0x44f4
je 0x10008f78
push 1
lea ecx, [ebp - 0x924]
call fcn.100147ff
mov eax, dword [ebp - 0x968]
neg eax
neg eax
jne 0x10008f8d
and dword [ebp - 0x748], 0
jmp 0x10008f97
mov dword [ebp - 0x748], 1
mov eax, dword [ebp - 0x350]
cmp dword [ebp - 0x748], eax
jg 0x10008fb1
mov dword [ebp - 0x750], 1
jmp 0x10008fb8
and dword [ebp - 0x750], 0
mov eax, dword [ebp - 0x39c]
imul eax, dword [ebp - 0x750]
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x2d0]
cmp dword [ebp - 0x350], eax
jge 0x10008fe5
mov dword [ebp - 0x3a4], 1
jmp 0x10008fec
and dword [ebp - 0x3a4], 0
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0x328], eax
mov esi, dword [ebp - 0x328]
push 0
lea ecx, [ebp - 0x924]
call fcn.100147ff
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0x924]
call fcn.100147ff
imul esi, dword [eax]
mov dword [ebp - 0x2d0], esi
cmp dword [ebp - 0x2d0], 0
je 0x100090b2
mov dword [ebp - 0x938], 0x7d3709e8
mov byte [ebp - 0xbc], 0
movzx eax, byte [ebp - 0xbc]
test eax, eax
je 0x10009059
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_DrawMenuBar]
push 0
lea ecx, [ebp - 0x924]
call fcn.100147ff
mov ecx, dword [ebp - 0x194]
cmp dword [eax], ecx
jl 0x1000907c
mov dword [ebp - 0x758], 1
jmp 0x10009083
and dword [ebp - 0x758], 0
mov eax, dword [ebp - 0x328]
cmp dword [ebp - 0x758], eax
jg 0x1000909d
mov dword [ebp - 0x3ac], 1
jmp 0x100090a4
and dword [ebp - 0x3ac], 0
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x938], eax
jmp 0x100090d1
mov byte [ebp - 0xd4], 0
movzx eax, byte [ebp - 0xd4]
test eax, eax
je 0x100090d1
push 0x1418
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x924]
call fcn.100147e3
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2e0], 0xffffffff
mov dword [ebp - 0xbb8], 0xfffffffc
mov dword [ebp - 0x778], 0x9534
mov dword [ebp - 0x214], 0
jmp 0x10009121
mov eax, dword [ebp - 0x214]
inc eax
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 3
jge 0x1000913d
mov eax, dword [ebp - 0x214]
mov dword [ebp + eax*4 - 0x8a8], 0xd1d8f8f5
jmp 0x10009114
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x2d8], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x8a8]
cmp dword [ebp - 0x2d8], eax
je 0x1000916a
mov dword [ebp - 0x3b4], 1
jmp 0x10009171
and dword [ebp - 0x3b4], 0
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x8a8], 0
jne 0x100091c2
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x8a8]
cmp dword [ebp + eax - 0x8a8], ecx
jg 0x100091a8
mov dword [ebp - 0x760], 1
jmp 0x100091af
and dword [ebp - 0x760], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x760]
sub ecx, dword [ebp + eax - 0x8a8]
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x8a8], 1
jle 0x100091de
mov dword [ebp - 0x768], 1
jmp 0x100091e5
and dword [ebp - 0x768], 0
mov eax, dword [ebp - 0x3b4]
cmp eax, dword [ebp - 0x768]
jg 0x100091ff
mov dword [ebp - 0x3bc], 1
jmp 0x10009206
and dword [ebp - 0x3bc], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x8a8]
cmp dword [ebp - 0x3bc], eax
jl 0x10009227
mov dword [ebp - 0x368], 1
jmp 0x1000922e
and dword [ebp - 0x368], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x368]
mov dword [ebp + eax - 0x8a8], ecx
mov eax, dword [ebp - 0x2e0]
cmp dword [ebp - 0x368], eax
jg 0x1000925b
mov dword [ebp - 0x770], 1
jmp 0x10009262
and dword [ebp - 0x770], 0
mov eax, dword [ebp - 0x2e0]
cmp dword [ebp - 0x770], eax
jl 0x1000927c
mov dword [ebp - 0x3c4], 1
jmp 0x10009283
and dword [ebp - 0x3c4], 0
push 0xfffffffffffffffe
pop eax
sub eax, dword [ebp - 0x3c4]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x778]
inc eax
mov dword [ebp - 0x778], eax
push 3
lea ecx, [ebp - 0x900]
call fcn.10014761
mov dword [ebp - 4], 2
mov dword [ebp - 0x978], 0
mov dword [ebp - 0x358], 0x126ff23b
mov dword [ebp - 0x2e8], 0x8cccddd
mov dword [ebp - 0x330], 0xffffffff
mov dword [ebp - 0xbc0], 0xfffffff7
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x788], 0xfffffffb
mov dword [ebp - 0x19c], 0
jmp 0x10009312
mov eax, dword [ebp - 0x19c]
inc eax
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 3
jge 0x10009334
push dword [ebp - 0x19c]
lea ecx, [ebp - 0x900]
call fcn.100147ff
mov dword [eax], 0xc69aed23
jmp 0x10009305
mov eax, dword [ebp - 0x254]
inc eax
mov dword [ebp - 0x254], eax
push 0
lea ecx, [ebp - 0x900]
call fcn.100147ff
cmp dword [eax], 0
jne 0x100093d1
xor eax, eax
jne 0x100093d1
cmp dword [ebp - 0x254], 0xcda7209c
jae 0x1000936f
mov dword [ebp - 0x3cc], 1
jmp 0x10009376
and dword [ebp - 0x3cc], 0
mov eax, dword [ebp - 0x788]
mov ecx, dword [ebp - 0x3cc]
lea eax, [ecx + eax - 0x2fdd970a]
cmp eax, 0x5f27
jl 0x1000939c
mov dword [ebp - 0x780], 1
jmp 0x100093a3
and dword [ebp - 0x780], 0
cmp dword [ebp - 0x780], 0x44f4
je 0x100093bc
push 1
lea ecx, [ebp - 0x900]
call fcn.100147ff
mov eax, dword [ebp - 0x978]
neg eax
neg eax
jne 0x100093d1
and dword [ebp - 0x3d4], 0
jmp 0x100093db
mov dword [ebp - 0x3d4], 1
mov eax, dword [ebp - 0x330]
cmp dword [ebp - 0x3d4], eax
jg 0x100093f5
mov dword [ebp - 0x3dc], 1
jmp 0x100093fc
and dword [ebp - 0x3dc], 0
mov eax, dword [ebp - 0x788]
imul eax, dword [ebp - 0x3dc]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x2e8]
cmp dword [ebp - 0x330], eax
jge 0x10009429
mov dword [ebp - 0x790], 1
jmp 0x10009430
and dword [ebp - 0x790], 0
mov eax, dword [ebp - 0x790]
mov dword [ebp - 0x358], eax
mov esi, dword [ebp - 0x358]
push 0
lea ecx, [ebp - 0x900]
call fcn.100147ff
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0x900]
call fcn.100147ff
imul esi, dword [eax]
mov dword [ebp - 0x2e8], esi
cmp dword [ebp - 0x2e8], 0
je 0x100094f6
mov dword [ebp - 0x980], 0x7d3709e8
mov byte [ebp - 0xbe], 0
movzx eax, byte [ebp - 0xbe]
test eax, eax
je 0x1000949d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_DrawMenuBar]
push 0
lea ecx, [ebp - 0x900]
call fcn.100147ff
mov ecx, dword [ebp - 0x254]
cmp dword [eax], ecx
jl 0x100094c0
mov dword [ebp - 0x3e4], 1
jmp 0x100094c7
and dword [ebp - 0x3e4], 0
mov eax, dword [ebp - 0x358]
cmp dword [ebp - 0x3e4], eax
jg 0x100094e1
mov dword [ebp - 0x798], 1
jmp 0x100094e8
and dword [ebp - 0x798], 0
mov eax, dword [ebp - 0x798]
mov dword [ebp - 0x980], eax
jmp 0x10009515
mov byte [ebp - 0xe6], 0
movzx eax, byte [ebp - 0xe6]
test eax, eax
je 0x10009515
push 0x1418
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x900]
call fcn.100147e3
mov dword [ebp - 0x34], 0xfffffffd
mov dword [ebp - 0x24], 0xd8da8e97
mov dword [ebp - 0x1c], 0xffff
push 3
lea ecx, [ebp - 0x2b4]
call fcn.10014761
mov dword [ebp - 4], 3
mov dword [ebp - 0xa0], 0
jmp 0x10009566
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 3
jge 0x10009588
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x2b4]
call fcn.100147ff
mov dword [eax], 0xbefa1e1c
jmp 0x10009559
mov dword [ebp - 0xa0], 0
jmp 0x100095a1
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 2
jge 0x100095bd
mov eax, dword [ebp - 0xa0]
mov dword [ebp + eax*4 - 0xbd4], 0xffffffff
jmp 0x10009594
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xbc8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc5c], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x34], eax
jne 0x100095e9
mov dword [ebp - 0x3ec], 1
jmp 0x100095f0
and dword [ebp - 0x3ec], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x3ec], eax
jle 0x10009607
mov dword [ebp - 0x7a0], 1
jmp 0x1000960e
and dword [ebp - 0x7a0], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x7a0]
je 0x10009625
mov dword [ebp - 0x3f4], 1
jmp 0x1000962c
and dword [ebp - 0x3f4], 0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x3f4]
jg 0x10009646
mov dword [ebp - 0x7a8], 1
jmp 0x1000964d
and dword [ebp - 0x7a8], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x7a8]
jl 0x10009664
mov dword [ebp - 0x3fc], 1
jmp 0x1000966b
and dword [ebp - 0x3fc], 0
cmp dword [ebp - 0x3fc], 0xd14c
jne 0x10009683
mov dword [ebp - 0x7b8], 1
jmp 0x1000968a
and dword [ebp - 0x7b8], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x7b8]
add eax, dword [ebp - 0x24]
je 0x10009aa0
mov dword [ebp - 0x338], 0x97eedf66
mov dword [ebp - 0x2f0], 0x5c8a2db
mov dword [ebp - 0x34], 0
jmp 0x100096c0
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jg 0x10009a9b
push 3
lea ecx, [ebp - 0xa18]
call fcn.10014761
mov byte [ebp - 4], 4
mov dword [ebp - 0x434], 5
mov dword [ebp - 0x1a4], 0
jmp 0x100096fe
mov eax, dword [ebp - 0x1a4]
inc eax
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 3
jge 0x10009720
push dword [ebp - 0x1a4]
lea ecx, [ebp - 0xa18]
call fcn.100147ff
mov dword [eax], 0xb4b1
jmp 0x100096f1
push 1
lea ecx, [ebp - 0x2b4]
call fcn.100147ff
cmp dword [eax], 0
jne 0x10009744
mov eax, 0xe352
test eax, eax
jne 0x10009744
and dword [ebp - 0x7c8], 0
jmp 0x1000974e
mov dword [ebp - 0x7c8], 1
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2b4]
call fcn.100147ff
mov eax, dword [eax]
add eax, 0x70a80ab6
je 0x10009776
or eax, 0xffffffff
je 0x10009776
mov dword [ebp - 0x404], 1
jmp 0x1000977d
and dword [ebp - 0x404], 0
push 1
lea ecx, [ebp - 0xa18]
call fcn.100147ff
mov ecx, dword [ebp - 0x404]
sub ecx, dword [eax]
imul ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x100097a9
cmp dword [ebp - 0x1c], 0
jne 0x100097a9
and dword [ebp - 0x7c0], 0
jmp 0x100097b3
mov dword [ebp - 0x7c0], 1
push 1
lea ecx, [ebp - 0x2b4]
call fcn.100147ff
mov ecx, dword [ebp - 0x7c0]
cmp ecx, dword [eax]
jl 0x100097d6
mov dword [ebp - 0x40c], 1
jmp 0x100097dd
and dword [ebp - 0x40c], 0
push 2
lea ecx, [ebp - 0x2b4]
call fcn.100147ff
mov ecx, dword [ebp - 0x40c]
imul ecx, dword [eax]
mov esi, ecx
imul esi, dword [ebp - 0x7c8]
push 2
lea ecx, [ebp - 0x2b4]
call fcn.100147ff
cmp esi, dword [eax]
jge 0x10009819
mov dword [ebp - 0x414], 1
jmp 0x10009820
and dword [ebp - 0x414], 0
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2b4]
call fcn.100147ff
mov ecx, dword [ebp - 0x414]
sub ecx, dword [eax]
cmp ecx, dword [ebp - 0x1c]
jge 0x10009847
mov dword [ebp - 0x7d0], 1
jmp 0x1000984e
and dword [ebp - 0x7d0], 0
mov eax, dword [ebp - 0x338]
cmp dword [ebp - 0x7d0], eax
jl 0x10009868
mov dword [ebp - 0x41c], 1
jmp 0x1000986f
and dword [ebp - 0x41c], 0
mov eax, dword [ebp - 0x338]
cmp dword [ebp - 0x41c], eax
je 0x10009889
mov dword [ebp - 0x7d8], 1
jmp 0x10009890
and dword [ebp - 0x7d8], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x7d8], eax
je 0x100098a7
mov dword [ebp - 0x424], 1
jmp 0x100098ae
and dword [ebp - 0x424], 0
mov eax, dword [ebp - 0x2f0]
cmp dword [ebp - 0x424], eax
jg 0x100098c8
mov dword [ebp - 0x7e0], 1
jmp 0x100098cf
and dword [ebp - 0x7e0], 0
mov eax, dword [ebp - 0x2f0]
cmp dword [ebp - 0x7e0], eax
jge 0x100098e9
mov dword [ebp - 0x42c], 1
jmp 0x100098f0
and dword [ebp - 0x42c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x42c], eax
jne 0x10009907
mov dword [ebp - 0x7e8], 1
jmp 0x1000990e
and dword [ebp - 0x7e8], 0
mov eax, dword [ebp - 0x7e8]
mov dword [ebp - 0x434], eax
mov esi, dword [ebp - 0x434]
push 1
lea ecx, [ebp - 0xa18]
call fcn.100147ff
cmp esi, dword [eax]
jge 0x1000993d
mov dword [ebp - 0x7f0], 1
jmp 0x10009944
and dword [ebp - 0x7f0], 0
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2b4]
call fcn.100147ff
mov ecx, dword [ebp - 0x7f0]
cmp ecx, dword [eax]
jl 0x10009968
mov dword [ebp - 0x43c], 1
jmp 0x1000996f
and dword [ebp - 0x43c], 0
mov eax, dword [ebp - 0x43c]
sub eax, dword [ebp - 0x24]
je 0x1000998c
cmp dword [ebp - 0x1c], 0
je 0x1000998c
mov dword [ebp - 0x7f8], 1
jmp 0x10009993
and dword [ebp - 0x7f8], 0
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2b4]
call fcn.100147ff
mov eax, dword [eax]
cmp eax, dword [ebp - 0x7f8]
jl 0x100099b7
mov dword [ebp - 0x444], 1
jmp 0x100099be
and dword [ebp - 0x444], 0
push 1
lea ecx, [ebp - 0x2b4]
call fcn.100147ff
mov ecx, dword [ebp - 0x444]
cmp ecx, dword [eax]
jle 0x100099e1
mov dword [ebp - 0x800], 1
jmp 0x100099e8
and dword [ebp - 0x800], 0
cmp dword [ebp - 0x800], 0x718ce682
jle 0x10009a00
mov dword [ebp - 0x44c], 1
jmp 0x10009a07
and dword [ebp - 0x44c], 0
mov eax, dword [ebp - 0x2f0]
imul eax, dword [ebp - 0x44c]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0xbd4]
jge 0x10009a2f
mov dword [ebp - 0x808], 1
jmp 0x10009a36
and dword [ebp - 0x808], 0
cmp dword [ebp - 0x808], 0x17f4
jl 0x10009a4e
mov dword [ebp - 0x454], 1
jmp 0x10009a55
and dword [ebp - 0x454], 0
push 2
lea ecx, [ebp - 0x2b4]
call fcn.100147ff
mov ecx, dword [ebp - 0x454]
mov dword [eax], ecx
cmp dword [ebp - 0x338], 0
je 0x10009a87
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa18]
call fcn.100147e3
jmp 0x100096b9
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa18]
call fcn.100147e3
jmp 0x100096b9
jmp 0x10009b2f
mov dword [ebp - 0x810], 1
mov dword [ebp - 0x1c], 0
jmp 0x10009aba
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 6
jle 0x10009b2f
mov dword [ebp - 0x24], 0x18
jmp 0x10009ad0
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xf
jge 0x10009b2d
cmp dword [ebp - 0x810], 0x27fa52e9
je 0x10009aee
mov dword [ebp - 0x45c], 1
jmp 0x10009af5
and dword [ebp - 0x45c], 0
mov eax, dword [ebp - 0x810]
cmp eax, dword [ebp - 0x45c]
jg 0x10009b0f
mov dword [ebp - 0x818], 1
jmp 0x10009b16
and dword [ebp - 0x818], 0
push 1
lea ecx, [ebp - 0x2b4]
call fcn.100147ff
mov ecx, dword [ebp - 0x818]
mov dword [eax], ecx
jmp 0x10009ac9
jmp 0x10009ab3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b4]
call fcn.100147e3
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x300], 0xffffffff
mov dword [ebp - 0xc64], 0xfffffffc
mov dword [ebp - 0x47c], 0x9534
mov dword [ebp - 0x21c], 0
jmp 0x10009b7f
mov eax, dword [ebp - 0x21c]
inc eax
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 3
jge 0x10009b9b
mov eax, dword [ebp - 0x21c]
mov dword [ebp + eax*4 - 0x8b8], 0xd1d8f8f5
jmp 0x10009b72
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x2f8], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x8b8]
cmp dword [ebp - 0x2f8], eax
je 0x10009bc8
mov dword [ebp - 0x820], 1
jmp 0x10009bcf
and dword [ebp - 0x820], 0
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x8b8], 0
jne 0x10009c20
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x8b8]
cmp dword [ebp + eax - 0x8b8], ecx
jg 0x10009c06
mov dword [ebp - 0x464], 1
jmp 0x10009c0d
and dword [ebp - 0x464], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x464]
sub ecx, dword [ebp + eax - 0x8b8]
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x8b8], 1
jle 0x10009c3c
mov dword [ebp - 0x46c], 1
jmp 0x10009c43
and dword [ebp - 0x46c], 0
mov eax, dword [ebp - 0x820]
cmp eax, dword [ebp - 0x46c]
jg 0x10009c5d
mov dword [ebp - 0x828], 1
jmp 0x10009c64
and dword [ebp - 0x828], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x8b8]
cmp dword [ebp - 0x828], eax
jl 0x10009c85
mov dword [ebp - 0x378], 1
jmp 0x10009c8c
and dword [ebp - 0x378], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x378]
mov dword [ebp + eax - 0x8b8], ecx
mov eax, dword [ebp - 0x300]
cmp dword [ebp - 0x378], eax
jg 0x10009cb9
mov dword [ebp - 0x474], 1
jmp 0x10009cc0
and dword [ebp - 0x474], 0
mov eax, dword [ebp - 0x300]
cmp dword [ebp - 0x474], eax
jl 0x10009cda
mov dword [ebp - 0x830], 1
jmp 0x10009ce1
and dword [ebp - 0x830], 0
push 0xfffffffffffffffe
pop eax
sub eax, dword [ebp - 0x830]
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0x47c]
inc eax
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x124], 0xffffffff
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x48c], 0xffffffff
mov byte [ebp - 0xc0], 0
movzx eax, byte [ebp - 0xc0]
test eax, eax
je 0x10009d52
push 0x74e
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_Polygon]
cmp dword [ebp - 0x124], 0
jne 0x10009d8b
mov eax, dword [ebp - 0x124]
add eax, dword [ebp - 0x124]
mov dword [ebp - 0x838], eax
mov eax, dword [ebp - 0x838]
mov dword [ebp - 0x340], eax
cmp dword [ebp - 0x340], 0
jne 0x10009d8b
and dword [ebp - 0x484], 0
jmp 0x10009d95
mov dword [ebp - 0x484], 1
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x484]
je 0x10009daf
mov dword [ebp - 0x840], 1
jmp 0x10009db6
and dword [ebp - 0x840], 0
mov eax, dword [ebp - 0x840]
mov dword [ebp - 0x48c], eax
cmp dword [ebp - 0x48c], 0
jne 0x10009dd2
cmp dword [ebp - 0x124], 0
cmp dword [ebp - 0x340], 0
je 0x10009e13
mov dword [ebp - 0x848], 0x50f82bae
mov byte [ebp - 0xd9], 0
movzx eax, byte [ebp - 0xd9]
test eax, eax
je 0x10009e04
push 0x1418
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x848]
dec eax
mov dword [ebp - 0x848], eax
jmp 0x10009e32
mov byte [ebp - 0xc2], 0
movzx eax, byte [ebp - 0xc2]
test eax, eax
je 0x10009e32
push 0
push 0x15ee
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x38], 0xfffffffd
mov dword [ebp - 0x2c], 0xd8da8e97
mov dword [ebp - 0x20], 0xffff
push 3
lea ecx, [ebp - 0x2a8]
call fcn.10014761
mov dword [ebp - 4], 5
mov dword [ebp - 0x68], 0
jmp 0x10009e6b
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x10009e87
push dword [ebp - 0x68]
lea ecx, [ebp - 0x2a8]
call fcn.100147ff
mov dword [eax], 0xbefa1e1c
jmp 0x10009e64
mov dword [ebp - 0x68], 0
jmp 0x10009e97
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 2
jge 0x10009ead
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0xbe0], 0xffffffff
jmp 0x10009e90
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc6c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc74], eax
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x38], eax
jne 0x10009ed9
mov dword [ebp - 0x494], 1
jmp 0x10009ee0
and dword [ebp - 0x494], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x494], eax
jle 0x10009ef7
mov dword [ebp - 0x850], 1
jmp 0x10009efe
and dword [ebp - 0x850], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x850]
je 0x10009f15
mov dword [ebp - 0x858], 1
jmp 0x10009f1c
and dword [ebp - 0x858], 0
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x858]
jg 0x10009f36
mov dword [ebp - 0x4b0], 1
jmp 0x10009f3d
and dword [ebp - 0x4b0], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x4b0]
jl 0x10009f54
mov dword [ebp - 0x4a4], 1
jmp 0x10009f5b
and dword [ebp - 0x4a4], 0
cmp dword [ebp - 0x4a4], 0xd14c
jne 0x10009f73
mov dword [ebp - 0x6ac], 1
jmp 0x10009f7a
and dword [ebp - 0x6ac], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x6ac]
add eax, dword [ebp - 0x2c]
je 0x1000a390
mov dword [ebp - 0x360], 0x97eedf66
mov dword [ebp - 0x308], 0x5c8a2db
mov dword [ebp - 0x38], 0
jmp 0x10009fb0
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jg 0x1000a38b
push 3
lea ecx, [ebp - 0xa28]
call fcn.10014761
mov byte [ebp - 4], 6
mov dword [ebp - 0x4dc], 5
mov dword [ebp - 0x1ac], 0
jmp 0x10009fee
mov eax, dword [ebp - 0x1ac]
inc eax
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 3
jge 0x1000a010
push dword [ebp - 0x1ac]
lea ecx, [ebp - 0xa28]
call fcn.100147ff
mov dword [eax], 0xb4b1
jmp 0x10009fe1
push 1
lea ecx, [ebp - 0x2a8]
call fcn.100147ff
cmp dword [eax], 0
jne 0x1000a034
mov eax, 0xe352
test eax, eax
jne 0x1000a034
and dword [ebp - 0x6b4], 0
jmp 0x1000a03e
mov dword [ebp - 0x6b4], 1
push dword [ebp - 0x38]
lea ecx, [ebp - 0x2a8]
call fcn.100147ff
mov eax, dword [eax]
add eax, 0x70a80ab6
je 0x1000a066
or eax, 0xffffffff
je 0x1000a066
mov dword [ebp - 0x4ac], 1
jmp 0x1000a06d
and dword [ebp - 0x4ac], 0
push 1
lea ecx, [ebp - 0xa28]
call fcn.100147ff
mov ecx, dword [ebp - 0x4ac]
sub ecx, dword [eax]
imul ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x1000a099
cmp dword [ebp - 0x20], 0
jne 0x1000a099
and dword [ebp - 0x8dc], 0
jmp 0x1000a0a3
mov dword [ebp - 0x8dc], 1
push 1
lea ecx, [ebp - 0x2a8]
call fcn.100147ff
mov ecx, dword [ebp - 0x8dc]
cmp ecx, dword [eax]
jl 0x1000a0c6
mov dword [ebp - 0x4b4], 1
jmp 0x1000a0cd
and dword [ebp - 0x4b4], 0
push 2
lea ecx, [ebp - 0x2a8]
call fcn.100147ff
mov ecx, dword [ebp - 0x4b4]
imul ecx, dword [eax]
mov esi, ecx
imul esi, dword [ebp - 0x6b4]
push 2
lea ecx, [ebp - 0x2a8]
call fcn.100147ff
cmp esi, dword [eax]
jge 0x1000a109
mov dword [ebp - 0x4bc], 1
jmp 0x1000a110
and dword [ebp - 0x4bc], 0
push dword [ebp - 0x38]
lea ecx, [ebp - 0x2a8]
call fcn.100147ff
mov ecx, dword [ebp - 0x4bc]
sub ecx, dword [eax]
cmp ecx, dword [ebp - 0x20]
jge 0x1000a137
mov dword [ebp - 0x7bc], 1
jmp 0x1000a13e
and dword [ebp - 0x7bc], 0
mov eax, dword [ebp - 0x360]
cmp dword [ebp - 0x7bc], eax
jl 0x1000a158
mov dword [ebp - 0x4c4], 1
jmp 0x1000a15f
and dword [ebp - 0x4c4], 0
mov eax, dword [ebp - 0x360]
cmp dword [ebp - 0x4c4], eax
je 0x1000a179
mov dword [ebp - 0x6bc], 1
jmp 0x1000a180
and dword [ebp - 0x6bc], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x6bc], eax
je 0x1000a197
mov dword [ebp - 0x4cc], 1
jmp 0x1000a19e
and dword [ebp - 0x4cc], 0
mov eax, dword [ebp - 0x308]
cmp dword [ebp - 0x4cc], eax
jg 0x1000a1b8
mov dword [ebp - 0x83c], 1
jmp 0x1000a1bf
and dword [ebp - 0x83c], 0
mov eax, dword [ebp - 0x308]
cmp dword [ebp - 0x83c], eax
jge 0x1000a1d9
mov dword [ebp - 0x4d4], 1
jmp 0x1000a1e0
and dword [ebp - 0x4d4], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x4d4], eax
jne 0x1000a1f7
mov dword [ebp - 0x6c4], 1
jmp 0x1000a1fe
and dword [ebp - 0x6c4], 0
mov eax, dword [ebp - 0x6c4]
mov dword [ebp - 0x4dc], eax
mov esi, dword [ebp - 0x4dc]
push 1
lea ecx, [ebp - 0xa28]
call fcn.100147ff
cmp esi, dword [eax]
jge 0x1000a22d
mov dword [ebp - 0x7c4], 1
jmp 0x1000a234
and dword [ebp - 0x7c4], 0
push dword [ebp - 0x38]
lea ecx, [ebp - 0x2a8]
call fcn.100147ff
mov ecx, dword [ebp - 0x7c4]
cmp ecx, dword [eax]
jl 0x1000a258
mov dword [ebp - 0x4e4], 1
jmp 0x1000a25f
and dword [ebp - 0x4e4], 0
mov eax, dword [ebp - 0x4e4]
sub eax, dword [ebp - 0x2c]
je 0x1000a27c
cmp dword [ebp - 0x20], 0
je 0x1000a27c
mov dword [ebp - 0x6cc], 1
jmp 0x1000a283
and dword [ebp - 0x6cc], 0
push dword [ebp - 0x38]
lea ecx, [ebp - 0x2a8]
call fcn.100147ff
mov eax, dword [eax]
cmp eax, dword [ebp - 0x6cc]
jl 0x1000a2a7
mov dword [ebp - 0x4ec], 1
jmp 0x1000a2ae
and dword [ebp - 0x4ec], 0
push 1
lea ecx, [ebp - 0x2a8]
call fcn.100147ff
mov ecx, dword [ebp - 0x4ec]
cmp ecx, dword [eax]
jle 0x1000a2d1
mov dword [ebp - 0x884], 1
jmp 0x1000a2d8
and dword [ebp - 0x884], 0
cmp dword [ebp - 0x884], 0x718ce682
jle 0x1000a2f0
mov dword [ebp - 0x4f4], 1
jmp 0x1000a2f7
and dword [ebp - 0x4f4], 0
mov eax, dword [ebp - 0x308]
imul eax, dword [ebp - 0x4f4]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0xbe0]
jge 0x1000a31f
mov dword [ebp - 0x6d4], 1
jmp 0x1000a326
and dword [ebp - 0x6d4], 0
cmp dword [ebp - 0x6d4], 0x17f4
jl 0x1000a33e
mov dword [ebp - 0x4fc], 1
jmp 0x1000a345
and dword [ebp - 0x4fc], 0
push 2
lea ecx, [ebp - 0x2a8]
call fcn.100147ff
mov ecx, dword [ebp - 0x4fc]
mov dword [eax], ecx
cmp dword [ebp - 0x360], 0
je 0x1000a377
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa28]
call fcn.100147e3
jmp 0x10009fa9
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa28]
call fcn.100147e3
jmp 0x10009fa9
jmp 0x1000a41f
mov dword [ebp - 0x7cc], 1
mov dword [ebp - 0x20], 0
jmp 0x1000a3aa
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 6
jle 0x1000a41f
mov dword [ebp - 0x2c], 0x18
jmp 0x1000a3c0
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xf
jge 0x1000a41d
cmp dword [ebp - 0x7cc], 0x27fa52e9
je 0x1000a3de
mov dword [ebp - 0x504], 1
jmp 0x1000a3e5
and dword [ebp - 0x504], 0
mov eax, dword [ebp - 0x7cc]
cmp eax, dword [ebp - 0x504]
jg 0x1000a3ff
mov dword [ebp - 0x6dc], 1
jmp 0x1000a406
and dword [ebp - 0x6dc], 0
push 1
lea ecx, [ebp - 0x2a8]
call fcn.100147ff
mov ecx, dword [ebp - 0x6dc]
mov dword [eax], ecx
jmp 0x1000a3b9
jmp 0x1000a3a3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a8]
call fcn.100147e3
mov dword [ebp - 0x148], 0xfffffffe
mov dword [ebp - 0x274], 0
jmp 0x1000a451
mov eax, dword [ebp - 0x274]
inc eax
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 1
jge 0x1000a46d
mov eax, dword [ebp - 0x274]
mov dword [ebp + eax*4 - 0x988], 0x13b9
jmp 0x1000a444
mov dword [ebp - 0x148], 0
jmp 0x1000a486
mov eax, dword [ebp - 0x148]
inc eax
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jg 0x1000a4a3
mov eax, dword [ebp - 0x148]
cmp dword [ebp + eax*4 - 0x988], 0
je 0x1000a4a1
jmp 0x1000a4a3
jmp 0x1000a479
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x2b8], 0xffffffff
mov dword [ebp - 0xc7c], 0xfffffffc
mov dword [ebp - 0x524], 0x9534
mov dword [ebp - 0x1b4], 0
jmp 0x1000a4e4
mov eax, dword [ebp - 0x1b4]
inc eax
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 3
jge 0x1000a500
mov eax, dword [ebp - 0x1b4]
mov dword [ebp + eax*4 - 0x8c8], 0xd1d8f8f5
jmp 0x1000a4d7
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x310], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x8c8]
cmp dword [ebp - 0x310], eax
je 0x1000a52d
mov dword [ebp - 0x844], 1
jmp 0x1000a534
and dword [ebp - 0x844], 0
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x8c8], 0
jne 0x1000a585
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x8c8]
cmp dword [ebp + eax - 0x8c8], ecx
jg 0x1000a56b
mov dword [ebp - 0x50c], 1
jmp 0x1000a572
and dword [ebp - 0x50c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50c]
sub ecx, dword [ebp + eax - 0x8c8]
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x8c8], 1
jle 0x1000a5a1
mov dword [ebp - 0x514], 1
jmp 0x1000a5a8
and dword [ebp - 0x514], 0
mov eax, dword [ebp - 0x844]
cmp eax, dword [ebp - 0x514]
jg 0x1000a5c2
mov dword [ebp - 0x6e4], 1
jmp 0x1000a5c9
and dword [ebp - 0x6e4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x8c8]
cmp dword [ebp - 0x6e4], eax
jl 0x1000a5ea
mov dword [ebp - 0x348], 1
jmp 0x1000a5f1
and dword [ebp - 0x348], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x348]
mov dword [ebp + eax - 0x8c8], ecx
mov eax, dword [ebp - 0x2b8]
cmp dword [ebp - 0x348], eax
jg 0x1000a61e
mov dword [ebp - 0x51c], 1
jmp 0x1000a625
and dword [ebp - 0x51c], 0
mov eax, dword [ebp - 0x2b8]
cmp dword [ebp - 0x51c], eax
jl 0x1000a63f
mov dword [ebp - 0x7d4], 1
jmp 0x1000a646
and dword [ebp - 0x7d4], 0
push 0xfffffffffffffffe
pop eax
sub eax, dword [ebp - 0x7d4]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x524]
inc eax
mov dword [ebp - 0x524], eax
mov dword [ebp - 0x224], 0x91a049fe
mov dword [ebp - 0x990], 0x70cd5099
mov byte [ebp - 0xe8], 0
movzx eax, byte [ebp - 0xe8]
test eax, eax
je 0x1000a697
push 0
push 0x2d3
push 0
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
mov dword [ebp - 0x224], 0xfffffff6
jmp 0x1000a6b0
mov eax, dword [ebp - 0x224]
inc eax
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 9
jl 0x1000a6f4
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1bc], 0x1c
jmp 0x1000a6dc
mov eax, dword [ebp - 0x1bc]
dec eax
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 0xfffffffe
jg 0x1000a6f2
cmp dword [ebp - 0x990], 0
je 0x1000a6f0
jmp 0x1000a6f2
jmp 0x1000a6cf
jmp 0x1000a6a3
mov dword [ebp - 0x12c], 0xffffffff
mov dword [ebp - 0x6ec], 0
mov dword [ebp - 0x370], 0
mov dword [ebp - 0x534], 0xffffffff
mov byte [ebp - 0xc4], 0
movzx eax, byte [ebp - 0xc4]
test eax, eax
je 0x1000a749
push 0x74e
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_Polygon]
cmp dword [ebp - 0x12c], 0
jne 0x1000a782
mov eax, dword [ebp - 0x12c]
add eax, dword [ebp - 0x12c]
mov dword [ebp - 0x6ec], eax
mov eax, dword [ebp - 0x6ec]
mov dword [ebp - 0x370], eax
cmp dword [ebp - 0x370], 0
jne 0x1000a782
and dword [ebp - 0x52c], 0
jmp 0x1000a78c
mov dword [ebp - 0x52c], 1
mov eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 0x52c]
je 0x1000a7a6
mov dword [ebp - 0x8ac], 1
jmp 0x1000a7ad
and dword [ebp - 0x8ac], 0
mov eax, dword [ebp - 0x8ac]
mov dword [ebp - 0x534], eax
cmp dword [ebp - 0x534], 0
jne 0x1000a7c9
cmp dword [ebp - 0x12c], 0
cmp dword [ebp - 0x370], 0
je 0x1000a80a
mov dword [ebp - 0x6f4], 0x50f82bae
mov byte [ebp - 0xe1], 0
movzx eax, byte [ebp - 0xe1]
test eax, eax
je 0x1000a7fb
push 0x1418
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x6f4]
dec eax
mov dword [ebp - 0x6f4], eax
jmp 0x1000a829
mov byte [ebp - 0xc6], 0
movzx eax, byte [ebp - 0xc6]
test eax, eax
je 0x1000a829
push 0
push 0x15ee
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x44], 0x5043c4ab
mov dword [ebp - 0x9a0], 9
mov dword [ebp - 0x9a8], 0xddac0faa
mov dword [ebp - 0x25c], 0
jmp 0x1000a85d
mov eax, dword [ebp - 0x25c]
inc eax
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 1
jge 0x1000a879
mov eax, dword [ebp - 0x25c]
mov dword [ebp + eax*4 - 0x2bc], 5
jmp 0x1000a850
cmp dword [ebp - 0x44], 0
je 0x1000a907
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc84], eax
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x44], eax
jne 0x1000a8a0
mov dword [ebp - 0x998], 1
jmp 0x1000a8a7
and dword [ebp - 0x998], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc8c], eax
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc94], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x53c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x53c]
mov dword [ebp + eax - 0x2bc], ecx
cmp dword [ebp - 0x53c], 0
jne 0x1000a8fd
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2bc], 0
jne 0x1000a8fd
and dword [ebp - 0x7dc], 0
jmp 0x1000a907
mov dword [ebp - 0x7dc], 1
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2bc], 0
jne 0x1000a923
mov dword [ebp - 0x544], 1
jmp 0x1000a92a
and dword [ebp - 0x544], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x544], eax
jl 0x1000a941
mov dword [ebp - 0x6fc], 1
jmp 0x1000a948
and dword [ebp - 0x6fc], 0
cmp dword [ebp - 0x6fc], 0xfff8
je 0x1000a960
mov dword [ebp - 0x54c], 1
jmp 0x1000a967
and dword [ebp - 0x54c], 0
mov eax, dword [ebp - 0x9a0]
add eax, dword [ebp - 0x54c]
mov dword [ebp - 0x9a8], eax
mov byte [ebp - 0xea], 0
movzx eax, byte [ebp - 0xea]
test eax, eax
je 0x1000a991
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [ebp - 0x30], 0xfffffffd
mov dword [ebp - 0x28], 0xd8da8e97
mov dword [ebp - 0x18], 0xffff
push 3
lea ecx, [ebp - 0x29c]
call fcn.10014761
mov dword [ebp - 4], 7
mov dword [ebp - 0x88], 0
jmp 0x1000a9d3
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 3
jge 0x1000a9f5
push dword [ebp - 0x88]
lea ecx, [ebp - 0x29c]
call fcn.100147ff
mov dword [eax], 0xbefa1e1c
jmp 0x1000a9c6
mov dword [ebp - 0x88], 0
jmp 0x1000aa0e
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jge 0x1000aa2a
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0xbec], 0xffffffff
jmp 0x1000aa01
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc9c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xca4], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x30], eax
jne 0x1000aa56
mov dword [ebp - 0x84c], 1
jmp 0x1000aa5d
and dword [ebp - 0x84c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x84c], eax
jle 0x1000aa74
mov dword [ebp - 0x554], 1
jmp 0x1000aa7b
and dword [ebp - 0x554], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x554]
je 0x1000aa92
mov dword [ebp - 0x704], 1
jmp 0x1000aa99
and dword [ebp - 0x704], 0
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x704]
jg 0x1000aab3
mov dword [ebp - 0x55c], 1
jmp 0x1000aaba
and dword [ebp - 0x55c], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x55c]
jl 0x1000aad1
mov dword [ebp - 0x7e4], 1
jmp 0x1000aad8
and dword [ebp - 0x7e4], 0
cmp dword [ebp - 0x7e4], 0xd14c
jne 0x1000aaf0
mov dword [ebp - 0x564], 1
jmp 0x1000aaf7
and dword [ebp - 0x564], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x564]
add eax, dword [ebp - 0x28]
je 0x1000af0d
mov dword [ebp - 0x2cc], 0x97eedf66
mov dword [ebp - 0x2c4], 0x5c8a2db
mov dword [ebp - 0x30], 0
jmp 0x1000ab2d
cmp dword [ebp - 0x30], 2
jg 0x1000af08
push 3
lea ecx, [ebp - 0xa38]
call fcn.10014761
mov byte [ebp - 4], 8
mov dword [ebp - 0x724], 5
mov dword [ebp - 0x1c4], 0
jmp 0x1000ab6b
mov eax, dword [ebp - 0x1c4]
inc eax
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 3
jge 0x1000ab8d
push dword [ebp - 0x1c4]
lea ecx, [ebp - 0xa38]
call fcn.100147ff
mov dword [eax], 0xb4b1
jmp 0x1000ab5e
push 1
lea ecx, [ebp - 0x29c]
call fcn.100147ff
cmp dword [eax], 0
jne 0x1000abb1
mov eax, 0xe352
test eax, eax
jne 0x1000abb1
and dword [ebp - 0x574], 0
jmp 0x1000abbb
mov dword [ebp - 0x574], 1
push dword [ebp - 0x30]
lea ecx, [ebp - 0x29c]
call fcn.100147ff
mov eax, dword [eax]
add eax, 0x70a80ab6
je 0x1000abe3
or eax, 0xffffffff
je 0x1000abe3
mov dword [ebp - 0x70c], 1
jmp 0x1000abea
and dword [ebp - 0x70c], 0
push 1
lea ecx, [ebp - 0xa38]
call fcn.100147ff
mov ecx, dword [ebp - 0x70c]
sub ecx, dword [eax]
imul ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x1000ac16
cmp dword [ebp - 0x18], 0
jne 0x1000ac16
and dword [ebp - 0x56c], 0
jmp 0x1000ac20
mov dword [ebp - 0x56c], 1
push 1
lea ecx, [ebp - 0x29c]
call fcn.100147ff
mov ecx, dword [ebp - 0x56c]
cmp ecx, dword [eax]
jl 0x1000ac43
mov dword [ebp - 0x88c], 1
jmp 0x1000ac4a
and dword [ebp - 0x88c], 0
push 2
lea ecx, [ebp - 0x29c]
call fcn.100147ff
mov ecx, dword [ebp - 0x88c]
imul ecx, dword [eax]
mov esi, ecx
imul esi, dword [ebp - 0x574]
push 2
lea ecx, [ebp - 0x29c]
call fcn.100147ff
cmp esi, dword [eax]
jge 0x1000ac86
mov dword [ebp - 0x714], 1
jmp 0x1000ac8d
and dword [ebp - 0x714], 0
push dword [ebp - 0x30]
lea ecx, [ebp - 0x29c]
call fcn.100147ff
mov ecx, dword [ebp - 0x714]
sub ecx, dword [eax]
cmp ecx, dword [ebp - 0x18]
jge 0x1000acb4
mov dword [ebp - 0x57c], 1
jmp 0x1000acbb
and dword [ebp - 0x57c], 0
mov eax, dword [ebp - 0x2cc]
cmp dword [ebp - 0x57c], eax
jl 0x1000acd5
mov dword [ebp - 0x7ec], 1
jmp 0x1000acdc
and dword [ebp - 0x7ec], 0
mov eax, dword [ebp - 0x2cc]
cmp dword [ebp - 0x7ec], eax
je 0x1000acf6
mov dword [ebp - 0x584], 1
jmp 0x1000acfd
and dword [ebp - 0x584], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x584], eax
je 0x1000ad14
mov dword [ebp - 0x71c], 1
jmp 0x1000ad1b
and dword [ebp - 0x71c], 0
mov eax, dword [ebp - 0x2c4]
cmp dword [ebp - 0x71c], eax
jg 0x1000ad35
mov dword [ebp - 0x58c], 1
jmp 0x1000ad3c
and dword [ebp - 0x58c], 0
mov eax, dword [ebp - 0x2c4]
cmp dword [ebp - 0x58c], eax
jge 0x1000ad56
mov dword [ebp - 0x854], 1
jmp 0x1000ad5d
and dword [ebp - 0x854], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x854], eax
jne 0x1000ad74
mov dword [ebp - 0x594], 1
jmp 0x1000ad7b
and dword [ebp - 0x594], 0
mov eax, dword [ebp - 0x594]
mov dword [ebp - 0x724], eax
mov esi, dword [ebp - 0x724]
push 1
lea ecx, [ebp - 0xa38]
call fcn.100147ff
cmp esi, dword [eax]
jge 0x1000adaa
mov dword [ebp - 0x59c], 1
jmp 0x1000adb1
and dword [ebp - 0x59c], 0
push dword [ebp - 0x30]
lea ecx, [ebp - 0x29c]
call fcn.100147ff
mov ecx, dword [ebp - 0x59c]
cmp ecx, dword [eax]
jl 0x1000add5
jmp 0x1000af9c
mov dword [ebp - 0x5bc], 1
mov dword [ebp - 0x18], 0
jmp 0x1000af27
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 6
jle 0x1000af9c
mov dword [ebp - 0x28], 0x18
jmp 0x1000af3d
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xf
jge 0x1000af9a
cmp dword [ebp - 0x5bc], 0x27fa52e9
je 0x1000af5b
mov dword [ebp - 0x7fc], 1
jmp 0x1000af62
and dword [ebp - 0x7fc], 0
mov eax, dword [ebp - 0x5bc]
cmp eax, dword [ebp - 0x7fc]
jg 0x1000af7c
mov dword [ebp - 0x5c4], 1
jmp 0x1000af83
and dword [ebp - 0x5c4], 0
push 1
lea ecx, [ebp - 0x29c]
call fcn.100147ff
mov ecx, dword [ebp - 0x5c4]
mov dword [eax], ecx
jmp 0x1000af36
jmp 0x1000af20
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.100147e3
mov dword [ebp - 0x14c], 0xfffffffe
mov dword [ebp - 0x22c], 0
jmp 0x1000afce
mov eax, dword [ebp - 0x22c]
inc eax
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 1
jge 0x1000afea
mov eax, dword [ebp - 0x22c]
mov dword [ebp + eax*4 - 0x9b0], 0x13b9
jmp 0x1000afc1
mov dword [ebp - 0x14c], 0
jmp 0x1000b003
mov eax, dword [ebp - 0x14c]
inc eax
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jg 0x1000b020
mov eax, dword [ebp - 0x14c]
cmp dword [ebp + eax*4 - 0x9b0], 0
je 0x1000b01e
jmp 0x1000b020
jmp 0x1000aff6
push 1
lea ecx, [ebp - 0xa50]
call fcn.10014761
mov dword [ebp - 4], 9
mov dword [ebp - 0x284], 0xb96ca2c
mov dword [ebp - 0x1cc], 0
jmp 0x1000b057
mov eax, dword [ebp - 0x1cc]
inc eax
mov dword [ebp - 0x1cc], eax
cmp dword [ebp - 0x1cc], 1
jge 0x1000b079
push dword [ebp - 0x1cc]
lea ecx, [ebp - 0xa50]
call fcn.100147ff
mov dword [eax], 0x47dfa860
jmp 0x1000b04a
push 0
lea ecx, [ebp - 0xa50]
call fcn.100147ff
mov esi, eax
push 0
lea ecx, [ebp - 0xa50]
call fcn.100147ff
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [ebp - 0x284], 0
jmp 0x1000b0b2
mov eax, dword [ebp - 0x284]
inc eax
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 3
jg 0x1000b0d0
push 0
lea ecx, [ebp - 0xa50]
call fcn.100147ff
mov dword [eax], 0x6da5043c
jmp 0x1000b0a5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa50]
call fcn.100147e3
mov dword [ebp - 0xb2c], 0xfff9
mov dword [ebp - 0xb28], 0xfff9
mov dword [ebp - 0xb24], 0xfff9
mov dword [ebp - 0xb20], 0xfff9
lea ecx, [ebp - 0x369]
call fcn.10008a08
push eax
lea eax, [ebp - 0xb1c]
push eax
lea eax, [ebp - 0xb2c]
push eax
lea ecx, [ebp - 0xe1c]
call fcn.1001480e
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0xaa4]
call fcn.100147bd
mov dword [ebp - 4], 0xa
push 1
lea ecx, [ebp - 0x8d8]
call fcn.10014761
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xcac], 0xfffb
mov dword [ebp - 0x1d4], 0
jmp 0x1000b177
mov eax, dword [ebp - 0x1d4]
inc eax
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x1d4], 1
jge 0x1000b196
push dword [ebp - 0x1d4]
lea ecx, [ebp - 0x8d8]
call fcn.100147ff
and dword [eax], 0
jmp 0x1000b16a
push 0
lea ecx, [ebp - 0x8d8]
call fcn.100147ff
and dword [eax], 0
jmp 0x1000b1cc
push 0
lea ecx, [ebp - 0x8d8]
call fcn.100147ff
cmp dword [eax], 3
jg 0x1000b450
mov dword [ebp - 0xf0], 0x60b0ceaf
mov dword [ebp - 0x54], 0xed45
mov byte [ebp - 0xc8], 0
movzx eax, byte [ebp - 0xc8]
test eax, eax
je 0x1000b214
push 0
push 0xad4
push 0
call dword [sym.imp.GDI32.dll_GetMetaFileBitsEx]
mov dword [ebp - 0xf0], 0
jmp 0x1000b22d
cmp dword [ebp - 0xf0], 3
jg 0x1000b44b
push 0
lea ecx, [ebp - 0x8d8]
call fcn.100147ff
push dword [eax]
lea ecx, [ebp - 0xaa4]
call fcn.100147ff
cmp dword [eax], 0
jne 0x1000b265
jmp 0x1000b1a8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x8d8]
call fcn.100147e3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xaa4]
call fcn.100147e3
mov dword [ebp - 0x234], 0x91a049fe
mov dword [ebp - 0x9c0], 0x70cd5099
mov byte [ebp - 0xa9], 0
movzx eax, byte [ebp - 0xa9]
test eax, eax
je 0x1000b4a3
push 0
push 0x2d3
push 0
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
mov dword [ebp - 0x234], 0xfffffff6
jmp 0x1000b4bc
cmp dword [ebp - 0x234], 9
jl 0x1000b500
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1dc], 0x1c
jmp 0x1000b4e8
push 3
lea ecx, [ebp - 0xb7c]
call fcn.10014761
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x134], 0xfffffff7
mov dword [ebp - 0xcb4], 0x2e08974b
mov dword [ebp - 0xcbc], 0xffffffff
mov dword [ebp - 0x23c], 3
mov dword [ebp - 0xcc4], 3
mov dword [ebp - 0xccc], 0
mov dword [ebp - 0xcd4], 0x1e3ff14e
mov dword [ebp - 0xcdc], 0xfffffffe
mov dword [ebp - 0xce4], 3
mov dword [ebp - 0xcec], 0
mov dword [ebp - 0xcf4], 0xfffffffb
mov dword [ebp - 0xcfc], 0x3aaf5bfb
mov dword [ebp - 0xd04], 7
mov dword [ebp - 0xd0c], 0xfc9b996a
mov dword [ebp - 0xd14], 0xffffffff
mov dword [ebp - 0xd1c], 0xffffffff
mov dword [ebp - 0xd24], 1
mov dword [ebp - 0xd2c], 0xd1883800
mov dword [ebp - 0x264], 0
jmp 0x1000b5e1