Function at 0x1002ae0d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fe48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x600
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x22c], 0x7f6d
mov dword [ebp - 0x334], 0x10009f00
cmp dword [ebp - 0x22c], 0x8197
jle 0x1002af45
push 0
push 0x9f
push 0x21ab
push 0
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
and dword [ebp - 0x88], 0
jmp 0x1002ae80
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x42b1
jge 0x1002af45
and dword [ebp - 0xfc], 0
jmp 0x1002aea6
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0x221f
jge 0x1002af40
and dword [ebp - 0xb4], 0
jmp 0x1002aecc
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x39a2
jge 0x1002af3b
and dword [ebp - 0x134], 0
jmp 0x1002aeee
mov eax, dword [ebp - 0x134]
inc eax
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0x16a3
jge 0x1002af39
mov ecx, dword [ebp - 0xb4]
sub ecx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0xfc]
sar eax, cl
cdq
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x33c], edx
push dword [ebp - 0x33c]
push dword [ebp - 0x340]
mov ecx, 0x106092f8
call fcn.1002e06f
jmp 0x1002aee1
jmp 0x1002aebf
jmp 0x1002ae99
jmp 0x1002ae73
push 3
lea ecx, [ebp - 0x154]
call fcn.1002e184
and dword [ebp - 4], 0
mov dword [ebp - 0x174], 0xfffffffe
mov dword [ebp - 0x400], 0xef23e469
mov dword [ebp - 0x21c], 0xfffffffd
mov dword [ebp - 0x194], 0xfffffffe
mov dword [ebp - 0x26c], 0xaeacb2d
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.1002a084
pop ecx
pop ecx
mov dword [ebp - 0x64], 0
jmp 0x1002afaa
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x1002afc0
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x4d0], 0x6b786ae2
jmp 0x1002afa3
push 0
lea ecx, [ebp - 0x154]
call fcn.1002e222
cmp dword [eax], 0x8ec
jne 0x1002afe1
mov dword [ebp - 0x2b0], 1
jmp 0x1002afe8
and dword [ebp - 0x2b0], 0
push 2
lea ecx, [ebp - 0x154]
call fcn.1002e222
mov esi, eax
push 1
lea ecx, [ebp - 0x154]
call fcn.1002e222
mov eax, dword [eax]
cmp eax, dword [esi]
je 0x1002b016
mov dword [ebp - 0x238], 1
jmp 0x1002b01d
and dword [ebp - 0x238], 0
push 2
lea ecx, [ebp - 0x154]
call fcn.1002e222
mov ecx, dword [ebp - 0x238]
cmp ecx, dword [eax]
jge 0x1002b040
mov dword [ebp - 0x224], 1
jmp 0x1002b047
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x528], eax
push 2
lea ecx, [ebp - 0x154]
call fcn.1002e222
mov ecx, dword [ebp - 0x2b0]
cmp ecx, dword [eax]
jl 0x1002b082
mov dword [ebp - 0x350], 1
jmp 0x1002b089
and dword [ebp - 0x350], 0
mov eax, 0x4e58
cmp eax, 1
jb 0x1002b09f
mov dword [ebp - 0x184], 1
jmp 0x1002b0a6
and dword [ebp - 0x184], 0
imul eax, dword [ebp - 0x184], 0
imul eax, eax, 0xc9d9
add eax, 0xfffc
mov dword [ebp - 0x400], eax
mov dword [ebp - 0x21c], 0xffffffff
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x50c], eax
push 1
lea ecx, [ebp - 0x154]
call fcn.1002e222
push 0xfffffffffffffffd
pop eax
test eax, eax
jne 0x1002b0f5
xor eax, eax
jne 0x1002b0f5
and dword [ebp - 0x408], 0
jmp 0x1002b0ff
mov dword [ebp - 0x408], 1
push 2
lea ecx, [ebp - 0x154]
call fcn.1002e222
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x564], eax
push 0
lea ecx, [ebp - 0x154]
call fcn.1002e222
push 2
lea ecx, [ebp - 0x154]
call fcn.1002e222
cmp dword [eax], 0xfffffff8
jne 0x1002b143
mov dword [ebp - 0x18c], 1
jmp 0x1002b14a
and dword [ebp - 0x18c], 0
cmp dword [ebp - 0x18c], 0x9909d073
jb 0x1002b162
mov dword [ebp - 0x220], 1
jmp 0x1002b169
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x26c], eax
mov esi, dword [ebp - 0x26c]
push 1
lea ecx, [ebp - 0x154]
call fcn.1002e222
cmp esi, dword [eax]
jg 0x1002b1a4
mov dword [ebp - 0x19c], 1
jmp 0x1002b1ab
and dword [ebp - 0x19c], 0
cmp dword [ebp - 0x19c], 3
je 0x1002b1c0
mov dword [ebp - 0x410], 1
jmp 0x1002b1c7
and dword [ebp - 0x410], 0
push 4
pop esi
shl esi, 0
push 2
lea ecx, [ebp - 0x154]
call fcn.1002e222
mov eax, dword [eax]
mov dword [ebp + esi - 0x4d0], eax
mov byte [ebp - 0x37], 0
lea eax, [ebp - 0x37]
push eax
call fcn.1002a0cc
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.1002e206
mov dword [ebp - 4], 1
cmp dword [ebp - 0x22c], 0x7ef0
jge 0x1002b223
mov edx, dword [ebp - 0x334]
mov ecx, 0x106092f8
call fcn.1002fb19
jmp 0x1002b23f
or dword [ebp - 4], 0xffffffff
jmp 0x1002b249
and dword [ebp - 0x20], 0
mov dword [ebp - 0x168], 0x8094a188
mov dword [ebp - 0x2d8], 0x921b0ae2
cmp dword [ebp - 0x168], 0
je 0x1002b29f
cmp dword [ebp - 0x168], 0
je 0x1002b29f
mov dword [ebp - 0x3b0], 0xfffffff7
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x3b0]
push eax
call fcn.1002a0f8
add esp, 0xc
jmp 0x1002b4a5
push 3
lea ecx, [ebp - 0x494]
call fcn.1002e184
mov dword [ebp - 4], 3
mov dword [ebp - 0x2e8], 0xffffffff
mov dword [ebp - 0x1a4], 0x141d
mov dword [ebp - 0x390], 0x10009f48
cmp dword [ebp - 0x1a4], 0x1746
jle 0x1002b3f0
and dword [ebp - 0x90], 0
jmp 0x1002b2f7
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x29d6
jge 0x1002b3f0
and dword [ebp - 0xb0], 0
jmp 0x1002b31d
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x2232
jge 0x1002b3eb
and dword [ebp - 0x98], 0
jmp 0x1002b343
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xea2
jge 0x1002b3e6
and dword [ebp - 0xb8], 0
jmp 0x1002b369
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x36ba
jge 0x1002b3e1
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xb0]
shl eax, cl
mov ecx, dword [ebp - 0x98]
sar eax, cl
mov ecx, dword [ebp - 0xb8]
sar eax, cl
cdq
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x348], edx
push dword [ebp - 0x348]
push dword [ebp - 0x34c]
lea ecx, [ebp - 0x5b8]
call fcn.1000d7c0
pop ecx
pop ecx
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2e0]
call fcn.1002e04f
push eax
call fcn.1004a056
pop ecx
lea ecx, [ebp - 0x5b8]
call fcn.1002e045
jmp 0x1002b35c
jmp 0x1002b336
jmp 0x1002b310
jmp 0x1002b2ea
push 1
push 0x3c6b
lea eax, [ebp - 0x514]
push eax
push 0x5b4e
lea eax, [ebp - 0x494]
push eax
push 1
push 1
call fcn.100257c5
add esp, 0x1c
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1a4], 0x10bb
jge 0x1002b432
push dword [ebp - 0x390]
call fcn.1004a056
pop ecx
jmp 0x1002b44e
mov dword [ebp - 4], 3
jmp 0x1002b45e
lea eax, [ebp - 0x494]
push eax
push 0x411e
push 0x7bf2
push 0x6d11
push 0x2dd1
lea eax, [ebp - 0x2e8]
push eax
push 1
push 0x66d4
push 1
push 0x4110
call fcn.1002591c
add esp, 0x28
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x494]
call fcn.1002e206
push 3
lea ecx, [ebp - 0x47c]
call fcn.1002e184
mov dword [ebp - 4], 6
lea eax, [ebp - 0x54c]
push eax
push 1
push 0x540
push 1
lea eax, [ebp - 0x47c]
push eax
push 1
push 0x7465
push 0x3d7f
push 0x53a
push 0x3ab8
push 0x4bd5
call fcn.10025c2b
add esp, 0x2c
lea eax, [ebp - 0x47c]
push eax
call fcn.1002a1dd
pop ecx
call fcn.1002a207
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x47c]
call fcn.1002e206
mov eax, dword [ebp + 8]
mov dword [ebp - 0x170], eax
push 1
lea ecx, [ebp - 0x464]
call fcn.1002e184
mov dword [ebp - 4], 7
mov dword [ebp - 0x5c], 0x81c2900
mov dword [ebp - 0xa0], 0
jmp 0x1002b551
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 1
jge 0x1002b573
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x464]
call fcn.1002e222
mov dword [eax], 0x1713b910
jmp 0x1002b544
mov dword [ebp - 0x5c], 0
jmp 0x1002b583
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x1002b5a0
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x464]
call fcn.1002e222
cmp dword [eax], 0
je 0x1002b59e
jmp 0x1002b5a0
jmp 0x1002b57c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
call fcn.1002e206
mov eax, dword [ebp - 0x170]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002b5f2
mov dword [ebp - 0x51c], 0xfffffff6
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x1002b5da
call fcn.1002a261
mov byte [ebp - 0x3a], 0
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x1002b5eb
call fcn.1002a281
xor eax, eax
jmp 0x1002da45
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.1002a291
add esp, 0xc
mov dword [ebp - 0x574], 0
mov dword [ebp - 0x524], 0xfffffff8
mov dword [ebp - 0x554], 0x8ecf54c3
mov dword [ebp - 0x4a8], 0x23b6182e
mov dword [ebp - 0x4ac], 5
mov dword [ebp - 0x4b4], 0x3b1a9565
mov dword [ebp - 0x4bc], 0xffffffff
mov dword [ebp - 0x4c4], 0
mov dword [ebp - 0x508], 0x2f76ec75
push 3
lea ecx, [ebp - 0x588]
call fcn.1002e184
mov dword [ebp - 4], 8
mov dword [ebp - 0x510], 3
mov dword [ebp - 0x2f0], 1
mov dword [ebp - 0x24], 0
jmp 0x1002b69b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1002b6b1
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x590], 0xb2906c90
jmp 0x1002b694
lea eax, [ebp - 0x588]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1002a2bf
pop ecx
pop ecx
mov dword [ebp - 0x24], 0
jmp 0x1002b6d3
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1002b6e9
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x518], 0xfffffffd
jmp 0x1002b6cc
mov dword [ebp - 0x2ac], 0x7244
mov dword [ebp - 0x3a4], 0x10009fd4
cmp dword [ebp - 0x2ac], 0x72da
jle 0x1002b7ad
and dword [ebp - 0xc0], 0
jmp 0x1002b723
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x2600
jge 0x1002b7ad
and dword [ebp - 0xa8], 0
jmp 0x1002b745
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x18d9
jge 0x1002b7a8
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0xa8]
cdq
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x354], edx
push dword [ebp - 0x354]
push dword [ebp - 0x358]
lea ecx, [ebp - 0x5d0]
call fcn.1000d7c0
pop ecx
pop ecx
mov dword [ebp - 0x40c], eax
mov ecx, dword [ebp - 0x40c]
call fcn.1002e04f
push eax
call fcn.1004a056
pop ecx
lea ecx, [ebp - 0x5d0]
call fcn.1002e045
jmp 0x1002b738
jmp 0x1002b716
lea eax, [ebp - 0x2f0]
push eax
call fcn.10023898
pop ecx
mov byte [ebp - 4], 9
cmp dword [ebp - 0x2ac], 0x710d
jge 0x1002b7d6
push dword [ebp - 0x3a4]
call fcn.1004a056
pop ecx
jmp 0x1002b7f2
mov dword [ebp - 4], 8
jmp 0x1002b802
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x588]
call fcn.1002e206
mov eax, dword [ebp - 0x60]
cmp dword [eax], 0x4550
je 0x1002c070
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x300], 0x9f845d81
mov dword [ebp - 0x2f8], 0xba2522ab
mov dword [ebp - 0x6c], 0
jmp 0x1002b84b
mov eax, dword [ebp - 0x6c]
dec eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xfffffffc
jle 0x1002b8f9
mov dword [ebp - 0x3ac], 0xa927213e
push 2
lea ecx, [ebp - 0x470]
call fcn.1002e184
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x3f0], 0x721f7d96
push 1
push 0x6da6
lea eax, [ebp - 0x470]
push eax
push 1
lea eax, [ebp - 0x520]
push eax
push 0x2465
push 0x3272
call fcn.100265cb
add esp, 0x1c
lea eax, [ebp - 0x470]
push eax
push 0x62
push 1
push 0x60f3
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x300]
push eax
push 1
push 0x3e2f
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.100267f7
add esp, 0x2c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x470]
call fcn.1002e206
jmp 0x1002b844
mov dword [ebp - 0xcc], 0xfffb
mov dword [ebp - 0x144], 0xffffffff
mov dword [ebp - 0x1c], 0x29b3a00d
mov dword [ebp - 0x30], 0xf8d9a2b8
mov dword [ebp - 0x1ac], 0x11dd
mov dword [ebp - 0x424], 0x1000a028
cmp dword [ebp - 0x1ac], 0x1210
jle 0x1002ba35
and dword [ebp - 0xd0], 0
jmp 0x1002b955
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0x418e
jge 0x1002ba35
and dword [ebp - 0x124], 0
jmp 0x1002b97b
mov eax, dword [ebp - 0x124]
inc eax
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0x2634
jge 0x1002ba30
and dword [ebp - 0xc8], 0
jmp 0x1002b9a1
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0x58be
jge 0x1002ba2b
and dword [ebp - 0x7c], 0
jmp 0x1002b9ba
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x2f19
jge 0x1002ba26
mov eax, dword [ebp - 0xc8]
imul eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xd0]
add ecx, dword [ebp - 0x124]
add eax, ecx
cdq
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x360], edx
push dword [ebp - 0x360]
push dword [ebp - 0x364]
lea ecx, [ebp - 0x5e8]
call fcn.1000d7c0
pop ecx
pop ecx
mov dword [ebp - 0x308], eax
mov ecx, dword [ebp - 0x308]
call fcn.1002e04f
push eax
call fcn.1004a056
pop ecx
lea ecx, [ebp - 0x5e8]
call fcn.1002e045
jmp 0x1002b9b3
jmp 0x1002b994
jmp 0x1002b96e
jmp 0x1002b948
push 2
lea ecx, [ebp - 0x440]
call fcn.1002e184
mov dword [ebp - 4], 0xc
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x1ac], 0xf2b
jge 0x1002ba65
push dword [ebp - 0x424]
call fcn.1004a056
pop ecx
jmp 0x1002ba81
mov dword [ebp - 4], 0xc
jmp 0x1002ba91
mov dword [ebp - 0x160], 0x405a9ad1
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x4a4], 4
mov dword [ebp - 0x28], 0
jmp 0x1002babc
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x1002bad2
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x430], 6
jmp 0x1002bab5
push 1
lea eax, [ebp - 0x28]
push eax
push 0x4338
lea eax, [ebp - 0x440]
push eax
push 1
push 0xe24
call fcn.10026ab4
add esp, 0x18
mov dword [ebp - 0x28], 0
jmp 0x1002bb03
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x1002bb19
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x420], 9
jmp 0x1002bafc
mov dword [ebp - 0x27c], 0xc11
mov dword [ebp - 0x318], 0x1000a0a0
cmp dword [ebp - 0x27c], 0xe9e
jle 0x1002bbe5
and dword [ebp - 0xbc], 0
jmp 0x1002bb53
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0x51f7
jge 0x1002bbe5
and dword [ebp - 0x104], 0
jmp 0x1002bb79
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0x4b62
jge 0x1002bbe0
and dword [ebp - 0xc4], 0
jmp 0x1002bb9b
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0x1840
jge 0x1002bbde
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x104]
sub eax, dword [ebp - 0xc4]
cdq
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x36c], edx
push dword [ebp - 0x36c]
push dword [ebp - 0x370]
mov ecx, 0x106092f8
call fcn.1002e06f
jmp 0x1002bb8e
jmp 0x1002bb6c
jmp 0x1002bb46
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x420]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x420], eax
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x430], 0
xor eax, eax
jne 0x1002bc2f
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
jne 0x1002bc2f
and dword [ebp - 0x234], 0
jmp 0x1002bc39
mov dword [ebp - 0x234], 1
mov eax, dword [ebp - 0x234]
neg eax
cmp eax, dword [ebp - 0x30]
jle 0x1002bc52
mov dword [ebp - 0x1b4], 1
jmp 0x1002bc59
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0x1b4], eax
je 0x1002bc73
mov dword [ebp - 0x274], 1
jmp 0x1002bc7a
and dword [ebp - 0x274], 0
cmp dword [ebp - 0x274], 0x6736
jge 0x1002bc92
mov dword [ebp - 0x1bc], 1
jmp 0x1002bc99
and dword [ebp - 0x1bc], 0
push 1
lea ecx, [ebp - 0x440]
call fcn.1002e222
mov ecx, dword [ebp - 0x1bc]
cmp ecx, dword [eax]
jg 0x1002bcbc
mov dword [ebp - 0x23c], 1
jmp 0x1002bcc3
and dword [ebp - 0x23c], 0
push 0
lea ecx, [ebp - 0x440]
call fcn.1002e222
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x23c]
jl 0x1002bcec
mov dword [ebp - 0x1c4], 1
jmp 0x1002bcf3
and dword [ebp - 0x1c4], 0
cmp dword [ebp - 0x1c4], 0xfffffffb
je 0x1002bd08
mov dword [ebp - 0x294], 1
jmp 0x1002bd0f
and dword [ebp - 0x294], 0
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0x294], eax
jl 0x1002bd29
mov dword [ebp - 0x1cc], 1
jmp 0x1002bd30
and dword [ebp - 0x1cc], 0
push 1
lea ecx, [ebp - 0x440]
call fcn.1002e222
mov ecx, dword [ebp - 0x1cc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x30], 0
jne 0x1002bd66
mov eax, 0x6e71ebd
test eax, eax
jne 0x1002bd66
and dword [ebp - 0x310], 0
jmp 0x1002bd70
mov dword [ebp - 0x310], 1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x538], eax
push 0xfffffffffffffff8
pop eax
add eax, 4
add eax, dword [ebp - 0x30]
cmp eax, 0x2575e7e8
jl 0x1002bd95
mov dword [ebp - 0x244], 1
jmp 0x1002bd9c
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x244]
sub eax, 0x7f2be925
mov ecx, dword [ebp - 0xcc]
sub ecx, eax
cmp ecx, dword [ebp - 0x30]
jl 0x1002bdc0
mov dword [ebp - 0x3b4], 1
jmp 0x1002bdc7
and dword [ebp - 0x3b4], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x540], eax
push 0xfffffffffffffffd
pop eax
test eax, eax
je 0x1002bdf5
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x420], 0
je 0x1002bdf5
mov dword [ebp - 0x1d4], 1
jmp 0x1002bdfc
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x27c], 0x837
jge 0x1002be28
mov edx, dword [ebp - 0x318]
mov ecx, 0x106092f8
call fcn.1002fb19
jmp 0x1002be44
mov dword [ebp - 4], 0xc
jmp 0x1002be54
mov dword [ebp - 0x1c], 2
jmp 0x1002be64
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1002c05a
mov dword [ebp - 0x1ec], 0x9ac0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x54], 0
jmp 0x1002be92
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jg 0x1002c046
mov dword [ebp - 0x284], 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0x420], 0
je 0x1002beba
cmp dword [ebp - 0x1ec], 0
mov dword [ebp - 0x144], 1
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0x284]
jg 0x1002beea
mov dword [ebp - 0x1dc], 1
jmp 0x1002bef1
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0xcc]
add eax, dword [ebp - 0x1dc]
test eax, eax
jle 0x1002bf0d
mov dword [ebp - 0x24c], 1
jmp 0x1002bf14
and dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x420]
cmp eax, dword [ebp - 0x24c]
jne 0x1002bf32
mov dword [ebp - 0x1e4], 1
jmp 0x1002bf39
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1e4]
sub ecx, dword [ebp + eax*4 - 0x430]
je 0x1002bf5b
xor eax, eax
je 0x1002bf5b
mov dword [ebp - 0x2a4], 1
jmp 0x1002bf62
and dword [ebp - 0x2a4], 0
mov eax, dword [ebp - 0x160]
cmp dword [ebp - 0x2a4], eax
jl 0x1002bf83
push 0xfffffffffffffffa
pop eax
test eax, eax
je 0x1002bf83
mov dword [ebp - 0x254], 1
jmp 0x1002bf8a
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x1ec]
cmp dword [ebp - 0x254], eax
jne 0x1002bfa4
mov dword [ebp - 0x1f4], 1
jmp 0x1002bfab
and dword [ebp - 0x1f4], 0
imul eax, dword [ebp - 0x1f4], 0x408d
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp + ecx*4 - 0x430], eax
jne 0x1002bfcd
mov dword [ebp - 0x1fc], 1
jmp 0x1002bfd4
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x284]
cmp dword [ebp - 0x1fc], eax
jne 0x1002bff0
or eax, 0xffffffff
jne 0x1002bff0
and dword [ebp - 0x25c], 0
jmp 0x1002bffa
mov dword [ebp - 0x25c], 1
cmp dword [ebp - 0x25c], 0x7c99ae19
jle 0x1002c018
cmp dword [ebp - 0x160], 0
jne 0x1002c018
and dword [ebp - 0x204], 0
jmp 0x1002c022
mov dword [ebp - 0x204], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x204]
mov dword [ebp + eax - 0x430], ecx
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x10c], eax
jmp 0x1002be8b
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0x430], 0
je 0x1002c055
jmp 0x1002c05a
jmp 0x1002be5d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.1002e206
xor eax, eax
jmp 0x1002da45
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x20c], 0x335c0de4
mov dword [ebp - 0x548], 0xf7b1466a
mov dword [ebp - 0x74], 0xfffffff5
jmp 0x1002c09b
mov eax, dword [ebp - 0x74]
dec eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xffffffe6
jne 0x1002c188
mov dword [ebp - 0x3fc], 0x11151c
mov dword [ebp - 0x44], 0xfffffff8
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0xd4], 0
jmp 0x1002c0d6
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 1
jge 0x1002c0f2
mov eax, dword [ebp - 0xd4]
mov dword [ebp + eax*4 - 0x320], 0xebfb
jmp 0x1002c0c9
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1002a307
add esp, 0x10
mov dword [ebp - 0x44], 0
jmp 0x1002c11d
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jg 0x1002c183
mov dword [ebp - 0x58], 0
jmp 0x1002c133
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jg 0x1002c181
mov dword [ebp - 0x3c0], 0xfffffff8
xor eax, eax
jne 0x1002c15d
mov eax, dword [ebp - 0x44]
cmp dword [ebp + eax*4 - 0x320], 0
jne 0x1002c15d
and dword [ebp - 0x29c], 0
jmp 0x1002c167
mov dword [ebp - 0x29c], 1
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x3c0], eax
jmp 0x1002c12c
jmp 0x1002c116
jmp 0x1002c094
lea eax, [ebp - 0xf8]
push eax
push 0x42a
push 1
push 0x4129
push 1
push 1
lea eax, [ebp - 0x60]
push eax
call fcn.10026de2
add esp, 0x1c
push 2
lea ecx, [ebp - 0x488]
call fcn.1002e184
mov dword [ebp - 4], 0x11
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x550]
push eax
call fcn.1002a3bc
pop ecx
pop ecx
push 0x3850
push 0x4f59
push 0x32d1
push 0x68d4
push 0x301f
push 1
push 0x31b6
push 0x32a3
push 0x39c3
push 1
lea eax, [ebp - 0x488]
push eax
push 1
push 0x40e6
call fcn.10026ff3
add esp, 0x34
mov byte [ebp - 0x31], 0
lea eax, [ebp - 0x31]
push eax
call fcn.1002a404
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x488]
call fcn.1002e206
cmp dword [ebp - 0xf8], 0
jne 0x1002c538
mov dword [ebp - 0x558], 0xa6318529
mov dword [ebp - 0x560], 0xbeb0647d
mov dword [ebp - 0x568], 1
mov dword [ebp - 0x570], 0x24cdb8fa
mov dword [ebp - 0x578], 0xfffffffb
mov dword [ebp - 0x52c], 0xffffffff
mov dword [ebp - 0x4b0], 0xfffffffe
mov dword [ebp - 0x328], 1
mov dword [ebp - 0x56c], 0x3b83
mov dword [ebp - 0x4b8], 6
mov dword [ebp - 0x4d8], 0x1ffb
mov dword [ebp - 0x4c0], 0x5e0ecf58
mov dword [ebp - 0x4e8], 0xd5dd215c
mov dword [ebp - 0x414], 8
mov dword [ebp - 0x2c], 0
jmp 0x1002c2dc
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1002c2f2
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x5a0], 0xe77ab392
jmp 0x1002c2d5
mov dword [ebp - 0x2c], 0
jmp 0x1002c302
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1002c318
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x598], 5
jmp 0x1002c2fb
lea eax, [ebp - 0x328]
push eax
call fcn.10023898
pop ecx
push 0x1ecb
push 0x7a8
push 1
lea eax, [ebp - 0x414]
push eax
push 0x404b
push 1
call fcn.1002752f
add esp, 0x18
mov dword [ebp - 0x214], 0x733c6338
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x3cc], 0xfbb9
mov dword [ebp - 0x180], 1
mov dword [ebp - 0x198], 0x3cd3
mov dword [ebp - 0x28c], 0xc87a9b65
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x264], 0x336b
mov dword [ebp - 0x330], 0x1000a0dc
cmp dword [ebp - 0x264], 0x3546
jle 0x1002c426
and dword [ebp - 0x12c], 0
jmp 0x1002c3c3
mov eax, dword [ebp - 0x12c]
inc eax
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0x444a
jge 0x1002c426
and dword [ebp - 0xdc], 0
jmp 0x1002c3e5
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0xb65
jge 0x1002c424
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0xdc]
shl eax, cl
cdq
mov dword [ebp - 0x37c], eax
mov dword [ebp - 0x378], edx
push dword [ebp - 0x378]
push dword [ebp - 0x37c]
mov ecx, 0x106092f8
call fcn.1002e06f
jmp 0x1002c3d8
jmp 0x1002c3b6
mov dword [ebp - 0x190], 0x28cbd6cd
mov dword [ebp - 4], 0x12
cmp dword [ebp - 0x264], 0x32b8
jge 0x1002c453
mov edx, dword [ebp - 0x330]
mov ecx, 0x106092f8
call fcn.1002fb19
jmp 0x1002c46f
or dword [ebp - 4], 0xffffffff
jmp 0x1002c479
mov dword [ebp - 0x338], 0xd98a9a26
mov dword [ebp - 0x404], 0xffff
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.1002a437
add esp, 0x20
push 0x36a
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x28c]
push eax
push 0
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x17c]
push eax
push 0x2a9a
lea eax, [ebp - 0x180]
push eax
push 1
push 0x49d9
push 0x3322
lea eax, [ebp - 0x188]
push eax
push 0x6be
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.1002da56
add esp, 0x40
xor eax, eax
jmp 0x1002da45
push 3
lea ecx, [ebp - 0x4a0]
call fcn.1002e184
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x114], 0
jmp 0x1002c565
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 3
jge 0x1002c587
push dword [ebp - 0x114]
lea ecx, [ebp - 0x4a0]
call fcn.1002e222
mov dword [eax], 0x4a025691
jmp 0x1002c558
lea eax, [ebp - 0x4a0]
push eax
push 0x3291
push 0x2e04
push 1
push 1
call fcn.1002762d
add esp, 0x14
mov byte [ebp - 0x3b], 0
movzx eax, byte [ebp - 0x3b]
test eax, eax
je 0x1002c5b5
call fcn.1002a570
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4a0]
call fcn.1002e206
push dword [ebp - 0x170]
push 0x3f6
push 1
push 0x4c77
push 0x335f
lea eax, [ebp - 0x4c8]
push eax
lea eax, [ebp - 0x20]
push eax
push 0xe37
push dword [ebp - 0x60]
push 0x548c
push 1
lea eax, [ebp - 0xf8]
push eax
push 0x68cf
call fcn.10025453
add esp, 0x34
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x35c], 0xd293e35f
mov dword [ebp - 0x14], 0x16
jmp 0x1002c638
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1b
je 0x1002c719
push 1
lea ecx, [ebp - 0x44c]
call fcn.1002e184
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x344], 0x7071658a
mov dword [ebp - 0x3d8], 0x2a41b870
mov dword [ebp - 0xe4], 0
jmp 0x1002c683
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 1
jge 0x1002c6a5
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x44c]
call fcn.1002e222
mov dword [eax], 0x33ef
jmp 0x1002c676
push 1
push 0x2f8e
push 0x2ab2
push 0x6071
push 0x5e04
push 0x654c
push 0x63f8
push 0x5475
lea eax, [ebp - 0x44c]
push eax
push 1
push 0x5f62
call fcn.10027afc
add esp, 0x2c
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3d8]
push eax
call fcn.1002a57d
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c]
call fcn.1002e206
jmp 0x1002c631
mov dword [ebp - 0x40], 0
jmp 0x1002c729
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffea
jle 0x1002cb93
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x1a0], 0x5ce4
mov dword [ebp - 0x2cc], 0x1000a128
cmp dword [ebp - 0x1a0], 0x5f87
jle 0x1002c858
push 0x92a
push 0x1f15
push 0x70f
push 0x2123
push 0x19
call dword [sym.imp.GDI32.dll_Ellipse]
and dword [ebp - 0x11c], 0
jmp 0x1002c790
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0x54be
jge 0x1002c858
and dword [ebp - 0x13c], 0
jmp 0x1002c7b6
mov eax, dword [ebp - 0x13c]
inc eax
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0x4d4c
jge 0x1002c853
and dword [ebp - 0xec], 0
jmp 0x1002c7dc
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0x617f
jge 0x1002c84e
and dword [ebp - 0xf4], 0
jmp 0x1002c7fe
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0x3ac0
jge 0x1002c84c
mov eax, dword [ebp - 0x13c]
imul eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0x11c]
sub ecx, eax
sub ecx, dword [ebp - 0xf4]
mov eax, ecx
cdq
mov dword [ebp - 0x388], eax
mov dword [ebp - 0x384], edx
push dword [ebp - 0x384]
push dword [ebp - 0x388]
mov ecx, 0x106092f8
call fcn.1002e06f
jmp 0x1002c7f1
jmp 0x1002c7cf
jmp 0x1002c7a9
jmp 0x1002c783
mov dword [ebp - 0x80], 0
jmp 0x1002c868
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 3
jge 0x1002c87e
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x39c], 1
jmp 0x1002c861
mov dword [ebp - 4], 0x16
cmp dword [ebp - 0x1a0], 0x5a1f
jge 0x1002c8a1
mov edx, dword [ebp - 0x2cc]
mov ecx, 0x106092f8
call fcn.1002fb19
jmp 0x1002c8bd
or dword [ebp - 4], 0xffffffff
jmp 0x1002c8c7
mov dword [ebp - 0x14], 0
jmp 0x1002c8d7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x1002c942
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x39c]
mov dword [ebp - 0x4f0], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x39c]
mov dword [ebp - 0x4d4], eax
mov dword [ebp - 0x4c], 1
cmp dword [ebp - 0x4c], 0
jne 0x1002c919
mov dword [ebp - 0x1a8], 1
jmp 0x1002c920
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x1002c940
push 1
push 1
call fcn.100280aa
pop ecx
pop ecx
jmp 0x1002c8d0
mov dword [ebp - 0x14], 0xffffffe3
jmp 0x1002c952
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffe8
jle 0x1002cb8e
mov dword [ebp - 0x1c0], 0xff9b0371
mov dword [ebp - 0x4c], 0x10
jmp 0x1002c976
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xe
jl 0x1002cb89
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x18], 0
jmp 0x1002c997
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x1002cb84
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x18]
jle 0x1002c9b5
mov dword [ebp - 0x1b0], 1
jmp 0x1002c9bc
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1b0], eax
jl 0x1002c9d3
mov dword [ebp - 0x1b8], 1
jmp 0x1002c9da
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1c0]
cmp dword [ebp - 0x1b8], eax
jle 0x1002ca01
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x39c], 0
je 0x1002ca01
mov dword [ebp - 0x434], 1
jmp 0x1002ca08
and dword [ebp - 0x434], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4f8], eax
mov eax, dword [ebp - 0x18]
imul ecx, dword [ebp - 0x48], 0
sub ecx, dword [ebp - 0x1c0]
neg ecx
cmp ecx, dword [ebp + eax*4 - 0x39c]
jge 0x1002ca35
mov dword [ebp - 0x1c8], 1
jmp 0x1002ca3c
and dword [ebp - 0x1c8], 0
cmp dword [ebp - 0x1c8], 0x847726b4
jb 0x1002ca54
mov dword [ebp - 0x1d0], 1
jmp 0x1002ca5b
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1d0], eax
je 0x1002ca72
mov dword [ebp - 0x1d8], 1
jmp 0x1002ca79
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x39c]
cmp eax, dword [ebp - 0x1d8]
jle 0x1002ca9d
cmp dword [ebp - 0x40], 0
je 0x1002ca9d
mov dword [ebp - 0x1e0], 1
jmp 0x1002caa4
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1e0]
test eax, eax
je 0x1002cac4
cmp dword [ebp - 0x14], 0
je 0x1002cac4
mov dword [ebp - 0x1e8], 1
jmp 0x1002cacb
and dword [ebp - 0x1e8], 0
cmp dword [ebp - 0x1e8], 0x4484a863
jge 0x1002cae3
mov dword [ebp - 0x1f0], 1
jmp 0x1002caea
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x1f0], eax
je 0x1002cb01
mov dword [ebp - 0x1f8], 1
jmp 0x1002cb08
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x35c], eax
mov dword [ebp - 0x48], 0
jmp 0x1002cb24
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jg 0x1002cb7f
mov byte [ebp - 0x35], 0
lea eax, [ebp - 0x35]
push eax
call fcn.1002a895
pop ecx
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x1002cb7d
push 0x5a17
push 0x2179
push 1
push 0x6c7c
push 0x42af
push 0x6a6f
push 0x45fe
push 0x21f
push 1
push 0x7464
push 0x5bc6
call fcn.100283a1
add esp, 0x2c
jmp 0x1002cb1d
jmp 0x1002c990
jmp 0x1002c96f
jmp 0x1002c94b
jmp 0x1002c722
lea eax, [ebp + 8]
push eax
push 1
lea eax, [ebp - 0x60]
push eax
push 0x553c
push 0x139b
push 0x74a3
push 0x46ee
lea eax, [ebp - 0x20]
push eax
push 0x136e
push 0x29c1
push 1
call fcn.10028483
add esp, 0x2c
push 1
push 1
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x60]
push eax
push 0x2357
lea eax, [ebp - 0xf8]
push eax
call fcn.100287da
add esp, 0x18
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x84], 0
jmp 0x1002cc0c
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 1
jge 0x1002cc28
mov eax, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x500], 0x6ce1a812
jmp 0x1002cbff
mov dword [ebp - 0x50], 0
jmp 0x1002cc38
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xfffffff0
jne 0x1002cc48
cmp dword [ebp - 0x50], 0
je 0x1002cc46
jmp 0x1002cc48
jmp 0x1002cc31
lea eax, [ebp - 0x50]
push eax
call fcn.1002a8be
pop ecx
mov dword [ebp - 0x208], 0x188c
mov dword [ebp - 0x3e4], 0x1000a16c
cmp dword [ebp - 0x208], 0x1a2e
jle 0x1002cd36
push 0xa79
push 0x19a1
push 0x5c2
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
and dword [ebp - 0x9c], 0
jmp 0x1002cca3
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x4d62
jge 0x1002cd36
and dword [ebp - 0x8c], 0
jmp 0x1002ccc9
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x4c71
jge 0x1002cd31
and dword [ebp - 0x94], 0
jmp 0x1002cceb
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x5188
jge 0x1002cd2f
mov eax, dword [ebp - 0x8c]
imul eax, dword [ebp - 0x94]
or eax, dword [ebp - 0x9c]
cdq
mov dword [ebp - 0x3bc], eax
mov dword [ebp - 0x3b8], edx
push dword [ebp - 0x3b8]
push dword [ebp - 0x3bc]
mov ecx, 0x106092f8
call fcn.1002e06f
jmp 0x1002ccde
jmp 0x1002ccbc
jmp 0x1002cc96
cmp dword [ebp - 0x200], 0
je 0x1002cd83
push 0x2c62
push 0x24b2
push 1
push 0x1439
push 0x7e5b
push 0x6fc1
push 0x4dff
push 0x7315
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x200]
push eax
push 0x75bb
push 1
push 0x258b
call fcn.10028958
add esp, 0x34
mov dword [ebp - 4], 0x18
cmp dword [ebp - 0x208], 0x1720
jge 0x1002cda6
mov edx, dword [ebp - 0x3e4]
mov ecx, 0x106092f8
call fcn.1002fb19
jmp 0x1002cdc2
or dword [ebp - 4], 0xffffffff
jmp 0x1002cdcc
push dword [ebp - 0x20]
call fcn.10023ddf
pop ecx
test eax, eax
jne 0x1002cfa8
mov dword [ebp - 0x210], 0x5a33
mov dword [ebp - 0x3a8], 0x1000a1dc
cmp dword [ebp - 0x210], 0x5b1e
jle 0x1002ceed
push 0
push 0x9e
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
and dword [ebp - 0xe0], 0
jmp 0x1002ce2a
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x799d
jge 0x1002ceed
and dword [ebp - 0xa4], 0
jmp 0x1002ce50
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x3a4d
jge 0x1002cee8
and dword [ebp - 0xac], 0
jmp 0x1002ce76
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x767
jge 0x1002cee3
and dword [ebp - 0xd8], 0
jmp 0x1002ce98
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0x30c
jge 0x1002cee1
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0xac]
add eax, dword [ebp - 0xd8]
or eax, dword [ebp - 0xe0]
cdq
mov dword [ebp - 0x3c8], eax
mov dword [ebp - 0x3c4], edx
push dword [ebp - 0x3c4]
push dword [ebp - 0x3c8]
mov ecx, 0x106092f8
call fcn.1002e06f
jmp 0x1002ce8b
jmp 0x1002ce69
jmp 0x1002ce43
jmp 0x1002ce1d
mov dword [ebp - 0x374], 0xffffffff
mov dword [ebp - 0x38c], 0xfffffffa
mov dword [ebp - 0x368], 0x66febfb2
mov dword [ebp - 0x380], 0x6335c0de
mov dword [ebp - 0x3a0], 0x7ddb
mov byte [ebp - 0x32], 0
lea eax, [ebp - 0x32]
push eax
call fcn.1002a9d0
pop ecx
lea eax, [ebp - 0x368]
push eax
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x374]
push eax
lea eax, [ebp - 0x3a0]
push eax
lea eax, [ebp - 0x380]
push eax
call fcn.1002a9fe
add esp, 0x14
mov dword [ebp - 4], 0x1a
cmp dword [ebp - 0x210], 0x5713
jge 0x1002cf7b
mov edx, dword [ebp - 0x3a8]
mov ecx, 0x106092f8
call fcn.1002fb19
jmp 0x1002cf97
or dword [ebp - 4], 0xffffffff
jmp 0x1002cfa1
xor eax, eax
jmp 0x1002da45
push 1
push 0x1cda
lea eax, [ebp - 0x20]
push eax
push 1
call fcn.10028d35
add esp, 0x10
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x2d0], 0x1a35ca42
lea eax, [ebp - 0x2d0]
push eax
push 0x4144
push 1
push 1
lea eax, [ebp - 0x68]
push eax
call fcn.10028de3
add esp, 0x14
mov dword [ebp - 0x68], 0
jmp 0x1002cffa
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x1b
jle 0x1002d172
call fcn.1002aad3
mov dword [ebp - 0x218], 0x53f2
mov dword [ebp - 0x2dc], 0x1000a21c
cmp dword [ebp - 0x218], 0x5492
jle 0x1002d0eb
and dword [ebp - 0xe8], 0
jmp 0x1002d043
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0x3077
jge 0x1002d0cd
and dword [ebp - 0xf0], 0
jmp 0x1002d065
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0x501a
jge 0x1002d0c8
mov eax, dword [ebp - 0xe8]
or eax, dword [ebp - 0xf0]
cdq
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x3d0], edx
push dword [ebp - 0x3d0]
push dword [ebp - 0x3d4]
lea ecx, [ebp - 0x600]
call fcn.1000d7c0
pop ecx
pop ecx
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x2d4]
call fcn.1002e04f
push eax
call fcn.1004a056
pop ecx
lea ecx, [ebp - 0x600]
call fcn.1002e045
jmp 0x1002d058
jmp 0x1002d036
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 0x1c
cmp dword [ebp - 0x218], 0x5123
jge 0x1002d10e
push dword [ebp - 0x2dc]
call fcn.1004a056
pop ecx
jmp 0x1002d12a
or dword [ebp - 4], 0xffffffff
jmp 0x1002d134
movzx eax, byte [ebp - 0x38]
test eax, eax
je 0x1002d16d
push 0x470c
push 1
push 0x6a2c
push 0x200
push 1
push 0x1fbc
push 0x560d
push 1
push 0x45c6
push 0x7b10
call fcn.100291e0
add esp, 0x28
jmp 0x1002cff3
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002d3cf
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xf8]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x534], 0
mov byte [ebp - 0x34], 0
push 1
push 0x3d
push 0x11f2
push 1
push 1
push 0x2538
lea eax, [ebp - 0x34]
push eax
call fcn.10029654
add esp, 0x1c
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
push eax
call fcn.1002ab03
pop ecx
cmp dword [ebp - 0x228], 0
jne 0x1002d1df
xor eax, eax
jmp 0x1002da45
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x228]
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x2e4], 0xffffffff
mov dword [ebp - 0x4ec], 0xe8c9f369
mov dword [ebp - 0x55c], 0x5735e4b7
mov dword [ebp - 0x4f4], 0x94b2ab76
mov dword [ebp - 0x53c], 0x644accb2
push 2
lea ecx, [ebp - 0x4e4]
call fcn.1002e184
mov dword [ebp - 4], 0x1e
mov dword [ebp - 0x2ec], 0xca70051
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x4fc]
push eax
call fcn.1002ac30
pop ecx
pop ecx
cmp dword [ebp - 0x2e4], 0
je 0x1002d26c
call fcn.1002ac78
jmp 0x1002d3a6
mov dword [ebp - 0x57c], 0x2afe01bd
mov dword [ebp - 0x504], 0xd62e652
mov dword [ebp - 0x100], 0
jmp 0x1002d299
mov eax, dword [ebp - 0x100]
inc eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 4
jge 0x1002d2b5
mov eax, dword [ebp - 0x100]
mov dword [ebp + eax*4 - 0x610], 0x7f2fb5a5
jmp 0x1002d28c
lea eax, [ebp - 0x2ec]
push eax
call fcn.1002aca8
pop ecx
mov dword [ebp - 0x230], 0x5304
mov dword [ebp - 0x2f4], 0x1000a268
cmp dword [ebp - 0x230], 0x568f
jle 0x1002d35a
and dword [ebp - 0x108], 0
jmp 0x1002d2f8
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0x14db
jge 0x1002d35a
and dword [ebp - 0x110], 0
jmp 0x1002d31a
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0x7ffb
jge 0x1002d358
mov eax, dword [ebp - 0x108]
imul eax, dword [ebp - 0x110]
cdq
mov dword [ebp - 0x3e0], eax
mov dword [ebp - 0x3dc], edx
push dword [ebp - 0x3dc]
push dword [ebp - 0x3e0]
mov ecx, 0x106092f8
call fcn.1002e06f
jmp 0x1002d30d
jmp 0x1002d2eb
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x230], 0x4f70
jge 0x1002d37a
mov edx, dword [ebp - 0x2f4]
mov ecx, 0x106092f8
call fcn.1002fb19
jmp 0x1002d396
mov dword [ebp - 4], 0x1e
jmp 0x1002d3a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4e4]
call fcn.1002e206
cmp dword [ebp - 0x2fc], 0
jne 0x1002d3c5
xor eax, eax
jmp 0x1002da45
lea eax, [ebp - 0x20]
push eax
call fcn.1002ad93
pop ecx
mov dword [ebp - 0x164], 0xffff
mov dword [ebp - 0x298], 0x184dcc80
push 4
lea ecx, [ebp - 0x2c8]
call fcn.1002e184
mov dword [ebp - 4], 0x21
mov dword [ebp - 0x240], 0x509cb0be
mov dword [ebp - 0x78], 0x6c1dfe93
mov dword [ebp - 0x31c], 0x1d1a932d
mov dword [ebp - 0x544], 0x5d01cd4
mov dword [ebp - 0x16c], 0xfffffffb
mov dword [ebp - 0x158], 0xd911aca8
push 0x2e90
push 0x554d
push 0x7970
push 1
lea eax, [ebp - 0x70]
push eax
push 0x5182
lea eax, [ebp - 0x2c8]
push eax
push 0x74a7
push 1
call fcn.10029b07
add esp, 0x24
mov dword [ebp - 0x70], 0
jmp 0x1002d470
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jge 0x1002d486
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x314], 0
jmp 0x1002d469
push 1
push 1
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x298]
push eax
push 0x7d34
lea eax, [ebp - 0x164]
push eax
push 0x382f
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10029d5d
add esp, 0x24
mov dword [ebp - 0x178], 0x475f
mov dword [ebp - 0x304], 0x1000a2d0
cmp dword [ebp - 0x178], 0x4afa
jle 0x1002d595
and dword [ebp - 0x118], 0
jmp 0x1002d4f6
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0x2924
jge 0x1002d588
and dword [ebp - 0x120], 0
jmp 0x1002d51c
mov eax, dword [ebp - 0x120]
inc eax
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0x7405
jge 0x1002d583
and dword [ebp - 0x128], 0
jmp 0x1002d53e
mov eax, dword [ebp - 0x128]
inc eax
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0x588b
jge 0x1002d581
mov eax, dword [ebp - 0x118]
add eax, dword [ebp - 0x120]
and eax, dword [ebp - 0x128]
cdq
mov dword [ebp - 0x3ec], eax
mov dword [ebp - 0x3e8], edx
push dword [ebp - 0x3e8]
push dword [ebp - 0x3ec]
mov ecx, 0x106092f8
call fcn.1002e06f
jmp 0x1002d531
jmp 0x1002d50f
jmp 0x1002d4e9
push 0
push 0x1680
call dword [sym.imp.USER32.dll_ValidateRgn]
mov byte [ebp - 4], 0x22
cmp dword [ebp - 0x178], 0x4448
jge 0x1002d5b5
mov edx, dword [ebp - 0x304]
mov ecx, 0x106092f8
call fcn.1002fb19
jmp 0x1002d5d1
mov dword [ebp - 4], 0x21
jmp 0x1002d5e1
mov dword [ebp - 0x78], 0xffffffe2
jmp 0x1002d5f1
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x13
jge 0x1002da15
push 3
lea ecx, [ebp - 0x2bc]
call fcn.1002e184
mov byte [ebp - 4], 0x24
push 2
lea ecx, [ebp - 0x458]
call fcn.1002e184
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x15c], 0x2426
mov dword [ebp - 0x324], 0xfffffff6
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x30c]
push eax
call fcn.1002adad
pop ecx
pop ecx
push 0x7c32
push 1
lea eax, [ebp - 0x458]
push eax
push 1
push 0xacf
push 1
push 0x6e44
lea eax, [ebp - 0x30c]
push eax
call fcn.10029f78
add esp, 0x20
mov dword [ebp - 0x2a0], 0x7af
mov dword [ebp - 0x32c], 0x1000a314
cmp dword [ebp - 0x2a0], 0xb7c
jle 0x1002d742
and dword [ebp - 0x140], 0
jmp 0x1002d6ab
mov eax, dword [ebp - 0x140]
inc eax
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0x4f01
jge 0x1002d742
and dword [ebp - 0x130], 0
jmp 0x1002d6d1
mov eax, dword [ebp - 0x130]
inc eax
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0x187f
jge 0x1002d73d
and dword [ebp - 0x138], 0
jmp 0x1002d6f3
mov eax, dword [ebp - 0x138]
inc eax
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0x78d2
jge 0x1002d73b
mov eax, dword [ebp - 0x130]
cdq
idiv dword [ebp - 0x138]
mov eax, dword [ebp - 0x140]
mov ecx, edx
shl eax, cl
cdq
mov dword [ebp - 0x3f8], eax
mov dword [ebp - 0x3f4], edx
push dword [ebp - 0x3f4]
push dword [ebp - 0x3f8]
mov ecx, 0x106092f8
call fcn.1002e06f
jmp 0x1002d6e6
jmp 0x1002d6c4
jmp 0x1002d69e
mov eax, dword [ebp - 0x158]
dec eax
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0xfffb
ja 0x1002d767
mov dword [ebp - 0x148], 1
jmp 0x1002d76e
and dword [ebp - 0x148], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x148]
mov dword [ebp + eax - 0x314], ecx
push 1
lea ecx, [ebp - 0x458]
call fcn.1002e222
mov ecx, dword [ebp - 0x148]
mov dword [eax], ecx
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x16c], eax
mov esi, dword [ebp - 0x164]
push 0
lea ecx, [ebp - 0x2c8]
call fcn.1002e222
imul esi, dword [eax]
cmp esi, 0x10f1939e
jge 0x1002d7d5
cmp dword [ebp - 0x240], 0
je 0x1002d7d5
mov dword [ebp - 0x248], 1
jmp 0x1002d7dc
and dword [ebp - 0x248], 0
push 0
lea ecx, [ebp - 0x2bc]
call fcn.1002e222
imul esi, dword [eax], 3
add esi, dword [ebp - 0x248]
push 0
lea ecx, [ebp - 0x2bc]
call fcn.1002e222
cmp dword [eax], esi
jge 0x1002d80f
mov dword [ebp - 0x250], 1
jmp 0x1002d816
and dword [ebp - 0x250], 0
push 0
lea ecx, [ebp - 0x2bc]
call fcn.1002e222
mov esi, dword [ebp - 0x250]
imul esi, dword [eax]
push 0
lea ecx, [ebp - 0x2bc]
call fcn.1002e222
cmp esi, dword [eax]
jne 0x1002d849
mov dword [ebp - 0x258], 1
jmp 0x1002d850
and dword [ebp - 0x258], 0
cmp dword [ebp - 0x258], 4
jne 0x1002d865
mov dword [ebp - 0x260], 1
jmp 0x1002d86c
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x15c]
imul eax, dword [ebp - 0x260]
test eax, eax
jne 0x1002d88f
cmp dword [ebp - 0x16c], 0
jne 0x1002d88f
and dword [ebp - 0x268], 0
jmp 0x1002d899
mov dword [ebp - 0x268], 1
mov eax, dword [ebp - 0x15c]
imul eax, dword [ebp - 0x268]
sub eax, dword [ebp - 0x31c]
jne 0x1002d8b7
mov eax, 0x8ca929ef
test eax, eax
je 0x1002d8c9
push 0
lea ecx, [ebp - 0x2bc]
call fcn.1002e222
cmp dword [eax], 0
jne 0x1002d8db
mov eax, 0xd441
test eax, eax
jne 0x1002d8db
and dword [ebp - 0x270], 0
jmp 0x1002d8e5
mov dword [ebp - 0x270], 1
mov eax, dword [ebp - 0x15c]
cmp dword [ebp - 0x270], eax
jle 0x1002d8ff
mov dword [ebp - 0x278], 1
jmp 0x1002d906
and dword [ebp - 0x278], 0
push 0
lea ecx, [ebp - 0x2c8]
call fcn.1002e222
mov ecx, dword [ebp - 0x278]
cmp ecx, dword [eax]
jle 0x1002d932
cmp dword [ebp - 0x164], 0
je 0x1002d932
mov dword [ebp - 0x280], 1
jmp 0x1002d939
and dword [ebp - 0x280], 0
imul eax, dword [ebp - 0x280], 0xdab8
test eax, eax
je 0x1002d965
push 0
lea ecx, [ebp - 0x2c8]
call fcn.1002e222
cmp dword [eax], 0
je 0x1002d965
mov dword [ebp - 0x288], 1
jmp 0x1002d96c
and dword [ebp - 0x288], 0
mov eax, dword [ebp - 0x324]
cmp dword [ebp - 0x288], eax
jge 0x1002d986
mov dword [ebp - 0x290], 1
jmp 0x1002d98d
and dword [ebp - 0x290], 0
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 0x26
cmp dword [ebp - 0x2a0], 0x441
jge 0x1002d9b9
mov edx, dword [ebp - 0x32c]
mov ecx, 0x106092f8
call fcn.1002fb19
jmp 0x1002d9d5
mov dword [ebp - 4], 0x25
jmp 0x1002d9e5
lea eax, [ebp - 0x16c]
push eax
call fcn.1002adf5
pop ecx
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x458]
call fcn.1002e206
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2bc]
call fcn.1002e206
jmp 0x1002d5ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c8]
call fcn.1002e206
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x10], 0
je 0x1002da38
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2a8], eax
jmp 0x1002da3f
and dword [ebp - 0x2a8], 0
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret