Function at 0x1002b01a
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063323
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x4b8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002b1cc
mov dword [ebp - 0x184], 0x5784
mov dword [ebp - 0x3f8], 0x100097f0
cmp dword [ebp - 0x184], 0x5a66
jle 0x1002b144
and dword [ebp - 0xd8], 0
jmp 0x1002b085
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0x4776
jge 0x1002b144
and dword [ebp - 0xc4], 0
jmp 0x1002b0ab
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0x66a
jge 0x1002b13f
and dword [ebp - 0x90], 0
jmp 0x1002b0d1
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x60e2
jge 0x1002b13a
mov eax, dword [ebp - 0xd8]
add eax, dword [ebp - 0xc4]
xor eax, dword [ebp - 0x90]
cdq
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x3a4], edx
push dword [ebp - 0x3a4]
push dword [ebp - 0x3a8]
lea ecx, [ebp - 0x4b0]
call fcn.1000d7ce
pop ecx
pop ecx
mov dword [ebp - 0x2fc], eax
mov ecx, dword [ebp - 0x2fc]
call fcn.10011c75
push eax
call fcn.1004d346
pop ecx
lea ecx, [ebp - 0x4b0]
call fcn.10011c6b
jmp 0x1002b0c4
jmp 0x1002b09e
jmp 0x1002b078
mov eax, dword [ebp + 8]
mov dword [ebp - 0x410], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x184], 0x554a
jge 0x1002b169
push dword [ebp - 0x3f8]
call fcn.1004d346
pop ecx
jmp 0x1002b185
or dword [ebp - 4], 0xffffffff
jmp 0x1002b18f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x408], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x400], eax
push 0x4f7d
push dword [ebp - 0x400]
push 1
push dword [ebp - 0x408]
push 0x7f34
push dword [ebp - 0x410]
call fcn.1002d258
add esp, 0x18
jmp 0x1002d247
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x348], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3b8], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x350], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x150], 0x4fc4
mov dword [ebp - 0x328], 0x10009850
cmp dword [ebp - 0x150], 0x5154
jle 0x1002b2a5
and dword [ebp - 0x7c], 0
jmp 0x1002b24a
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x6111
jge 0x1002b2a5
and dword [ebp - 0x98], 0
jmp 0x1002b269
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x7b32
jge 0x1002b2a3
mov eax, dword [ebp - 0x7c]
or eax, dword [ebp - 0x98]
cdq
mov dword [ebp - 0x3b4], eax
mov dword [ebp - 0x3b0], edx
push dword [ebp - 0x3b0]
push dword [ebp - 0x3b4]
mov ecx, 0x1060c478
call fcn.10011c95
jmp 0x1002b25c
jmp 0x1002b243
mov dword [ebp - 0x68], 0x110c93b4
mov dword [ebp - 0x4c], 0x9fcfbce0
mov dword [ebp - 0x304], 0xfffffff6
push 2
lea ecx, [ebp - 0x2f8]
call fcn.10011fea
mov dword [ebp - 4], 2
mov dword [ebp - 0x124], 0x71658a60
mov dword [ebp - 0x2d4], 0x1864
mov dword [ebp - 0x418], 0x100098b8
cmp dword [ebp - 0x2d4], 0x1887
jle 0x1002b366
and dword [ebp - 0x70], 0
jmp 0x1002b308
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x79a1
jge 0x1002b366
and dword [ebp - 0xa0], 0
jmp 0x1002b327
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0x37a7
jge 0x1002b364
mov eax, dword [ebp - 0x70]
cdq
idiv dword [ebp - 0xa0]
mov eax, edx
cdq
mov dword [ebp - 0x3c0], eax
mov dword [ebp - 0x3bc], edx
push dword [ebp - 0x3bc]
push dword [ebp - 0x3c0]
mov ecx, 0x1060c478
call fcn.10011c95
jmp 0x1002b31a
jmp 0x1002b301
mov dword [ebp - 0x30c], 0x95621847
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2d4], 0x16ea
jge 0x1002b390
mov edx, dword [ebp - 0x418]
mov ecx, 0x1060c478
call fcn.100147fa
jmp 0x1002b3ac
mov dword [ebp - 4], 2
jmp 0x1002b3bc
mov dword [ebp - 0x374], 0x2da50e28
mov dword [ebp - 0x8c], 0
jmp 0x1002b3df
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 2
jge 0x1002b401
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x2f8]
call fcn.10012062
mov dword [eax], 0x7e815f84
jmp 0x1002b3d2
mov dword [ebp - 0x68], 0
jmp 0x1002b411
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffef
jne 0x1002b90c
mov dword [ebp - 0x14], 0x3fbb4ebb
push 3
lea ecx, [ebp - 0x2ec]
call fcn.10011fea
mov byte [ebp - 4], 5
mov dword [ebp - 0xb4], 0
jmp 0x1002b44c
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 3
jge 0x1002b46e
push dword [ebp - 0xb4]
lea ecx, [ebp - 0x2ec]
call fcn.10012062
mov dword [eax], 0xfffffffc
jmp 0x1002b43f
cmp dword [ebp - 0x14], 0
jne 0x1002b519
cmp dword [ebp - 0x14], 0
jne 0x1002b48a
mov dword [ebp - 0x160], 1
jmp 0x1002b491
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x160]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x4c]
jl 0x1002b4b1
mov dword [ebp - 0x10c], 1
jmp 0x1002b4b8
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10c], eax
jge 0x1002b4cf
mov dword [ebp - 0x27c], 1
jmp 0x1002b4d6
and dword [ebp - 0x27c], 0
cmp dword [ebp - 0x27c], 0x7adf
jne 0x1002b4ee
mov dword [ebp - 0x114], 1
jmp 0x1002b4f5
and dword [ebp - 0x114], 0
mov esi, dword [ebp - 0x14]
imul esi, dword [ebp - 0x114]
push 0
lea ecx, [ebp - 0x2ec]
call fcn.10012062
add esi, dword [eax]
jne 0x1002b519
and dword [ebp - 0x284], 0
jmp 0x1002b523
mov dword [ebp - 0x284], 1
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x304], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x1002b541
mov dword [ebp - 0x11c], 1
jmp 0x1002b548
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x11c]
jle 0x1002b55f
mov dword [ebp - 0x28c], 1
jmp 0x1002b566
and dword [ebp - 0x28c], 0
cmp dword [ebp - 0x28c], 0
jge 0x1002b57b
mov dword [ebp - 0xf8], 1
jmp 0x1002b582
and dword [ebp - 0xf8], 0
push 1
lea ecx, [ebp - 0x2f8]
call fcn.10012062
mov ecx, dword [ebp - 0xf8]
mov dword [eax], ecx
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x1002b5db
mov dword [ebp - 0x14], 0
jmp 0x1002b5bc
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2e
jl 0x1002b5d6
mov byte [ebp - 0x46], 0
movzx eax, byte [ebp - 0x46]
test eax, eax
je 0x1002b5d4
call dword [sym.imp.USER32.dll_CreatePopupMenu]
jmp 0x1002b5b5
jmp 0x1002b8f8
mov dword [ebp - 0x134], 0x90ae7359
mov esi, dword [ebp - 0x134]
push 1
lea ecx, [ebp - 0x2f8]
call fcn.10012062
mov dword [eax], esi
mov dword [ebp - 0x4c], 1
jmp 0x1002b60a
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x1002b8f8
mov dword [ebp - 0x14c], 0xffffffff
mov dword [ebp - 0x2ac], 0xfffffff9
mov dword [ebp - 0x294], 0x4d1d
mov dword [ebp - 0x36c], 0x10009908
cmp dword [ebp - 0x294], 0x50e1
jle 0x1002b6c5
and dword [ebp - 0x94], 0
jmp 0x1002b65e
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x31c8
jge 0x1002b6bf
and dword [ebp - 0xd4], 0
jmp 0x1002b680
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0x2b7
jge 0x1002b6bd
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0xd4]
cdq
mov dword [ebp - 0x3cc], eax
mov dword [ebp - 0x3c8], edx
push dword [ebp - 0x3c8]
push dword [ebp - 0x3cc]
mov ecx, 0x1060c478
call fcn.10011c95
jmp 0x1002b673
jmp 0x1002b651
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [ebp - 0x438], 0xb3002e9d
mov dword [ebp - 0x434], 0xb3002e9d
mov dword [ebp - 0x430], 0xb3002e9d
mov dword [ebp - 0x42c], 0xb3002e9d
mov byte [ebp - 4], 6
cmp dword [ebp - 0x294], 0x4afb
jge 0x1002b70d
mov edx, dword [ebp - 0x36c]
mov ecx, 0x1060c478
call fcn.100147fa
jmp 0x1002b729
mov dword [ebp - 4], 5
jmp 0x1002b739
mov dword [ebp - 0x14], 0
jmp 0x1002b749
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x1002b8f3
mov dword [ebp - 0x9c], 0
jmp 0x1002b76c
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 3
jge 0x1002b788
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x498], 0xf846c8c5
jmp 0x1002b75f
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x498], 0
push 0
lea ecx, [ebp - 0x2ec]
call fcn.10012062
cmp dword [eax], 0
jle 0x1002b7b6
mov dword [ebp - 0x12c], 1
jmp 0x1002b7bd
and dword [ebp - 0x12c], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2f8]
call fcn.10012062
mov eax, dword [eax]
cmp eax, dword [ebp - 0x12c]
je 0x1002b7e1
mov dword [ebp - 0x144], 1
jmp 0x1002b7e8
and dword [ebp - 0x144], 0
push 0
lea ecx, [ebp - 0x2ec]
call fcn.10012062
mov eax, dword [eax]
inc eax
cmp eax, 0xfffffffc
je 0x1002b809
mov dword [ebp - 0x29c], 1
jmp 0x1002b810
and dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0x14c]
cmp dword [ebp - 0x29c], eax
jg 0x1002b82a
mov dword [ebp - 0x2a4], 1
jmp 0x1002b831
and dword [ebp - 0x2a4], 0
mov eax, dword [ebp - 0x134]
cmp dword [ebp - 0x2a4], eax
jl 0x1002b854
cmp dword [ebp - 0x30c], 0
je 0x1002b854
mov dword [ebp - 0x13c], 1
jmp 0x1002b85b
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x2ac]
cmp dword [ebp - 0x144], eax
jl 0x1002b881
mov dword [ebp - 0x2b4], 1
jmp 0x1002b888
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x2b4]
add eax, 0x15028efe
je 0x1002b8a2
push 1
lea ecx, [ebp - 0x2f8]
call fcn.10012062
mov esi, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x374]
push 0
lea ecx, [ebp - 0x2ec]
call fcn.10012062
mov eax, dword [eax]
add eax, edi
sub eax, esi
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x438], eax
mov byte [ebp - 0x42], 0
movzx eax, byte [ebp - 0x42]
test eax, eax
je 0x1002b8ee
push 1
push 0
push 0x1ea9
push 0x1e2f
call dword [sym.imp.USER32.dll_GetDlgItemInt]
jmp 0x1002b742
jmp 0x1002b603
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2ec]
call fcn.10012046
jmp 0x1002b40a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f8]
call fcn.10012046
mov eax, dword [ebp - 0x314]
movzx eax, byte [eax]
test eax, eax
je 0x1002b93c
push 0
push 0x249a
push 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
jmp 0x1002d1fe
push 1
lea ecx, [ebp - 0x428]
call fcn.10011fea
mov dword [ebp - 4], 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x6c], 0xfffffff6
mov dword [ebp - 0x154], 0x3b8a277e
mov dword [ebp - 0x170], 0x9796a0b5
mov dword [ebp - 0x2bc], 0x4a34
mov dword [ebp - 0x31c], 0x10009950
cmp dword [ebp - 0x2bc], 0x4c78
jle 0x1002ba3e
and dword [ebp - 0xbc], 0
jmp 0x1002b9ac
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0x669b
jge 0x1002ba36
and dword [ebp - 0xa4], 0
jmp 0x1002b9ce
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x47a2
jge 0x1002ba31
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0xa4]
cdq
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3d4], edx
push dword [ebp - 0x3d4]
push dword [ebp - 0x3d8]
lea ecx, [ebp - 0x4c8]
call fcn.1000d7ce
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
mov ecx, dword [ebp - 0x37c]
call fcn.10011c75
push eax
call fcn.1004d346
pop ecx
lea ecx, [ebp - 0x4c8]
call fcn.10011c6b
jmp 0x1002b9c1
jmp 0x1002b99f
push 0
call dword [sym.imp.GDI32.dll_GetObjectType]
mov dword [ebp - 0x384], 0xfffb
mov byte [ebp - 4], 9
cmp dword [ebp - 0x2bc], 0x47bf
jge 0x1002ba64
push dword [ebp - 0x31c]
call fcn.1004d346
pop ecx
jmp 0x1002ba80
mov dword [ebp - 4], 8
jmp 0x1002ba90
mov dword [ebp - 0x324], 0xb3f4b141
mov dword [ebp - 0xcc], 0
jmp 0x1002bab3
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 1
jge 0x1002bad5
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x428]
call fcn.10012062
mov dword [eax], 0x24039b64
jmp 0x1002baa6
mov dword [ebp - 0x38], 0
jmp 0x1002bae5
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x1002bb01
push dword [ebp - 0x38]
lea ecx, [ebp - 0x428]
call fcn.10012062
mov dword [eax], 0x837bc752
jmp 0x1002bade
push 0
lea ecx, [ebp - 0x428]
call fcn.10012062
cmp dword [eax], 0
je 0x1002bba9
cmp dword [ebp - 0x38], 0
je 0x1002bba9
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x480], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x6c], 6
ja 0x1002bb58
push 7
pop eax
test eax, eax
je 0x1002bb58
mov dword [ebp - 0x2c4], 1
jmp 0x1002bb5f
and dword [ebp - 0x2c4], 0
mov eax, dword [ebp - 0x154]
cmp dword [ebp - 0x2c4], eax
jle 0x1002bb7f
cmp dword [ebp - 0x170], 0
jne 0x1002bb7f
and dword [ebp - 0x2cc], 0
jmp 0x1002bb89
mov dword [ebp - 0x2cc], 1
mov eax, dword [ebp - 0x384]
add eax, dword [ebp - 0x2cc]
jne 0x1002bb9d
cmp dword [ebp - 0x6c], 0
je 0x1002bba9
mov dword [ebp - 0x164], 1
jmp 0x1002bbb0
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x164]
cmp eax, 0xfffffffa
je 0x1002bbcb
mov dword [ebp - 0x278], 1
jmp 0x1002bbd2
and dword [ebp - 0x278], 0
mov eax, dword [ebp - 0x324]
cmp dword [ebp - 0x278], eax
jne 0x1002bbec
mov dword [ebp - 0x168], 1
jmp 0x1002bbf3
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x168]
lea esi, [ecx + eax + 1]
push 0
lea ecx, [ebp - 0x428]
call fcn.10012062
cmp esi, dword [eax]
jle 0x1002bc1d
mov dword [ebp - 0x220], 1
jmp 0x1002bc24
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x170], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.10012046
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x3fc], eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x3d0], eax
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x188], 1
mov dword [ebp - 0x39c], 0xfffffff7
mov dword [ebp - 0x20], 0
jmp 0x1002bc82
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xfffffff4
jl 0x1002bf7f
mov dword [ebp - 0x24], 0xfffffff7
mov dword [ebp - 0x198], 0xfffffffc
mov dword [ebp - 0x414], 0x2cfb6473
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x20], 0xffaf
je 0x1002bcc5
mov dword [ebp - 0x178], 1
jmp 0x1002bccc
and dword [ebp - 0x178], 0
cmp dword [ebp - 0x24], 0
jne 0x1002bce1
cmp dword [ebp - 0x20], 0
jne 0x1002bce1
and dword [ebp - 0x2a8], 0
jmp 0x1002bceb
mov dword [ebp - 0x2a8], 1
imul eax, dword [ebp - 0x2a8], 0
imul eax, dword [ebp - 0x178]
cmp eax, 0xdade
je 0x1002bd12
cmp dword [ebp - 0x24], 0
je 0x1002bd12
mov dword [ebp - 0x228], 1
jmp 0x1002bd19
and dword [ebp - 0x228], 0
mov eax, 0x3f7b
sub eax, dword [ebp - 0x228]
jne 0x1002bd35
cmp dword [ebp - 0x20], 0
jne 0x1002bd35
and dword [ebp - 0x180], 0
jmp 0x1002bd3f
mov dword [ebp - 0x180], 1
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x180], eax
jne 0x1002bd56
mov dword [ebp - 0x280], 1
jmp 0x1002bd5d
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x280], eax
jle 0x1002bd74
mov dword [ebp - 0x394], 1
jmp 0x1002bd7b
and dword [ebp - 0x394], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x24], 0
jne 0x1002bd94
cmp dword [ebp - 0x24], 0
je 0x1002bf55
mov dword [ebp - 0xac], 0x446bd29a
mov dword [ebp - 0x1b8], 0x31b3b333
mov dword [ebp - 0x24], 0
jmp 0x1002bdb8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x13
jge 0x1002bf53
mov dword [ebp - 0x288], 1
mov dword [ebp - 0x188], 0xfffffffb
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0xac]
je 0x1002bdfc
mov dword [ebp - 0x230], 1
jmp 0x1002be03
and dword [ebp - 0x230], 0
cmp dword [ebp - 0x230], 0x6a191a83
jge 0x1002be1b
mov dword [ebp - 0x1b0], 1
jmp 0x1002be22
and dword [ebp - 0x1b0], 0
cmp dword [ebp - 0x39c], 0
jl 0x1002be37
mov dword [ebp - 0x190], 1
jmp 0x1002be3e
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 1
jbe 0x1002be53
mov dword [ebp - 0x2c0], 1
jmp 0x1002be5a
and dword [ebp - 0x2c0], 0
mov eax, dword [ebp - 0x2c0]
sub eax, dword [ebp - 0xac]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
cmp eax, dword [ebp - 0x20]
je 0x1002be83
mov dword [ebp - 0x238], 1
jmp 0x1002be8a
and dword [ebp - 0x238], 0
cmp dword [ebp - 0x238], 0x5452e2cc
jne 0x1002bea2
mov dword [ebp - 0x1a0], 1
jmp 0x1002bea9
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x1a0], eax
jne 0x1002bec0
mov dword [ebp - 0x1a8], 1
jmp 0x1002bec7
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x1a8], eax
jle 0x1002bee1
mov dword [ebp - 0x240], 1
jmp 0x1002bee8
and dword [ebp - 0x240], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x240], eax
jl 0x1002bf05
cmp dword [ebp - 0x20], 0
je 0x1002bf05
mov dword [ebp - 0x2b0], 1
jmp 0x1002bf0c
and dword [ebp - 0x2b0], 0
mov eax, dword [ebp - 0x1b0]
cmp eax, dword [ebp - 0x2b0]
je 0x1002bf26
mov dword [ebp - 0x334], 1
jmp 0x1002bf2d
and dword [ebp - 0x334], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x414], eax
jmp 0x1002bdb1
jmp 0x1002bf7a
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x1002bf7a
push 0
push 0x11a1
push 0
push 0x1bc2
push 0x1a9b
call dword [sym.imp.GDI32.dll_ExtCreatePen]
jmp 0x1002bc7b
mov byte [ebp - 0x44], 0
movzx eax, byte [ebp - 0x44]
test eax, eax
je 0x1002bf9a
push 0
push 0x249a
push 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x3dc], eax
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x390], eax
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x54], 0
jmp 0x1002bfe1
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffeb
je 0x1002c1b4
push 2
lea ecx, [ebp - 0xe4]
call fcn.10011fea
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x84], 0
jmp 0x1002c018
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 2
jge 0x1002c03a
push dword [ebp - 0x84]
lea ecx, [ebp - 0xe4]
call fcn.10012062
mov dword [eax], 9
jmp 0x1002c00b
push 1
lea ecx, [ebp - 0xe4]
call fcn.10012062
cmp dword [eax], 0
jae 0x1002c058
mov dword [ebp - 0x250], 1
jmp 0x1002c05f
and dword [ebp - 0x250], 0
mov esi, dword [ebp - 0x54]
push 1
lea ecx, [ebp - 0xe4]
call fcn.10012062
cmp dword [eax], esi
je 0x1002c07f
mov dword [ebp - 0x248], 1
jmp 0x1002c086
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x248], eax
jle 0x1002c09d
mov dword [ebp - 0x1c0], 1
jmp 0x1002c0a4
and dword [ebp - 0x1c0], 0
push 0
lea ecx, [ebp - 0xe4]
call fcn.10012062
mov esi, dword [ebp - 0x1c0]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0xe4]
call fcn.10012062
cmp esi, dword [eax]
je 0x1002c0d6
mov dword [ebp - 0x290], 1
jmp 0x1002c0dd
and dword [ebp - 0x290], 0
mov esi, 0x106ec6e5
sub esi, dword [ebp - 0x290]
push 1
lea ecx, [ebp - 0xe4]
call fcn.10012062
cmp esi, dword [eax]
jge 0x1002c105
mov dword [ebp - 0x1c8], 1
jmp 0x1002c10c
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x1c8]
add eax, 0x7ca4e865
cmp dword [ebp - 0x250], eax
je 0x1002c12b
mov dword [ebp - 0x1d0], 1
jmp 0x1002c132
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x1d0]
sub eax, 0xffff
je 0x1002c164
push 1
lea ecx, [ebp - 0xe4]
call fcn.10012062
cmp dword [eax], 0
je 0x1002c162
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.10012046
jmp 0x1002c1b4
jmp 0x1002c1a0
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x1002c17d
push 0
push 0x25d7
call dword [sym.imp.USER32.dll_GetSystemMenu]
push 1
lea ecx, [ebp - 0xe4]
call fcn.10012062
cmp dword [eax], 0
je 0x1002c1a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.10012046
jmp 0x1002c1b4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.10012046
jmp 0x1002bfda
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x34], 0xfffffffb
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x100], 2
mov dword [ebp - 0x210], 8
mov dword [ebp - 0x370], 0x83d96456
mov dword [ebp - 0x34], 0
jmp 0x1002c208
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xb
jl 0x1002c68f
push 2
lea ecx, [ebp - 0x60]
call fcn.10011fea
mov dword [ebp - 4], 0xc
mov dword [ebp - 0xec], 0x5f514fc6
mov dword [ebp - 0x88], 0
jmp 0x1002c246
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jge 0x1002c265
push dword [ebp - 0x88]
lea ecx, [ebp - 0x60]
call fcn.10012062
mov dword [eax], 1
jmp 0x1002c239
push 0
lea ecx, [ebp - 0x60]
call fcn.10012062
push 0
lea ecx, [ebp - 0x60]
call fcn.10012062
mov esi, eax
push 0
lea ecx, [ebp - 0x60]
call fcn.10012062
mov eax, dword [eax]
sub eax, dword [esi]
cmp dword [ebp - 0x34], eax
jg 0x1002c29a
mov dword [ebp - 0x2d0], 1
jmp 0x1002c2a1
and dword [ebp - 0x2d0], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x2d0], eax
je 0x1002c2b8
mov dword [ebp - 0x360], 1
jmp 0x1002c2bf
and dword [ebp - 0x360], 0
push 0
lea ecx, [ebp - 0x60]
call fcn.10012062
cmp dword [eax], 8
jge 0x1002c2da
mov dword [ebp - 0x1d8], 1
jmp 0x1002c2e1
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x1d8], eax
jge 0x1002c2f8
mov dword [ebp - 0x258], 1
jmp 0x1002c2ff
and dword [ebp - 0x258], 0
push 1
lea ecx, [ebp - 0x60]
call fcn.10012062
mov eax, dword [eax]
cmp eax, dword [ebp - 0x258]
jl 0x1002c31f
mov dword [ebp - 0x40c], 1
jmp 0x1002c326
and dword [ebp - 0x40c], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x46c], eax
push 0
lea ecx, [ebp - 0x60]
call fcn.10012062
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], 1
jmp 0x1002c34e
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1002c67e
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x368], 0x4763c6da
mov dword [ebp - 0x2c], 1
jmp 0x1002c379
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x1002c574
mov dword [ebp - 0x1f8], 1
mov byte [ebp - 0x41], 0
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x1002c3a9
push 0x758
push 0x1eb7
call dword [sym.imp.USER32.dll_SetCaretPos]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x60]
call fcn.10012062
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x60]
call fcn.10012062
cmp dword [eax], 0
jne 0x1002c509
mov esi, dword [ebp - 0x100]
push 1
lea ecx, [ebp - 0x60]
call fcn.10012062
cmp esi, dword [eax]
jle 0x1002c3e8
mov dword [ebp - 0x1e0], 1
jmp 0x1002c3ef
and dword [ebp - 0x1e0], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x60]
call fcn.10012062
mov ecx, dword [ebp - 0x1e0]
cmp ecx, dword [eax]
jge 0x1002c410
mov dword [ebp - 0x298], 1
jmp 0x1002c417
and dword [ebp - 0x298], 0
cmp dword [ebp - 0x298], 0xfffffff8
jge 0x1002c42c
mov dword [ebp - 0x1e8], 1
jmp 0x1002c433
and dword [ebp - 0x1e8], 0
cmp dword [ebp - 0x1e8], 0xffffffff
jge 0x1002c448
mov dword [ebp - 0x260], 1
jmp 0x1002c44f
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x1f8]
add eax, dword [ebp - 0x260]
jne 0x1002c475
push 1
lea ecx, [ebp - 0x60]
call fcn.10012062
cmp dword [eax], 0
jne 0x1002c475
and dword [ebp - 0x1f0], 0
jmp 0x1002c47f
mov dword [ebp - 0x1f0], 1
cmp dword [ebp - 0x1f0], 1
jge 0x1002c494
mov dword [ebp - 0x2b8], 1
jmp 0x1002c49b
and dword [ebp - 0x2b8], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x60]
call fcn.10012062
mov ecx, dword [ebp - 0x2b8]
cmp ecx, dword [eax]
jle 0x1002c4bc
mov dword [ebp - 0x268], 1
jmp 0x1002c4c3
and dword [ebp - 0x268], 0
mov esi, dword [ebp - 0x1f8]
push 0
lea ecx, [ebp - 0x60]
call fcn.10012062
mov ecx, dword [ebp - 0x268]
sub ecx, dword [eax]
cmp ecx, esi
jne 0x1002c4eb
mov dword [ebp - 0x200], 1
jmp 0x1002c4f2
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x100]
cmp dword [ebp - 0x200], eax
jl 0x1002c509
and dword [ebp - 0x2a0], 0
jmp 0x1002c513
mov dword [ebp - 0x2a0], 1
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x60]
call fcn.10012062
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2a0]
je 0x1002c534
mov dword [ebp - 0x208], 1
jmp 0x1002c53b
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x368]
cmp dword [ebp - 0x208], eax
jne 0x1002c555
mov dword [ebp - 0x270], 1
jmp 0x1002c55c
and dword [ebp - 0x270], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x60]
call fcn.10012062
mov ecx, dword [ebp - 0x270]
mov dword [eax], ecx
jmp 0x1002c372
mov dword [ebp - 0x2c], 1
jmp 0x1002c584
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x1002c679
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x60]
call fcn.10012062
mov esi, eax
push 0
lea ecx, [ebp - 0x60]
call fcn.10012062
mov eax, dword [eax]
mov dword [esi], eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x60]
call fcn.10012062
mov dword [eax], 0xe745
mov dword [ebp - 0x210], 1
cmp dword [ebp - 0x210], 0
jne 0x1002c5dd
push 0xfffffffffffffff7
pop eax
test eax, eax
jne 0x1002c5dd
and dword [ebp - 0x2c8], 0
jmp 0x1002c5e7
mov dword [ebp - 0x2c8], 1
mov eax, dword [ebp - 0x2c8]
sub eax, dword [ebp - 0x100]
imul eax, eax, 0
test eax, eax
jne 0x1002c60c
mov eax, 0xb4ea65d3
test eax, eax
jne 0x1002c60c
and dword [ebp - 0x3c4], 0
jmp 0x1002c616
mov dword [ebp - 0x3c4], 1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x440], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0xec], 2
jb 0x1002c640
mov dword [ebp - 0x218], 1
jmp 0x1002c647
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0xec]
cmp dword [ebp - 0x218], eax
jne 0x1002c661
mov dword [ebp - 0x15c], 1
jmp 0x1002c668
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x370], eax
jmp 0x1002c57d
jmp 0x1002c347
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.10012046
jmp 0x1002c201
mov eax, dword [ebp - 0x3fc]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x64], 0xe0a8eac8
mov dword [ebp - 0x158], 0x6e6a3735
mov byte [ebp - 0x47], 0
movzx eax, byte [ebp - 0x47]
test eax, eax
je 0x1002c6bf
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov dword [ebp - 0x64], 0xffffffe7
jmp 0x1002c6cf
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xd
jle 0x1002c784
mov dword [ebp - 0xfc], 0x29cf3083
mov dword [ebp - 0x16c], 0x53589fe5
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x158], 0xe790
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x450], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x458], eax
mov eax, 0xaf7f3e76
sub eax, dword [ebp - 0xfc]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
cmp eax, dword [ebp - 0x64]
jge 0x1002c741
mov dword [ebp - 0x174], 1
jmp 0x1002c748
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x64]
lea eax, [ecx + eax - 0xc2bdef2]
cmp eax, dword [ebp - 0x174]
jne 0x1002c76c
mov dword [ebp - 0x17c], 1
jmp 0x1002c773
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x378], eax
jmp 0x1002c6c8
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x18], 0x469ad59e
mov dword [ebp - 0x388], 0xffffffff
mov dword [ebp - 0x74], 0
jmp 0x1002c7b1
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x1002c7c4
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x28], 0xfffffff8
jmp 0x1002c7aa
mov dword [ebp - 0x18], 0
jmp 0x1002c7d4
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1002c92b
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x28]
mov dword [ebp - 0x460], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x28], 0xfffffffa
ja 0x1002c811
mov dword [ebp - 0x380], 1
jmp 0x1002c818
and dword [ebp - 0x380], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x28]
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x28]
mov dword [ebp - 0x478], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x488], eax
xor eax, eax
inc eax
cmp eax, 0xffff
jne 0x1002c851
mov dword [ebp - 0x104], 1
jmp 0x1002c858
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x28]
cmp dword [ebp - 0x104], eax
jg 0x1002c873
mov dword [ebp - 0x18c], 1
jmp 0x1002c87a
and dword [ebp - 0x18c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
add eax, dword [ebp - 0x18c]
cmp eax, dword [ebp - 0x18]
jne 0x1002c89b
mov dword [ebp - 0x194], 1
jmp 0x1002c8a2
and dword [ebp - 0x194], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
cmp dword [ebp - 0x194], eax
jge 0x1002c8c0
mov dword [ebp - 0x19c], 1
jmp 0x1002c8c7
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x28]
cmp dword [ebp - 0x19c], eax
jle 0x1002c8e2
mov dword [ebp - 0x41c], 1
jmp 0x1002c8e9
and dword [ebp - 0x41c], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x28]
mov dword [ebp - 0x444], eax
push 0xfffffffffffffff6
pop eax
test eax, eax
je 0x1002c913
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x28], 0
je 0x1002c913
mov dword [ebp - 0x1a4], 1
jmp 0x1002c91a
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x388], eax
jmp 0x1002c7cd
mov byte [ebp - 0x43], 0
movzx eax, byte [ebp - 0x43]
test eax, eax
je 0x1002c94b
push 0
push 0x1cd3
push 0xd0f
push 0
call dword [sym.imp.GDI32.dll_GetPaletteEntries]
mov eax, dword [ebp - 0x3dc]
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x390]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x1ac], 0x3113
mov dword [ebp - 0x404], 0x100099dc
cmp dword [ebp - 0x1ac], 0x3335
jle 0x1002ca41
and dword [ebp - 0xa8], 0
jmp 0x1002c99d
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x824
jge 0x1002ca41
and dword [ebp - 0xb0], 0
jmp 0x1002c9c3
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x1721
jge 0x1002ca3c
and dword [ebp - 0x78], 0
jmp 0x1002c9dc
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x1c6b
jge 0x1002ca37
and dword [ebp - 0x80], 0
jmp 0x1002c9f2
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x733c
jge 0x1002ca35
mov eax, dword [ebp - 0x78]
imul eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0xb0]
and eax, ecx
cdq
mov dword [ebp - 0x3e4], eax
mov dword [ebp - 0x3e0], edx
push dword [ebp - 0x3e0]
push dword [ebp - 0x3e4]
mov ecx, 0x1060c478
call fcn.10011c95
jmp 0x1002c9eb
jmp 0x1002c9d5
jmp 0x1002c9b6
jmp 0x1002c990
mov dword [ebp - 4], 0xd
cmp dword [ebp - 0x1ac], 0x2e7e
jge 0x1002ca64
mov edx, dword [ebp - 0x404]
mov ecx, 0x1060c478
call fcn.100147fa
jmp 0x1002ca80
or dword [ebp - 4], 0xffffffff
jmp 0x1002ca8a
push 2
lea ecx, [ebp - 0x2e0]
call fcn.10011fea
mov dword [ebp - 4], 0xf
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0x3e8], 0xe4562513
push 1
lea ecx, [ebp - 0x340]
call fcn.10011fea
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x1f4], 0xfffffffd
mov dword [ebp - 0x3a0], 0x213072c0
mov dword [ebp - 0x1b4], 0x4d62
mov dword [ebp - 0x398], 0x10009a20
cmp dword [ebp - 0x1b4], 0x4dbc
jle 0x1002cb8b
and dword [ebp - 0xb8], 0
jmp 0x1002cb11
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x1d8b
jge 0x1002cb74
and dword [ebp - 0xc0], 0
jmp 0x1002cb33
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x3245
jge 0x1002cb72
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc0]
shl eax, cl
cdq
mov dword [ebp - 0x3f0], eax
mov dword [ebp - 0x3ec], edx
push dword [ebp - 0x3ec]
push dword [ebp - 0x3f0]
mov ecx, 0x1060c478
call fcn.10011c95
jmp 0x1002cb26
jmp 0x1002cb04
push 0
push 0x1c2
push 0x1e43
push 0x1f44
call dword [sym.imp.GDI32.dll_GetSystemPaletteEntries]
mov dword [ebp - 0x30], 0
jmp 0x1002cb9b
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1002cbb7
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2e0]
call fcn.10012062
mov dword [eax], 0x38ab
jmp 0x1002cb94
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x1b4], 0x4b59
jge 0x1002cbd7
mov edx, dword [ebp - 0x398]
mov ecx, 0x1060c478
call fcn.100147fa
jmp 0x1002cbf3
mov dword [ebp - 4], 0x10
jmp 0x1002cc03
mov dword [ebp - 0x30], 0
jmp 0x1002cc13
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x1002cc2f
push dword [ebp - 0x30]
lea ecx, [ebp - 0x340]
call fcn.10012062
mov dword [eax], 0xc07c2076
jmp 0x1002cc0c
push 1
lea ecx, [ebp - 0x2e0]
call fcn.10012062
mov eax, dword [eax]
mov dword [ebp - 0xf4], eax
imul eax, dword [ebp - 0xf4], 0xfffffffc
mov dword [ebp - 0x3e8], eax
mov eax, dword [ebp - 0xf4]
dec eax
cmp eax, 0xa9dade66
jbe 0x1002cc6b
mov dword [ebp - 0x1bc], 1
jmp 0x1002cc72
and dword [ebp - 0x1bc], 0
push 0
lea ecx, [ebp - 0x340]
call fcn.10012062
mov ecx, dword [ebp - 0x1bc]
cmp ecx, dword [eax]
jg 0x1002cc95
mov dword [ebp - 0x1c4], 1
jmp 0x1002cc9c
and dword [ebp - 0x1c4], 0
cmp dword [ebp - 0x1c4], 1
je 0x1002ccb1
mov dword [ebp - 0x1cc], 1
jmp 0x1002ccb8
and dword [ebp - 0x1cc], 0
push 0
lea ecx, [ebp - 0x340]
call fcn.10012062
mov ecx, dword [ebp - 0x1cc]
cmp ecx, dword [eax]
jl 0x1002ccdb
mov dword [ebp - 0x1d4], 1
jmp 0x1002cce2
and dword [ebp - 0x1d4], 0
cmp dword [ebp - 0x1d4], 0xcae2fe81
jbe 0x1002ccfa
mov dword [ebp - 0x1dc], 1
jmp 0x1002cd01
and dword [ebp - 0x1dc], 0
push 1
lea ecx, [ebp - 0x2e0]
call fcn.10012062
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1dc]
jne 0x1002cd24
mov dword [ebp - 0x1e4], 1
jmp 0x1002cd2b
and dword [ebp - 0x1e4], 0
push 0
lea ecx, [ebp - 0x2e0]
call fcn.10012062
mov ecx, dword [ebp - 0x1e4]
cmp ecx, dword [eax]
je 0x1002cd4e
mov dword [ebp - 0x1ec], 1
jmp 0x1002cd55
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f4], eax
push 0
lea ecx, [ebp - 0x340]
call fcn.10012062
mov esi, eax
push 0
lea ecx, [ebp - 0x2e0]
call fcn.10012062
mov eax, dword [eax]
add eax, dword [esi]
je 0x1002cd98
cmp dword [ebp - 0x1f4], 0
je 0x1002cd98
mov dword [ebp - 0x1fc], 1
jmp 0x1002cd9f
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x3a0], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x340]
call fcn.10012046
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e0]
call fcn.10012046
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x48c], 5
mov dword [ebp - 0x40], 0
mov dword [ebp - 0xe8], 1
cmp dword [ebp - 0x40], 0
jge 0x1002ce0e
mov dword [ebp - 0x204], 1
jmp 0x1002ce15
and dword [ebp - 0x204], 0
cmp dword [ebp - 0x204], 0
je 0x1002ce33
mov eax, 0xce3c
test eax, eax
je 0x1002ce33
mov dword [ebp - 0x20c], 1
jmp 0x1002ce3a
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x40], 3
jmp 0x1002ce56
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x17
jle 0x1002d00c
mov dword [ebp - 0xc8], 0xa82b
mov dword [ebp - 0x44c], 0xffffffff
mov dword [ebp - 0x474], 1
mov dword [ebp - 0x34c], 0xfffffff6
mov dword [ebp - 0x354], 0x7e05af84
mov dword [ebp - 0x35c], 0x5407
cmp dword [ebp - 0x40], 0
jne 0x1002cf61
cmp dword [ebp - 0xc8], 1
jne 0x1002cebb
mov dword [ebp - 0x214], 1
jmp 0x1002cec2
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x34c]
cmp dword [ebp - 0x214], eax
jg 0x1002cedc
mov dword [ebp - 0x21c], 1
jmp 0x1002cee3
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x21c], eax
jne 0x1002cefd
mov dword [ebp - 0x224], 1
jmp 0x1002cf04
and dword [ebp - 0x224], 0
cmp dword [ebp - 0x224], 0
jg 0x1002cf19
mov dword [ebp - 0x22c], 1
jmp 0x1002cf20
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x354]
cmp dword [ebp - 0x22c], eax
je 0x1002cf3a
mov dword [ebp - 0x234], 1
jmp 0x1002cf41
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x234], eax
jl 0x1002cf61
cmp dword [ebp - 0xe8], 0
jne 0x1002cf61
and dword [ebp - 0x23c], 0
jmp 0x1002cf6b
mov dword [ebp - 0x23c], 1
mov eax, dword [ebp - 0x23c]
neg eax
jne 0x1002cf84
cmp dword [ebp - 0x40], 0
jne 0x1002cf84
and dword [ebp - 0x244], 0
jmp 0x1002cf8e
mov dword [ebp - 0x244], 1
cmp dword [ebp - 0x244], 0xacdd
jl 0x1002cfa6
mov dword [ebp - 0x24c], 1
jmp 0x1002cfad
and dword [ebp - 0x24c], 0
imul eax, dword [ebp - 0x24c], 0x7eef
cmp eax, 4
jl 0x1002cfc8
mov dword [ebp - 0x254], 1
jmp 0x1002cfcf
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x254], eax
jle 0x1002cfe9
mov dword [ebp - 0x25c], 1
jmp 0x1002cff0
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0xe8], 0
je 0x1002d007
jmp 0x1002d00c
jmp 0x1002ce4f
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x310], eax
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x50]
mov dword [eax], 0
jmp 0x1002d03a
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0x13
jge 0x1002d1fe
mov dword [ebp - 0x120], 1
mov eax, dword [ebp - 0x308]
mov dword [eax], 0xfffffffb
mov dword [ebp - 0x120], 0xfffffffb
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xd0]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
je 0x1002d084
mov dword [ebp - 0x264], 1
jmp 0x1002d08b
and dword [ebp - 0x264], 0
cmp dword [ebp - 0x264], 0x6a191a83
jge 0x1002d0a3
mov dword [ebp - 0x138], 1
jmp 0x1002d0aa
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x310]
cmp dword [eax], 0
jl 0x1002d0c1
mov dword [ebp - 0x26c], 1
jmp 0x1002d0c8
and dword [ebp - 0x26c], 0
cmp dword [ebp - 0x26c], 1
jbe 0x1002d0dd
mov dword [ebp - 0x274], 1
jmp 0x1002d0e4
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x274]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x108]
mov dword [eax], ecx
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x108]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
je 0x1002d118
mov dword [ebp - 0x110], 1
jmp 0x1002d11f
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0x5452e2cc
jne 0x1002d137
mov dword [ebp - 0x118], 1
jmp 0x1002d13e
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
cmp dword [ebp - 0x118], eax
jne 0x1002d157
mov dword [ebp - 0x128], 1
jmp 0x1002d15e
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x120]
cmp dword [ebp - 0x128], eax
jle 0x1002d178
mov dword [ebp - 0x130], 1
jmp 0x1002d17f
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax]
cmp dword [ebp - 0x130], eax
jl 0x1002d1a6
mov eax, dword [ebp - 0xf0]
cmp dword [eax], 0
je 0x1002d1a6
mov dword [ebp - 0x140], 1
jmp 0x1002d1ad
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x140]
je 0x1002d1c7
mov dword [ebp - 0x318], 1
jmp 0x1002d1ce
and dword [ebp - 0x318], 0
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax]
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x320]
mov ecx, dword [ebp - 0x148]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1002d02f
mov dword [ebp - 4], 0x13
cmp dword [ebp - 0x150], 0x4e90
jge 0x1002d221
mov edx, dword [ebp - 0x328]
mov ecx, 0x1060c478
call fcn.100147fa
jmp 0x1002d23d
or dword [ebp - 4], 0xffffffff
jmp 0x1002d247
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret