Function at 0x1002be16
Capabilities:
Contain obfuscated stackstrings
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f784
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x598
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002e1cb
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x344], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x2e0]
movzx eax, byte [eax]
test eax, eax
je 0x1002e080
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x37c], 0x1bd97a8
mov dword [ebp - 0x1f8], 0x3e06
mov dword [ebp - 0x34c], 0x10009f5c
cmp dword [ebp - 0x1f8], 0x3e46
jle 0x1002bfa0
push 0
call dword [sym.imp.GDI32.dll_DeleteDC]
and dword [ebp - 0xfc], 0
jmp 0x1002bed9
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0x138a
jge 0x1002bfa0
and dword [ebp - 0x98], 0
jmp 0x1002beff
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x5941
jge 0x1002bf9b
and dword [ebp - 0x124], 0
jmp 0x1002bf25
mov eax, dword [ebp - 0x124]
inc eax
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0x1597
jge 0x1002bf96
and dword [ebp - 0xa0], 0
jmp 0x1002bf47
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0x392
jge 0x1002bf94
mov eax, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x98]
shl eax, cl
mov ecx, dword [ebp - 0x124]
add ecx, dword [ebp - 0xa0]
or eax, ecx
cdq
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2b4], edx
push dword [ebp - 0x2b4]
push dword [ebp - 0x2b8]
mov ecx, 0x10084b98
call fcn.10020ee4
jmp 0x1002bf3a
jmp 0x1002bf18
jmp 0x1002bef2
jmp 0x1002becc
mov dword [ebp - 0x394], 0xd609
cmp dword [ebp - 0x1f8], 0x3bf9
jge 0x1002bfc6
mov edx, dword [ebp - 0x34c]
mov ecx, 0x10084b98
call fcn.10023c34
mov dword [ebp - 0x4a4], 0x35357f45
mov dword [ebp - 0x2a4], 6
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x460], 0xfffffffd
mov dword [ebp - 0x45c], 0xfffffffd
mov dword [ebp - 0x458], 0xfffffffd
mov dword [ebp - 0x454], 0xfffffffd
mov dword [ebp - 0x310], 0x65251c60
mov dword [ebp - 0x268], 0x246c382
mov dword [ebp - 0x490], 0x7bc35240
mov dword [ebp - 0x4c0], 3
mov dword [ebp - 0x258], 0xb2415fb5
mov dword [ebp - 0x390], 0x26128f3b
push 1
lea ecx, [ebp - 0x400]
call fcn.100211fe
and dword [ebp - 4], 0
mov dword [ebp - 0x3cc], 0x451d
mov dword [ebp - 0x3c8], 0x451d
mov dword [ebp - 0x3c4], 0x451d
mov dword [ebp - 0x3c0], 0x451d
lea ecx, [ebp - 0x165]
call fcn.100212ab
push eax
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x3cc]
push eax
lea ecx, [ebp - 0x4dc]
call fcn.100212ae
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x46c]
call fcn.1002125a
mov byte [ebp - 4], 1
push 0x5672
push 0x4ff5
push 0x61a1
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x4a0]
push eax
push 0
push 1
push 0x6f79
push 1
push 0xc
call fcn.1004178b
add esp, 0x28
lea eax, [ebp - 0x390]
push eax
push 1
lea eax, [ebp - 0x394]
push eax
lea eax, [ebp - 0x258]
push eax
push 0
push 0x5374
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.10026e69
add esp, 0x34
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x46c]
call fcn.10021280
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x400]
call fcn.10021280
mov eax, dword [0x10085c48]
and eax, 1
jne 0x1002c198
mov eax, dword [0x10085c48]
or eax, 1
mov dword [0x10085c48], eax
mov dword [ebp - 4], 2
mov ecx, 0x1008a05c
call fcn.100213af
push 0x1008028c
call fcn.10069b79
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x270], 0x42ad015b
mov dword [ebp - 0x4b8], 0x36fbc6a6
mov dword [ebp - 0x104], 0
jmp 0x1002c1cc
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 2
jge 0x1002c1e8
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0x160], 0x871c7bf0
jmp 0x1002c1bf
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x160]
mov dword [ebp - 0x18], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x160]
add ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp + eax - 0x160]
jle 0x1002c48f
mov dword [ebp - 0x4c], 0x2703
mov dword [ebp - 0x3f4], 0x452a26f
mov dword [ebp - 0x3f0], 0x452a26f
mov dword [ebp - 0x3ec], 0x452a26f
mov dword [ebp - 0x3e8], 0x452a26f
lea ecx, [ebp - 0x149]
call fcn.100212ab
push eax
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x3f4]
push eax
lea ecx, [ebp - 0x4d4]
call fcn.100212ae
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x424]
call fcn.1002125a
mov dword [ebp - 4], 3
mov dword [ebp - 0x184], 0x789a
mov dword [ebp - 0x39c], 0x10009f94
cmp dword [ebp - 0x184], 0x7934
jle 0x1002c31d
and dword [ebp - 0xa8], 0
jmp 0x1002c2bc
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x5066
jge 0x1002c31d
and dword [ebp - 0x144], 0
jmp 0x1002c2de
mov eax, dword [ebp - 0x144]
inc eax
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xa00
jge 0x1002c31b
mov eax, dword [ebp - 0xa8]
sub eax, dword [ebp - 0x144]
cdq
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2c0], edx
push dword [ebp - 0x2c0]
push dword [ebp - 0x2c4]
mov ecx, 0x10084b98
call fcn.10020ee4
jmp 0x1002c2d1
jmp 0x1002c2af
push 3
lea ecx, [ebp - 0x424]
call fcn.1002129c
cmp dword [eax], 0
jne 0x1002c438
cmp dword [ebp - 0x18], 0xfff9
je 0x1002c348
mov dword [ebp - 0x210], 1
jmp 0x1002c34f
and dword [ebp - 0x210], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x160]
cmp dword [ebp - 0x210], eax
jne 0x1002c373
cmp dword [ebp - 0x18], 0
jne 0x1002c373
and dword [ebp - 0x22c], 0
jmp 0x1002c37d
mov dword [ebp - 0x22c], 1
push 3
lea ecx, [ebp - 0x424]
call fcn.1002129c
mov ecx, dword [ebp - 0x22c]
add ecx, dword [eax]
sub ecx, dword [ebp - 0x4c]
cmp ecx, dword [ebp - 0x4c]
jne 0x1002c3a6
mov dword [ebp - 0x174], 1
jmp 0x1002c3ad
and dword [ebp - 0x174], 0
cmp dword [ebp - 0x174], 0x5610
jne 0x1002c3c5
mov dword [ebp - 0x208], 1
jmp 0x1002c3cc
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x208], eax
jl 0x1002c3e3
mov dword [ebp - 0x1d4], 1
jmp 0x1002c3ea
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x1d4], eax
jg 0x1002c401
mov dword [ebp - 0x17c], 1
jmp 0x1002c408
and dword [ebp - 0x17c], 0
cmp dword [ebp - 0x17c], 0xfffffffb
jb 0x1002c41d
mov dword [ebp - 0x204], 1
jmp 0x1002c424
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x204]
je 0x1002c438
and dword [ebp - 0x31c], 0
jmp 0x1002c442
mov dword [ebp - 0x31c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x160]
mov dword [ebp - 0x4a8], eax
mov dword [ebp - 0x270], 0xc5604491
cmp dword [ebp - 0x184], 0x77cd
jge 0x1002c47b
mov edx, dword [ebp - 0x39c]
mov ecx, 0x10084b98
call fcn.10023c34
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.10021280
jmp 0x1002c5ef
mov dword [ebp - 0x328], 0xffffffff
mov dword [ebp - 0x18], 0
jmp 0x1002c4a9
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x1002c5ef
mov dword [ebp - 0x280], 0x9c3f9080
mov dword [ebp - 0x1dc], 0x4b91
mov dword [ebp - 0x278], 0x10009fc8
cmp dword [ebp - 0x1dc], 0x4d7f
jle 0x1002c58c
and dword [ebp - 0xb0], 0
jmp 0x1002c4f7
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x5af0
jge 0x1002c58c
and dword [ebp - 0x10c], 0
jmp 0x1002c51d
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x205f
jge 0x1002c587
and dword [ebp - 0xb8], 0
jmp 0x1002c53f
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x3a9e
jge 0x1002c585
mov eax, dword [ebp - 0xb0]
imul eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0xb8]
shl eax, cl
cdq
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2cc], edx
push dword [ebp - 0x2cc]
push dword [ebp - 0x2d0]
mov ecx, 0x10084b98
call fcn.10020ee4
jmp 0x1002c532
jmp 0x1002c510
jmp 0x1002c4ea
mov byte [ebp - 0x1e], 0
cmp dword [ebp - 0x1dc], 0x480b
jge 0x1002c5ac
mov edx, dword [ebp - 0x278]
mov ecx, 0x10084b98
call fcn.10023c34
push 1
push 0x73fc
push 1
push 0xd86
lea eax, [ebp - 0x1e]
push eax
call fcn.1002674b
add esp, 0x14
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x160], 0
je 0x1002c5da
cmp dword [ebp - 0x328], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x160]
mov dword [ebp - 0x280], eax
jmp 0x1002c4a2
push 1
push 1
push 0
push 0x124c
call fcn.100291c3
add esp, 0x10
push dword [ebp - 0x1b8]
lea ecx, [ebp - 0x3b8]
call fcn.10020ff9
mov dword [ebp - 4], 4
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x3b8]
call fcn.10021aa0
push dword [eax]
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x3b8]
call fcn.10021ab4
push dword [eax]
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x3b8]
call fcn.10021aa0
push dword [eax]
mov edx, 0x10024ca4
lea ecx, [ebp - 0x4b4]
call fcn.10042385
add esp, 0xc
mov dword [ebp - 0x48], 0x29000d4e
mov dword [ebp - 0xd0], 0
jmp 0x1002c689
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 2
jge 0x1002c6a5
mov eax, dword [ebp - 0xd0]
mov dword [ebp + eax*4 - 0x450], 0xb9102071
jmp 0x1002c67c
mov dword [ebp - 0x48], 0
jmp 0x1002c6b5
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jg 0x1002c6cc
mov eax, dword [ebp - 0x48]
cmp dword [ebp + eax*4 - 0x450], 0
je 0x1002c6ca
jmp 0x1002c6cc
jmp 0x1002c6ae
mov dword [ebp - 0x18c], 0x6169
mov dword [ebp - 0x288], 0x10009fe0
cmp dword [ebp - 0x18c], 0x630d
jle 0x1002c7f9
and dword [ebp - 0xc0], 0
jmp 0x1002c706
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x61b7
jge 0x1002c7f9
and dword [ebp - 0xd8], 0
jmp 0x1002c72c
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0x4efc
jge 0x1002c7f4
and dword [ebp - 0xc8], 0
jmp 0x1002c752
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0x332e
jge 0x1002c7ef
and dword [ebp - 0xe0], 0
jmp 0x1002c778
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0xfc3
jge 0x1002c7ea
mov eax, dword [ebp - 0xc0]
imul eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xc8]
add ecx, dword [ebp - 0xe0]
and eax, ecx
cdq
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2d8], edx
push dword [ebp - 0x2d8]
push dword [ebp - 0x2dc]
lea ecx, [ebp - 0x58c]
call fcn.1001105e
pop ecx
pop ecx
mov dword [ebp - 0x384], eax
mov ecx, dword [ebp - 0x384]
call fcn.10020ec4
push eax
call fcn.10069ba3
pop ecx
lea ecx, [ebp - 0x58c]
call fcn.10020eba
jmp 0x1002c76b
jmp 0x1002c745
jmp 0x1002c71f
jmp 0x1002c6f9
lea ecx, [ebp - 0x3b8]
call fcn.10024c2f
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x18c], 0x5df3
jge 0x1002c822
push dword [ebp - 0x288]
call fcn.10069ba3
pop ecx
movzx eax, byte [0x1008a005]
test eax, eax
je 0x1002ca27
mov ecx, 0x1008a05c
call fcn.10042062
movzx eax, al
test eax, eax
jne 0x1002ca27
mov dword [ebp - 0x334], 6
lea eax, [ebp - 0x334]
push eax
push 0x3807
push 0
push 0x7d44
call fcn.1002e7fb
add esp, 0x10
mov dword [ebp - 0x224], 0x54
mov dword [ebp - 0x290], 0x1000a004
cmp dword [ebp - 0x224], 0x274
jle 0x1002c902
and dword [ebp - 0x8c], 0
jmp 0x1002c8a1
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x1b65
jge 0x1002c902
and dword [ebp - 0xe8], 0
jmp 0x1002c8c3
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0x30d
jge 0x1002c900
mov eax, dword [ebp - 0x8c]
and eax, dword [ebp - 0xe8]
cdq
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2e4], edx
push dword [ebp - 0x2e4]
push dword [ebp - 0x2e8]
mov ecx, 0x10084b98
call fcn.10020ee4
jmp 0x1002c8b6
jmp 0x1002c894
mov byte [ebp - 0x20], 0
push 1
push 1
lea eax, [ebp - 0x20]
push eax
push 1
call fcn.10028b4b
add esp, 0x10
cmp dword [ebp - 0x224], 0xfffffe1d
jge 0x1002c934
mov edx, dword [ebp - 0x290]
mov ecx, 0x10084b98
call fcn.10023c34
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x194]
push eax
mov ecx, 0x1008a05c
call fcn.10021387
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x340], 0xd21f1eb3
mov dword [ebp - 0x3a0], 0x7c7
mov dword [ebp - 0x298], 0x1be3
mov dword [ebp - 0x4bc], 0x4856
lea eax, [ebp - 0x3a0]
push eax
lea eax, [ebp - 0x298]
push eax
push 1
lea eax, [ebp - 0x340]
push eax
push 0x6115
lea eax, [ebp - 0x2a0]
push eax
push 1
call fcn.10026b0a
add esp, 0x1c
push 1
push 0x4d
push 1
push 0x8ac
call fcn.10028c71
add esp, 0x10
lea eax, [ebp - 0x4c4]
push eax
mov ecx, 0x1008a05c
call fcn.10021379
push eax
lea ecx, [ebp - 0x194]
call fcn.1002139c
movzx eax, al
test eax, eax
je 0x1002ca27
push 1
push 0x42dd
push 0x28e6
push 0x5ee2
push 1
call fcn.10028df3
add esp, 0x14
lea ecx, [ebp - 0x194]
call fcn.1004206b
mov ecx, dword [ebp - 0x1f0]
mov eax, dword [eax + 4]
mov dword [ecx], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3b8]
call fcn.10021091
jmp 0x1002e1e3
and dword [ebp - 0x50], 0
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0x19c], 0x567e
mov dword [ebp - 0x350], 0x1000a020
cmp dword [ebp - 0x19c], 0x5760
jle 0x1002cb01
and dword [ebp - 0x12c], 0
jmp 0x1002ca6f
mov eax, dword [ebp - 0x12c]
inc eax
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0x70c0
jge 0x1002cb01
and dword [ebp - 0xdc], 0
jmp 0x1002ca95
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0x2f3f
jge 0x1002cafc
and dword [ebp - 0x114], 0
jmp 0x1002cab7
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0x4ab2
jge 0x1002cafa
mov eax, dword [ebp - 0x12c]
and eax, dword [ebp - 0xdc]
xor eax, dword [ebp - 0x114]
cdq
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 0x2f0], edx
push dword [ebp - 0x2f0]
push dword [ebp - 0x2f4]
mov ecx, 0x10084b98
call fcn.10020ee4
jmp 0x1002caaa
jmp 0x1002ca88
jmp 0x1002ca62
mov dword [ebp - 0xe4], 0xffffffeb
jmp 0x1002cb1a
mov eax, dword [ebp - 0xe4]
dec eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0xffffffe9
jl 0x1002cd56
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x2bc], 0xdbf0cf86
mov dword [ebp - 0x3c], 0
jmp 0x1002cb48
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jle 0x1002cd51
mov dword [ebp - 0x164], 0x1c76d7be
mov dword [ebp - 0x2b0], 0
cmp dword [ebp - 0x164], 0
je 0x1002cbfc
push 1
lea ecx, [ebp - 0x47c]
call fcn.100211fe
mov byte [ebp - 4], 5
mov dword [ebp - 0x13c], 0
jmp 0x1002cb9d
mov eax, dword [ebp - 0x13c]
inc eax
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 1
jge 0x1002cbbf
push dword [ebp - 0x13c]
lea ecx, [ebp - 0x47c]
call fcn.1002129c
mov dword [eax], 0x4215e1ab
jmp 0x1002cb90
push 1
push 1
push 1
lea eax, [ebp - 0x164]
push eax
call fcn.100291c3
add esp, 0x10
mov byte [ebp - 0x1f], 0
push 1
lea eax, [ebp - 0x1f]
push eax
push 1
call fcn.100270b2
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x47c]
call fcn.10021280
jmp 0x1002cd4c
mov dword [ebp - 0x1e4], 0x5845
mov dword [ebp - 0x2a8], 0x1000a054
cmp dword [ebp - 0x1e4], 0x58b6
jle 0x1002ccc9
and dword [ebp - 0xec], 0
jmp 0x1002cc36
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0x4a4d
jge 0x1002ccc1
and dword [ebp - 0x11c], 0
jmp 0x1002cc58
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0x3c3d
jge 0x1002ccbc
mov eax, dword [ebp - 0xec]
imul eax, dword [ebp - 0x11c]
cdq
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x2fc], edx
push dword [ebp - 0x2fc]
push dword [ebp - 0x300]
lea ecx, [ebp - 0x544]
call fcn.1001105e
pop ecx
pop ecx
mov dword [ebp - 0x38c], eax
mov ecx, dword [ebp - 0x38c]
call fcn.10020ec4
push eax
call fcn.10069ba3
pop ecx
lea ecx, [ebp - 0x544]
call fcn.10020eba
jmp 0x1002cc4b
jmp 0x1002cc29
push 0
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [ebp - 0x398], 4
cmp dword [ebp - 0x1e4], 0x54d5
jge 0x1002cceb
push dword [ebp - 0x2a8]
call fcn.10069ba3
pop ecx
mov dword [ebp - 0x348], 0x56ebf4d3
push 1
push 1
push 0x322
push 1
push 0x6825
call fcn.100271cc
add esp, 0x14
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x348]
push eax
push 0x3da5
lea eax, [ebp - 0x2b0]
push eax
push 0
lea eax, [ebp - 0x164]
push eax
push 1
lea eax, [ebp - 0x398]
push eax
push 0
push 0x3679
lea eax, [ebp - 0x2bc]
push eax
call fcn.100286d5
add esp, 0x2c
jmp 0x1002cb41
jmp 0x1002cb0d
cmp dword [ebp - 0x19c], 0x531a
jge 0x1002cd72
mov edx, dword [ebp - 0x350]
mov ecx, 0x10084b98
call fcn.10023c34
lea eax, [ebp - 0x3b8]
push eax
call fcn.10025ee7
pop ecx
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x1002dad5
mov dword [ebp - 0x28], 0xfffffffb
push 2
lea ecx, [ebp - 0x40c]
call fcn.100211fe
mov byte [ebp - 4], 6
mov dword [ebp - 0x2c8], 0x8b78acc4
push 1
lea eax, [ebp - 0x4cc]
push eax
push 0
lea eax, [ebp - 0x40c]
push eax
push 0x6ac8
call fcn.1002674b
add esp, 0x14
mov dword [ebp - 0x28], 0xe
jmp 0x1002cddd
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xf
jg 0x1002cee7
mov dword [ebp - 0x158], 1
mov dword [ebp - 0xf4], 0
jmp 0x1002ce0a
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 1
jge 0x1002ce26
mov eax, dword [ebp - 0xf4]
mov dword [ebp + eax*4 - 0x374], 0
jmp 0x1002cdfd
push 1
push 1
push 0x7959
push 0x5b7
lea eax, [ebp - 0x158]
push eax
call fcn.100261d8
add esp, 0x14
mov eax, dword [ebp - 0x158]
sub eax, 0x384a3911
cmp dword [ebp - 0x28], eax
je 0x1002ce5f
mov dword [ebp - 0x20c], 1
jmp 0x1002ce66
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x2c8], eax
jl 0x1002ce7d
mov dword [ebp - 0x1ec], 1
jmp 0x1002ce84
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x20c]
neg eax
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x374]
mov dword [ebp - 0x1a4], eax
push 1
lea ecx, [ebp - 0x40c]
call fcn.1002129c
mov ecx, dword [ebp - 0x1a4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1a4]
cmp eax, dword [ebp - 0x1ec]
je 0x1002cecf
mov dword [ebp - 0x1ac], 1
jmp 0x1002ced6
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x158], eax
jmp 0x1002cdd6
push 1
push 1
call fcn.100272a8
pop ecx
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40c]
call fcn.10021280
mov dword [ebp - 0x3e0], 0xf9b3198a
mov dword [ebp - 0x3dc], 0xf9b3198a
mov dword [ebp - 0x3d8], 0xf9b3198a
mov dword [ebp - 0x3d4], 0xf9b3198a
lea ecx, [ebp - 0x151]
call fcn.100212ab
push eax
lea eax, [ebp - 0x3d0]
push eax
lea eax, [ebp - 0x3e0]
push eax
lea ecx, [ebp - 0x4fc]
call fcn.100212ae
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x48c]
call fcn.1002125a
mov byte [ebp - 4], 7
mov dword [ebp - 0x360], 6
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x2d4], 0xacda2a4f
push 0x3e50
push 0x3841
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x48c]
push eax
push 1
lea eax, [ebp - 0x360]
push eax
push 1
lea eax, [ebp - 0x250]
push eax
call fcn.10029556
add esp, 0x20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48c]
call fcn.10021280
cmp dword [0x1008a008], 0
jne 0x1002d5ac
mov byte [ebp - 0x88], 6
mov byte [ebp - 0x87], 0x3f
mov byte [ebp - 0x86], 0xa
mov byte [ebp - 0x85], 0x5f
mov byte [ebp - 0x84], 8
mov byte [ebp - 0x83], 0x42
mov byte [ebp - 0x82], 7
mov byte [ebp - 0x81], 0x1c
mov byte [ebp - 0x80], 3
mov byte [ebp - 0x7f], 0x5c
mov byte [ebp - 0x7e], 1
mov byte [ebp - 0x7d], 0xb
mov byte [ebp - 0x7c], 5
mov byte [ebp - 0x7b], 9
mov byte [ebp - 0x7a], 2
mov byte [ebp - 0x79], 0x81
mov byte [ebp - 0x78], 0xba
mov byte [ebp - 0x77], 0xb
mov byte [ebp - 0x76], 0
mov byte [ebp - 0x75], 4
mov byte [ebp - 0x74], 9
mov byte [ebp - 0x73], 0
mov byte [ebp - 0x72], 0x2e
mov byte [ebp - 0x71], 9
mov byte [ebp - 0x70], 0x2f
mov byte [ebp - 0x6f], 2
mov byte [ebp - 0x6e], 0x16
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x88]
or eax, 0xc
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x88]
and ecx, 0xc
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x88]
mov word [ebp + ecx*2 - 0x440], ax
mov dword [ebp - 0x10], 2
and dword [ebp - 0x134], 0
jmp 0x1002d0a4
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1b
jae 0x1002d16c
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x88]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x1002d0ee
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x88]
inc eax
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x88]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x1002d09c
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x87]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x134]
movzx ecx, byte [ebp + ecx - 0x8a]
movzx ecx, word [ebp + ecx*2 - 0x440]
or eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x87]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x134]
movzx edx, byte [ebp + edx - 0x8a]
movzx edx, word [ebp + edx*2 - 0x440]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0x88]
mov word [ebp + ecx*2 - 0x440], ax
push 0
push 0x2af
push 1
lea eax, [ebp - 0x134]
push eax
call fcn.10026dbe
add esp, 0x10
jmp 0x1002d09c
push 2
pop eax
imul eax, eax, 0xc
xor ecx, ecx
mov word [ebp + eax - 0x440], cx
push 4
lea ecx, [ebp - 0x23c]
call fcn.100211fe
mov byte [ebp - 4], 8
mov dword [ebp - 0x44], 0
jmp 0x1002d19d
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1002d1b3
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x1b4], 0
jmp 0x1002d196
push 0x18c9
push 1
lea eax, [ebp - 0x44]
push eax
push 1
lea eax, [ebp - 0x23c]
push eax
push 0xd5f
push 0x7423
call fcn.100273b1
add esp, 0x1c
push 2
lea ecx, [ebp - 0x23c]
call fcn.1002129c
and dword [eax], 0
jmp 0x1002d20f
push 2
lea ecx, [ebp - 0x23c]
call fcn.1002129c
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x228]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x23c]
call fcn.1002129c
cmp dword [eax], 0
jl 0x1002d259
push 2
lea ecx, [ebp - 0x23c]
call fcn.1002129c
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x1b4], 0
je 0x1002d23c
jmp 0x1002d259
push 2
lea ecx, [ebp - 0x23c]
call fcn.1002129c
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x1b4], 0
je 0x1002d257
jmp 0x1002d1eb
jmp 0x1002d1eb
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x23c]
call fcn.10021280
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x574]
call fcn.10041fb1
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x2ec], eax
mov byte [ebp - 4], 9
push dword [ebp - 0x2ec]
call fcn.10025ee7
pop ecx
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x574]
call fcn.10021091
and dword [ebp - 0x90], 0
jmp 0x1002d2c7
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xd
jae 0x1002d2e2
xor eax, eax
mov ecx, dword [ebp - 0x90]
mov word [ebp + ecx*2 - 0x440], ax
jmp 0x1002d2ba
cmp dword [ebp - 0x1bc], 0
je 0x1002d5ac
mov byte [ebp - 0x6c], 0
mov byte [ebp - 0x6b], 0x16
mov byte [ebp - 0x6a], 1
mov byte [ebp - 0x69], 0xd9
mov byte [ebp - 0x68], 9
mov byte [ebp - 0x67], 0x3e
mov byte [ebp - 0x66], 8
mov byte [ebp - 0x65], 0x13
mov byte [ebp - 0x64], 1
mov byte [ebp - 0x63], 0xe
mov byte [ebp - 0x62], 7
mov byte [ebp - 0x61], 0x1d
mov byte [ebp - 0x60], 0xa
mov byte [ebp - 0x5f], 0xb
mov byte [ebp - 0x5e], 0xb
mov byte [ebp - 0x5d], 0x2e
mov byte [ebp - 0x5c], 3
mov byte [ebp - 0x5b], 0x33
mov byte [ebp - 0x5a], 6
mov byte [ebp - 0x59], 6
mov byte [ebp - 0x58], 5
mov byte [ebp - 0x57], 0xb
mov byte [ebp - 0x56], 4
mov byte [ebp - 0x55], 0x25
mov byte [ebp - 0x54], 2
mov byte [ebp - 0x53], 0x2d
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x6c]
or eax, 0x5a
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x6c]
and ecx, 0x5a
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x6c]
mov byte [ebp + ecx - 0x24c], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0xac], 0
jmp 0x1002d39f
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1a
jae 0x1002d52c
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x6c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x1002d4cf
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x6c]
inc eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x6c]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1f4], 0x5f14
mov dword [ebp - 0x370], 0x1000a070
cmp dword [ebp - 0x1f4], 0x6093
jle 0x1002d4ae
and dword [ebp - 0xa4], 0
jmp 0x1002d41c
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x7493
jge 0x1002d4ae
and dword [ebp - 0x94], 0
jmp 0x1002d442
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x3997
jge 0x1002d4a9
and dword [ebp - 0x9c], 0
jmp 0x1002d464
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x7606
jge 0x1002d4a7
mov eax, dword [ebp - 0x94]
and eax, dword [ebp - 0x9c]
or eax, dword [ebp - 0xa4]
cdq
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], edx
push dword [ebp - 0x308]
push dword [ebp - 0x30c]
mov ecx, 0x10084b98
call fcn.10020ee4
jmp 0x1002d457
jmp 0x1002d435
jmp 0x1002d40f
jmp 0x1002d397
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x6b]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0xac]
movzx ecx, byte [ebp + ecx - 0x6e]
movsx ecx, byte [ebp + ecx - 0x24c]
or eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x6b]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0xac]
movzx edx, byte [ebp + edx - 0x6e]
movsx edx, byte [ebp + edx - 0x24c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x6c]
mov byte [ebp + ecx - 0x24c], al
and dword [ebp - 0xac], 0
jmp 0x1002d397
xor eax, eax
inc eax
imul eax, eax, 0xc
mov byte [ebp + eax - 0x24c], 0
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x4f4]
call fcn.10041fd6
mov byte [ebp - 4], 0xa
and dword [ebp - 0xb4], 0
jmp 0x1002d566
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0xd
jae 0x1002d57f
mov eax, dword [ebp - 0xb4]
mov byte [ebp + eax - 0x24c], 0
jmp 0x1002d559
push 0
push 0
lea eax, [ebp - 0x4f4]
push eax
push dword [ebp - 0x1bc]
call fcn.1003559e
add esp, 0x10
mov dword [0x1008a008], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4f4]
call fcn.1002116b
mov dword [ebp - 0x1c], 0x622b
mov dword [ebp - 0x150], 0xffffffff
mov dword [ebp - 0x1b0], 0
push 0x47fc
push 1
push 1
push 0x7b2e
push 0x5a99
call fcn.1002755b
add esp, 0x14
cmp dword [ebp - 0x1c], 0
je 0x1002d7f6
mov dword [ebp - 0x30], 1
mov dword [ebp - 0xbc], 0
jmp 0x1002d60c
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 3
jge 0x1002d628
mov eax, dword [ebp - 0xbc]
mov dword [ebp + eax*4 - 0x49c], 0
jmp 0x1002d5ff
cmp dword [ebp - 0x1c], 0
jne 0x1002d705
cmp dword [ebp - 0x1c], 0
jne 0x1002d699
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x30]
test eax, eax
jne 0x1002d64a
push 0xfffffffffffffffc
pop eax
test eax, eax
je 0x1002d65c
cmp dword [ebp - 0x1c], 0
je 0x1002d65c
mov dword [ebp - 0x214], 1
jmp 0x1002d663
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x214]
sub eax, dword [ebp - 0x30]
cmp dword [ebp - 0x30], eax
jl 0x1002d67d
mov dword [ebp - 0x1c4], 1
jmp 0x1002d684
and dword [ebp - 0x1c4], 0
cmp dword [ebp - 0x1c4], 0x8425
jg 0x1002d699
and dword [ebp - 0x1fc], 0
jmp 0x1002d6a3
mov dword [ebp - 0x1fc], 1
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1fc]
je 0x1002d6ba
mov dword [ebp - 0x1cc], 1
jmp 0x1002d6c1
and dword [ebp - 0x1cc], 0
imul eax, dword [ebp - 0x1cc], 0x7165
cmp eax, 0xffffffff
jae 0x1002d6dc
mov dword [ebp - 0x2f8], 1
jmp 0x1002d6e3
and dword [ebp - 0x2f8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x49c]
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x30], 0
jne 0x1002d705
and dword [ebp - 0x230], 0
jmp 0x1002d70f
mov dword [ebp - 0x230], 1
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jne 0x1002d734
push 3
pop eax
test eax, eax
jne 0x1002d734
and dword [ebp - 0x170], 0
jmp 0x1002d73e
mov dword [ebp - 0x170], 1
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x170], eax
jl 0x1002d755
mov dword [ebp - 0x178], 1
jmp 0x1002d75c
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x178]
je 0x1002d779
cmp dword [ebp - 0x1c], 0
je 0x1002d779
mov dword [ebp - 0x180], 1
jmp 0x1002d780
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 0x7000
jge 0x1002d798
mov dword [ebp - 0x188], 1
jmp 0x1002d79f
and dword [ebp - 0x188], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x49c]
cmp dword [ebp - 0x188], eax
jne 0x1002d7bf
mov dword [ebp - 0x190], 1
jmp 0x1002d7c6
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 0xdf78b15b
jb 0x1002d7de
mov dword [ebp - 0x198], 1
jmp 0x1002d7e5
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x1b0], eax
jmp 0x1002dab7
mov dword [ebp - 0x1a0], 0x795a
mov dword [ebp - 0x304], 0x1000a0a0
cmp dword [ebp - 0x1a0], 0x7cd4
jle 0x1002d8fc
push 0
push 0
call dword [sym.imp.GDI32.dll_SetPolyFillMode]
and dword [ebp - 0xc4], 0
jmp 0x1002d83a
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0x1ab8
jge 0x1002d8fc
and dword [ebp - 0xcc], 0
jmp 0x1002d860
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0x603c
jge 0x1002d8f7
and dword [ebp - 0xf0], 0
jmp 0x1002d886
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0x705
jge 0x1002d8f2
mov eax, dword [ebp - 0xc4]
cdq
idiv dword [ebp - 0xcc]
sub edx, dword [ebp - 0xf0]
mov eax, edx
cdq
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], edx
push dword [ebp - 0x314]
push dword [ebp - 0x318]
lea ecx, [ebp - 0x5a4]
call fcn.1001105e
pop ecx
pop ecx
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0x380]
call fcn.10020ec4
push eax
call fcn.10069ba3
pop ecx
lea ecx, [ebp - 0x5a4]
call fcn.10020eba
jmp 0x1002d879
jmp 0x1002d853
jmp 0x1002d82d
mov dword [ebp - 0x388], 0
cmp dword [ebp - 0x1a0], 0x7863
jge 0x1002d91e
push dword [ebp - 0x304]
call fcn.10069ba3
pop ecx
push 1
push 0x7a22
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x388]
push eax
push 1
push 0x3c3a
call fcn.100299ab
add esp, 0x18
mov dword [ebp - 0x1a8], 0x5077
mov dword [ebp - 0x25c], 0x1000a0c8
cmp dword [ebp - 0x1a8], 0x51fa
jle 0x1002da82
and dword [ebp - 0xf8], 0
jmp 0x1002d97c
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0xf48
jge 0x1002da74
and dword [ebp - 0x100], 0
jmp 0x1002d9a2
mov eax, dword [ebp - 0x100]
inc eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0x6fbe
jge 0x1002da6f
and dword [ebp - 0x108], 0
jmp 0x1002d9c8
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0x757d
jge 0x1002da6a
and dword [ebp - 0x110], 0
jmp 0x1002d9ee
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0x3845
jge 0x1002da65
mov eax, dword [ebp - 0xf8]
imul eax, dword [ebp - 0x100]
imul eax, dword [ebp - 0x108]
cdq
idiv dword [ebp - 0x110]
mov eax, edx
cdq
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], edx
push dword [ebp - 0x320]
push dword [ebp - 0x324]
lea ecx, [ebp - 0x514]
call fcn.1001105e
pop ecx
pop ecx
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x254]
call fcn.10020ec4
push eax
call fcn.10069ba3
pop ecx
lea ecx, [ebp - 0x514]
call fcn.10020eba
jmp 0x1002d9e1
jmp 0x1002d9bb
jmp 0x1002d995
jmp 0x1002d96f
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_SetScrollPos]
cmp dword [ebp - 0x1a8], 0x5050
jge 0x1002da9a
push dword [ebp - 0x25c]
call fcn.10069ba3
pop ecx
push 1
lea eax, [ebp - 0x1b0]
push eax
push 0x54cc
push 0x2067
push 1
call fcn.1002baa7
add esp, 0x14
cmp dword [0x1008a008], 0
je 0x1002dad5
mov ecx, dword [ebp - 0x1b8]
call fcn.100210f0
push eax
call dword [0x1008a008]
mov dword [ebp - 0x50], eax
push 2
lea ecx, [ebp - 0x35c]
call fcn.100211fe
mov byte [ebp - 4], 0xb
push 0x5f92
lea eax, [ebp - 0x34]
push eax
push 1
push 0x2b2
push 0x61d3
lea eax, [ebp - 0x35c]
push eax
push 0x10a9
push 1
push 0x3bdd
push 0
call fcn.1002e4e9
add esp, 0x28
mov dword [ebp - 0x34], 0
jmp 0x1002db28
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x1002db3e
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x264], 0x689351f2
jmp 0x1002db21
push 1
lea ecx, [ebp - 0x35c]
call fcn.1002129c
mov dword [eax], 0xfffffffd
jmp 0x1002db77
push 1
lea ecx, [ebp - 0x35c]
call fcn.1002129c
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x1c0]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x35c]
call fcn.1002129c
cmp dword [eax], 0xfffffff0
jge 0x1002dbd2
mov dword [ebp - 0x38], 0x417be187
push 0x2e5d
push 0
push 0x6fca
push 0xbe7
call fcn.10040fa7
add esp, 0x10
mov dword [ebp - 0x38], 0
jmp 0x1002dbb9
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jg 0x1002dbd0
mov eax, dword [ebp - 0x38]
cmp dword [ebp + eax*4 - 0x264], 0
je 0x1002dbce
jmp 0x1002dbd0
jmp 0x1002dbb2
jmp 0x1002db53
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x35c]
call fcn.10021280
push 0x1008a005
lea eax, [ebp - 0x1c8]
push eax
push 0x1008a05c
push 0x5d5e
lea eax, [ebp - 0x50]
push eax
push 1
push 0x1456
push 0x136a
push 0
call fcn.1002898d
add esp, 0x24
mov dword [ebp - 0x40], 6
mov dword [ebp - 0x24], 0x403ca955
mov dword [ebp - 0x118], 0
jmp 0x1002dc38
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 3
jge 0x1002dc54
mov eax, dword [ebp - 0x118]
mov dword [ebp + eax*4 - 0x418], 1
jmp 0x1002dc2b
mov dword [ebp - 0x40], 0
jmp 0x1002dc64
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jg 0x1002e04d
push 2
lea ecx, [ebp - 0x36c]
call fcn.100211fe
mov byte [ebp - 4], 0xc
push 0x1459
push 0xfe3
push 1
push 0x1285
lea eax, [ebp - 0x36c]
push eax
push 0x75ca
push 0x48f2
push 0
lea eax, [ebp - 0x4c8]
push eax
push 0
call fcn.1002e4e9
add esp, 0x28
push 1
lea ecx, [ebp - 0x36c]
call fcn.1002129c
mov dword [eax], 2
jmp 0x1002dced
push 1
lea ecx, [ebp - 0x36c]
call fcn.1002129c
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x1d0]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x36c]
call fcn.1002129c
cmp dword [eax], 0
jl 0x1002e013
push 2
lea ecx, [ebp - 0x220]
call fcn.100211fe
mov byte [ebp - 4], 0xd
push 0x6562
push 0x74cd
lea eax, [ebp - 0x220]
push eax
push 0x7a0c
push 0x18fb
lea eax, [ebp - 0x480]
push eax
push 0
call fcn.100407b8
add esp, 0x1c
mov dword [ebp - 0x1d8], 0x53fc
mov dword [ebp - 0x274], 0x1000a120
cmp dword [ebp - 0x1d8], 0x56ec
jle 0x1002de18
and dword [ebp - 0x120], 0
jmp 0x1002dd7a
mov eax, dword [ebp - 0x120]
inc eax
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0x2a84
jge 0x1002de0a
and dword [ebp - 0x128], 0
jmp 0x1002dda0
mov eax, dword [ebp - 0x128]
inc eax
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0x5ef3
jge 0x1002de05
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x128]
shl eax, cl
cdq
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x32c], edx
push dword [ebp - 0x32c]
push dword [ebp - 0x330]
lea ecx, [ebp - 0x55c]
call fcn.1001105e
pop ecx
pop ecx
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
call fcn.10020ec4
push eax
call fcn.10069ba3
pop ecx
lea ecx, [ebp - 0x55c]
call fcn.10020eba
jmp 0x1002dd93
jmp 0x1002dd6d
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0x4b0], 0x100845e0
mov eax, dword [ebp - 0x40]
cmp dword [ebp + eax*4 - 0x418], 0
je 0x1002de43
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x220]
call fcn.10021280
jmp 0x1002e013
cmp dword [ebp - 0x1d8], 0x51f1
jge 0x1002de5b
push dword [ebp - 0x274]
call fcn.10069ba3
pop ecx
push 0
lea ecx, [ebp - 0x220]
call fcn.1002129c
and dword [eax], 0
jmp 0x1002de91
push 0
lea ecx, [ebp - 0x220]
call fcn.1002129c
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1e0]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x220]
call fcn.1002129c
cmp dword [eax], 2
jg 0x1002dfff
mov dword [ebp - 0x2c], 0xbc106ec6
push 0x7f66
push 0x6290
push 1
push 1
push 0x64e3
push 0x3b9e
call fcn.1002797e
add esp, 0x18
mov dword [ebp - 0x2c], 2
jmp 0x1002dede
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x1002dffa
mov dword [ebp - 0x130], 0x5f996f37
mov dword [ebp - 0x130], 2
jmp 0x1002df0b
mov eax, dword [ebp - 0x130]
dec eax
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jl 0x1002dfa6
mov dword [ebp - 0x138], 0xfffffff6
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1002df47
push 0x557a
push 0
push 0x3081
push 0x3a0f
call fcn.10040ba6
add esp, 0x10
mov dword [ebp - 0x138], 2
jmp 0x1002df60
mov eax, dword [ebp - 0x138]
dec eax
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
jl 0x1002dfa1
push 0x61fe
push 0x69d1
push 0x4eb0
push 0x6d57
push 1
push 0x7a8a
push 1
push 0x35a0
push 1
push 0x249e
push 0x71dc
call fcn.100286d5
add esp, 0x2c
jmp 0x1002df53
jmp 0x1002defe
push 0
lea ecx, [ebp - 0x220]
call fcn.1002129c
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp + eax*4 - 0x418], ecx
jle 0x1002dfe5
push 0
lea ecx, [ebp - 0x220]
call fcn.1002129c
cmp dword [eax], 0
je 0x1002dfe5
cmp dword [ebp - 0x2c], 0
je 0x1002dfe5
mov dword [ebp - 0x1e8], 1
jmp 0x1002dfec
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x24], eax
jmp 0x1002ded7
jmp 0x1002de6d
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x220]
call fcn.10021280
jmp 0x1002dcc9
mov dword [ebp - 0x24], 0
jmp 0x1002e023
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1002e039
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x418], 0xfffffffc
jmp 0x1002e01c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x36c]
call fcn.10021280
jmp 0x1002dc5d
mov eax, dword [ebp - 0x1f0]
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3b8]
call fcn.10021091
jmp 0x1002e1e3
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x200], 0x1997
mov dword [ebp - 0x294], 0x1000a178
cmp dword [ebp - 0x200], 0x1b97
jle 0x1002e1a0
and dword [ebp - 0xd4], 0
jmp 0x1002e0d2
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0x28c8
jge 0x1002e194
and dword [ebp - 0x140], 0
jmp 0x1002e0f8
mov eax, dword [ebp - 0x140]
inc eax
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0x1170
jge 0x1002e18f
and dword [ebp - 0x148], 0
jmp 0x1002e11e
mov eax, dword [ebp - 0x148]
inc eax
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0x7e4b
jge 0x1002e18a
mov eax, dword [ebp - 0x140]
cdq
idiv dword [ebp - 0x148]
xor edx, dword [ebp - 0xd4]
mov eax, edx
cdq
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x338], edx
push dword [ebp - 0x338]
push dword [ebp - 0x33c]
lea ecx, [ebp - 0x52c]
call fcn.1001105e
pop ecx
pop ecx
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x28c]
call fcn.10020ec4
push eax
call fcn.10069ba3
pop ecx
lea ecx, [ebp - 0x52c]
call fcn.10020eba
jmp 0x1002e111
jmp 0x1002e0eb
jmp 0x1002e0c5
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x16c]
mov dword [ecx], eax
cmp dword [ebp - 0x200], 0x1728
jge 0x1002e1c9
push dword [ebp - 0x294]
call fcn.10069ba3
pop ecx
jmp 0x1002e1e3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x29c], eax
push dword [ebp - 0x29c]
push 0
call fcn.100255a9
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret