Function at 0x1002b167
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c156
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x308
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002b215
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb8], eax
push 4
push 0x2000
mov eax, dword [ebp - 0xac]
push dword [eax + 0x50]
mov eax, dword [ebp - 0xac]
push dword [eax + 0x34]
push 0xea1d
push 0xdb7d
call fcn.10022f40
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0xb8]
mov dword [ecx], eax
mov eax, dword [ebp - 0xb8]
cmp dword [eax], 0
jne 0x1002b210
push 4
push 0x2000
mov eax, dword [ebp - 0xac]
push dword [eax + 0x50]
push 0
push 0xea1d
push 0xdb7d
call fcn.10022f40
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0xb8]
mov dword [ecx], eax
jmp 0x1002c7d3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x1c], 0xfffffff8
mov dword [ebp - 0xdc], 0x607d19fa
mov dword [ebp - 0x1a8], 0x36c8609
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1002b250
push 0x48f0
push 0
call fcn.1002626e
pop ecx
pop ecx
cmp dword [ebp - 0x1c], 0
je 0x1002b392
push 4
lea ecx, [ebp - 0x294]
call fcn.10015fe6
and dword [ebp - 4], 0
mov dword [ebp - 0x68], 0
jmp 0x1002b27b
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 4
jge 0x1002b297
push dword [ebp - 0x68]
lea ecx, [ebp - 0x294]
call fcn.10016087
mov dword [eax], 0xfffffff7
jmp 0x1002b274
mov dword [ebp - 0x1c], 0
jmp 0x1002b2a7
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x22
jge 0x1002b37e
mov dword [ebp - 0x138], 0x5912
mov dword [ebp - 0x58], 3
mov dword [ebp - 0x204], 0xfffffff6
mov dword [ebp - 0x9c], 0
jmp 0x1002b2e5
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 3
jge 0x1002b301
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x2f8], 0x42bb1e5d
jmp 0x1002b2d8
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x138]
push eax
push 0x30dc
push 0x2f9e
lea eax, [ebp - 0xdc]
push eax
push 0
push 0x5b38
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.10028997
add esp, 0x28
mov dword [ebp - 0x58], 0
jmp 0x1002b34e
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x12
je 0x1002b379
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x1002b365
call fcn.10025d78
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x138]
mov dword [ebp + eax - 0x2f8], ecx
jmp 0x1002b347
jmp 0x1002b2a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x294]
call fcn.1001606b
jmp 0x1002b5ee
mov dword [ebp - 0x27c], 0xb799e604
mov dword [ebp - 0x278], 0xb799e604
mov dword [ebp - 0x274], 0xb799e604
mov dword [ebp - 0x270], 0xb799e604
lea ecx, [ebp - 0xbd]
call fcn.10008ab3
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x30c]
call fcn.10016096
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x23c]
call fcn.10016045
mov dword [ebp - 4], 1
mov dword [ebp - 0x210], 0x3e821d2a
mov dword [ebp - 0x1c], 0xfffffff0
jmp 0x1002b410
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xb
jle 0x1002b5df
mov dword [ebp - 0x70], 0
jmp 0x1002b42a
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
jge 0x1002b440
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x1bc], 0xfffe
jmp 0x1002b423
xor eax, eax
inc eax
je 0x1002b5c7
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1bc], 0
je 0x1002b529
mov esi, dword [ebp - 0x1a8]
push 0
lea ecx, [ebp - 0x23c]
call fcn.10016087
cmp esi, dword [eax]
je 0x1002b480
mov dword [ebp - 0x198], 1
jmp 0x1002b487
and dword [ebp - 0x198], 0
cmp dword [ebp - 0x198], 0x5cd6
jge 0x1002b49f
mov dword [ebp - 0x1a0], 1
jmp 0x1002b4a6
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0x1a0]
cmp eax, 0x9dda
jl 0x1002b4c5
mov dword [ebp - 0xe4], 1
jmp 0x1002b4cc
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xe4], eax
je 0x1002b4e3
mov dword [ebp - 0x208], 1
jmp 0x1002b4ea
and dword [ebp - 0x208], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1bc]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x2d8], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1bc]
sub eax, 0xc6a0
je 0x1002b529
mov dword [ebp - 0x1b0], 1
jmp 0x1002b530
and dword [ebp - 0x1b0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1bc]
cmp dword [ebp - 0x1b0], eax
jne 0x1002b560
push 3
lea ecx, [ebp - 0x23c]
call fcn.10016087
cmp dword [eax], 0
jne 0x1002b560
and dword [ebp - 0xec], 0
jmp 0x1002b56a
mov dword [ebp - 0xec], 1
push 0
lea ecx, [ebp - 0x23c]
call fcn.10016087
mov ecx, dword [ebp - 0xec]
cmp ecx, dword [eax]
je 0x1002b58d
mov dword [ebp - 0xf4], 1
jmp 0x1002b594
and dword [ebp - 0xf4], 0
push 0
lea ecx, [ebp - 0x23c]
call fcn.10016087
mov ecx, dword [ebp - 0xf4]
cmp ecx, dword [eax]
je 0x1002b5bb
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1bc], 0
je 0x1002b5c7
mov dword [ebp - 0xf8], 1
jmp 0x1002b5ce
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x210], eax
jmp 0x1002b409
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.1001606b
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2ec], 0xa5d6c05b
mov dword [ebp - 0x2e8], 0xa5d6c05b
mov dword [ebp - 0x2e4], 0xa5d6c05b
mov dword [ebp - 0x2e0], 0xa5d6c05b
mov dword [ebp - 0x94], 0
jmp 0x1002b644
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 2
jge 0x1002b660
mov eax, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0x1d8], 0x8da8e97e
jmp 0x1002b637
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x1d8], 3
jmp 0x1002b68e
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1d8]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x1d8], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1d8], 0
jl 0x1002b6ba
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1002b6b8
push 0
push 0x37e
call fcn.100262e8
pop ecx
pop ecx
jmp 0x1002b673
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1002b6cc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and dword [ebp - 0xc8], 0
jmp 0x1002b6eb
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x18]
add eax, 0x28
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xc8], eax
jge 0x1002c7d3
mov dword [ebp - 0x78], 0x3ae35568
mov dword [ebp - 0x78], 0
jmp 0x1002b717
mov eax, dword [ebp - 0x78]
dec eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xfffffff2
jl 0x1002b861
push 4
lea ecx, [ebp - 0x24c]
call fcn.10015fe6
mov dword [ebp - 4], 2
push 1
lea ecx, [ebp - 0x1c8]
call fcn.10015fe6
mov byte [ebp - 4], 3
mov dword [ebp - 0x50], 0
jmp 0x1002b756
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 4
jge 0x1002b772
push dword [ebp - 0x50]
lea ecx, [ebp - 0x24c]
call fcn.10016087
mov dword [eax], 1
jmp 0x1002b74f
lea eax, [ebp - 0x1c8]
push eax
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.10025dc4
add esp, 0xc
push 0
lea ecx, [ebp - 0x1c8]
call fcn.10016087
and dword [eax], 0
jmp 0x1002b7bd
push 0
lea ecx, [ebp - 0x1c8]
call fcn.10016087
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x168]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x1c8]
call fcn.10016087
cmp dword [eax], 3
jg 0x1002b80c
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1002b7e9
push 0xa88
push 0
call fcn.100295f4
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x1c8]
call fcn.10016087
push dword [eax]
lea ecx, [ebp - 0x24c]
call fcn.10016087
cmp dword [eax], 0
je 0x1002b80a
jmp 0x1002b799
jmp 0x1002b799
push 2
lea ecx, [ebp - 0x24c]
call fcn.10016087
cmp dword [eax], 0
je 0x1002b83e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c8]
call fcn.1001606b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.1001606b
jmp 0x1002b861
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c8]
call fcn.1001606b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.1001606b
jmp 0x1002b710
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x1002b87a
mov dword [ebp - 0x100], 1
jmp 0x1002b881
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x3c], 0xa2ae
mov dword [ebp - 0x90], 0x7d0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1002ba61
mov dword [ebp - 0x218], 0xffffffff
mov dword [ebp - 0x98], 0
jmp 0x1002b8d8
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 1
jge 0x1002b8f4
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0xb0], 0x4859bb7a
jmp 0x1002b8cb
mov dword [ebp - 0x10], 0
jmp 0x1002b904
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffed
je 0x1002b968
mov dword [ebp - 0xa0], 0x86e52d8c
mov dword [ebp - 0x80], 0
jmp 0x1002b924
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 2
jge 0x1002b93a
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x314], 0xffffffff
jmp 0x1002b91d
mov dword [ebp - 0xa0], 1
jmp 0x1002b953
mov eax, dword [ebp - 0xa0]
dec eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jl 0x1002b966
push 1
call fcn.10025d85
pop ecx
jmp 0x1002b946
jmp 0x1002b8fd
cmp dword [ebp - 0x3c], 0
jne 0x1002b9a6
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x10]
sub eax, 0x5f3f1f8b
sub eax, dword [ebp - 0x90]
cmp eax, 0xffffffff
je 0x1002b9a6
and dword [ebp - 0x1a4], 0
jmp 0x1002b9b0
mov dword [ebp - 0x1a4], 1
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x1a4], eax
jl 0x1002b9ca
mov dword [ebp - 0x108], 1
jmp 0x1002b9d1
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x3c]
neg eax
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0xb0]
jl 0x1002ba03
mov dword [ebp - 0x16c], 1
jmp 0x1002ba0a
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x16c], eax
jge 0x1002ba21
mov dword [ebp - 0x110], 1
jmp 0x1002ba28
and dword [ebp - 0x110], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
cmp dword [ebp - 0x110], eax
jge 0x1002ba49
mov dword [ebp - 0x194], 1
jmp 0x1002ba50
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x218], eax
jmp 0x1002bc1a
mov dword [ebp - 0x60], 9
mov dword [ebp - 0x19c], 0x1b460d54
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x88], 0
jmp 0x1002ba95
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 1
jge 0x1002bab1
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0x250], 0xd38e20b4
jmp 0x1002ba88
mov dword [ebp - 0x10], 0
jmp 0x1002bac1
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xa
jge 0x1002baee
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1002baec
push 0
push 0x6416
push 0x2f6b
push 0x40bc
call fcn.1002cdb2
add esp, 0x10
jmp 0x1002baba
mov eax, 0xfff6
test eax, eax
je 0x1002bb48
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x60], eax
jge 0x1002bb0e
mov dword [ebp - 0x118], 1
jmp 0x1002bb15
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x118], eax
jg 0x1002bb2c
mov dword [ebp - 0x174], 1
jmp 0x1002bb33
and dword [ebp - 0x174], 0
cmp dword [ebp - 0x174], 0
jge 0x1002bb48
mov dword [ebp - 0x120], 1
jmp 0x1002bb4f
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x120], eax
jle 0x1002bb66
mov dword [ebp - 0x1b4], 1
jmp 0x1002bb6d
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x1b4], eax
jg 0x1002bb84
mov dword [ebp - 0x128], 1
jmp 0x1002bb8b
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x128], eax
jg 0x1002bba2
mov dword [ebp - 0x17c], 1
jmp 0x1002bba9
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x17c], eax
jne 0x1002bbc3
mov dword [ebp - 0xb4], 1
jmp 0x1002bbca
and dword [ebp - 0xb4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xb4]
mov dword [ebp + eax - 0x250], ecx
cmp dword [ebp - 0xb4], 0
jne 0x1002bbf8
mov eax, 0x6a6f4dad
test eax, eax
jne 0x1002bbf8
and dword [ebp - 0x130], 0
jmp 0x1002bc02
mov dword [ebp - 0x130], 1
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x1002bc33
mov dword [ebp - 0xd0], 1
jmp 0x1002bc3a
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x1002bc5f
mov dword [ebp - 0x184], 1
jmp 0x1002bc66
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x20], 0x7e2799ac
mov dword [ebp - 0xa8], 0
jmp 0x1002bc92
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 2
jge 0x1002bcae
mov eax, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x29c], 0xd19ac196
jmp 0x1002bc85
mov dword [ebp - 0x20], 0
jmp 0x1002bcbe
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffea
jl 0x1002bd64
mov dword [ebp - 0x40], 0x8b72fd49
mov dword [ebp - 0x40], 0
jmp 0x1002bcdf
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xe
jl 0x1002bd48
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa4], 1
jmp 0x1002bd08
mov eax, dword [ebp - 0xa4]
dec eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jl 0x1002bd3e
mov byte [ebp - 0x2c], 0
push 0
push 0x2d67
lea eax, [ebp - 0x2c]
push eax
call fcn.10028b5b
add esp, 0xc
push 0x1a66
push 1
push 0x34cc
call fcn.10025dc4
add esp, 0xc
jmp 0x1002bcfb
cmp dword [ebp - 0x40], 0
je 0x1002bd46
jmp 0x1002bcd8
jmp 0x1002bcd8
lea eax, [ebp - 0x20]
push eax
push 0x5fa
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.1002c86a
add esp, 0x10
jmp 0x1002bcb7
mov dword [ebp - 0x20], 0xfffffff8
jmp 0x1002bd74
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffef
jge 0x1002bdbc
mov dword [ebp - 0x64], 0
jmp 0x1002bd8a
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 3
jge 0x1002bda0
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x304], 5
jmp 0x1002bd83
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
shl ecx, 0
mov eax, dword [ebp + eax - 0x29c]
mov dword [ebp + ecx - 0x304], eax
jmp 0x1002bd6d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x1002bdf2
push 0x4000
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
push 0xea1d
push 0x1000d
call fcn.10022f40
pop ecx
pop ecx
call eax
jmp 0x1002b6d5
push 1
lea ecx, [ebp - 0x1f0]
call fcn.10015fe6
mov dword [ebp - 4], 4
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x48], 0
jmp 0x1002be3e
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x1002be54
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x2cc], 0x82062403
jmp 0x1002be37
push 0x4dce
push 1
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x6dfc
call fcn.10025e4c
add esp, 0x14
push 0
lea ecx, [ebp - 0x1f0]
call fcn.10016087
mov dword [eax], 3
jmp 0x1002beac
push 0
lea ecx, [ebp - 0x1f0]
call fcn.10016087
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x140]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x1f0]
call fcn.10016087
cmp dword [eax], 0
jl 0x1002bf5f
mov dword [ebp - 0x224], 0xfffffff6
push 1
lea ecx, [ebp - 0x268]
call fcn.10015fe6
mov byte [ebp - 4], 5
mov dword [ebp - 0x6c], 0
jmp 0x1002beed
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
jge 0x1002bf09
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x268]
call fcn.10016087
mov dword [eax], 0x59008cf5
jmp 0x1002bee6
push 0
lea ecx, [ebp - 0x1f0]
call fcn.10016087
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x2cc], 0
je 0x1002bf33
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x268]
call fcn.1001606b
jmp 0x1002bf5f
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x268]
push eax
push 0
call fcn.100296a5
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x268]
call fcn.1001606b
jmp 0x1002be88
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0x200], 0xffffffed
jmp 0x1002bf8d
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x200]
inc eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x200], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x200], 0xfffffffb
jl 0x1002c0b6
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x34], eax
je 0x1002bfbc
mov dword [ebp - 0x18c], 1
jmp 0x1002bfc3
and dword [ebp - 0x18c], 0
cmp dword [ebp - 0x34], 1
jg 0x1002bfd5
mov dword [ebp - 0x1ac], 1
jmp 0x1002bfdc
and dword [ebp - 0x1ac], 0
cmp dword [ebp - 0x1ac], 0xab6c
jle 0x1002bff4
mov dword [ebp - 0x148], 1
jmp 0x1002bffb
and dword [ebp - 0x148], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x200]
cmp dword [ebp - 0x148], eax
je 0x1002c01c
mov dword [ebp - 0x150], 1
jmp 0x1002c023
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x18c]
cmp eax, dword [ebp - 0x150]
jl 0x1002c03d
mov dword [ebp - 0x22c], 1
jmp 0x1002c044
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2d4], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2cc]
cmp dword [ebp - 0x34], eax
jg 0x1002c06b
mov dword [ebp - 0x158], 1
jmp 0x1002c072
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
sub eax, 0xe69
imul eax, eax, 0
cmp eax, dword [ebp - 0x34]
jne 0x1002c091
mov dword [ebp - 0xf0], 1
jmp 0x1002c098
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0xf0]
add eax, 7
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x2cc], eax
jmp 0x1002bf72
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.1001606b
push dword [ebp - 0x18]
push dword [ebp - 0x254]
push dword [ebp - 0x20c]
push 0
push 0x4abd
push dword [ebp - 0x258]
lea eax, [ebp - 0x228]
push eax
call fcn.1002815b
add esp, 0x1c
push dword [ebp - 0x74]
push 1
push 0xc31
push dword [ebp - 0x18]
push 2
lea eax, [ebp - 0xe0]
push eax
call fcn.100259ee
add esp, 0x18
mov dword [ebp - 0x4c], 0xfffffffa
mov dword [ebp - 0x4c], 0xfffffffe
jmp 0x1002c125
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffe4
jle 0x1002c1a5
mov dword [ebp - 0x84], 0xfffffffd
mov dword [ebp - 0x7c], 0
jmp 0x1002c145
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 1
jge 0x1002c15b
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x2b8], 0xdf251d69
jmp 0x1002c13e
mov dword [ebp - 0x84], 0
jmp 0x1002c174
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jg 0x1002c1a0
mov byte [ebp - 0x2e], 0
lea eax, [ebp - 0x2e]
push eax
push 0x3a48
push 0x370c
push 0x7c68
push 0
call fcn.1002666e
add esp, 0x14
jmp 0x1002c167
jmp 0x1002c11e
mov dword [ebp - 0x4c], 0xaa810d21
cmp dword [ebp - 0xe0], 0
jbe 0x1002c7ce
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc4], 0x5ef1355
mov dword [ebp - 0xbc], 0xd61c0642
mov dword [ebp - 0x240], 0x64d7eeac
mov byte [ebp - 0x2b], 0
push 0
push 0x6b11
push 0x4755
lea eax, [ebp - 0x2b]
push eax
call fcn.100285fa
add esp, 0x10
mov dword [ebp - 0x14], 0x13
jmp 0x1002c20a
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 8
jne 0x1002c7a2
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x5c], 1
push 3
lea ecx, [ebp - 0x1e4]
call fcn.10015fe6
mov dword [ebp - 4], 6
mov dword [ebp - 0x24], 0
jmp 0x1002c246
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1002c25c
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x1d0], 0
jmp 0x1002c23f
mov dword [ebp - 0x24], 0
jmp 0x1002c26c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1002c288
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1e4]
call fcn.10016087
mov dword [eax], 4
jmp 0x1002c265
mov dword [ebp - 0x28], 0
jmp 0x1002c298
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xc
je 0x1002c78e
push 1
lea ecx, [ebp - 0x164]
call fcn.10015fe6
mov byte [ebp - 4], 7
mov dword [ebp - 0x8c], 0xec3203b
mov dword [ebp - 0xcc], 0x855f075f
push 1
lea ecx, [ebp - 0x288]
call fcn.10015fe6
mov byte [ebp - 4], 8
mov dword [ebp - 0x54], 0
jmp 0x1002c2e8
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x1002c304
push dword [ebp - 0x54]
lea ecx, [ebp - 0x164]
call fcn.10016087
mov dword [eax], 0xfffffff9
jmp 0x1002c2e1
lea eax, [ebp - 0x288]
push eax
push 0x242
push 0
push 0x3efa
lea eax, [ebp - 0x54]
push eax
call fcn.1002c7e2
add esp, 0x14
mov esi, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x164]
call fcn.10016087
cmp esi, dword [eax]
je 0x1002c343
mov dword [ebp - 0x214], 1
jmp 0x1002c34a
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x2bc], eax
xor eax, eax
cmp eax, 0x853
ja 0x1002c374
mov dword [ebp - 0xe8], 1
jmp 0x1002c37b
and dword [ebp - 0xe8], 0
push 0
lea ecx, [ebp - 0x164]
call fcn.10016087
mov eax, dword [eax]
cmp eax, dword [ebp - 0xe8]
jl 0x1002c39e
mov dword [ebp - 0xfc], 1
jmp 0x1002c3a5
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x14], eax
je 0x1002c3ba
cmp dword [ebp - 0x14], 0
push 0
lea ecx, [ebp - 0x164]
call fcn.10016087
cmp dword [eax], 0
je 0x1002c4c6
mov dword [ebp - 0x12c], 0x4137
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1d0]
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x12c], 0
jne 0x1002c402
mov dword [ebp - 0x104], 1
jmp 0x1002c409
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0x5051
jg 0x1002c421
mov dword [ebp - 0x230], 1
jmp 0x1002c428
and dword [ebp - 0x230], 0
cmp dword [ebp - 0x28], 0
jne 0x1002c43c
xor eax, eax
inc eax
jne 0x1002c43c
and dword [ebp - 0x10c], 0
jmp 0x1002c446
mov dword [ebp - 0x10c], 1
cmp dword [ebp - 0x10c], 0x8fc5674f
je 0x1002c45e
mov dword [ebp - 0x114], 1
jmp 0x1002c465
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
sub eax, 0x2d50
je 0x1002c487
mov eax, 0x7494
test eax, eax
je 0x1002c487
mov dword [ebp - 0x11c], 1
jmp 0x1002c48e
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x11c], eax
jne 0x1002c4a5
mov dword [ebp - 0x124], 1
jmp 0x1002c4ac
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xc4], eax
jmp 0x1002c76b
mov dword [ebp - 0x170], 0x10079d62
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
sub eax, 4
imul eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x14]
jne 0x1002c504
mov dword [ebp - 0x134], 1
jmp 0x1002c50b
and dword [ebp - 0x134], 0
cmp dword [ebp - 0x134], 0xff74
jge 0x1002c523
mov dword [ebp - 0x21c], 1
jmp 0x1002c52a
and dword [ebp - 0x21c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1d0]
mov dword [ebp - 0x2a4], eax
mov esi, dword [ebp - 0x14]
add esi, dword [ebp - 0x8c]
imul esi, dword [ebp - 0xbc]
dec esi
push 0
lea ecx, [ebp - 0x164]
call fcn.10016087
cmp esi, dword [eax]
jge 0x1002c56b
mov dword [ebp - 0x13c], 1
jmp 0x1002c572
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x13c], eax
jne 0x1002c589
mov dword [ebp - 0x144], 1
jmp 0x1002c590
and dword [ebp - 0x144], 0
push 0
lea ecx, [ebp - 0x164]
call fcn.10016087
mov ecx, dword [ebp - 0x144]
cmp ecx, dword [eax]
jne 0x1002c5c3
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1d0], 0
je 0x1002c5c3
mov dword [ebp - 0x14c], 1
jmp 0x1002c5ca
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x14c]
dec eax
mov dword [ebp - 0x154], eax
push 1
lea ecx, [ebp - 0x1e4]
call fcn.10016087
mov ecx, dword [ebp - 0x154]
mov dword [eax], ecx
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0x154], eax
je 0x1002c60a
mov dword [ebp - 0x178], 1
jmp 0x1002c611
and dword [ebp - 0x178], 0
mov dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0x178]
jg 0x1002c635
mov dword [ebp - 0x180], 1
jmp 0x1002c63c
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 0
je 0x1002c651
mov dword [ebp - 0x188], 1
jmp 0x1002c658
and dword [ebp - 0x188], 0
cmp dword [ebp - 0x188], 0x5119b5f8
jg 0x1002c682
push 1
lea ecx, [ebp - 0x1e4]
call fcn.10016087
cmp dword [eax], 0
je 0x1002c682
mov dword [ebp - 0x190], 1
jmp 0x1002c689
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x190], eax
jg 0x1002c6a3
mov dword [ebp - 0xd4], 1
jmp 0x1002c6aa
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x1002c749
mov dword [ebp - 0x25c], 0xb5d
cmp dword [ebp - 0x28], 0
jae 0x1002c6e6
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1d0], 0
jne 0x1002c6e6
and dword [ebp - 0xd8], 0
jmp 0x1002c6f0
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x288]
push eax
push 0x6205
push 1
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10025ef6
add esp, 0x2c
jmp 0x1002c76b
push 0x684f
push 0
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x1e4]
push eax
push 0x56a3
call fcn.1002ce04
add esp, 0x14
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x288]
call fcn.1001606b
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x164]
call fcn.1001606b
jmp 0x1002c291
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e4]
call fcn.1001606b
jmp 0x1002c203
lea eax, [ebp - 0x2ac]
push eax
push dword [ebp - 0x228]
push dword [ebp - 0xe0]
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
push 0xea1d
push 0x10ead
call fcn.10022f40
pop ecx
pop ecx
call eax
jmp 0x1002b6d5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret