Function at 0x1002aaa3
Capabilities:
Get common file path
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x300
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002bd88
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x224], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x224]
add ecx, dword [eax]
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x10], 0xc79e672c
mov dword [ebp - 0xb8], 0x1a7a81a8
mov dword [ebp - 0x1bc], 0x55d58009
mov dword [ebp - 0x1c], 0
jmp 0x1002ab0e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1002ab24
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x90], 0
jmp 0x1002ab07
mov dword [ebp - 0x1c], 0
jmp 0x1002ab34
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1002ab4a
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1a4], 6
jmp 0x1002ab2d
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x10]
mov dword [ebp - 0x21c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x21c]
mov dword [ebp + eax - 0x90], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x260], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x90]
cmp dword [ebp - 0x10], eax
jl 0x1002ab91
mov dword [ebp - 0x104], 1
jmp 0x1002ab98
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x10]
jg 0x1002abb2
mov dword [ebp - 0x1ac], 1
jmp 0x1002abb9
and dword [ebp - 0x1ac], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp + eax - 0x1a4], ecx
mov dword [ebp - 0xb8], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x29c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1a4]
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x10]
jne 0x1002ac0c
mov dword [ebp - 0x138], 1
jmp 0x1002ac13
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x138], eax
jne 0x1002ac2a
mov dword [ebp - 0xc0], 1
jmp 0x1002ac31
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc0], eax
je 0x1002ac5b
cmp dword [ebp - 0x10], 0
jne 0x1002ac5b
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x90], 0
jne 0x1002ac5b
and dword [ebp - 0x178], 0
jmp 0x1002ac65
mov dword [ebp - 0x178], 1
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1002ac85
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
add eax, 8
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x40], 0x33c22515
mov dword [ebp - 0x2a4], 0x5dd7582b
mov dword [ebp - 0x2ac], 1
mov dword [ebp - 8], 0
jmp 0x1002acbb
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x1002acd1
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x2e8], 0x3b910207
jmp 0x1002acb4
mov dword [ebp - 8], 0
jmp 0x1002ace1
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x1002acf4
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x50], 0x29000d4e
jmp 0x1002acda
mov dword [ebp - 8], 0
jmp 0x1002ad04
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x1002ad1a
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x2f4], 0
jmp 0x1002acfd
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x50], 0
jmp 0x1002ad3f
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x50]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x50], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x50], 3
jg 0x1002aed9
mov dword [ebp - 0x2d8], 0xca335c22
mov dword [ebp - 0x2cc], 1
mov dword [ebp - 0xd0], 0xffffffff
mov dword [ebp - 0x20], 0
jmp 0x1002ad7e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1002ad94
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x300], 0x4dbf0cf
jmp 0x1002ad77
mov dword [ebp - 0x20], 0
jmp 0x1002ada4
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1002adba
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x258], 0x9956a218
jmp 0x1002ad9d
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x50]
cmp dword [ebp + eax*4 - 0x2e8], 0x61bab593
jl 0x1002addd
mov dword [ebp - 0xc8], 1
jmp 0x1002ade4
and dword [ebp - 0xc8], 0
mov dword [ebp - 0x40], 0x1b552bf3
mov eax, dword [ebp - 0x40]
push 4
pop ecx
shl ecx, 0
add eax, dword [ebp + ecx - 0x50]
jne 0x1002ae10
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x50], 0
jne 0x1002ae10
and dword [ebp - 0xac], 0
jmp 0x1002ae1a
mov dword [ebp - 0xac], 1
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xac]
mov dword [ebp + eax - 0x2f4], ecx
imul eax, dword [ebp - 0xac], 0x860a
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x50]
sub ecx, eax
mov eax, dword [ebp - 0xc8]
imul eax, ecx
mov dword [ebp - 0x140], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x50]
mov ecx, dword [ebp - 0x140]
mov dword [ebp + eax*4 - 0x2e8], ecx
cmp dword [ebp - 0x140], 0
je 0x1002ae84
mov byte [ebp - 0x39], 0
push 1
lea eax, [ebp - 0x39]
push eax
call fcn.1002a8db
pop ecx
pop ecx
jmp 0x1002aec7
mov dword [ebp - 0x40], 9
jmp 0x1002ae94
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffeb
jl 0x1002aec7
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov eax, dword [ebp + eax - 0x50]
mov dword [ebp + ecx - 0x300], eax
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1002aec5
push 1
call fcn.1002a93f
pop ecx
jmp 0x1002ae8d
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
jmp 0x1002ad2a
and dword [ebp - 0x74], 0
jmp 0x1002aeee
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x54]
inc eax
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0x74], eax
jae 0x1002bb37
mov dword [ebp - 0x88], 0xffff
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x98], 0x434678dc
mov dword [ebp - 0x70], 0xaa43b2b
mov dword [ebp - 0x1c8], 0xb6b0e1b1
mov dword [ebp - 0x2c4], 0xffffffff
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
jmp 0x1002af51
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1002af67
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xa8], 0xfffffff9
jmp 0x1002af4a
mov dword [ebp - 0x24], 0
jmp 0x1002af77
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1002af8d
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x23c], 0xd3860a42
jmp 0x1002af70
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa8]
cmp dword [ebp - 0x28], eax
jl 0x1002afb2
mov dword [ebp - 0x198], 1
jmp 0x1002afb9
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x198], eax
jl 0x1002afd0
mov dword [ebp - 0xd8], 1
jmp 0x1002afd7
and dword [ebp - 0xd8], 0
push 4
pop eax
imul eax, eax, 0
xor ecx, ecx
inc ecx
sub ecx, dword [ebp + eax - 0xa8]
cmp dword [ebp - 0xd8], ecx
jle 0x1002affb
mov dword [ebp - 0x148], 1
jmp 0x1002b002
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 0x51c76d7b
je 0x1002b01a
mov dword [ebp - 0xe0], 1
jmp 0x1002b021
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0xffff
jne 0x1002b039
mov dword [ebp - 0x22c], 1
jmp 0x1002b040
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x250], eax
xor eax, eax
inc eax
cmp eax, 0xa2ca
jb 0x1002b2ae
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x108], 0xffffffff
mov dword [ebp - 0x220], 0xfffffff8
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x23c], 0xf002
jge 0x1002b093
mov dword [ebp - 0x180], 1
jmp 0x1002b09a
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x180]
jle 0x1002b0b7
cmp dword [ebp - 0x28], 0
je 0x1002b0b7
mov dword [ebp - 0x214], 1
jmp 0x1002b0be
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1c8], eax
jne 0x1002b0db
mov eax, 0x6e4944c1
test eax, eax
jne 0x1002b0db
and dword [ebp - 0xe8], 0
jmp 0x1002b0e5
mov dword [ebp - 0xe8], 1
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xe8]
jl 0x1002b0fc
mov dword [ebp - 0x150], 1
jmp 0x1002b103
and dword [ebp - 0x150], 0
cmp dword [ebp - 0x150], 0
jne 0x1002b118
mov dword [ebp - 0xf0], 1
jmp 0x1002b11f
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xf0], eax
jne 0x1002b136
mov dword [ebp - 0x1f8], 1
jmp 0x1002b13d
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2a0], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x23c], 0
jne 0x1002b164
cmp dword [ebp - 0x18], 0
jne 0x1002b164
and dword [ebp - 0x1a8], 0
jmp 0x1002b16e
mov dword [ebp - 0x1a8], 1
cmp dword [ebp - 0x1a8], 0xcdff
jl 0x1002b186
mov dword [ebp - 0xf8], 1
jmp 0x1002b18d
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0x52196db3
jge 0x1002b1a5
mov dword [ebp - 0x158], 1
jmp 0x1002b1ac
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x158], eax
jle 0x1002b1c3
mov dword [ebp - 0x100], 1
jmp 0x1002b1ca
and dword [ebp - 0x100], 0
cmp dword [ebp - 0x100], 0x6c1f
jl 0x1002b1e2
mov dword [ebp - 0x1d0], 1
jmp 0x1002b1e9
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x80], eax
jl 0x1002b206
mov dword [ebp - 0x188], 1
jmp 0x1002b20d
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x108], eax
jle 0x1002b230
mov dword [ebp - 0x160], 1
jmp 0x1002b237
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x160], eax
jl 0x1002b251
mov dword [ebp - 0x110], 1
jmp 0x1002b258
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0xfff7
je 0x1002b270
mov dword [ebp - 0x1a0], 1
jmp 0x1002b277
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x28], 0
jmp 0x1002b293
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x1002b2a9
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x23c], 0xffffffff
jmp 0x1002b28c
jmp 0x1002b3e9
mov dword [ebp - 0x78], 0x6de4
mov dword [ebp - 0x168], 0x90f9cf5
mov byte [ebp - 0x3a], 0
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x1002b2d3
push 1
call fcn.1002a96c
pop ecx
mov dword [ebp - 0x70], 0xfffffff5
jmp 0x1002b2e3
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xfffffffa
jg 0x1002b3e9
mov dword [ebp - 0x64], 0xdf500c33
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x2d0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa8]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x1002b337
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x168], 0
je 0x1002b337
mov dword [ebp - 0x118], 1
jmp 0x1002b33e
and dword [ebp - 0x118], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x23c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
imul eax, dword [ebp - 0x118]
cmp eax, dword [ebp - 0x88]
je 0x1002b384
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1002b382
push 0
push 0x1bff
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x1002b3e4
mov dword [ebp - 0x1d8], 0xb6a4
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x1002b3b8
push 0x224a
push 0xdb9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea eax, [ebp - 0x1d8]
push eax
push 0x1224
lea eax, [ebp - 0x98]
push eax
push 1
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.1002a997
add esp, 0x1c
jmp 0x1002b2dc
lea eax, [ebp - 0x54]
push eax
push 0x3192
push 0x26e1
push 0
lea eax, [ebp - 0x1c4]
push eax
push 0xb6a
call fcn.1002bf34
add esp, 0x18
mov dword [ebp - 4], 0xb871c7bf
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x114], 8
mov dword [ebp - 0x208], 1
mov dword [ebp - 0x204], 1
mov dword [ebp - 0x200], 1
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x218], 0xfcd553b7
mov dword [ebp - 0x5c], 0
jmp 0x1002b467
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x1002b47d
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0xa4], 0x64a6847d
jmp 0x1002b460
mov dword [ebp - 4], 0
jmp 0x1002b48d
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jg 0x1002b61e
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x38], 0xa4ccfd6
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xa4]
mov dword [ebp - 0x2a8], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa4]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 4], 0xfff6
jbe 0x1002b4dd
mov dword [ebp - 0x120], 1
jmp 0x1002b4e4
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xa4]
cmp dword [ebp - 0x120], eax
jne 0x1002b508
mov eax, 0x1637
test eax, eax
jne 0x1002b508
and dword [ebp - 0x210], 0
jmp 0x1002b512
mov dword [ebp - 0x210], 1
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 0x48], 0xfffffffe
jg 0x1002b52d
mov dword [ebp - 0x1e0], 1
jmp 0x1002b534
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xa4]
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x38], 3
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xa4]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 4], 0xfffa
je 0x1002b5af
mov dword [ebp - 0x190], 1
jmp 0x1002b5b6
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x190], eax
jg 0x1002b5d2
xor eax, eax
inc eax
je 0x1002b5d2
mov dword [ebp - 0x128], 1
jmp 0x1002b5d9
and dword [ebp - 0x128], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xa4]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x170]
mov dword [ebp + eax*4 - 0xa4], ecx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x128]
add eax, dword [ebp - 0x170]
imul eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
jmp 0x1002b486
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xa4], 0
je 0x1002b675
mov eax, dword [ebp - 4]
mov dword [ebp - 0x25c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa4]
cmp dword [ebp - 0x2c], eax
jge 0x1002b654
mov dword [ebp - 0x130], 1
jmp 0x1002b65b
and dword [ebp - 0x130], 0
imul eax, dword [ebp - 0x130], 0x16e1
test eax, eax
je 0x1002b675
mov dword [ebp - 0x1b0], 1
jmp 0x1002b67c
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x1b0]
cmp eax, 0xf7fa
jge 0x1002b698
mov dword [ebp - 0xb4], 1
jmp 0x1002b69f
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0x2c]
push 4
pop ecx
shl ecx, 0
sub eax, dword [ebp + ecx - 0xa4]
sub eax, dword [ebp - 0x114]
je 0x1002b6c9
mov dword [ebp - 0xbc], 1
jmp 0x1002b6d0
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xbc], eax
jne 0x1002b6e7
mov dword [ebp - 0xc4], 1
jmp 0x1002b6ee
and dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0x7342
jge 0x1002b706
mov dword [ebp - 0xcc], 1
jmp 0x1002b70d
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0xcc]
cmp eax, 0x7fcf6239
jne 0x1002b75d
mov dword [ebp - 0x230], 0x3ad33dc2
mov dword [ebp - 0x1e8], 0xfffffff8
push 0x1601
lea eax, [ebp - 0x230]
push eax
push 0x42f2
push 0x67d7
push 0
lea eax, [ebp - 0x1e8]
push eax
call fcn.1002d5eb
add esp, 0x18
jmp 0x1002b96d
mov dword [ebp - 0xe4], 0x59a1248f
mov dword [ebp - 0xec], 0x7f4763cd
mov dword [ebp - 0xfc], 0xfffffffd
mov dword [ebp - 0xb0], 0xb48eda29
mov dword [ebp - 0x6c], 0
jmp 0x1002b795
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
jge 0x1002b7ab
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x1b8], 0x7b094c6
jmp 0x1002b78e
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1b8], 0
je 0x1002b95d
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x208]
push 4
pop ecx
imul ecx, ecx, 3
mov ecx, dword [ebp + ecx - 0x208]
dec ecx
push 4
pop edx
imul edx, edx, 3
mov dword [ebp + edx - 0x208], ecx
test eax, eax
je 0x1002b95d
push 4
pop eax
test eax, eax
je 0x1002b88e
push 0xfffffffffffffffc
pop eax
test eax, eax
je 0x1002b816
cmp dword [ebp - 0x218], 0
je 0x1002b816
mov dword [ebp - 0xd4], 1
jmp 0x1002b81d
and dword [ebp - 0xd4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa4]
imul eax, dword [ebp - 0xd4]
test eax, eax
je 0x1002b84a
mov eax, 0x90166331
test eax, eax
je 0x1002b84a
mov dword [ebp - 0xdc], 1
jmp 0x1002b851
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jne 0x1002b882
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1b8], 0
je 0x1002b88e
mov dword [ebp - 0xf4], 1
jmp 0x1002b895
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xfc], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1b8]
cmp eax, dword [ebp - 0xfc]
jg 0x1002b8bf
mov dword [ebp - 0x7c], 1
jmp 0x1002b8c3
and dword [ebp - 0x7c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + eax - 0x1b8], ecx
mov eax, dword [ebp - 0x7c]
sub eax, 9
cmp eax, dword [ebp - 0xb0]
jle 0x1002b8ed
mov dword [ebp - 0x10c], 1
jmp 0x1002b8f4
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0x10c], eax
jle 0x1002b917
cmp dword [ebp - 0x114], 0
je 0x1002b917
mov dword [ebp - 0x11c], 1
jmp 0x1002b91e
and dword [ebp - 0x11c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x208]
cmp dword [ebp - 0x11c], eax
jl 0x1002b93f
mov dword [ebp - 0x124], 1
jmp 0x1002b946
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x124]
je 0x1002b95d
mov dword [ebp - 0x12c], 1
jmp 0x1002b964
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x54]
movzx eax, word [eax]
and eax, 0xfff
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x228], 6
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x58], 0
jmp 0x1002b9a9
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jge 0x1002b9bc
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x14], 0xa9ac
jmp 0x1002b9a2
lea eax, [ebp - 0xc]
push eax
push 0
push 0x45bd
call fcn.1002d517
add esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x1002b9df
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x1002bae6
mov dword [ebp - 0x1c0], 0x7626a9d9
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x14], 0
je 0x1002ba9b
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x14]
mov dword [ebp - 0x26c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
mov dword [ebp - 0x274], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x14]
cmp dword [ebp + eax - 0x14], ecx
jne 0x1002ba42
xor eax, eax
inc eax
jne 0x1002ba42
and dword [ebp - 0x1f0], 0
jmp 0x1002ba4c
mov dword [ebp - 0x1f0], 1
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x14], 0xf9e3d3b0
jbe 0x1002ba65
mov dword [ebp - 0x134], 1
jmp 0x1002ba6c
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x14]
imul eax, dword [ebp - 0x134]
test eax, eax
je 0x1002ba94
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x14], 0
je 0x1002ba94
mov dword [ebp - 0x13c], 1
jmp 0x1002ba9b
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x14]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp + ecx*4 - 0x14]
cmp dword [ebp + eax*4 - 0x14], ecx
jne 0x1002bac4
mov dword [ebp - 0x144], 1
jmp 0x1002bacb
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x1c0], 0
jmp 0x1002b9d8
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1cc], eax
cmp dword [ebp - 0x1cc], 3
je 0x1002baff
jmp 0x1002bb32
mov eax, dword [ebp - 0x1d4]
add eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1ec], eax
push dword [ebp - 0x1e4]
push 0x223a
push 0x2bb9
push 0
lea eax, [ebp - 0x1ec]
push eax
call fcn.1002ead1
add esp, 0x14
jmp 0x1002aedf
mov dword [ebp - 0x8c], 0xffff
mov dword [ebp - 0x284], 0xbe4438b
mov dword [ebp - 0x18c], 0x76c3a0b8
mov dword [ebp - 0x24c], 5
mov dword [ebp - 0x248], 5
mov dword [ebp - 0x244], 5
mov dword [ebp - 0x240], 5
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x84], 0xfffffff7
mov dword [ebp - 0x1f4], 0xbf79
mov dword [ebp - 0x17c], 0x1ac0
mov dword [ebp - 0x60], 0
jmp 0x1002bbb5
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jge 0x1002bbcb
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x2bc], 0xe3e45bbb
jmp 0x1002bbae
push 1
push 0x4772
lea eax, [ebp - 0x8c]
push eax
push 0x915
call fcn.1002aa4f
add esp, 0x10
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x24c], 0x29207965
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x28c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x24c], 0
je 0x1002bc28
cmp dword [ebp - 0x84], 0
je 0x1002bc28
mov dword [ebp - 0x14c], 1
jmp 0x1002bc2f
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x14c], eax
jge 0x1002bc49
mov dword [ebp - 0x154], 1
jmp 0x1002bc50
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x154], eax
je 0x1002bc6a
mov dword [ebp - 0x15c], 1
jmp 0x1002bc71
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
sub eax, dword [ebp - 0x1f4]
mov ecx, 0xb1b0cadf
sub ecx, eax
cmp ecx, 8
jae 0x1002bc9a
xor eax, eax
inc eax
je 0x1002bc9a
mov dword [ebp - 0x164], 1
jmp 0x1002bca1
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x164], eax
je 0x1002bcc1
cmp dword [ebp - 0x17c], 0
jne 0x1002bcc1
and dword [ebp - 0x16c], 0
jmp 0x1002bccb
mov dword [ebp - 0x16c], 1
cmp dword [ebp - 0x16c], 0xfffffffa
jle 0x1002bce0
mov dword [ebp - 0x174], 1
jmp 0x1002bce7
and dword [ebp - 0x174], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2bc]
dec eax
mov dword [ebp - 0x184], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x184]
mov dword [ebp + eax - 0x2bc], ecx
mov eax, dword [ebp - 0x174]
sub eax, dword [ebp - 0x17c]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x184]
sub eax, dword [ebp - 0x18c]
cmp eax, dword [ebp - 0x84]
jne 0x1002bd40
mov dword [ebp - 0x194], 1
jmp 0x1002bd47
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x194]
jle 0x1002bd61
mov dword [ebp - 0x19c], 1
jmp 0x1002bd68
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
add ecx, dword [eax + 4]
mov eax, dword [ebp - 0x44]
mov dword [eax], ecx
jmp 0x1002bdd1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [eax], 0
jmp 0x1002bdb0
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
mov eax, dword [ebp - 0x68]
cmp dword [eax], 2
jg 0x1002bdd1
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1002bdcf
push 0x168c
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
jmp 0x1002bda5
mov esp, ebp
pop ebp
ret