Function at 0x1004b112
Capabilities:
Contain obfuscated stackstrings
Get keyboard layout
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008248d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa5c
and dword [ebp - 0x14], 0
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004fbeb
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 0x78c], 0xffffffff
mov dword [ebp - 0x788], 0xffffffff
mov dword [ebp - 0x784], 0xffffffff
mov dword [ebp - 0x780], 0xffffffff
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x5f4], 0xfc6088b9
mov dword [ebp - 0x548], 0x77eb
mov dword [ebp - 0x5b4], 0
mov dword [ebp - 0x618], 0xb597857
mov dword [ebp - 0x5c4], 0x41791e6e
mov dword [ebp - 0x2e8], 0xfffffff8
mov dword [ebp - 0x6ac], 0x5f4b3f4b
mov dword [ebp - 0x6bc], 0xcd17cd95
mov byte [ebp - 0xb2], 0
movzx eax, byte [ebp - 0xb2]
test eax, eax
je 0x1004b207
push 0x8d1
push 0x247e
push 0x1698
push 0x5e3b
push 0x4eeb
push 0
call fcn.1004a78e
add esp, 0x18
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x78c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
sub eax, 5
jne 0x1004b2a0
mov eax, dword [ebp - 0x5f4]
sub eax, 4
mov dword [ebp - 0x548], eax
mov eax, dword [ebp - 0x548]
mov dword [ebp - 0x8fc], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x78c]
mov dword [ebp - 0x898], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x78c], 0xfffffff8
ja 0x1004b26f
mov dword [ebp - 0x5ac], 1
jmp 0x1004b276
and dword [ebp - 0x5ac], 0
mov eax, dword [ebp - 0x5ac]
mov dword [ebp - 0x5b4], eax
mov eax, dword [ebp - 0x5b4]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x1004b2a0
and dword [ebp - 0x654], 0
jmp 0x1004b2aa
mov dword [ebp - 0x654], 1
mov dword [ebp - 0x5bc], 0xa1fa
mov eax, dword [ebp - 0x5bc]
push 4
pop ecx
imul ecx, ecx, 3
imul eax, dword [ebp + ecx - 0x78c]
sub eax, dword [ebp - 0x618]
mov dword [ebp - 0x5c4], eax
jne 0x1004b2e8
cmp dword [ebp - 0x618], 0
jne 0x1004b2e8
and dword [ebp - 0x340], 0
jmp 0x1004b2f2
mov dword [ebp - 0x340], 1
mov eax, dword [ebp - 0x5f4]
cmp dword [ebp - 0x340], eax
je 0x1004b30c
mov dword [ebp - 0x544], 1
jmp 0x1004b313
and dword [ebp - 0x544], 0
mov eax, dword [ebp - 0x544]
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x6ac], eax
mov eax, 0x9ba5
cmp eax, 0x2f67
jne 0x1004b343
mov dword [ebp - 0x54c], 1
jmp 0x1004b34a
and dword [ebp - 0x54c], 0
cmp dword [ebp - 0x54c], 7
jne 0x1004b35f
mov dword [ebp - 0x6b4], 1
jmp 0x1004b366
and dword [ebp - 0x6b4], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x6bc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x2f0]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1004b390
jmp 0x1004fc53
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0x54], 6
mov dword [ebp - 0x6d4], 0xfffffffb
mov dword [ebp - 0x54], 0xfffffff6
jmp 0x1004b3c3
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xa
jge 0x1004b6eb
mov dword [ebp - 0x120], 0xf782a183
mov dword [ebp - 0x29c], 0xfffffff8
mov dword [ebp - 0x1c8], 0
jmp 0x1004b3fa
mov eax, dword [ebp - 0x1c8]
inc eax
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 2
jge 0x1004b416
mov eax, dword [ebp - 0x1c8]
mov dword [ebp + eax*4 - 0x8c4], 0xd69f4288
jmp 0x1004b3ed
mov dword [ebp - 0x120], 0
jmp 0x1004b42f
mov eax, dword [ebp - 0x120]
inc eax
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 1
jg 0x1004b6c7
mov dword [ebp - 0x124], 0xdfe4b283
mov dword [ebp - 0xb8], 0x5ee56e31
mov dword [ebp - 0x1d0], 0
jmp 0x1004b469
mov eax, dword [ebp - 0x1d0]
inc eax
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 1
jge 0x1004b485
mov eax, dword [ebp - 0x1d0]
mov dword [ebp + eax*4 - 0x6c4], 0x98d72a67
jmp 0x1004b45c
mov dword [ebp - 0x124], 0
jmp 0x1004b49e
mov eax, dword [ebp - 0x124]
inc eax
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 1
jg 0x1004b6c2
mov dword [ebp - 0x650], 0xb61d2250
mov dword [ebp - 0x64c], 0xb61d2250
mov dword [ebp - 0x648], 0xb61d2250
mov dword [ebp - 0x644], 0xb61d2250
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0x650], 1
jmp 0x1004b501
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x650]
dec eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x650], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x650], 0
jl 0x1004b677
mov dword [ebp - 0x308], 0xffffffff
mov dword [ebp - 0x6cc], 0x7f1bd53d
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x8c4]
push 4
pop ecx
imul ecx, ecx, 3
cmp eax, dword [ebp + ecx - 0x650]
jg 0x1004b564
mov dword [ebp - 0x554], 1
jmp 0x1004b56b
and dword [ebp - 0x554], 0
mov eax, dword [ebp - 0x124]
cmp dword [ebp - 0x554], eax
je 0x1004b585
mov dword [ebp - 0x2f8], 1
jmp 0x1004b58c
and dword [ebp - 0x2f8], 0
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x6c4], 0x34caa8e5
cmp dword [ebp - 0x2f8], 0x34caa8e5
jl 0x1004b5b5
mov dword [ebp - 0x55c], 1
jmp 0x1004b5bc
and dword [ebp - 0x55c], 0
cmp dword [ebp - 0x55c], 0x8f1e
jne 0x1004b5d4
mov dword [ebp - 0x300], 1
jmp 0x1004b5db
and dword [ebp - 0x300], 0
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x29c]
cmp dword [ebp - 0x120], eax
jne 0x1004b601
mov dword [ebp - 0x564], 1
jmp 0x1004b608
and dword [ebp - 0x564], 0
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x564]
cmp eax, dword [ebp - 0x308]
jle 0x1004b625
mov dword [ebp - 0x56c], 1
jmp 0x1004b62c
and dword [ebp - 0x56c], 0
cmp dword [ebp - 0x56c], 0
jae 0x1004b641
mov dword [ebp - 0x310], 1
jmp 0x1004b648
and dword [ebp - 0x310], 0
imul eax, dword [ebp - 0x310], 0
test eax, eax
jb 0x1004b65f
mov dword [ebp - 0x574], 1
jmp 0x1004b666
and dword [ebp - 0x574], 0
mov eax, dword [ebp - 0x574]
mov dword [ebp - 0x6cc], eax
jmp 0x1004b4e6
mov dword [ebp - 0xb8], 1
jmp 0x1004b690
mov eax, dword [ebp - 0xb8]
dec eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jl 0x1004b6bd
mov byte [ebp - 0x84], 0
lea eax, [ebp - 0x84]
push eax
push 1
push 0x7743
push 0x1d0a
call fcn.1004a0a0
add esp, 0x10
jmp 0x1004b683
jmp 0x1004b491
jmp 0x1004b422
push 0x104d
push 0x6b9f
lea eax, [ebp - 0x54]
push eax
push 0
lea eax, [ebp - 0x29c]
push eax
call fcn.1004a61e
add esp, 0x14
jmp 0x1004b3bc
mov dword [ebp - 0x6d4], 0xfffffd79
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x54], eax
je 0x1004b709
mov dword [ebp - 0x318], 1
jmp 0x1004b710
and dword [ebp - 0x318], 0
mov eax, dword [ebp - 0x54]
imul eax, dword [ebp - 0x318]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xcc]
cmp dword [eax], 0x4550
je 0x1004b730
jmp 0x1004fc53
mov dword [ebp - 0x328], 0x57b1a094
mov dword [ebp - 0x64], 0
jmp 0x1004b74a
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 3
jge 0x1004b760
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x610], 0x2e91a049
jmp 0x1004b743
mov dword [ebp - 0x64], 0
jmp 0x1004b770
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x1004b786
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x7c8], 5
jmp 0x1004b769
mov byte [ebp - 0xb1], 0
movzx eax, byte [ebp - 0xb1]
test eax, eax
je 0x1004b7b5
push 0x23db
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_PolyPolyline]
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x610], 0xffffffe9
jmp 0x1004b7e0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x610]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x610], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x610], 0xffffffe6
jl 0x1004bad8
mov dword [ebp - 0x98], 0xfffa
mov dword [ebp - 0x640], 0x653d4237
mov dword [ebp - 0x63c], 0x653d4237
mov dword [ebp - 0x638], 0x653d4237
mov dword [ebp - 0x634], 0x653d4237
mov byte [ebp - 0x86], 0
movzx eax, byte [ebp - 0x86]
test eax, eax
je 0x1004b84b
push 0x3641
push 0x7520
push 0
call fcn.1004ae8b
add esp, 0xc
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x914], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x640]
mov dword [ebp - 0x8a0], eax
push 4
pop eax
imul eax, eax, 3
xor ecx, ecx
inc ecx
sub ecx, dword [ebp + eax - 0x640]
push 4
pop eax
imul eax, eax, 0
cmp ecx, dword [ebp + eax - 0x640]
jg 0x1004b895
mov dword [ebp - 0x57c], 1
jmp 0x1004b89c
and dword [ebp - 0x57c], 0
cmp dword [ebp - 0x57c], 0xdaa2
jge 0x1004b8b4
mov dword [ebp - 0x320], 1
jmp 0x1004b8bb
and dword [ebp - 0x320], 0
cmp dword [ebp - 0x320], 4
jne 0x1004b8d0
mov dword [ebp - 0x584], 1
jmp 0x1004b8d7
and dword [ebp - 0x584], 0
mov eax, dword [ebp - 0x584]
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0x62d50c85
jne 0x1004b8fb
mov dword [ebp - 0x58c], 1
jmp 0x1004b902
and dword [ebp - 0x58c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x610]
cmp dword [ebp - 0x58c], eax
jne 0x1004b922
mov dword [ebp - 0x330], 1
jmp 0x1004b929
and dword [ebp - 0x330], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x610]
cmp dword [ebp - 0x330], eax
jl 0x1004b949
mov dword [ebp - 0x594], 1
jmp 0x1004b950
and dword [ebp - 0x594], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x594]
mov dword [ebp + eax - 0x7c8], ecx
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x610], 0x1943
je 0x1004b981
mov dword [ebp - 0x338], 1
jmp 0x1004b988
and dword [ebp - 0x338], 0
cmp dword [ebp - 0x338], 1
jge 0x1004b99d
mov dword [ebp - 0x59c], 1
jmp 0x1004b9a4
and dword [ebp - 0x59c], 0
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x59c], eax
jne 0x1004b9be
mov dword [ebp - 0x5a4], 1
jmp 0x1004b9c5
and dword [ebp - 0x5a4], 0
cmp dword [ebp - 0x5a4], 1
jl 0x1004b9da
mov dword [ebp - 0x560], 1
jmp 0x1004b9e1
and dword [ebp - 0x560], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x610]
cmp dword [ebp - 0x560], eax
jl 0x1004ba02
mov dword [ebp - 0x348], 1
jmp 0x1004ba09
and dword [ebp - 0x348], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x640]
cmp eax, dword [ebp - 0x348]
jg 0x1004ba2a
mov dword [ebp - 0x4b0], 1
jmp 0x1004ba31
and dword [ebp - 0x4b0], 0
cmp dword [ebp - 0x4b0], 0
je 0x1004ba83
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x7c8], 0
je 0x1004ba83
mov byte [ebp - 0xb3], 0
movzx eax, byte [ebp - 0xb3]
test eax, eax
je 0x1004ba6a
push 1
push 0x3138
call fcn.1004a0f8
pop ecx
pop ecx
mov byte [ebp - 0x88], 0
push 1
lea eax, [ebp - 0x88]
push eax
call fcn.1004a149
pop ecx
pop ecx
jmp 0x1004bad3
mov dword [ebp - 0x98], 0
jmp 0x1004ba9c
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 3
jg 0x1004bad3
mov eax, dword [ebp - 0x98]
cmp dword [ebp + eax*4 - 0x640], 0
je 0x1004bab7
jmp 0x1004bad3
mov byte [ebp - 0x8c], 0
movzx eax, byte [ebp - 0x8c]
test eax, eax
je 0x1004bad1
push 1
call fcn.1004a195
pop ecx
jmp 0x1004ba8f
jmp 0x1004b7c7
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xcc]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c0], 0x4ccb63e8
mov dword [ebp - 0x600], 0x944dcd6a
mov dword [ebp - 0x1d8], 0x606e82a7
mov dword [ebp - 0x4b8], 0x955d4826
mov dword [ebp - 0x360], 0x8a13c444
mov dword [ebp - 0x5c0], 1
mov dword [ebp - 0x6dc], 0x361cd5cc
mov dword [ebp - 0x568], 0x93b3bbbb
mov dword [ebp - 0x724], 1
mov dword [ebp - 0x30], 0
jmp 0x1004bb55
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1004bb6b
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x134], 0x5dae5a6
jmp 0x1004bb4e
mov dword [ebp - 0x30], 0
jmp 0x1004bb7b
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1004bb91
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x7ec], 1
jmp 0x1004bb74
mov dword [ebp - 0x30], 0
jmp 0x1004bba1
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1004bbb7
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x874], 0x1456b864
jmp 0x1004bb9a
mov eax, 0xf934f545
test eax, eax
je 0x1004bd54
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x134], 1
jne 0x1004bbed
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x134], 0
jne 0x1004bbed
and dword [ebp - 0x350], 0
jmp 0x1004bbf7
mov dword [ebp - 0x350], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x350]
mov dword [ebp + eax - 0x7ec], ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x134]
mov dword [ebp - 0x8f0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7ec]
mov dword [ebp - 0x8a8], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7ec]
dec eax
push 4
pop ecx
shl ecx, 0
sub eax, dword [ebp + ecx - 0x134]
mov dword [ebp - 0x600], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x134]
cmp dword [ebp - 0x600], eax
jge 0x1004bc72
mov dword [ebp - 0x2a8], 1
jmp 0x1004bc79
and dword [ebp - 0x2a8], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x2a8]
mov dword [ebp + eax - 0x874], ecx
mov eax, dword [ebp - 0x1d8]
add eax, dword [ebp - 0x2a8]
imul eax, dword [ebp - 0x1d8]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x134]
add ecx, eax
cmp ecx, 7
je 0x1004bcbf
mov dword [ebp - 0x358], 1
jmp 0x1004bcc6
and dword [ebp - 0x358], 0
mov eax, dword [ebp - 0x358]
sub eax, 0x4ba389e5
mov dword [ebp - 0x4b8], eax
mov eax, dword [ebp - 0x4b8]
mov dword [ebp - 0x94c], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x360], eax
cmp dword [ebp - 0x360], 0
jne 0x1004bcff
cmp dword [ebp - 0x1d8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x874]
mov dword [ebp - 0x8b0], eax
mov eax, dword [ebp - 0x5c0]
mov dword [ebp - 0x8f8], eax
mov eax, dword [ebp - 0x568]
cmp dword [ebp - 0x6dc], eax
jg 0x1004bd38
mov dword [ebp - 0x71c], 1
jmp 0x1004bd3f
and dword [ebp - 0x71c], 0
cmp dword [ebp - 0x568], 0
je 0x1004bd54
mov dword [ebp - 0x368], 1
jmp 0x1004bd5b
and dword [ebp - 0x368], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x134]
cmp dword [ebp - 0x368], eax
je 0x1004bd7c
mov dword [ebp - 0x370], 1
jmp 0x1004bd83
and dword [ebp - 0x370], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x134]
push 4
pop ecx
shl ecx, 0
add eax, dword [ebp + ecx - 0x134]
mov dword [ebp - 0x4c0], eax
mov eax, dword [ebp - 0x4c0]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x134]
add ecx, dword [ebp - 0x370]
sub eax, ecx
cmp eax, dword [ebp - 0x5c0]
jg 0x1004bdd2
mov dword [ebp - 0x378], 1
jmp 0x1004bdd9
and dword [ebp - 0x378], 0
mov eax, dword [ebp - 0x378]
add eax, 0xc3cc
mov dword [ebp - 0x724], eax
mov eax, dword [ebp - 0x50]
cmp dword [eax + 4], 0
jne 0x1004bdf8
jmp 0x1004fc53
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0
jne 0x1004beae
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x8b8], eax
mov eax, 0xfd5d7051
cmp eax, 0xfffffffe
je 0x1004be28
mov dword [ebp - 0x4c8], 1
jmp 0x1004be2f
and dword [ebp - 0x4c8], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x4c8], eax
je 0x1004be46
mov dword [ebp - 0x72c], 1
jmp 0x1004be4d
and dword [ebp - 0x72c], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x91c], eax
mov eax, dword [ebp - 0x20]
add eax, 7
cmp eax, dword [ebp - 0x20]
jge 0x1004be6d
mov dword [ebp - 0x770], 1
jmp 0x1004be74
and dword [ebp - 0x770], 0
mov eax, dword [ebp - 0x20]
sub eax, 8
imul eax, eax, 0xfffd
cmp eax, dword [ebp - 0x20]
je 0x1004be91
mov dword [ebp - 0x380], 1
jmp 0x1004be98
and dword [ebp - 0x380], 0
mov eax, dword [ebp - 0x380]
sub eax, 0x39e22401
jne 0x1004beae
and dword [ebp - 0x570], 0
jmp 0x1004beb8
mov dword [ebp - 0x570], 1
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x570], eax
je 0x1004becf
mov dword [ebp - 0x388], 1
jmp 0x1004bed6
and dword [ebp - 0x388], 0
cmp dword [ebp - 0x388], 0x9b78
jne 0x1004beee
mov dword [ebp - 0x4d0], 1
jmp 0x1004bef5
and dword [ebp - 0x4d0], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x4d0], eax
je 0x1004bf0c
mov dword [ebp - 0x390], 1
jmp 0x1004bf13
and dword [ebp - 0x390], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x390]
je 0x1004bf7b
mov dword [ebp - 0x1e4], 0
jmp 0x1004bf37
mov eax, dword [ebp - 0x1e4]
inc eax
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 1
jge 0x1004bf53
mov eax, dword [ebp - 0x1e4]
mov dword [ebp + eax*4 - 0x778], 0
jmp 0x1004bf2a
mov dword [ebp - 0x20], 0
jmp 0x1004bf63
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x1004bf79
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x778], 0xfffffffe
jmp 0x1004bf5c
jmp 0x1004bfab
mov dword [ebp - 0x77c], 0xd976d993
mov dword [ebp - 0x740], 0xfffffff8
lea eax, [ebp - 0x77c]
push eax
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x740]
push eax
call fcn.1004a1c9
add esp, 0x10
mov byte [ebp - 0x8a], 0
movzx eax, byte [ebp - 0x8a]
test eax, eax
je 0x1004bfc7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
and dword [ebp - 0x38], 0
mov dword [ebp - 0x6a4], 0x75c9
mov dword [ebp - 0x944], 0
mov dword [ebp - 0x1e0], 0xa8b108f8
mov dword [ebp - 0x3a8], 0xffffffff
mov dword [ebp - 0x4e0], 0x801fc3ee
mov dword [ebp - 0x700], 0xbef7d651
mov dword [ebp - 0x604], 0
mov dword [ebp - 0x4d8], 0
lea eax, [ebp - 0x700]
push eax
push 0
call fcn.1004a5b6
pop ecx
pop ecx
mov dword [ebp - 0x1e0], 0xe
jmp 0x1004c044
mov eax, dword [ebp - 0x1e0]
dec eax
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x1e0], 0xb
jg 0x1004c1fd
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x750], 6
mov dword [ebp - 0x6c], 0
jmp 0x1004c075
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x1004c08b
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x73c], 0
jmp 0x1004c06e
mov dword [ebp - 0x6c], 0
jmp 0x1004c09b
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x1004c0b1
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x7f8], 0
jmp 0x1004c094
cmp dword [ebp - 0x604], 0
jne 0x1004c1ec
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x73c]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b4]
push 4
pop ecx
shl ecx, 1
imul eax, dword [ebp + ecx - 0x73c]
test eax, eax
jne 0x1004c1ec
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x8d8], eax
cmp dword [ebp - 0x604], 0
push 4
pop eax
shl eax, 1
imul eax, dword [ebp + eax - 0x73c], 0xffff
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x7f8]
jle 0x1004c129
mov dword [ebp - 0x398], 1
jmp 0x1004c130
and dword [ebp - 0x398], 0
mov eax, dword [ebp - 0x4e0]
add eax, dword [ebp - 0x398]
sub eax, dword [ebp - 0x4d8]
add eax, dword [ebp - 0x1b4]
cmp eax, dword [ebp - 0x4d8]
je 0x1004c15c
mov dword [ebp - 0x3a0], 1
jmp 0x1004c163
and dword [ebp - 0x3a0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x73c]
imul eax, dword [ebp - 0x3a0]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x73c]
jl 0x1004c192
mov dword [ebp - 0x578], 1
jmp 0x1004c199
and dword [ebp - 0x578], 0
imul eax, dword [ebp - 0x578], 0xffffffff
imul eax, dword [ebp - 0x6a4]
mov dword [ebp - 0x3a8], eax
cmp dword [ebp - 0x3a8], 0x3a4c924b
jg 0x1004c1c5
mov dword [ebp - 0x660], 1
jmp 0x1004c1cc
and dword [ebp - 0x660], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x7f8]
mov dword [ebp - 0x90c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x7f8], 0
mov eax, dword [ebp - 0x750]
mov dword [ebp - 0x4e0], eax
jmp 0x1004c037
mov eax, dword [ebp - 0xcc]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0xcc]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x180], 0xfd3df75d
mov dword [ebp - 0x10c], 0xffffffff
mov dword [ebp - 0x840], 0x402e31d8
mov dword [ebp - 0x844], 0xffffffff
mov dword [ebp - 0x144], 0
jmp 0x1004c258
mov eax, dword [ebp - 0x144]
inc eax
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 1
jge 0x1004c274
mov eax, dword [ebp - 0x144]
mov dword [ebp + eax*4 - 0x84c], 4
jmp 0x1004c24b
mov dword [ebp - 0x180], 0
jmp 0x1004c28d
mov eax, dword [ebp - 0x180]
inc eax
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 4
jge 0x1004c349
mov dword [ebp - 0x854], 0xffffffff
mov dword [ebp - 0x85c], 0xffffffff
mov dword [ebp - 0x864], 0xed1ad67
mov dword [ebp - 0x8c8], 0xc590f023
mov dword [ebp - 0x8d4], 0x8f4727c
mov dword [ebp - 0x818], 1
mov dword [ebp - 0x814], 1
mov dword [ebp - 0x810], 1
mov dword [ebp - 0x80c], 1
mov dword [ebp - 0x668], 0x889a278c
lea eax, [ebp - 0x668]
push eax
push 1
call fcn.1004a27b
pop ecx
pop ecx
mov dword [ebp - 0x10c], 3
jmp 0x1004c327
mov eax, dword [ebp - 0x10c]
dec eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jl 0x1004c344
mov eax, dword [ebp - 0x10c]
cmp dword [ebp + eax*4 - 0x818], 0
je 0x1004c342
jmp 0x1004c344
jmp 0x1004c31a
jmp 0x1004c280
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.1004a8ff
add esp, 0x14
mov dword [ebp - 0x4c], 9
mov dword [ebp - 0x7d8], 0x2fbb
mov dword [ebp - 0x7d4], 0x2fbb
mov dword [ebp - 0x7d0], 0x2fbb
mov dword [ebp - 0x7cc], 0x2fbb
mov dword [ebp - 0xe0], 0x4e665969
mov dword [ebp - 0x8dc], 0
mov dword [ebp - 0x8e4], 0
mov dword [ebp - 0x8ec], 0xfffffffc
mov dword [ebp - 0x8f4], 0xee676845
mov dword [ebp - 0x83c], 0xffffffff
mov dword [ebp - 0x4f0], 0xffffffff
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x908], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x7d8]
dec eax
mov dword [ebp - 0x3b0], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x3b0]
mov dword [ebp + eax - 0x7d8], ecx
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x3b0]
jg 0x1004c425
mov dword [ebp - 0x3b8], 1
jmp 0x1004c42c
and dword [ebp - 0x3b8], 0
cmp dword [ebp - 0x4c], 5
je 0x1004c43e
mov dword [ebp - 0x5c8], 1
jmp 0x1004c445
and dword [ebp - 0x5c8], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x5c8], eax
je 0x1004c45c
mov dword [ebp - 0x4e8], 1
jmp 0x1004c463
and dword [ebp - 0x4e8], 0
mov eax, dword [ebp - 0x3b8]
imul eax, dword [ebp - 0x4e8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0xe0], eax
jle 0x1004c493
cmp dword [ebp - 0x4c], 0
je 0x1004c493
mov dword [ebp - 0x3c0], 1
jmp 0x1004c49a
and dword [ebp - 0x3c0], 0
mov eax, dword [ebp - 0x3c0]
neg eax
je 0x1004c4b6
cmp dword [ebp - 0x4c], 0
je 0x1004c4b6
mov dword [ebp - 0x580], 1
jmp 0x1004c4bd
and dword [ebp - 0x580], 0
mov eax, dword [ebp - 0x580]
sub eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x4c]
jle 0x1004c4d7
mov dword [ebp - 0x3c8], 1
jmp 0x1004c4de
and dword [ebp - 0x3c8], 0
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x3c8]
test eax, eax
je 0x1004c5b2
mov dword [ebp - 0x910], 0
mov dword [ebp - 0x918], 0xfbfcc013
mov dword [ebp - 0xe0], 0
jmp 0x1004c521
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 3
jg 0x1004c5b0
mov dword [ebp - 0x948], 0x876a
mov dword [ebp - 0x14c], 0
jmp 0x1004c551
mov eax, dword [ebp - 0x14c]
inc eax
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 1
jge 0x1004c56d
mov eax, dword [ebp - 0x14c]
mov dword [ebp + eax*4 - 0x950], 0xfc3e8ce6
jmp 0x1004c544
mov eax, dword [ebp - 0x4f0]
dec eax
mov dword [ebp - 0x4f0], eax
mov byte [ebp - 0xac], 0
push 0x23dc
push 0x78de
push 0xd05
push 0x6b4d
lea eax, [ebp - 0xac]
push eax
push 0x35db
push 0
call fcn.1004b047
add esp, 0x1c
jmp 0x1004c514
jmp 0x1004c5d2
mov byte [ebp - 0x81], 0
movzx eax, byte [ebp - 0x81]
test eax, eax
je 0x1004c5d2
push 0
push 0x24dd
call fcn.1004a482
pop ecx
pop ecx
cmp dword [ebp - 0x38], 0
jne 0x1004c5dd
jmp 0x1004fc53
mov dword [ebp - 0x188], 0x48bbca63
mov byte [ebp - 0x8e], 0
movzx eax, byte [ebp - 0x8e]
test eax, eax
je 0x1004c604
push 0x1681
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [ebp - 0x188], 0
jmp 0x1004c61d
mov eax, dword [ebp - 0x188]
dec eax
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0xfffffff2
je 0x1004c66e
mov byte [ebp - 0xb0], 0
movzx eax, byte [ebp - 0xb0]
test eax, eax
je 0x1004c64c
push 0
push 0x18a1
push 0xf00
call fcn.1004a3d4
add esp, 0xc
mov byte [ebp - 0xae], 0
movzx eax, byte [ebp - 0xae]
test eax, eax
je 0x1004c66c
push 0x3822
push 1
call fcn.1004a39a
pop ecx
pop ecx
jmp 0x1004c610
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x10], ecx
xor ecx, ecx
call fcn.10033807
push eax
call fcn.1006b338
pop ecx
mov dword [ebp - 0x3d0], 0x6c93
mov dword [ebp - 0x5fc], 0
mov dword [ebp - 0x808], 0x250db856
mov dword [ebp - 0x804], 0x250db856
mov dword [ebp - 0x800], 0x250db856
mov dword [ebp - 0x7fc], 0x250db856
mov dword [ebp - 0x4f8], 0x715ee56e
mov dword [ebp - 0x708], 0xffffffff
mov dword [ebp - 0x670], 0x9dfeee83
mov dword [ebp - 0x790], 0x477a
mov dword [ebp - 0x5c], 0
jmp 0x1004c6fe
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x1004c714
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0xdc], 0xfc1da7bc
jmp 0x1004c6f7
mov dword [ebp - 0x5c], 0
jmp 0x1004c724
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 4
jge 0x1004c73a
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x92c], 0x73b01729
jmp 0x1004c71d
mov byte [ebp - 0x90], 0
movzx eax, byte [ebp - 0x90]
test eax, eax
je 0x1004c75a
push 0
push 0x4b9a
call fcn.1004a43f
pop ecx
pop ecx
push 4
pop eax
test eax, eax
je 0x1004c78c
mov dword [ebp - 0x3d0], 4
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x5fc], eax
cmp dword [ebp - 0x5fc], 0
je 0x1004c78c
mov dword [ebp - 0x2b0], 1
jmp 0x1004c793
and dword [ebp - 0x2b0], 0
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xdc]
cmp dword [ebp + eax - 0xdc], ecx
jg 0x1004c7bb
mov dword [ebp - 0x3d8], 1
jmp 0x1004c7c2
and dword [ebp - 0x3d8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xdc]
cmp dword [ebp - 0x3d8], eax
jge 0x1004c7e3
mov dword [ebp - 0x3e0], 1
jmp 0x1004c7ea
and dword [ebp - 0x3e0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xdc]
mov dword [ebp - 0x4f8], eax
mov eax, dword [ebp - 0x4f8]
cmp eax, dword [ebp - 0x3e0]
jne 0x1004c817
mov dword [ebp - 0x588], 1
jmp 0x1004c81e
and dword [ebp - 0x588], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xdc]
mov eax, 0x3d478254
cmp eax, 0xfffffffc
jg 0x1004c841
mov dword [ebp - 0x3e8], 1
jmp 0x1004c848
and dword [ebp - 0x3e8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xdc]
cmp dword [ebp - 0x3e8], eax
jle 0x1004c869
mov dword [ebp - 0x500], 1
jmp 0x1004c870
and dword [ebp - 0x500], 0
cmp dword [ebp - 0x500], 0xb6ba
jl 0x1004c888
mov dword [ebp - 0x3f0], 1
jmp 0x1004c88f
and dword [ebp - 0x3f0], 0
mov eax, dword [ebp - 0x3f0]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0xdc]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0xdc]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0xdc]
cmp eax, dword [ebp - 0x708]
je 0x1004c8d1
mov dword [ebp - 0x5d4], 1
jmp 0x1004c8d8
and dword [ebp - 0x5d4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xdc]
imul eax, dword [ebp - 0x5d4]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0xdc]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0xdc]
jne 0x1004c91b
cmp dword [ebp - 0x670], 0
jne 0x1004c91b
and dword [ebp - 0x3f8], 0
jmp 0x1004c925
mov dword [ebp - 0x3f8], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp + eax - 0x808], ecx
mov eax, dword [ebp - 0x2b0]
cmp eax, dword [ebp - 0x3f8]
jl 0x1004c952
mov dword [ebp - 0x508], 1
jmp 0x1004c959
and dword [ebp - 0x508], 0
mov eax, dword [ebp - 0x790]
cmp dword [ebp - 0x508], eax
je 0x1004c973
mov dword [ebp - 0x400], 1
jmp 0x1004c97a
and dword [ebp - 0x400], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x92c]
cmp dword [ebp - 0x400], eax
jle 0x1004c99f
xor eax, eax
je 0x1004c99f
mov dword [ebp - 0x590], 1
jmp 0x1004c9a6
and dword [ebp - 0x590], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x92c]
cmp dword [ebp - 0x590], eax
jl 0x1004c9c7
mov dword [ebp - 0x2b8], 1
jmp 0x1004c9ce
and dword [ebp - 0x2b8], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp + eax - 0xdc], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp + eax - 0x92c], ecx
mov byte [ebp - 0x250], 0
mov byte [ebp - 0x24f], 0xcf
mov byte [ebp - 0x24e], 0x27
mov byte [ebp - 0x24d], 6
mov byte [ebp - 0x24c], 0x35
mov byte [ebp - 0x24b], 0xa6
mov byte [ebp - 0x24a], 0x3d
mov byte [ebp - 0x249], 0x2d
mov byte [ebp - 0x248], 0x25
mov byte [ebp - 0x247], 1
mov byte [ebp - 0x246], 0x83
mov byte [ebp - 0x245], 0x60
mov byte [ebp - 0x244], 0xe0
mov byte [ebp - 0x243], 0xd
mov byte [ebp - 0x242], 0x7d
mov byte [ebp - 0x241], 0x15
mov byte [ebp - 0x240], 0xec
mov byte [ebp - 0x23f], 0x32
mov byte [ebp - 0x23e], 0xcf
mov byte [ebp - 0x23d], 0xc
mov byte [ebp - 0x23c], 0xb7
mov byte [ebp - 0x23b], 0x63
mov byte [ebp - 0x23a], 0x1c
mov byte [ebp - 0x239], 0x22
mov byte [ebp - 0x238], 0x9d
mov byte [ebp - 0x237], 0xea
mov byte [ebp - 0x236], 0x3d
mov byte [ebp - 0x235], 0x6a
mov byte [ebp - 0x234], 0x3d
mov byte [ebp - 0x233], 0xad
mov byte [ebp - 0x232], 0x7e
mov byte [ebp - 0x231], 0x59
mov byte [ebp - 0x230], 0xf8
mov byte [ebp - 0x22f], 0xfb
mov byte [ebp - 0x22e], 0x39
mov byte [ebp - 0x22d], 0xb8
mov byte [ebp - 0x22c], 0x35
mov byte [ebp - 0x22b], 0x2f
mov byte [ebp - 0x22a], 0x14
mov byte [ebp - 0x229], 0x3a
mov byte [ebp - 0x228], 0xa1
mov byte [ebp - 0x227], 0x14
mov byte [ebp - 0x226], 6
mov byte [ebp - 0x225], 0
mov byte [ebp - 0x224], 7
mov byte [ebp - 0x223], 7
mov byte [ebp - 0x222], 4
mov byte [ebp - 0x221], 0xe
mov byte [ebp - 0x220], 1
mov byte [ebp - 0x21f], 0xd
mov byte [ebp - 0x21e], 8
mov byte [ebp - 0x21d], 5
mov byte [ebp - 0x21c], 2
mov byte [ebp - 0x21b], 7
mov byte [ebp - 0x21a], 9
mov byte [ebp - 0x219], 7
mov byte [ebp - 0x218], 3
mov byte [ebp - 0x217], 7
mov byte [ebp - 0x216], 5
mov byte [ebp - 0x215], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x250]
or eax, 0xfe
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x250]
and ecx, 0xfe
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x250]
mov byte [ebp + ecx - 0x624], al
mov dword [ebp - 0x24], 2
and dword [ebp - 0xec], 0
jmp 0x1004cbee
mov eax, dword [ebp - 0x24]
inc eax
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3c
jae 0x1004cccc
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x250]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x24], eax
jne 0x1004cc38
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x250]
inc eax
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x250]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x24], eax
jmp 0x1004cbe6
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x24f]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0xec]
movzx ecx, byte [ebp + ecx - 0x252]
movsx ecx, byte [ebp + ecx - 0x624]
add eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x24f]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0xec]
movzx edx, byte [ebp + edx - 0x252]
movsx edx, byte [ebp + edx - 0x624]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x24f]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0xec]
movzx edx, byte [ebp + edx - 0x252]
movsx edx, byte [ebp + edx - 0x624]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ebp + ecx - 0x250]
mov byte [ebp + ecx - 0x624], al
and dword [ebp - 0xec], 0
jmp 0x1004cbe6
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x624], 0
mov dword [ebp - 0x154], 0xf6af1124
mov dword [ebp - 0x154], 0xffffffee
jmp 0x1004ccfd
mov eax, dword [ebp - 0x154]
dec eax
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0xffffffe3
jge 0x1004cd61
mov dword [ebp - 0x678], 0x91e29ea4
mov dword [ebp - 0x710], 0x2d83d783
mov byte [ebp - 0xaa], 0
movzx eax, byte [ebp - 0xaa]
test eax, eax
je 0x1004cd47
push 0x1ebf
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_Polyline]
push 1
lea eax, [ebp - 0x678]
push eax
lea eax, [ebp - 0x710]
push eax
call fcn.1004a3d4
add esp, 0xc
jmp 0x1004ccf0
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0xa38]
call fcn.10028596
mov dword [ebp - 0x680], eax
mov eax, dword [ebp - 0x680]
mov dword [ebp - 0x760], eax
and dword [ebp - 4], 0
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x760]
call fcn.100337c7
pop ecx
mov dword [ebp - 0x6b8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa38]
call fcn.1001a9c3
mov dword [ebp - 0x80], 0xfffffffa
mov dword [ebp - 0x2c0], 0x81320f2d
mov dword [ebp - 0x80], 0xffffffea
jmp 0x1004cdcf
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xfffffff2
jge 0x1004cffd
mov dword [ebp - 0x688], 4
mov dword [ebp - 0x718], 1
mov dword [ebp - 0x420], 0xfffffffc
mov dword [ebp - 0x690], 1
mov dword [ebp - 0x190], 0
jmp 0x1004ce1a
mov eax, dword [ebp - 0x190]
inc eax
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 1
jge 0x1004ce36
mov eax, dword [ebp - 0x190]
mov dword [ebp + eax*4 - 0xc4], 0x2d3f5047
jmp 0x1004ce0d
mov byte [ebp - 0x92], 0
push 0x5945
lea eax, [ebp - 0x92]
push eax
push 0
call fcn.1004a4b4
add esp, 0xc
cmp dword [ebp - 0x80], 0x93e7
jl 0x1004ce68
mov dword [ebp - 0x408], 1
jmp 0x1004ce6f
and dword [ebp - 0x408], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc4]
cmp eax, dword [ebp - 0x408]
jge 0x1004ce90
mov dword [ebp - 0x510], 1
jmp 0x1004ce97
and dword [ebp - 0x510], 0
mov eax, dword [ebp - 0x510]
mov dword [ebp - 0x688], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc4], 0
jne 0x1004cebf
mov dword [ebp - 0x410], 1
jmp 0x1004cec6
and dword [ebp - 0x410], 0
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x410], eax
jl 0x1004cee0
cmp dword [ebp - 0x80], 0
jne 0x1004cee0
and dword [ebp - 0x614], 0
jmp 0x1004ceea
mov dword [ebp - 0x614], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc4]
cmp eax, dword [ebp - 0x614]
je 0x1004cf0b
mov dword [ebp - 0x418], 1
jmp 0x1004cf12
and dword [ebp - 0x418], 0
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x718], eax
mov eax, dword [ebp - 0x2c0]
cmp dword [ebp - 0x2c0], eax
jl 0x1004cf38
mov dword [ebp - 0x518], 1
jmp 0x1004cf3f
and dword [ebp - 0x518], 0
mov eax, dword [ebp - 0x518]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
je 0x1004cf70
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc4], 0
je 0x1004cf70
mov dword [ebp - 0x598], 1
jmp 0x1004cf77
and dword [ebp - 0x598], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc4]
cmp dword [ebp - 0x598], eax
jge 0x1004cf98
mov dword [ebp - 0x428], 1
jmp 0x1004cf9f
and dword [ebp - 0x428], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc4]
cmp dword [ebp - 0x428], eax
jg 0x1004cfc0
mov dword [ebp - 0x520], 1
jmp 0x1004cfc7
and dword [ebp - 0x520], 0
mov eax, dword [ebp - 0x690]
imul eax, dword [ebp - 0x520]
cmp dword [ebp - 0x80], eax
jle 0x1004cfe5
mov dword [ebp - 0x430], 1
jmp 0x1004cfec
and dword [ebp - 0x430], 0
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x2c0], eax
jmp 0x1004cdc8
mov byte [ebp - 0xab], 0
push 1
lea eax, [ebp - 0xab]
push eax
call fcn.1004a43f
pop ecx
pop ecx
and dword [ebp - 0x15c], 0
jmp 0x1004d02a
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0xb
jae 0x1004d043
mov eax, dword [ebp - 0x15c]
mov byte [ebp + eax - 0x624], 0
jmp 0x1004d01d
mov dword [ebp - 0x70], 0
jmp 0x1004d053
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jge 0x1004d069
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x764], 9
jmp 0x1004d04c
mov dword [ebp - 0x70], 0
jmp 0x1004d079
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 3
jge 0x1004d08f
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x74c], 0x2667a876
jmp 0x1004d072
push 0
push 0x1385
call fcn.1004aff7
pop ecx
pop ecx
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x74c], 0
jmp 0x1004d0cb
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x74c]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x74c], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x74c], 0
jg 0x1004d0fe
push 0
call fcn.1004a709
pop ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x74c]
cmp dword [ebp + eax*4 - 0x764], 0
je 0x1004d0fc
jmp 0x1004d0b0
jmp 0x1004d0b0
mov byte [ebp - 0x214], 6
mov byte [ebp - 0x213], 8
mov byte [ebp - 0x212], 8
mov byte [ebp - 0x211], 9
mov byte [ebp - 0x210], 7
mov byte [ebp - 0x20f], 6
mov byte [ebp - 0x20e], 4
mov byte [ebp - 0x20d], 2
mov byte [ebp - 0x20c], 5
mov byte [ebp - 0x20b], 5
mov byte [ebp - 0x20a], 1
mov byte [ebp - 0x209], 7
mov byte [ebp - 0x208], 3
mov byte [ebp - 0x207], 4
mov byte [ebp - 0x206], 0x18
mov byte [ebp - 0x205], 0xfb
mov byte [ebp - 0x204], 0x97
mov byte [ebp - 0x203], 0x20
mov byte [ebp - 0x202], 0x51
mov byte [ebp - 0x201], 0x13
mov byte [ebp - 0x200], 0x56
mov byte [ebp - 0x1ff], 0x8c
mov byte [ebp - 0x1fe], 0xef
mov byte [ebp - 0x1fd], 0xed
mov byte [ebp - 0x1fc], 0xe
mov byte [ebp - 0x1fb], 0xeb
mov byte [ebp - 0x1fa], 0x38
mov byte [ebp - 0x1f9], 6
mov byte [ebp - 0x1f8], 0x82
mov byte [ebp - 0x1f7], 0x11
mov byte [ebp - 0x1f6], 0x7f
mov byte [ebp - 0x1f5], 0x2d
mov byte [ebp - 0x1f4], 0x27
mov byte [ebp - 0x1f3], 0xb9
mov byte [ebp - 0x1f2], 0x1f
mov byte [ebp - 0x1f1], 0x6c
mov byte [ebp - 0x1f0], 0x41
mov byte [ebp - 0x1ef], 0x24
mov byte [ebp - 0x1ee], 0xed
mov byte [ebp - 0x1ed], 9
mov byte [ebp - 0x1ec], 2
mov byte [ebp - 0x1eb], 0
mov byte [ebp - 0x1ea], 1
mov byte [ebp - 0x1e9], 2
mov byte [ebp - 0x1e8], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x214]
or eax, 0x31
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x214]
and ecx, 0x31
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x214]
mov byte [ebp + ecx - 0x630], al
mov dword [ebp - 0x40], 2
and dword [ebp - 0x198], 0
jmp 0x1004d28a
mov eax, dword [ebp - 0x40]
inc eax
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x2d
jae 0x1004d349
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x214]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x40], eax
jne 0x1004d2d4
mov eax, dword [ebp - 0x40]
movzx eax, byte [ebp + eax - 0x214]
inc eax
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [ebp + eax - 0x214]
mov ecx, dword [ebp - 0x40]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x40], eax
jmp 0x1004d282
mov eax, dword [ebp - 0x40]
movzx eax, byte [ebp + eax - 0x213]
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x198]
movzx ecx, byte [ebp + ecx - 0x216]
movsx ecx, byte [ebp + ecx - 0x630]
or eax, ecx
mov ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0x213]
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0x198]
movzx edx, byte [ebp + edx - 0x216]
movsx edx, byte [ebp + edx - 0x630]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0x214]
mov byte [ebp + ecx - 0x630], al
push 1
lea eax, [ebp - 0x198]
push eax
call fcn.1004a482
pop ecx
pop ecx
jmp 0x1004d282
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x630], 0
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x7a4], 0xc863cc1d
mov dword [ebp - 0x7a0], 0xc863cc1d
mov dword [ebp - 0x79c], 0xc863cc1d
mov dword [ebp - 0x798], 0xc863cc1d
mov dword [ebp - 0x5f0], 0xffffffff
mov dword [ebp - 0x164], 0
jmp 0x1004d3ac
mov eax, dword [ebp - 0x164]
inc eax
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 2
jge 0x1004d3c8
mov eax, dword [ebp - 0x164]
mov dword [ebp + eax*4 - 0x12c], 0xfffffff8
jmp 0x1004d39f
mov eax, dword [ebp - 0xa0]
add eax, 9
jne 0x1004d4f9
cmp dword [ebp - 0xa0], 0x6887
jl 0x1004d3ef
mov dword [ebp - 0x528], 1
jmp 0x1004d3f6
and dword [ebp - 0x528], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x890], eax
mov eax, dword [ebp - 0xa0]
push 4
pop ecx
shl ecx, 0
add eax, dword [ebp + ecx - 0x12c]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x12c]
jne 0x1004d430
mov dword [ebp - 0x5e0], 1
jmp 0x1004d437
and dword [ebp - 0x5e0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x12c]
cmp dword [ebp - 0x5e0], eax
jge 0x1004d458
mov dword [ebp - 0x438], 1
jmp 0x1004d45f
and dword [ebp - 0x438], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x7a4]
imul eax, dword [ebp - 0x438]
cmp dword [ebp - 0x528], eax
jg 0x1004d487
mov dword [ebp - 0x440], 1
jmp 0x1004d48e
and dword [ebp - 0x440], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x7a4]
cmp dword [ebp - 0x440], eax
jle 0x1004d4af
mov dword [ebp - 0x5a0], 1
jmp 0x1004d4b6
and dword [ebp - 0x5a0], 0
imul eax, dword [ebp - 0x5a0], 0xfff6
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x12c]
je 0x1004d4db
mov dword [ebp - 0x448], 1
jmp 0x1004d4e2
and dword [ebp - 0x448], 0
imul eax, dword [ebp - 0x448], 0x943a
test eax, eax
jne 0x1004d4f9
and dword [ebp - 0x698], 0
jmp 0x1004d503
mov dword [ebp - 0x698], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x12c]
mov dword [ebp - 0x8e0], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x12c]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x12c]
je 0x1004d771
mov dword [ebp - 0x1a0], 0x16e31137
mov dword [ebp - 0x838], 0xd6e8597a
mov dword [ebp - 0x834], 0xd6e8597a
mov dword [ebp - 0x830], 0xd6e8597a
mov dword [ebp - 0x82c], 0xd6e8597a
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x460], 0x442f2aa7
mov dword [ebp - 0x468], 0x8ab8ac29
mov dword [ebp - 0x6a0], 0x93dfe8e2
mov byte [ebp - 0x99], 0
lea eax, [ebp - 0x99]
push eax
push 0x5807
push 1
call fcn.1004a4b4
add esp, 0xc
cmp dword [ebp - 0x1a0], 0
je 0x1004d619
cmp dword [ebp - 0xa0], 0
jne 0x1004d5cb
mov dword [ebp - 0x530], 1
jmp 0x1004d5d2
and dword [ebp - 0x530], 0
cmp dword [ebp - 0x530], 0x8c74
jne 0x1004d5ea
mov dword [ebp - 0x720], 1
jmp 0x1004d5f1
and dword [ebp - 0x720], 0
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x848], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x12c], 0
je 0x1004d619
mov dword [ebp - 0x450], 1
jmp 0x1004d620
and dword [ebp - 0x450], 0
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x5f0], eax
cmp dword [ebp - 0x5f0], 0
jne 0x1004d642
xor eax, eax
jne 0x1004d642
and dword [ebp - 0x2c8], 0
jmp 0x1004d64c
mov dword [ebp - 0x2c8], 1
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x2c8]
mov dword [ebp + eax - 0x838], ecx
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x1a0]
cmp dword [ebp - 0x458], eax
jg 0x1004d684
mov dword [ebp - 0x538], 1
jmp 0x1004d68b
and dword [ebp - 0x538], 0
mov eax, dword [ebp - 0x1a0]
imul eax, dword [ebp - 0x538]
mov dword [ebp - 0x460], eax
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x460], eax
jl 0x1004d6b8
mov dword [ebp - 0x5a8], 1
jmp 0x1004d6bf
and dword [ebp - 0x5a8], 0
mov eax, dword [ebp - 0x5a8]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x930], eax
xor eax, eax
cmp eax, 0x11b1996f
jge 0x1004d6ec
mov dword [ebp - 0x540], 1
jmp 0x1004d6f3
and dword [ebp - 0x540], 0
cmp dword [ebp - 0x540], 0xfffd
jae 0x1004d70b
mov dword [ebp - 0x470], 1
jmp 0x1004d712
and dword [ebp - 0x470], 0
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0x470]
je 0x1004d730
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x12c], 0
jne 0x1004d740
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x7a4], 0
je 0x1004d75c
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x12c], 0
je 0x1004d75c
mov dword [ebp - 0x5ec], 1
jmp 0x1004d763
and dword [ebp - 0x5ec], 0
mov eax, dword [ebp - 0x5ec]
mov dword [ebp - 0x6a0], eax
jmp 0x1004d790
push 1
call fcn.1004a50d
pop ecx
mov byte [ebp - 0xad], 0
lea eax, [ebp - 0xad]
push eax
push 1
call fcn.1004a56b
pop ecx
pop ecx
lea eax, [ebp - 0x630]
push eax
lea ecx, [ebp - 0xa08]
call fcn.10028596
mov dword [ebp - 0x768], eax
mov eax, dword [ebp - 0x768]
mov dword [ebp - 0x6a8], eax
mov dword [ebp - 4], 1
push 0xa
xor edx, edx
mov ecx, dword [ebp - 0x6a8]
call fcn.100337c7
pop ecx
mov dword [ebp - 0x76c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa08]
call fcn.1001a9c3
and dword [ebp - 0x16c], 0
jmp 0x1004d7f6
mov eax, dword [ebp - 0x16c]
inc eax
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0xb
jae 0x1004d80f
mov eax, dword [ebp - 0x16c]
mov byte [ebp + eax - 0x630], 0
jmp 0x1004d7e9
mov dword [ebp - 0x2c], 0x897a4a12
mov dword [ebp - 0xd4], 0xfffffffe
mov dword [ebp - 0x1a8], 0
jmp 0x1004d839
mov eax, dword [ebp - 0x1a8]
inc eax
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 1
jge 0x1004d855
mov eax, dword [ebp - 0x1a8]
mov dword [ebp + eax*4 - 0x6b0], 0xde283bc1
jmp 0x1004d82c
cmp dword [ebp - 0x2c], 0
jne 0x1004d91c
cmp dword [ebp - 0x2c], 0
jne 0x1004d8ec
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x850], eax
cmp dword [ebp - 0x2c], 0xc7104272
jne 0x1004d88a
cmp dword [ebp - 0x2c], 0
jne 0x1004d88a
and dword [ebp - 0x478], 0
jmp 0x1004d894
mov dword [ebp - 0x478], 1
cmp dword [ebp - 0x478], 0x92c6
jge 0x1004d8ac
mov dword [ebp - 0x2dc], 1
jmp 0x1004d8b3
and dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x2dc], eax
jne 0x1004d8ca
mov dword [ebp - 0x728], 1
jmp 0x1004d8d1
and dword [ebp - 0x728], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x88c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x858], eax
mov eax, 0xfff8
test eax, eax
je 0x1004d8fe
cmp dword [ebp - 0x2c], 0
je 0x1004d8fe
mov dword [ebp - 0x480], 1
jmp 0x1004d905
and dword [ebp - 0x480], 0
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x480]
cmp eax, dword [ebp - 0x2c]
jge 0x1004d91c
and dword [ebp - 0x5b0], 0
jmp 0x1004d926
mov dword [ebp - 0x5b0], 1
mov eax, dword [ebp - 0x5b0]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x2c], 0
jmp 0x1004d942
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jg 0x1004d98e
mov dword [ebp - 0xd4], 0
jmp 0x1004d961
mov eax, dword [ebp - 0xd4]
dec eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jl 0x1004d98c
push 0x1aff
push 1
call fcn.1004a5b6
pop ecx
pop ecx
mov eax, dword [ebp - 0xd4]
cmp dword [ebp + eax*4 - 0x6b0], 0
je 0x1004d98a
jmp 0x1004d98c
jmp 0x1004d954
jmp 0x1004d93b
push dword [ebp - 0x76c]
push dword [ebp - 0x6b8]
call fcn.100463ea
pop ecx
pop ecx
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 0x174], 0xfffffffe
mov dword [ebp - 0x38c], 0x2cd8
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x794], 0x4120
mov dword [ebp - 0x3c], 0
jmp 0x1004d9df
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 4
jge 0x1004d9f5
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x940], 0xfffffffe
jmp 0x1004d9d8
mov dword [ebp - 0x3c], 0
jmp 0x1004da05
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x1004da18
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x7c], 0xcf7921e1
jmp 0x1004d9fe
mov dword [ebp - 0x3c], 0
jmp 0x1004da28
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x1004da3e
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0xf8], 0x4854668d
jmp 0x1004da21
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x940], 0
je 0x1004dc60
mov dword [ebp - 0x60], 0x66a92721
mov dword [ebp - 0x354], 0xfffffff7
cmp dword [ebp - 0x60], 0
jne 0x1004da75
mov dword [ebp - 0x498], 1
jmp 0x1004da7c
and dword [ebp - 0x498], 0
cmp dword [ebp - 0x60], 0
jne 0x1004da98
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x7c], 0
jne 0x1004da98
and dword [ebp - 0x5f8], 0
jmp 0x1004daa2
mov dword [ebp - 0x5f8], 1
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
jne 0x1004db0c
cmp dword [ebp - 0x60], 0xf5aa05d7
je 0x1004dac9
mov dword [ebp - 0x730], 1
jmp 0x1004dad0
and dword [ebp - 0x730], 0
cmp dword [ebp - 0x60], 0
je 0x1004daf1
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x940], 0
je 0x1004daf1
mov dword [ebp - 0x488], 1
jmp 0x1004daf8
and dword [ebp - 0x488], 0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x488], eax
jge 0x1004db0c
and dword [ebp - 0x550], 0
jmp 0x1004db16
mov dword [ebp - 0x550], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x940]
cmp dword [ebp - 0x550], eax
jl 0x1004db37
mov dword [ebp - 0x490], 1
jmp 0x1004db3e
and dword [ebp - 0x490], 0
mov eax, dword [ebp - 0x490]
neg eax
mov ecx, dword [ebp - 0x5f8]
sub ecx, eax
cmp dword [ebp - 0x498], ecx
je 0x1004db62
mov dword [ebp - 0x558], 1
jmp 0x1004db69
and dword [ebp - 0x558], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x558]
sub ecx, dword [ebp + eax - 0x7c]
cmp ecx, dword [ebp - 0x60]
jl 0x1004db8a
mov dword [ebp - 0x4a0], 1
jmp 0x1004db91
and dword [ebp - 0x4a0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
add eax, dword [ebp - 0x4a0]
cmp eax, 8
jne 0x1004dbb2
mov dword [ebp - 0x5b8], 1
jmp 0x1004dbb9
and dword [ebp - 0x5b8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
cmp dword [ebp - 0x5b8], eax
jl 0x1004dbd7
mov dword [ebp - 0x4a8], 1
jmp 0x1004dbde
and dword [ebp - 0x4a8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
cmp dword [ebp - 0x4a8], eax
je 0x1004dbfc
mov dword [ebp - 0x33c], 1
jmp 0x1004dc03
and dword [ebp - 0x33c], 0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x33c], eax
jg 0x1004dc1a
mov dword [ebp - 0x344], 1
jmp 0x1004dc21
and dword [ebp - 0x344], 0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x344], eax
je 0x1004dc38
mov dword [ebp - 0x34c], 1
jmp 0x1004dc3f
and dword [ebp - 0x34c], 0
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0x354], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x354]
mov dword [ebp + eax - 0xf8], ecx
jmp 0x1004dca9
mov dword [ebp - 0x6c0], 0x30509b95
mov byte [ebp - 0xa1], 0
movzx eax, byte [ebp - 0xa1]
test eax, eax
je 0x1004dc9f
push 0
push 0x1097
push 0x7463
push 0x7196
push 0x3f8b
push 0x5415
call fcn.1004aa84
add esp, 0x18
mov dword [ebp - 0x6c0], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf8]
mov dword [ebp - 0x35c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x35c]
mov dword [ebp + eax - 0xf8], ecx
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x2d0], eax
mov eax, 0x455d
test eax, eax
je 0x1004dd2f
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x364], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x364]
mov dword [ebp + eax - 0xf8], ecx
cmp dword [ebp - 0x364], 0
jne 0x1004dd23
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xf8], 0
jne 0x1004dd23
push 8
pop eax
test eax, eax
je 0x1004dd2f
mov dword [ebp - 0x36c], 1
jmp 0x1004dd36
and dword [ebp - 0x36c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x36c]
sub ecx, dword [ebp + eax - 0x7c]
cmp ecx, dword [ebp - 0x794]
jl 0x1004dd5a
mov dword [ebp - 0x374], 1
jmp 0x1004dd61
and dword [ebp - 0x374], 0
cmp dword [ebp - 0x374], 0xfff7
je 0x1004dd79
mov dword [ebp - 0x37c], 1
jmp 0x1004dd80
and dword [ebp - 0x37c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
cmp dword [ebp - 0x37c], eax
jle 0x1004dd9e
mov dword [ebp - 0x384], 1
jmp 0x1004dda5
and dword [ebp - 0x384], 0
mov eax, dword [ebp - 0x38c]
mov ecx, dword [ebp - 0x384]
sub ecx, dword [ebp - 0x2d0]
add eax, ecx
cmp eax, 1
jbe 0x1004ddd3
cmp dword [ebp - 0x2d0], 0
je 0x1004ddd3
mov dword [ebp - 0x394], 1
jmp 0x1004ddda
and dword [ebp - 0x394], 0
mov eax, dword [ebp - 0x38c]
add eax, dword [ebp - 0x394]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x7c]
cmp eax, 0xffffffff
je 0x1004de01
mov dword [ebp - 0x39c], 1
jmp 0x1004de08
and dword [ebp - 0x39c], 0
mov eax, dword [ebp - 0x39c]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x3a4]
mov dword [eax + 8], ecx
lea eax, [ebp - 0x3a4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x31f3
push 1
push 0x6fbb
call fcn.1004a61e
add esp, 0x14
mov dword [ebp - 0x1b0], 0xe0648261
mov dword [ebp - 0x1b0], 0xffffffeb
jmp 0x1004de65
mov eax, dword [ebp - 0x1b0]
inc eax
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0x12
jle 0x1004ded7
mov dword [ebp - 0x6c8], 1
mov dword [ebp - 0x17c], 0
jmp 0x1004de91
mov eax, dword [ebp - 0x17c]
inc eax
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 4
jge 0x1004dead
mov eax, dword [ebp - 0x17c]
mov dword [ebp + eax*4 - 0x9c0], 1
jmp 0x1004de84
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x9c0], 0
je 0x1004debf
jmp 0x1004ded7
push 0
lea eax, [ebp - 0x6c8]
push eax
push 0x3402
call fcn.1004b112
add esp, 0xc
jmp 0x1004de58
mov byte [ebp - 0xaf], 0
push 0
lea eax, [ebp - 0xaf]
push eax
call fcn.1004a9cf
pop ecx
pop ecx
and dword [ebp - 0xf0], 0
lea eax, [ebp - 0xf0]
push eax
push 1
push 0x2b2a
push 0x6ada
push 0x3fa3
lea eax, [ebp - 0x10]
push eax
call fcn.1004a684
add esp, 0x18
mov dword [ebp - 0x58], 2
mov dword [ebp - 0x114], 0x2e63
mov dword [ebp - 0x184], 0x2499e68f
mov dword [ebp - 0x2a4], 0xfffffffd
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x464], 1
mov dword [ebp - 0x6d0], 1
mov dword [ebp - 0x6f4], 0xfffffffd
cmp dword [ebp - 0x58], 0
je 0x1004e50d
mov dword [ebp - 0x44], 0x42afa017
mov dword [ebp - 0x100], 0x22c7e12f
mov dword [ebp - 0x484], 0xfffffffc
mov dword [ebp - 0x828], 1
mov dword [ebp - 0x824], 1
mov dword [ebp - 0x820], 1
mov dword [ebp - 0x81c], 1
mov dword [ebp - 0x1b8], 0
jmp 0x1004dfcc
mov eax, dword [ebp - 0x1b8]
inc eax
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 3
jge 0x1004dfe8
mov eax, dword [ebp - 0x1b8]
mov dword [ebp + eax*4 - 0x884], 0xffffffff
jmp 0x1004dfbf
imul eax, dword [ebp - 0x44], 0xffffffff
test eax, eax
je 0x1004e05e
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x58]
jl 0x1004e007
mov dword [ebp - 0x3ac], 1
jmp 0x1004e00e
and dword [ebp - 0x3ac], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x3ac], eax
jle 0x1004e025
mov dword [ebp - 0x3b4], 1
jmp 0x1004e02c
and dword [ebp - 0x3b4], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x3b4], eax
jl 0x1004e043
mov dword [ebp - 0x3bc], 1
jmp 0x1004e04a
and dword [ebp - 0x3bc], 0
mov eax, dword [ebp - 0x58]
imul eax, dword [ebp - 0x3bc]
test eax, eax
je 0x1004e05e
cmp dword [ebp - 0x44], 0
jne 0x1004e06d
cmp dword [ebp - 0x44], 0
jne 0x1004e06d
and dword [ebp - 0x3c4], 0
jmp 0x1004e077
mov dword [ebp - 0x3c4], 1
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x3c4], eax
je 0x1004e08e
mov dword [ebp - 0x3cc], 1
jmp 0x1004e095
and dword [ebp - 0x3cc], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x3cc], eax
jle 0x1004e0ac
mov dword [ebp - 0x3d4], 1
jmp 0x1004e0b3
and dword [ebp - 0x3d4], 0
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x3d4]
jg 0x1004e0ca
mov dword [ebp - 0x3dc], 1
jmp 0x1004e0d1
and dword [ebp - 0x3dc], 0
cmp dword [ebp - 0x3dc], 0x11521faf
je 0x1004e0e9
mov dword [ebp - 0x3e4], 1
jmp 0x1004e0f0
and dword [ebp - 0x3e4], 0
imul eax, dword [ebp - 0x3e4], 0xfff6
cmp eax, dword [ebp - 0x44]
jl 0x1004e10b
mov dword [ebp - 0x3ec], 1
jmp 0x1004e112
and dword [ebp - 0x3ec], 0
mov eax, dword [ebp - 0x114]
cmp dword [ebp - 0x3ec], eax
jne 0x1004e12c
mov dword [ebp - 0x3f4], 1
jmp 0x1004e133
and dword [ebp - 0x3f4], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x3f4], eax
jle 0x1004e14a
mov dword [ebp - 0x3fc], 1
jmp 0x1004e151
and dword [ebp - 0x3fc], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x3fc], eax
jne 0x1004e16e
mov eax, 0x7b187b35
test eax, eax
jne 0x1004e16e
and dword [ebp - 0x6f0], 0
jmp 0x1004e178
mov dword [ebp - 0x6f0], 1
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x894], eax
mov eax, 0x9aa5
test eax, eax
jne 0x1004e19c
cmp dword [ebp - 0x114], 0
jne 0x1004e19c
mov dword [ebp - 0x404], 1
cmp dword [ebp - 0x404], 0
jae 0x1004e1bb
mov dword [ebp - 0x4a4], 6
mov eax, dword [ebp - 0x4a4]
mov dword [ebp - 0x4a4], eax
mov byte [ebp - 0x82], 0
push 0x3229
lea eax, [ebp - 0x82]
push eax
push 0
call fcn.1004a80f
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0xf0]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x194], 0xf5540d7f
mov dword [ebp - 0x6d8], 0
mov dword [ebp - 0x1bc], 0
jmp 0x1004e588
mov eax, dword [ebp - 0x1bc]
inc eax
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 4
jge 0x1004e5a4
mov eax, dword [ebp - 0x1bc]
mov dword [ebp + eax*4 - 0x7b4], 0xdce9d05b
jmp 0x1004e57b
mov dword [ebp - 0x194], 0xfffffffc
jmp 0x1004e5bd
mov eax, dword [ebp - 0x194]
inc eax
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x194], 0xf
jle 0x1004e882
mov dword [ebp - 0x118], 0xb3b9da4d
mov dword [ebp - 0x118], 3
jmp 0x1004e5ed
mov eax, dword [ebp - 0x118]
dec eax
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jl 0x1004e87d
mov dword [ebp - 0xbc], 0xffffffff
mov byte [ebp - 0x83], 0
movzx eax, byte [ebp - 0x83]
test eax, eax
je 0x1004e61e
push 1
call fcn.1004a709
pop ecx
mov dword [ebp - 0xbc], 0
jmp 0x1004e637
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 3
jg 0x1004e878
mov dword [ebp - 0xa8], 0xf3d4e677
mov dword [ebp - 0xa8], 3
jmp 0x1004e667
cmp dword [ebp - 0xa8], 0
jl 0x1004e873
mov dword [ebp - 0xc0], 0xffffffff
mov dword [ebp - 0xc0], 0
jmp 0x1004e697
cmp dword [ebp - 0xc0], 3
jg 0x1004e772
mov dword [ebp - 0x138], 0
jmp 0x1004e6bd
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ebp + ecx*4 - 0x7b4]
cmp dword [ebp + eax*4 - 0x7b4], ecx
jl 0x1004e79a
jmp 0x1004e62a
jmp 0x1004e5e0
jmp 0x1004e5b0
and dword [ebp - 0x108], 0
jmp 0x1004e898
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0xc8]
jge 0x1004e937
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x108], eax
jae 0x1004e8e4
lea eax, [ebp - 0x4dc]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.1004a78e
add esp, 0x18
jmp 0x1004e90d
mov eax, dword [ebp - 0x1d4]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x1d4]
add eax, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x1d4]
push dword [eax + 0x14]
call fcn.100463ea
pop ecx
pop ecx
mov dword [ebp - 0x4dc], eax
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x4dc]
mov dword [ecx + eax], edx
lea eax, [ebp - 0x18]
push eax
push 0x2ebc
push 1
call fcn.1004a80f
add esp, 0xc
jmp 0x1004e88b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], eax
mov dword [ebp - 0x68], 0
jmp 0x1004e959
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 2
jge 0x1004e96f
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x904], 0xdf99ff60
jmp 0x1004e952
mov dword [ebp - 0x68], 0
jmp 0x1004e97f
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x1004e995
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x75c], 0x2667a876
jmp 0x1004e978
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x75c], 0
jmp 0x1004e9c0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x75c]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x75c], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x75c], 2
jge 0x1004e9e8
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x75c]
mov dword [ebp + eax*4 - 0x904], 0x95364446
jmp 0x1004e9a7
lea eax, [ebp - 0xc8]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.1004a868
add esp, 0x10
mov dword [ebp - 0x110], 0xffffffff
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x110], 0xffffffe6
jmp 0x1004ea31
cmp dword [ebp - 0x110], 0xffffffe2
jle 0x1004eb3a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x69c], eax
mov eax, dword [ebp - 0x69c]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov dword [eax], 3
jmp 0x1004fc1f
mov eax, dword [ebp - 0x178]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x178]
mov dword [ecx], eax
mov eax, dword [ebp - 0x178]
cmp dword [eax], 0
jl 0x1004fc53
mov byte [ebp - 0xa9], 0
movzx eax, byte [ebp - 0xa9]
test eax, eax
je 0x1004fc51
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
jmp 0x1004fc0e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret