Function at 0x1004ae36
Capabilities:
Get geographical location
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100811c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x584
push esi
push edi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004d119
mov dword [ebp - 0xbc], 3
mov dword [ebp - 0x80], 0x2e91a049
mov dword [ebp - 0x3dc], 0x1afa
mov dword [ebp - 0x380], 0xd5feaf86
mov dword [ebp - 0x164], 0x9c309ab8
mov byte [ebp - 0x55], 0
movzx eax, byte [ebp - 0x55]
test eax, eax
je 0x1004aeb9
push 0x1cfa
push 0x26b6
push 0x1050
push 0x13d3
push 0
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov dword [ebp - 0x80], 0xfffffff8
jmp 0x1004aec9
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xfffffff9
jle 0x1004b074
mov dword [ebp - 0x3cc], 0xffffffff
mov dword [ebp - 0x15c], 8
mov dword [ebp - 0x3f4], 0xffffffff
mov dword [ebp - 0xac], 0
jmp 0x1004af0a
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 2
jge 0x1004af26
mov eax, dword [ebp - 0xac]
mov dword [ebp + eax*4 - 0x3bc], 2
jmp 0x1004aefd
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3bc]
mov dword [ebp - 0x554], eax
mov dword [ebp - 0x380], 0x50d8af87
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x380]
add ecx, dword [ebp + eax - 0x3bc]
mov eax, dword [ebp - 0x80]
add eax, ecx
push 4
pop ecx
imul ecx, ecx, 0
cmp dword [ebp + ecx - 0x3bc], eax
jne 0x1004af76
mov dword [ebp - 0x3c4], 1
jmp 0x1004af7d
and dword [ebp - 0x3c4], 0
mov eax, dword [ebp - 0x3c4]
mov dword [ebp - 0x3cc], eax
mov eax, dword [ebp - 0x3cc]
add eax, 0x54a9bee3
cmp eax, dword [ebp - 0x3dc]
jg 0x1004afa8
mov dword [ebp - 0x3d4], 1
jmp 0x1004afaf
and dword [ebp - 0x3d4], 0
mov eax, dword [ebp - 0x15c]
cmp dword [ebp - 0x3d4], eax
jl 0x1004afc9
mov dword [ebp - 0x3ec], 1
jmp 0x1004afd0
and dword [ebp - 0x3ec], 0
mov eax, dword [ebp - 0x3dc]
mov dword [ebp - 0x558], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x15c]
push 4
pop edx
shl edx, 0
imul ecx, dword [ebp + edx - 0x3bc]
cmp dword [ebp + eax - 0x3bc], ecx
jg 0x1004b011
mov eax, 0x62d50c85
test eax, eax
jne 0x1004b011
and dword [ebp - 0x320], 0
jmp 0x1004b01b
mov dword [ebp - 0x320], 1
mov eax, dword [ebp - 0x320]
sub eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x164]
jg 0x1004b038
mov dword [ebp - 0x384], 1
jmp 0x1004b03f
and dword [ebp - 0x384], 0
mov eax, dword [ebp - 0x164]
add eax, dword [ebp - 0x384]
cmp eax, 0xfffffffe
jg 0x1004b05c
mov dword [ebp - 0x16c], 1
jmp 0x1004b063
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x3f4], eax
jmp 0x1004aec2
mov dword [ebp - 0x150], 3
mov dword [ebp - 0x538], 0x48c4
mov dword [ebp - 0x534], 0x48c4
mov dword [ebp - 0x530], 0x48c4
mov dword [ebp - 0x52c], 0x48c4
mov dword [ebp - 0x330], 6
mov dword [ebp - 0x104], 0
jmp 0x1004b0c9
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 1
jge 0x1004b0e5
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0x440], 0x720d7006
jmp 0x1004b0bc
mov byte [ebp - 0x58], 0
movzx eax, byte [ebp - 0x58]
test eax, eax
je 0x1004b103
push 0x10a8
push 0x1674
push 0
call dword [sym.imp.GDI32.dll_OffsetRgn]
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x538], 0
je 0x1004b12f
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x440], 0
je 0x1004b12f
mov dword [ebp - 0x328], 1
jmp 0x1004b136
and dword [ebp - 0x328], 0
cmp dword [ebp - 0x328], 0xffff
jae 0x1004b14e
mov dword [ebp - 0x174], 1
jmp 0x1004b155
and dword [ebp - 0x174], 0
cmp dword [ebp - 0x174], 0xffffffff
jg 0x1004b16a
mov dword [ebp - 0x3c8], 1
jmp 0x1004b171
and dword [ebp - 0x3c8], 0
mov eax, dword [ebp - 0x330]
cmp dword [ebp - 0x3c8], eax
jl 0x1004b194
mov eax, 0xd711
test eax, eax
je 0x1004b194
mov dword [ebp - 0x17c], 1
jmp 0x1004b19b
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x330], eax
push 1
lea ecx, [ebp - 0x488]
call fcn.100168de
and dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x478]
call fcn.100168de
mov byte [ebp - 4], 1
push 3
lea ecx, [ebp - 0x128]
call fcn.100168de
mov byte [ebp - 4], 2
mov dword [ebp - 0x74], 4
mov dword [ebp - 0x40], 0
jmp 0x1004b1f1
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x1004b20d
push dword [ebp - 0x40]
lea ecx, [ebp - 0x478]
call fcn.1001694b
mov dword [eax], 0xdde0bcd8
jmp 0x1004b1ea
mov dword [ebp - 0x40], 0
jmp 0x1004b21d
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x1004b239
push dword [ebp - 0x40]
lea ecx, [ebp - 0x128]
call fcn.1001694b
mov dword [eax], 0x56f9b2cf
jmp 0x1004b216
push 1
lea ecx, [ebp - 0x128]
call fcn.1001694b
and dword [eax], 0
jmp 0x1004b26f
push 1
lea ecx, [ebp - 0x128]
call fcn.1001694b
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x184]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x128]
call fcn.1001694b
cmp dword [eax], 0
jl 0x1004b4a3
mov dword [ebp - 0x6c], 0x23ed15de
mov dword [ebp - 0x18c], 0x2a2ef7e2
mov dword [ebp - 0x458], 0xffffffff
mov dword [ebp - 0x6c], 0
jmp 0x1004b2b0
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jg 0x1004b481
mov dword [ebp - 0x38c], 0xfffffff9
mov dword [ebp - 0xb4], 0
jmp 0x1004b2dd
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 2
jge 0x1004b2f9
mov eax, dword [ebp - 0xb4]
mov dword [ebp + eax*4 - 0x4f4], 1
jmp 0x1004b2d0
push 1
lea ecx, [ebp - 0x128]
call fcn.1001694b
push dword [eax]
lea ecx, [ebp - 0x478]
call fcn.1001694b
cmp dword [eax], 0
jne 0x1004b473
cmp dword [ebp - 0x6c], 0
je 0x1004b3e3
push 1
lea ecx, [ebp - 0x128]
call fcn.1001694b
push dword [eax]
lea ecx, [ebp - 0x478]
call fcn.1001694b
cmp dword [eax], 0
jne 0x1004b354
cmp dword [ebp - 0x6c], 0
jne 0x1004b354
and dword [ebp - 0x140], 0
jmp 0x1004b35e
mov dword [ebp - 0x140], 1
push 1
lea ecx, [ebp - 0x128]
call fcn.1001694b
push dword [eax]
lea ecx, [ebp - 0x478]
call fcn.1001694b
mov ecx, dword [ebp - 0x140]
mov dword [eax], ecx
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x448], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x448]
mov dword [ebp + eax - 0x4f4], ecx
push 1
lea ecx, [ebp - 0x128]
call fcn.1001694b
push 2
lea ecx, [ebp - 0x128]
call fcn.1001694b
push 2
lea ecx, [ebp - 0x128]
call fcn.1001694b
mov eax, dword [eax]
add eax, 0x4714a16
test eax, eax
jle 0x1004b3e3
mov dword [ebp - 0x450], 1
jmp 0x1004b3ea
and dword [ebp - 0x450], 0
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x560], eax
mov eax, dword [ebp - 0x6c]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x4f4]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x38c]
cmp dword [ebp - 0x18c], eax
jg 0x1004b426
mov dword [ebp - 0x298], 1
jmp 0x1004b42d
and dword [ebp - 0x298], 0
cmp dword [ebp - 0x298], 0xffffffff
jge 0x1004b442
mov dword [ebp - 0x194], 1
jmp 0x1004b449
and dword [ebp - 0x194], 0
push 1
lea ecx, [ebp - 0x128]
call fcn.1001694b
mov ecx, dword [ebp - 0x194]
cmp ecx, dword [eax]
jg 0x1004b46c
mov dword [ebp - 0x29c], 1
jmp 0x1004b473
and dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x458], eax
jmp 0x1004b2a9
mov byte [ebp - 0x62], 0
movzx eax, byte [ebp - 0x62]
test eax, eax
je 0x1004b49e
push 0x1ca6
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x1004b24b
mov dword [ebp - 0x74], 0
jmp 0x1004b4b3
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 2
jg 0x1004b4d9
mov byte [ebp - 0x5a], 0
movzx eax, byte [ebp - 0x5a]
test eax, eax
je 0x1004b4d7
push 0x20c6
push 0x1de7
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x1004b4ac
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x128]
call fcn.10016946
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x478]
call fcn.10016946
mov dword [ebp - 0x35c], 0xffffffff
push 2
lea ecx, [ebp - 0x134]
call fcn.100168de
mov byte [ebp - 4], 3
mov dword [ebp - 0x460], 0xffffffff
mov dword [ebp - 0x1c4], 0x700d35da
mov dword [ebp - 0x468], 0x75761ac7
mov dword [ebp - 0x1c], 0
jmp 0x1004b540
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1004b55c
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x134]
call fcn.1001694b
mov dword [eax], 0x42a4
jmp 0x1004b539
mov dword [ebp - 0x1c], 0
jmp 0x1004b56c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1004b582
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x400], 1
jmp 0x1004b565
mov dword [ebp - 0x1c], 0
jmp 0x1004b592
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1004b5a8
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x57c], 0x752570e8
jmp 0x1004b58b
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x400]
mov dword [ebp - 0x19c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x19c]
mov dword [ebp + eax - 0x400], ecx
cmp dword [ebp - 0x19c], 0xfffffffb
jg 0x1004b5e3
mov dword [ebp - 0x1ac], 1
jmp 0x1004b5ea
and dword [ebp - 0x1ac], 0
push 1
lea ecx, [ebp - 0x134]
call fcn.1001694b
cmp dword [eax], 0xf58382bd
jae 0x1004b60b
mov dword [ebp - 0x2a4], 1
jmp 0x1004b612
and dword [ebp - 0x2a4], 0
cmp dword [ebp - 0x2a4], 0x9b3a00d0
ja 0x1004b62a
mov dword [ebp - 0x1a4], 1
jmp 0x1004b631
and dword [ebp - 0x1a4], 0
push 0
lea ecx, [ebp - 0x134]
call fcn.1001694b
mov ecx, dword [ebp - 0x1a4]
cmp ecx, dword [eax]
jge 0x1004b654
mov dword [ebp - 0x2ac], 1
jmp 0x1004b65b
and dword [ebp - 0x2ac], 0
push 1
lea ecx, [ebp - 0x134]
call fcn.1001694b
mov esi, dword [ebp - 0x2ac]
imul esi, dword [eax]
push 1
lea ecx, [ebp - 0x134]
call fcn.1001694b
cmp esi, dword [eax]
jle 0x1004b68e
mov dword [ebp - 0x2b4], 1
jmp 0x1004b695
and dword [ebp - 0x2b4], 0
mov esi, dword [ebp - 0x1ac]
add esi, dword [ebp - 0x2b4]
push 1
lea ecx, [ebp - 0x134]
call fcn.1001694b
cmp esi, dword [eax]
jl 0x1004b6be
mov dword [ebp - 0x1b4], 1
jmp 0x1004b6c5
and dword [ebp - 0x1b4], 0
push 1
lea ecx, [ebp - 0x134]
call fcn.1001694b
mov ecx, dword [ebp - 0x1b4]
cmp ecx, dword [eax]
jl 0x1004b6e8
mov dword [ebp - 0x2bc], 1
jmp 0x1004b6ef
and dword [ebp - 0x2bc], 0
cmp dword [ebp - 0x2bc], 0xffffffff
je 0x1004b704
mov dword [ebp - 0x1bc], 1
jmp 0x1004b70b
and dword [ebp - 0x1bc], 0
push 1
lea ecx, [ebp - 0x134]
call fcn.1001694b
mov esi, eax
push 1
lea ecx, [ebp - 0x134]
call fcn.1001694b
mov ecx, dword [ebp - 0x1bc]
add ecx, dword [eax]
cmp dword [esi], ecx
jl 0x1004b73f
mov dword [ebp - 0x2c4], 1
jmp 0x1004b746
and dword [ebp - 0x2c4], 0
push 1
lea ecx, [ebp - 0x134]
call fcn.1001694b
mov eax, dword [eax]
add eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x460], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x400]
mov dword [ebp - 0x1c4], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp + eax - 0x57c], ecx
mov dword [ebp - 0x468], 0x1b07fb07
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.10016946
push 3
lea ecx, [ebp - 0x344]
call fcn.100168de
mov byte [ebp - 4], 4
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x3f0], 0x8b1
mov dword [ebp - 0x148], 0xc6d21cd4
mov dword [ebp - 0x1dc], 1
mov dword [ebp - 0xf4], 0
jmp 0x1004b7ef
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 3
jge 0x1004b811
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x344]
call fcn.1001694b
mov dword [eax], 0xdc85f70a
jmp 0x1004b7e2
mov dword [ebp - 0x2c], 2
jmp 0x1004b821
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x1004b97c
mov dword [ebp - 0x3f8], 0xe11a796d
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x344]
call fcn.1001694b
mov esi, eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x344]
call fcn.1001694b
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x1004b865
mov dword [ebp - 0x2d4], 1
jmp 0x1004b86c
and dword [ebp - 0x2d4], 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x344]
call fcn.1001694b
mov eax, dword [eax]
add eax, 0x8b77
cmp eax, dword [ebp - 0x3f0]
jle 0x1004b895
mov dword [ebp - 0x2cc], 1
jmp 0x1004b89c
and dword [ebp - 0x2cc], 0
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x148], eax
jge 0x1004b8bf
mov dword [ebp - 0x1cc], 1
jmp 0x1004b8c6
and dword [ebp - 0x1cc], 0
cmp dword [ebp - 0x1cc], 0
jge 0x1004b8db
mov dword [ebp - 0x1d4], 1
jmp 0x1004b8e2
and dword [ebp - 0x1d4], 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x344]
call fcn.1001694b
mov esi, dword [ebp - 0x2d4]
sub esi, dword [eax]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x344]
call fcn.1001694b
mov ecx, dword [ebp - 0x1d4]
imul ecx, dword [eax]
cmp esi, ecx
jne 0x1004b91f
mov dword [ebp - 0x2dc], 1
jmp 0x1004b926
and dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x1dc], eax
mov esi, dword [ebp - 0x1dc]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x344]
call fcn.1001694b
cmp esi, dword [eax]
jle 0x1004b956
mov dword [ebp - 0x2e4], 1
jmp 0x1004b95d
and dword [ebp - 0x2e4], 0
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x3f8], eax
cmp dword [ebp - 0x148], 0
je 0x1004b977
jmp 0x1004b81a
jmp 0x1004b81a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x344]
call fcn.10016946
mov dword [ebp - 0x50], 0
jmp 0x1004b99b
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jge 0x1004b9b7
push dword [ebp - 0x50]
lea ecx, [ebp - 0x488]
call fcn.1001694b
mov dword [eax], 0x17f75960
jmp 0x1004b994
mov dword [ebp - 0x50], 0
jmp 0x1004b9c7
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jge 0x1004b9dd
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x2b0], 0xaafa0b2b
jmp 0x1004b9c0
mov dword [ebp - 0xbc], 0xfffffff2
jmp 0x1004b9f6
mov eax, dword [ebp - 0xbc]
dec eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0xffffffe6
jg 0x1004c9b7
push 3
lea ecx, [ebp - 0x11c]
call fcn.100168de
mov byte [ebp - 4], 5
mov dword [ebp - 0x20], 0x5020f89b
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x404], 0xfffffffa
mov dword [ebp - 0xdc], 0
jmp 0x1004ba45
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 3
jge 0x1004ba67
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x11c]
call fcn.1001694b
mov dword [eax], 0xdc85f70a
jmp 0x1004ba38
mov dword [ebp - 0x20], 2
jmp 0x1004ba77
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1004be95
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x31c], 0x349b8ae0
mov dword [ebp - 0x21c], 0x4674
mov dword [ebp - 0x18], 2
jmp 0x1004baac
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1004bd8a
mov byte [ebp - 0x75], 0
movzx eax, byte [ebp - 0x75]
test eax, eax
je 0x1004bacf
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x11c]
call fcn.1001694b
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax]
je 0x1004baf6
cmp dword [ebp - 0x18], 0
je 0x1004baf6
mov dword [ebp - 0x1e4], 1
jmp 0x1004bafd
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x1e4]
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x18]
jg 0x1004bb17
mov dword [ebp - 0x2ec], 1
jmp 0x1004bb1e
and dword [ebp - 0x2ec], 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x11c]
call fcn.1001694b
imul eax, dword [eax], 0xe780
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
neg eax
cmp eax, dword [ebp - 0x2ec]
je 0x1004bb4e
mov dword [ebp - 0x1ec], 1
jmp 0x1004bb55
and dword [ebp - 0x1ec], 0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x11c]
call fcn.1001694b
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1ec]
jl 0x1004bd67
mov dword [ebp - 0xc4], 8
cmp dword [ebp - 0xc4], 0
jne 0x1004bd13
push dword [ebp - 0x20]
lea ecx, [ebp - 0x11c]
call fcn.1001694b
cmp dword [ebp - 0x30], 0
jne 0x1004bbb2
mov dword [ebp - 0x30], 1
cmp dword [ebp - 0x30], 0
jne 0x1004bbb2
and dword [ebp - 0x204], 0
jmp 0x1004bbbc
mov dword [ebp - 0x204], 1
push dword [ebp - 0x20]
lea ecx, [ebp - 0x11c]
call fcn.1001694b
mov esi, eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x11c]
call fcn.1001694b
mov ecx, dword [esi]
cmp ecx, dword [eax]
jl 0x1004bbf1
xor eax, eax
inc eax
je 0x1004bbf1
mov dword [ebp - 0x2f4], 1
jmp 0x1004bbf8
and dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x2f4], eax
jle 0x1004bc12
mov dword [ebp - 0x1f4], 1
jmp 0x1004bc19
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x1f4], eax
jle 0x1004bc33
mov dword [ebp - 0x2fc], 1
jmp 0x1004bc3a
and dword [ebp - 0x2fc], 0
mov eax, dword [ebp - 0x2fc]
inc eax
je 0x1004bc55
cmp dword [ebp - 0x20], 0
je 0x1004bc55
mov dword [ebp - 0x1fc], 1
jmp 0x1004bc5c
and dword [ebp - 0x1fc], 0
push 2
lea ecx, [ebp - 0x11c]
call fcn.1001694b
mov ecx, dword [ebp - 0x1fc]
cmp ecx, dword [eax]
je 0x1004bc7f
mov dword [ebp - 0x304], 1
jmp 0x1004bc86
and dword [ebp - 0x304], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x304], eax
jge 0x1004bc9d
mov dword [ebp - 0x30c], 1
jmp 0x1004bca4
and dword [ebp - 0x30c], 0
mov eax, dword [ebp - 0x204]
cmp eax, dword [ebp - 0x30c]
je 0x1004bcbe
mov dword [ebp - 0x20c], 1
jmp 0x1004bcc5
and dword [ebp - 0x20c], 0
cmp dword [ebp - 0x20c], 0
jl 0x1004bcda
mov dword [ebp - 0x408], 1
jmp 0x1004bce1
and dword [ebp - 0x408], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x568], eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x11c]
call fcn.1001694b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x570], eax
cmp dword [ebp - 0x18], 0
jne 0x1004bd13
and dword [ebp - 0x314], 0
jmp 0x1004bd1d
mov dword [ebp - 0x314], 1
push dword [ebp - 0x20]
lea ecx, [ebp - 0x11c]
call fcn.1001694b
mov ecx, dword [ebp - 0x314]
cmp ecx, dword [eax]
jge 0x1004bd41
mov dword [ebp - 0x214], 1
jmp 0x1004bd48
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x214]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x18], 0
je 0x1004bd65
jmp 0x1004baa5
jmp 0x1004bd85
mov byte [ebp - 0x5c], 0
movzx eax, byte [ebp - 0x5c]
test eax, eax
je 0x1004bd85
push 0x193f
push 0x2574
push 0
call dword [sym.imp.USER32.dll_InflateRect]
jmp 0x1004baa5
mov dword [ebp - 0x30], 0
jmp 0x1004bd9a
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jg 0x1004be90
mov dword [ebp - 0x18], 0
jmp 0x1004bdb4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x1004be8b
mov dword [ebp - 0x430], 0xa349a2dd
mov esi, dword [ebp - 0x18]
push 2
lea ecx, [ebp - 0x11c]
call fcn.1001694b
sub esi, dword [eax]
mov dword [ebp - 0x31c], esi
mov esi, dword [ebp - 0x31c]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x11c]
call fcn.1001694b
cmp dword [eax], esi
jg 0x1004be04
mov dword [ebp - 0x224], 1
jmp 0x1004be0b
and dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 1
mov eax, dword [ebp - 0x21c]
add eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x30]
jle 0x1004be2f
mov dword [ebp - 0x324], 1
jmp 0x1004be36
and dword [ebp - 0x324], 0
cmp dword [ebp - 0x324], 0x1ae2efaa
jge 0x1004be4e
mov dword [ebp - 0x32c], 1
jmp 0x1004be55
and dword [ebp - 0x32c], 0
mov eax, dword [ebp - 0x224]
imul eax, dword [ebp - 0x32c]
cmp eax, dword [ebp - 0x18]
jl 0x1004be73
mov dword [ebp - 0x22c], 1
jmp 0x1004be7a
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x430], eax
jmp 0x1004bdad
jmp 0x1004bd93
jmp 0x1004ba70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.10016946
mov dword [ebp - 0x424], 1
mov dword [ebp - 0x454], 0x551da622
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x7c], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x584], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x544], eax
cmp dword [ebp - 0x10], 0
je 0x1004bef0
cmp dword [ebp - 0x10], 0
je 0x1004bef0
mov dword [ebp - 0x334], 1
jmp 0x1004bef7
and dword [ebp - 0x334], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x334]
jg 0x1004bf0e
mov dword [ebp - 0x234], 1
jmp 0x1004bf15
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x234], eax
je 0x1004bf2c
mov dword [ebp - 0x348], 1
jmp 0x1004bf33
and dword [ebp - 0x348], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x348], eax
jne 0x1004bf4a
mov dword [ebp - 0x23c], 1
jmp 0x1004bf51
and dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x23c], eax
jg 0x1004bf68
mov dword [ebp - 0x350], 1
jmp 0x1004bf6f
and dword [ebp - 0x350], 0
mov eax, dword [ebp - 0x350]
sub eax, 0x61581472
je 0x1004bf9a
mov eax, 0xdc99
test eax, eax
je 0x1004bf9a
mov eax, 0x365dea31
test eax, eax
je 0x1004bf9a
mov dword [ebp - 0x244], 1
jmp 0x1004bfa1
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x244], eax
jge 0x1004bfb8
mov dword [ebp - 0x358], 1
jmp 0x1004bfbf
and dword [ebp - 0x358], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x358]
jg 0x1004bfd6
mov dword [ebp - 0x24c], 1
jmp 0x1004bfdd
and dword [ebp - 0x24c], 0
push 0xfffffffffffffffd
pop eax
sub eax, dword [ebp - 0x24c]
sub eax, dword [ebp - 0x10]
cmp eax, 1
jae 0x1004c015
mov byte [ebp - 0x64], 0
movzx eax, byte [ebp - 0x64]
test eax, eax
je 0x1004c010
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_SetTextColor]
jmp 0x1004c365
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x41c], 0xfff7
mov dword [ebp - 0x418], 0xfff7
mov dword [ebp - 0x414], 0xfff7
mov dword [ebp - 0x410], 0xfff7
mov dword [ebp - 0x10], 0xffffffeb
jmp 0x1004c054
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004c224
mov dword [ebp - 0x44], 0xc4177fd8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x588], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x10], eax
je 0x1004c082
mov dword [ebp - 0x360], 1
jmp 0x1004c089
and dword [ebp - 0x360], 0
cmp dword [ebp - 0x360], 2
je 0x1004c09e
mov dword [ebp - 0x368], 1
jmp 0x1004c0a5
and dword [ebp - 0x368], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x254], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x254]
mov dword [ebp + eax - 0x41c], ecx
mov eax, dword [ebp - 0x254]
cmp eax, dword [ebp - 0x368]
jle 0x1004c0da
mov dword [ebp - 0x25c], 1
jmp 0x1004c0e1
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x25c]
neg eax
add eax, 0xf323
imul eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x10]
je 0x1004c103
mov dword [ebp - 0x370], 1
jmp 0x1004c10a
and dword [ebp - 0x370], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x370], eax
jne 0x1004c121
mov dword [ebp - 0x264], 1
jmp 0x1004c128
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x1004c143
mov dword [ebp - 0x438], 1
jmp 0x1004c14a
and dword [ebp - 0x438], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x54c], eax
cmp dword [ebp - 0x34], 0xd2c6
jne 0x1004c168
mov dword [ebp - 0x378], 1
jmp 0x1004c16f
and dword [ebp - 0x378], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x378], eax
jl 0x1004c186
mov dword [ebp - 0x26c], 1
jmp 0x1004c18d
and dword [ebp - 0x26c], 0
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x44]
cmp eax, 9
ja 0x1004c1ad
mov dword [ebp - 0x154], 1
jmp 0x1004c1b4
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x154], 0
jne 0x1004c1c9
mov dword [ebp - 0x274], 1
jmp 0x1004c1d0
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 3
jmp 0x1004c1e9
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x1004c21f
mov dword [ebp - 0x34], 0
jmp 0x1004c1ff
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jg 0x1004c21d
mov byte [ebp - 0x5e], 0
movzx eax, byte [ebp - 0x5e]
test eax, eax
je 0x1004c21b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x1004c1f8
jmp 0x1004c1e2
jmp 0x1004c04d
mov dword [ebp - 0x10], 0xd
jmp 0x1004c234
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xc
jne 0x1004c365
mov dword [ebp - 0x428], 6
mov dword [ebp - 0x7c], 0
jmp 0x1004c258
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 4
jge 0x1004c26e
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x41c], 0
jmp 0x1004c251
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x41c], 0
jne 0x1004c34a
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x41c]
mov dword [ebp - 0x56c], eax
mov eax, 0x2df100f8
test eax, eax
jne 0x1004c2ab
cmp dword [ebp - 0x10], 0
jne 0x1004c2ab
and dword [ebp - 0x388], 0
jmp 0x1004c2b5
mov dword [ebp - 0x388], 1
cmp dword [ebp - 0x388], 0xcdaa9320
jae 0x1004c2cd
mov dword [ebp - 0x27c], 1
jmp 0x1004c2d4
and dword [ebp - 0x27c], 0
cmp dword [ebp - 0x27c], 0x47df
jl 0x1004c2ec
mov dword [ebp - 0x390], 1
jmp 0x1004c2f3
and dword [ebp - 0x390], 0
cmp dword [ebp - 0x390], 0x7d6e
jg 0x1004c30b
mov dword [ebp - 0x284], 1
jmp 0x1004c312
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jb 0x1004c32d
mov dword [ebp - 0x398], 1
jmp 0x1004c334
and dword [ebp - 0x398], 0
mov eax, dword [ebp - 0x398]
add eax, 0x9ab6
jne 0x1004c34a
and dword [ebp - 0x28c], 0
jmp 0x1004c354
mov dword [ebp - 0x28c], 1
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x428], eax
jmp 0x1004c22d
mov dword [ebp - 0x3b4], 0x79e672ca
mov dword [ebp - 0xe0], 0xfffffff7
mov dword [ebp - 0xe0], 0xf
jmp 0x1004c392
mov eax, dword [ebp - 0xe0]
dec eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 7
jg 0x1004c470
mov dword [ebp - 0x3c], 0x20fe6e32
push 1
lea ecx, [ebp - 0x4e0]
call fcn.100168de
mov byte [ebp - 4], 6
mov dword [ebp - 0xcc], 0
jmp 0x1004c3d0
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 1
jge 0x1004c3f2
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x4e0]
call fcn.1001694b
mov dword [eax], 0xffff
jmp 0x1004c3c3
mov dword [ebp - 0x3c], 0
jmp 0x1004c402
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x17
jl 0x1004c422
mov byte [ebp - 0x6d], 0
movzx eax, byte [ebp - 0x6d]
test eax, eax
je 0x1004c420
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorOwner]
jmp 0x1004c3fb
mov dword [ebp - 0x3c], 0
jmp 0x1004c432
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jg 0x1004c45c
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x4e0]
call fcn.1001694b
mov esi, eax
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x4e0]
call fcn.1001694b
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x1004c42b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4e0]
call fcn.10016946
jmp 0x1004c385
mov dword [ebp - 0xe8], 0
jmp 0x1004c489
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 1
jge 0x1004c4a5
mov eax, dword [ebp - 0xe8]
mov dword [ebp + eax*4 - 0x3a0], 0
jmp 0x1004c47c
mov byte [ebp - 0x60], 0
movzx eax, byte [ebp - 0x60]
test eax, eax
je 0x1004c4c3
push 0x20c6
push 0x1de7
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3a0]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3a0], eax
mov dword [ebp - 0x3d8], 0x4da86284
mov dword [ebp - 0x4c], 0x2cb13638
mov dword [ebp - 0xd4], 0
jmp 0x1004c508
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 2
jge 0x1004c524
mov eax, dword [ebp - 0xd4]
mov dword [ebp + eax*4 - 0x4fc], 0x3342eb9
jmp 0x1004c4fb
mov dword [ebp - 0x4c], 1
jmp 0x1004c534
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x1004c5a4
mov dword [ebp - 0x90], 0xc4530722
mov byte [ebp - 0x56], 0
movzx eax, byte [ebp - 0x56]
test eax, eax
je 0x1004c556
call dword [sym.imp.USER32.dll_GetCapture]
mov dword [ebp - 0x90], 0
jmp 0x1004c56f
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 1
jg 0x1004c5a2
mov byte [ebp - 0x57], 0
movzx eax, byte [ebp - 0x57]
test eax, eax
je 0x1004c58e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
mov eax, dword [ebp - 0x90]
cmp dword [ebp + eax*4 - 0x4fc], 0
je 0x1004c5a0
jmp 0x1004c562
jmp 0x1004c562
jmp 0x1004c52d
mov dword [ebp - 0x4c], 0
jmp 0x1004c5b4
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x1004c5ca
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x4fc], 6
jmp 0x1004c5ad
mov dword [ebp - 0x13c], 1
mov dword [ebp - 0x88], 0xdd1e1e87
mov dword [ebp - 0x53c], 0
mov dword [ebp - 0xf0], 0
jmp 0x1004c601
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 3
jge 0x1004c61d
mov eax, dword [ebp - 0xf0]
mov dword [ebp + eax*4 - 0x51c], 0xfffffffd
jmp 0x1004c5f4
mov dword [ebp - 0x88], 0
jmp 0x1004c636
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jg 0x1004c6d0
mov dword [ebp - 0x94], 0x56a9ef72
mov dword [ebp - 0x94], 0
jmp 0x1004c666
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 2
jg 0x1004c6cb
mov dword [ebp - 0xa4], 0xf7d65121
mov dword [ebp - 0xa4], 0
jmp 0x1004c692
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 2
jg 0x1004c6c9
mov eax, dword [ebp - 0x88]
cmp dword [ebp + eax*4 - 0x51c], 0
je 0x1004c6ad
jmp 0x1004c6c9
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp + eax*4 - 0x51c]
mov dword [ebp + ecx*4 - 0x51c], eax
jmp 0x1004c685
jmp 0x1004c659
jmp 0x1004c629
mov byte [ebp - 0x59], 0
movzx eax, byte [ebp - 0x59]
test eax, eax
je 0x1004c6f3
push 0x1af1
push 0x1cf3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [ebp - 0xf8], 0
jmp 0x1004c70c
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 4
jge 0x1004c728
mov eax, dword [ebp - 0xf8]
mov dword [ebp + eax*4 - 0x4c8], 0x7adf1adb
jmp 0x1004c6ff
mov eax, dword [ebp - 0x13c]
dec eax
mov dword [ebp - 0x13c], eax
mov esi, dword [ebp - 0x454]
push 0
lea ecx, [ebp - 0x488]
call fcn.1001694b
cmp esi, dword [eax]
jge 0x1004c758
mov dword [ebp - 0x34c], 1
jmp 0x1004c75f
and dword [ebp - 0x34c], 0
mov dword [ebp - 0x150], 6
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x4c8]
cmp eax, dword [ebp - 0x150]
jl 0x1004c78a
mov dword [ebp - 0x294], 1
jmp 0x1004c791
and dword [ebp - 0x294], 0
push 0
lea ecx, [ebp - 0x488]
call fcn.1001694b
mov ecx, dword [ebp - 0x294]
imul ecx, dword [eax]
push 4
pop eax
imul eax, eax, 0
cmp ecx, dword [ebp + eax - 0x4c8]
jl 0x1004c7c2
mov dword [ebp - 0x3a8], 1
jmp 0x1004c7c9
and dword [ebp - 0x3a8], 0
mov eax, dword [ebp - 0x3a8]
dec eax
dec eax
mov dword [ebp - 0x3b0], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3b0]
mov dword [ebp + eax - 0x2b0], ecx
mov eax, dword [ebp - 0x35c]
add eax, dword [ebp - 0x3b0]
jne 0x1004c813
mov eax, 0x914a1265
test eax, eax
jne 0x1004c813
cmp dword [ebp - 0x150], 0
jne 0x1004c813
and dword [ebp - 0x2a0], 0
jmp 0x1004c81d
mov dword [ebp - 0x2a0], 1
push 0
lea ecx, [ebp - 0x488]
call fcn.1001694b
mov ecx, dword [ebp - 0x2a0]
sub ecx, dword [eax]
jne 0x1004c844
push 8
pop eax
test eax, eax
jne 0x1004c844
and dword [ebp - 0x338], 0
jmp 0x1004c84e
mov dword [ebp - 0x338], 1
imul eax, dword [ebp - 0x338], 0xfffffff8
sub eax, 6
je 0x1004c86f
cmp dword [ebp - 0x13c], 0
je 0x1004c86f
mov dword [ebp - 0x2a8], 1
jmp 0x1004c876
and dword [ebp - 0x2a8], 0
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x3b4], eax
mov eax, dword [ebp - 0x3b4]
mov dword [ebp - 0x580], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4c8]
imul eax, dword [ebp - 0x3d8]
test eax, eax
jne 0x1004c8bf
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2b0], 0
jne 0x1004c8bf
and dword [ebp - 0x2b8], 0
jmp 0x1004c8c9
mov dword [ebp - 0x2b8], 1
mov eax, dword [ebp - 0x34c]
cmp eax, dword [ebp - 0x2b8]
jg 0x1004c8e3
mov dword [ebp - 0x394], 1
jmp 0x1004c8ea
and dword [ebp - 0x394], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4c8]
cmp dword [ebp - 0x394], eax
je 0x1004c90b
mov dword [ebp - 0x2c0], 1
jmp 0x1004c912
and dword [ebp - 0x2c0], 0
cmp dword [ebp - 0x2c0], 0
jl 0x1004c927
mov dword [ebp - 0x354], 1
jmp 0x1004c92e
and dword [ebp - 0x354], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4c8]
cmp dword [ebp - 0x354], eax
jge 0x1004c94f
mov dword [ebp - 0x2c8], 1
jmp 0x1004c956
and dword [ebp - 0x2c8], 0
mov eax, dword [ebp - 0x424]
cmp dword [ebp - 0x2c8], eax
jg 0x1004c970
mov dword [ebp - 0x2d0], 1
jmp 0x1004c977
and dword [ebp - 0x2d0], 0
mov eax, dword [ebp - 0x3d8]
cmp dword [ebp - 0x2d0], eax
je 0x1004c991
mov dword [ebp - 0x2d8], 1
jmp 0x1004c998
and dword [ebp - 0x2d8], 0
mov eax, dword [ebp - 0x35c]
imul eax, dword [ebp - 0x2d8]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x4c8], eax
jmp 0x1004b9e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x488]
call fcn.10016946
mov eax, dword [ebp + 8]
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x28], 0x29949dfc
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0xe4], 0
jmp 0x1004ca00
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 1
jge 0x1004ca1c
mov eax, dword [ebp - 0xe4]
mov dword [ebp + eax*4 - 0x8c], 0x996f377c
jmp 0x1004c9f3
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x54]
imul eax, ecx
cmp eax, dword [ebp - 0x54]
jl 0x1004ca40
mov dword [ebp - 0x39c], 1
jmp 0x1004ca47
and dword [ebp - 0x39c], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x54], eax
jge 0x1004ca5b
mov dword [ebp - 0x2e0], 1
jmp 0x1004ca62
and dword [ebp - 0x2e0], 0
mov eax, dword [ebp - 0x39c]
sub eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x2e0]
cmp eax, dword [ebp - 0x54]
jne 0x1004ca82
mov dword [ebp - 0x364], 1
jmp 0x1004ca89
and dword [ebp - 0x364], 0
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 0
jmp 0x1004caa2
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jg 0x1004cc95
push 4
lea ecx, [ebp - 0x4ec]
call fcn.100168de
mov dword [ebp - 4], 7
mov dword [ebp - 0x2f0], 0xfffffff9
mov dword [ebp - 0x42c], 9
mov dword [ebp - 0xfc], 0
jmp 0x1004caed
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 4
jge 0x1004cb0f
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x4ec]
call fcn.1001694b
mov dword [eax], 1
jmp 0x1004cae0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x8c]
mov dword [ebp - 0x55c], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp + eax*4 - 0x8c]
mov dword [ebp - 0x574], eax
push 2
lea ecx, [ebp - 0x4ec]
call fcn.1001694b
cmp dword [ebp - 0x54], 0
jb 0x1004cb51
mov dword [ebp - 0x2e8], 1
jmp 0x1004cb58
and dword [ebp - 0x2e8], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp + eax*4 - 0x8c]
cmp dword [ebp - 0x2e8], eax
jle 0x1004cb76
mov dword [ebp - 0x3c0], 1
jmp 0x1004cb7d
and dword [ebp - 0x3c0], 0
mov eax, 0xfb8c
sub eax, dword [ebp - 0x3c0]
mov dword [ebp - 0x2f0], eax
mov esi, dword [ebp - 0x2f0]
neg esi
sub esi, 0x797
push 2
lea ecx, [ebp - 0x4ec]
call fcn.1001694b
cmp esi, dword [eax]
jg 0x1004cbb9
mov dword [ebp - 0x36c], 1
jmp 0x1004cbc0
and dword [ebp - 0x36c], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x36c]
sub ecx, dword [ebp - 0x28]
cmp dword [ebp + eax*4 - 0x8c], ecx
jg 0x1004cbe1
mov dword [ebp - 0x2f8], 1
jmp 0x1004cbe8
and dword [ebp - 0x2f8], 0
cmp dword [ebp - 0x2f8], 1
je 0x1004cbfd
mov dword [ebp - 0x3a4], 1
jmp 0x1004cc04
and dword [ebp - 0x3a4], 0
mov eax, dword [ebp - 0x3a4]
add eax, 0xd7c6
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x8c]
jne 0x1004cc2a
mov dword [ebp - 0x300], 1
jmp 0x1004cc31
and dword [ebp - 0x300], 0
mov eax, dword [ebp - 0x48c]
cmp dword [ebp - 0x300], eax
jge 0x1004cc4b
mov dword [ebp - 0x374], 1
jmp 0x1004cc52
and dword [ebp - 0x374], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp + eax*4 - 0x8c]
add eax, dword [ebp - 0x374]
mov dword [ebp - 0x42c], eax
mov byte [ebp - 0x5b], 0
movzx eax, byte [ebp - 0x5b]
test eax, eax
je 0x1004cc81
push 0x24ea
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4ec]
call fcn.10016946
jmp 0x1004ca9b
mov dword [ebp - 0xec], 3
mov dword [ebp - 0x14c], 3
push 1
lea ecx, [ebp - 0x498]
call fcn.100168de
mov dword [ebp - 4], 8
mov dword [ebp - 0x1a8], 0xffffffff
mov dword [ebp - 0x48], 0
jmp 0x1004ccd7
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x1004ccf3
push dword [ebp - 0x48]
lea ecx, [ebp - 0x498]
call fcn.1001694b
mov dword [eax], 0x17f75960
jmp 0x1004ccd0
mov dword [ebp - 0x48], 0
jmp 0x1004cd03
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x1004cd19
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x160], 0xaafa0b2b
jmp 0x1004ccfc
mov dword [ebp - 0xec], 0xfffffff2
jmp 0x1004cd32
mov eax, dword [ebp - 0xec]
dec eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0xffffffe6
jg 0x1004d035
mov dword [ebp - 0x434], 1
mov dword [ebp - 0x45c], 0x551da622
mov dword [ebp - 0x158], 0x79e672ca
mov dword [ebp - 0x198], 0x4da86284
mov dword [ebp - 0x144], 1
mov dword [ebp - 0xa8], 0
jmp 0x1004cd8a
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 4
jge 0x1004cda6
mov eax, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x4b8], 0x7adf1adb
jmp 0x1004cd7d
mov eax, dword [ebp - 0x144]
dec eax
mov dword [ebp - 0x144], eax
mov esi, dword [ebp - 0x45c]
push 0
lea ecx, [ebp - 0x498]
call fcn.1001694b
cmp esi, dword [eax]
jge 0x1004cdd6
mov dword [ebp - 0x168], 1
jmp 0x1004cddd
and dword [ebp - 0x168], 0
mov dword [ebp - 0x14c], 6
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x4b8]
cmp eax, dword [ebp - 0x14c]
jl 0x1004ce08
mov dword [ebp - 0x308], 1
jmp 0x1004ce0f
and dword [ebp - 0x308], 0
push 0
lea ecx, [ebp - 0x498]
call fcn.1001694b
mov ecx, dword [ebp - 0x308]
imul ecx, dword [eax]
push 4
pop eax
imul eax, eax, 0
cmp ecx, dword [ebp + eax - 0x4b8]
jl 0x1004ce40
mov dword [ebp - 0x3d0], 1
jmp 0x1004ce47
and dword [ebp - 0x3d0], 0
mov eax, dword [ebp - 0x3d0]
dec eax
dec eax
mov dword [ebp - 0x310], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x310]
mov dword [ebp + eax - 0x160], ecx
mov eax, dword [ebp - 0x1a8]
add eax, dword [ebp - 0x310]
jne 0x1004ce91
mov eax, 0x914a1265
test eax, eax
jne 0x1004ce91
cmp dword [ebp - 0x14c], 0
jne 0x1004ce91
and dword [ebp - 0x37c], 0
jmp 0x1004ce9b
mov dword [ebp - 0x37c], 1
push 0
lea ecx, [ebp - 0x498]
call fcn.1001694b
mov ecx, dword [ebp - 0x37c]
sub ecx, dword [eax]
jne 0x1004cec2
push 8
pop eax
test eax, eax
jne 0x1004cec2
and dword [ebp - 0x318], 0
jmp 0x1004cecc
mov dword [ebp - 0x318], 1
imul eax, dword [ebp - 0x318], 0xfffffff8
sub eax, 6
je 0x1004ceed
cmp dword [ebp - 0x144], 0
je 0x1004ceed
mov dword [ebp - 0x3ac], 1
jmp 0x1004cef4
and dword [ebp - 0x3ac], 0
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x564], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4b8]
imul eax, dword [ebp - 0x198]
test eax, eax
jne 0x1004cf3d
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x160], 0
jne 0x1004cf3d
and dword [ebp - 0x170], 0
jmp 0x1004cf47
mov dword [ebp - 0x170], 1
mov eax, dword [ebp - 0x168]
cmp eax, dword [ebp - 0x170]
jg 0x1004cf61
mov dword [ebp - 0x178], 1
jmp 0x1004cf68
and dword [ebp - 0x178], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4b8]
cmp dword [ebp - 0x178], eax
je 0x1004cf89
mov dword [ebp - 0x180], 1
jmp 0x1004cf90
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 0
jl 0x1004cfa5
mov dword [ebp - 0x188], 1
jmp 0x1004cfac
and dword [ebp - 0x188], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4b8]
cmp dword [ebp - 0x188], eax
jge 0x1004cfcd
mov dword [ebp - 0x190], 1
jmp 0x1004cfd4
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x434]
cmp dword [ebp - 0x190], eax
jg 0x1004cfee
mov dword [ebp - 0x1a0], 1
jmp 0x1004cff5
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x198]
cmp dword [ebp - 0x1a0], eax
je 0x1004d00f
mov dword [ebp - 0x1b0], 1
jmp 0x1004d016
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x1a8]
imul eax, dword [ebp - 0x1b0]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x4b8], eax
jmp 0x1004cd25
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x498]
call fcn.10016946
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0xb0], 0x48261f9c
mov dword [ebp - 0xb0], 0xffffffee
jmp 0x1004d073
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 4
jl 0x1004d108
push 1
lea ecx, [ebp - 0x528]
call fcn.100168de
mov dword [ebp - 4], 9
mov dword [ebp - 0xb8], 0
jmp 0x1004d0ad
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 1
jge 0x1004d0cf
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x528]
call fcn.1001694b
mov dword [eax], 0x34e6d4f2
jmp 0x1004d0a0
push 0
lea ecx, [ebp - 0x528]
call fcn.1001694b
mov dword [eax], 0xfffffffe
mov byte [ebp - 0x5d], 0
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x1004d0f4
call dword [sym.imp.USER32.dll_GetCapture]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x528]
call fcn.10016946
jmp 0x1004d066
mov eax, dword [ebp - 0x43c]
mov dword [eax], 0xa0b8ee41
jmp 0x1004da45
push 3
lea ecx, [ebp - 0x110]
call fcn.100168de
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x24], 0x5020f89b
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x444], 0xfffffffa
mov dword [ebp - 0xc0], 0
jmp 0x1004d15e
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 3
jge 0x1004d180
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x110]
call fcn.1001694b
mov dword [eax], 0xdc85f70a
jmp 0x1004d151
mov dword [ebp - 0x24], 2
jmp 0x1004d190
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x1004d5ae
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x220], 0x349b8ae0
mov dword [ebp - 0x228], 0x4674
mov dword [ebp - 0x14], 2
jmp 0x1004d1c5
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1004d4a3
mov byte [ebp - 0x5f], 0
movzx eax, byte [ebp - 0x5f]
test eax, eax
je 0x1004d1e8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x110]
call fcn.1001694b
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax]
je 0x1004d20f
cmp dword [ebp - 0x14], 0
je 0x1004d20f
mov dword [ebp - 0x1b8], 1
jmp 0x1004d216
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1b8]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x14]
jg 0x1004d230
mov dword [ebp - 0x1c0], 1
jmp 0x1004d237
and dword [ebp - 0x1c0], 0
push dword [ebp - 0x24]
lea ecx, [ebp - 0x110]
call fcn.1001694b
imul eax, dword [eax], 0xe780
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
neg eax
cmp eax, dword [ebp - 0x1c0]
je 0x1004d267
mov dword [ebp - 0x1c8], 1
jmp 0x1004d26e
and dword [ebp - 0x1c8], 0
push dword [ebp - 0x24]
lea ecx, [ebp - 0x110]
call fcn.1001694b
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c8]
jl 0x1004d480
mov dword [ebp - 0xc8], 8
cmp dword [ebp - 0xc8], 0
jne 0x1004d42c
push dword [ebp - 0x24]
lea ecx, [ebp - 0x110]
call fcn.1001694b
cmp dword [ebp - 0x38], 0
jne 0x1004d2cb
mov dword [ebp - 0x38], 1
cmp dword [ebp - 0x38], 0
jne 0x1004d2cb
and dword [ebp - 0x1f8], 0
jmp 0x1004d2d5
mov dword [ebp - 0x1f8], 1
push dword [ebp - 0x24]
lea ecx, [ebp - 0x110]
call fcn.1001694b
mov esi, eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x110]
call fcn.1001694b
mov ecx, dword [esi]
cmp ecx, dword [eax]
jl 0x1004d30a
xor eax, eax
inc eax
je 0x1004d30a
mov dword [ebp - 0x1d0], 1
jmp 0x1004d311
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x1d0], eax
jle 0x1004d32b
mov dword [ebp - 0x1d8], 1
jmp 0x1004d332
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x1d8], eax
jle 0x1004d34c
mov dword [ebp - 0x1e0], 1
jmp 0x1004d353
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x1e0]
inc eax
je 0x1004d36e
cmp dword [ebp - 0x24], 0
je 0x1004d36e
mov dword [ebp - 0x1e8], 1
jmp 0x1004d375
and dword [ebp - 0x1e8], 0
push 2
lea ecx, [ebp - 0x110]
call fcn.1001694b
mov ecx, dword [ebp - 0x1e8]
cmp ecx, dword [eax]
je 0x1004d398
mov dword [ebp - 0x1f0], 1
jmp 0x1004d39f
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1f0], eax
jge 0x1004d3b6
mov dword [ebp - 0x200], 1
jmp 0x1004d3bd
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x1f8]
cmp eax, dword [ebp - 0x200]
je 0x1004d3d7
mov dword [ebp - 0x208], 1
jmp 0x1004d3de
and dword [ebp - 0x208], 0
cmp dword [ebp - 0x208], 0
jl 0x1004d3f3
mov dword [ebp - 0x464], 1
jmp 0x1004d3fa
and dword [ebp - 0x464], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x540], eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x110]
call fcn.1001694b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x548], eax
cmp dword [ebp - 0x14], 0
jne 0x1004d42c
and dword [ebp - 0x210], 0
jmp 0x1004d436
mov dword [ebp - 0x210], 1
push dword [ebp - 0x24]
lea ecx, [ebp - 0x110]
call fcn.1001694b
mov ecx, dword [ebp - 0x210]
cmp ecx, dword [eax]
jge 0x1004d45a
mov dword [ebp - 0x218], 1
jmp 0x1004d461
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x14], 0
je 0x1004d47e
jmp 0x1004d1be
jmp 0x1004d49e
mov byte [ebp - 0x61], 0
movzx eax, byte [ebp - 0x61]
test eax, eax
je 0x1004d49e
push 0x193f
push 0x2574
push 0
call dword [sym.imp.USER32.dll_InflateRect]
jmp 0x1004d1be
mov dword [ebp - 0x38], 0
jmp 0x1004d4b3
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jg 0x1004d5a9
mov dword [ebp - 0x14], 0
jmp 0x1004d4cd
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x1004d5a4
mov dword [ebp - 0x49c], 0xa349a2dd
mov esi, dword [ebp - 0x14]
push 2
lea ecx, [ebp - 0x110]
call fcn.1001694b
sub esi, dword [eax]
mov dword [ebp - 0x220], esi
mov esi, dword [ebp - 0x220]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x110]
call fcn.1001694b
cmp dword [eax], esi
jg 0x1004d51d
mov dword [ebp - 0x238], 1
jmp 0x1004d524
and dword [ebp - 0x238], 0
mov dword [ebp - 0x228], 1
mov eax, dword [ebp - 0x228]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x38]
jle 0x1004d548
mov dword [ebp - 0x230], 1
jmp 0x1004d54f
and dword [ebp - 0x230], 0
cmp dword [ebp - 0x230], 0x1ae2efaa
jge 0x1004d567
mov dword [ebp - 0x240], 1
jmp 0x1004d56e
and dword [ebp - 0x240], 0
mov eax, dword [ebp - 0x238]
imul eax, dword [ebp - 0x240]
cmp eax, dword [ebp - 0x14]
jl 0x1004d58c
mov dword [ebp - 0x248], 1
jmp 0x1004d593
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x49c], eax
jmp 0x1004d4c6
jmp 0x1004d4ac
jmp 0x1004d189
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.10016946
mov byte [ebp - 0x63], 0
movzx eax, byte [ebp - 0x63]
test eax, eax
je 0x1004da45
mov dword [ebp - 0x9c], 0xac204e2d
push 1
lea ecx, [ebp - 0x4d4]
call fcn.100168de
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x550], 1
mov dword [ebp - 0x420], 0x52027495
mov dword [ebp - 0x84], 0xf889e022
mov dword [ebp - 0xd0], 0
jmp 0x1004d622
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 1
jge 0x1004d644
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x4d4]
call fcn.1001694b
mov dword [eax], 0x8bea1220
jmp 0x1004d615
mov dword [ebp - 0x9c], 0
jmp 0x1004d65d
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x1b
jle 0x1004da13
mov dword [ebp - 0xa0], 0x95e17ca0
mov dword [ebp - 0x260], 0x1cd1ac8c
mov dword [ebp - 0xa0], 0x10
jmp 0x1004d697
mov eax, dword [ebp - 0xa0]
dec eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xfffffffb
jg 0x1004da0e
mov dword [ebp - 0x98], 0x3a0b8ee4
mov dword [ebp - 0xd8], 0
jmp 0x1004d6c7
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 1
jge 0x1004d6e3
mov eax, dword [ebp - 0xd8]
mov dword [ebp + eax*4 - 0x268], 0xd72b90f9
jmp 0x1004d6ba
mov dword [ebp - 0x98], 0
jmp 0x1004d6fc
mov eax, dword [ebp - 0x98]
dec eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jl 0x1004da09
mov dword [ebp - 0x510], 1
mov dword [ebp - 0x50c], 1
mov dword [ebp - 0x508], 1
mov dword [ebp - 0x504], 1
lea ecx, [ebp - 0x135]
call fcn.10008d33
push eax
lea eax, [ebp - 0x500]
push eax
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x590]
call fcn.1001695a
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x3e8]
call fcn.10016920
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x288], 0xfffffff6
mov dword [ebp - 0x40c], 0xd0188753
push 3
lea ecx, [ebp - 0x3e8]
call fcn.1001694b
and dword [eax], 0
jmp 0x1004d7b4
push 3
lea ecx, [ebp - 0x3e8]
call fcn.1001694b
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x250]
mov dword [ecx], eax
push 3
lea ecx, [ebp - 0x3e8]
call fcn.1001694b
cmp dword [eax], 0
jg 0x1004d9e3
push 1
lea ecx, [ebp - 0x4a8]
call fcn.100168de
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x100], 0
jmp 0x1004d7f4
mov eax, dword [ebp - 0x100]
inc eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 1
jge 0x1004d816
push dword [ebp - 0x100]
lea ecx, [ebp - 0x4a8]
call fcn.1001694b
mov dword [eax], 0x6dd2
jmp 0x1004d7e7
push 0
lea ecx, [ebp - 0x4a8]
call fcn.1001694b
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x258]
mov dword [ecx], eax
mov dword [ebp - 0x84], 0
jmp 0x1004d853
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jl 0x1004d9cf
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x268], 1
mov dword [ebp - 0x260], 1
cmp dword [ebp - 0x260], 0xdb5a
jge 0x1004d893
mov dword [ebp - 0x44c], 1
jmp 0x1004d89a
and dword [ebp - 0x44c], 0
push dword [ebp - 0x84]
lea ecx, [ebp - 0x4d4]
call fcn.1001694b
push 3
lea ecx, [ebp - 0x3e8]
call fcn.1001694b
push dword [eax]
lea ecx, [ebp - 0x4d4]
call fcn.1001694b
mov esi, eax
mov eax, dword [ebp - 0x84]
mov edi, dword [ebp + eax*4 - 0x268]
push 3
lea ecx, [ebp - 0x3e8]
call fcn.1001694b
add edi, dword [eax]
cmp dword [esi], edi
jle 0x1004d8f3
mov dword [ebp - 0x270], 1
jmp 0x1004d8fa
and dword [ebp - 0x270], 0
cmp dword [ebp - 0x270], 0x29207965
jge 0x1004d912
mov dword [ebp - 0x278], 1
jmp 0x1004d919
and dword [ebp - 0x278], 0
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x278], eax
jne 0x1004d933
mov dword [ebp - 0x46c], 1
jmp 0x1004d93a
and dword [ebp - 0x46c], 0
push 0
lea ecx, [ebp - 0x4a8]
call fcn.1001694b
push 0
lea ecx, [ebp - 0x4a8]
call fcn.1001694b
cmp dword [eax], 0
jne 0x1004d96b
mov eax, 0xf356
test eax, eax
jne 0x1004d96b
and dword [ebp - 0x280], 0
jmp 0x1004d975
mov dword [ebp - 0x280], 1
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x288], eax
mov esi, dword [ebp - 0x288]
dec esi
push 3
lea ecx, [ebp - 0x3e8]
call fcn.1001694b
cmp esi, dword [eax]
jg 0x1004d9a5
mov dword [ebp - 0x290], 1
jmp 0x1004d9ac
and dword [ebp - 0x290], 0
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x40c], eax
mov byte [ebp - 0x65], 0
movzx eax, byte [ebp - 0x65]
test eax, eax
je 0x1004d9ca
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x1004d846
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4a8]
call fcn.10016946
jmp 0x1004d790
mov byte [ebp - 0x66], 0
movzx eax, byte [ebp - 0x66]
test eax, eax
je 0x1004d9f5
call dword [sym.imp.USER32.dll_GetCapture]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x3e8]
call fcn.10016946
jmp 0x1004d6ef
jmp 0x1004d68a
jmp 0x1004d650
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x420], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d4]
call fcn.10016946
push 0x1857
push 0x2321
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetClassLongA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret