Function at 0x1001a5c3
Capabilities:
Get geographical location
Query environment variable

Disassembly:
mov eax, 0x10086637
call fcn.100860f4
sub esp, 0x1b8
push ebx
push esi
push edi
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x124]
push 2
mov dword [ebp - 0x80], edx
call fcn.10018755
xor ebx, ebx
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], 0x41449c9f
mov dword [ebp - 0x30], 0x800f
mov dword [ebp - 0x20], 0x5fcc58a0
push 1
call fcn.10018755
xor eax, eax
lea ecx, [ebp - 0x13c]
inc eax
mov byte [ebp - 4], al
mov dword [ebp - 0x38], 0x3d783989
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0xfffffff9
push 4
call fcn.10018755
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x14], 0x387c7a50
push 4
call fcn.10018755
mov dword [ebp - 0x10], ebx
jmp 0x1001a661
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x124]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x1001a651
xor edx, edx
mov dword [ebp - 0x10], ebx
inc edx
jmp 0x1001a67e
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x90]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x1001a66f
mov dword [ebp - 0x10], ebx
jmp 0x1001a69b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x13c]
mov dword [eax + ecx*4], 0xc10b42b8
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jl 0x1001a688
mov dword [ebp - 0x10], ebx
jmp 0x1001a6b7
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x1b8], 0x80d0e101
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x1001a6a6
mov dword [ebp - 0x10], ebx
jmp 0x1001a6d5
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x154]
mov dword [eax + ecx*4], 0x52ee
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jl 0x1001a6c2
mov esi, dword [ebp - 0x124]
cmp dword [esi + 4], ebx
jne 0x1001a6f2
mov eax, dword [ebp - 0x2c]
mov edi, ebx
inc dword [ebp - 0x2c]
test eax, eax
je 0x1001a6f4
mov edi, edx
mov eax, dword [ebp - 0x90]
xor ecx, ecx
cmp dword [esi + 4], 0xdf47
setge cl
imul ecx, dword [eax]
test ecx, ecx
je 0x1001a714
mov eax, edx
cmp dword [ebp - 0x34], ebx
jne 0x1001a716
mov eax, ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
imul ecx, dword [ebp - 0x30], 0xadf8
mov eax, dword [ebp - 0x13c]
add ecx, dword [esi + 4]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
imul eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x30]
je 0x1001a750
cmp dword [ebp - 0x38], ebx
jne 0x1001a752
mov edx, ebx
mov dword [ebp - 0x1b0], edx
lea ecx, [ebp - 0x154]
mov eax, dword [ebp - 0x14]
xor eax, eax
test edi, edi
setns al
imul eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
call fcn.100187da
lea ecx, [ebp - 0x13c]
call fcn.100187da
lea ecx, [ebp - 0x90]
call fcn.100187da
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.100187da
mov dword [ebp - 0x24], 0x39b642c7
xor esi, esi
mov dword [ebp - 0x28], 0xd837bc75
inc esi
mov dword [ebp - 0x24], 0xc0f8067e
mov dword [ebp - 0x20], 0xbe39e3cf
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x14], ebx
jmp 0x1001a7d1
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1c4], 0x1d976ff5
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1001a7c0
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], 0xfffffffd
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x158], 0x9e63a5be
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], 0x7e2799ac
mov dword [ebp - 0x14], 0xa
jmp 0x1001a843
mov dword [ebp - 0x28], 0xffffffff
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1001a83b
push 0x222b
push ebx
push ebx
push ebx
push ebx
push 0x203e
push 0xdef
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ScrollWindowEx]
cmp dword [ebp - 0x28], ebx
jne 0x1001a849
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffe3
jg 0x1001a80b
mov dword [ebp - 0x84], 0x4f6b903c
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x24], 0x1ee01e6e
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x24], 0x9f71d691
push 4
call fcn.10018755
mov dword [ebp - 0x20], 0x8876942a
mov dword [ebp - 0x10], 8
mov dword [ebp - 0x28], 0xfffffff7
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x14], ebx
jmp 0x1001a8a5
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xa8]
mov dword [eax + ecx*4], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x1001a896
mov edi, dword [ebp - 0xa8]
mov eax, dword [edi + 0xc]
cmp eax, 0xba959772
jge 0x1001a8c1
mov ecx, ebx
test eax, eax
je 0x1001a8c3
mov ecx, esi
mov dword [ebp - 0x20], eax
xor edx, edx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xa8]
cmp ecx, dword [eax]
mov eax, dword [ebp - 0x20]
setle dl
xor ecx, ecx
cmp eax, edx
setg cl
xor eax, eax
cmp dword [edi + 0xc], ecx
setl al
mov dword [edi + 0xc], eax
test eax, eax
je 0x1001a980
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], 0xfffffffe
mov dword [ebp - 0x10], 0xfffffff5
jmp 0x1001a95e
mov dword [ebp - 0x20], 0x186e
cmp dword [ebp - 0x2c], ebx
jne 0x1001a92e
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp eax, 0x9a48
setg cl
cmp ecx, dword [ebp - 0x28]
jl 0x1001a92e
mov ecx, ebx
cmp dword [edi + 0xc], ebx
je 0x1001a930
mov ecx, esi
mov eax, dword [ebp - 0x20]
imul eax, ecx
test eax, eax
jne 0x1001a941
mov eax, ebx
cmp dword [ebp - 0x2c], ebx
je 0x1001a943
mov eax, esi
xor ecx, ecx
cmp eax, 0xdfb
mov eax, dword [edi + 0xc]
setg cl
sub eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xf
je 0x1001a909
mov dword [ebp - 0x1c], ebx
jmp 0x1001a978
mov dword [ebp - 0x20], 0xaeacb2d5
cmp dword [ebp - 0x20], ebx
jne 0x1001a99c
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 7
jle 0x1001a969
jmp 0x1001a99c
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1001a99c
push ebx
push 0x1226
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea ecx, [ebp - 0xa8]
call fcn.100187da
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x14], 0x5ccc
push esi
call fcn.10018755
push 3
pop edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x20], 0x8b421dd2
push esi
call fcn.10018755
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x28], 0x3046
mov dword [ebp - 0x20], 0x57289c08
push edi
call fcn.10018755
xor edx, edx
mov dword [ebp - 0x10], ebx
inc edx
jmp 0x1001aa0f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xcc]
mov dword [eax + ecx*4], 9
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x1001a9fc
mov dword [ebp - 0x10], ebx
jmp 0x1001aa2c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x118]
mov dword [eax + ecx*4], 0xfffffffa
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x1001aa19
mov dword [ebp - 0x10], ebx
jmp 0x1001aa46
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x100]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x1001aa36
mov eax, dword [ebp - 0x14]
xor edx, edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xcc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0x571c
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x118]
cmp ecx, dword [eax]
setg dl
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov eax, dword [ebp - 0x100]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [eax], ecx
lea ecx, [ebp - 0x100]
call fcn.100187da
lea ecx, [ebp - 0x118]
call fcn.100187da
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.100187da
push dword [ebp - 0x84]
movdqa xmm0, xmmword [0x1000ae10]
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x24], 0xffffffff
push eax
push ebx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], ebx
movdqu xmmword [ebp - 0x1a0], xmm0
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
call fcn.10019c77
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x1c], 0xfffffff6
mov dword [ebp - 0x30], 0xfffffffd
push 2
call fcn.10018755
push 2
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 6
call fcn.10018755
xor esi, esi
mov dword [ebp - 0x10], ebx
inc esi
jmp 0x1001ab50
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x3c], 0xb505
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x1001ab42
push 2
mov dword [ebp - 0x10], ebx
pop edx
jmp 0x1001ab70
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x130]
mov dword [eax + ecx*4], 0xfffffffc
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x1001ab5d
mov dword [ebp - 0x10], ebx
jmp 0x1001ab8d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xf4]
mov dword [eax + ecx*4], 0xf419c2b2
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x1001ab7a
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
setne dl
xor ecx, ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
cmp eax, 0xc193
setl cl
cmp ecx, dword [ebp - 0x3c]
jne 0x1001abc4
mov ecx, ebx
cmp dword [ebp - 0x3c], ebx
je 0x1001abc6
mov ecx, esi
cmp dword [ebp - 0x1c], 5
sbb eax, eax
xor edx, edx
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
mov eax, dword [ebp - 0x30]
setne dl
xor ecx, ecx
cmp eax, edx
setge cl
xor eax, eax
test ecx, ecx
setle al
neg eax
je 0x1001abf2
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x1c], eax
jl 0x1001ac0d
mov eax, dword [ebp - 0x130]
mov ecx, esi
cmp dword [eax + 4], ebx
jne 0x1001ac0f
mov ecx, ebx
mov eax, dword [ebp - 0x1c]
sub eax, ecx
jne 0x1001ac1d
mov eax, ebx
cmp dword [ebp - 0x30], ebx
je 0x1001ac1f
mov eax, esi
add eax, 5
mov ecx, 0xdefc72fa
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
sbb ecx, ecx
add ecx, 2
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xf4]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [eax], ecx
lea ecx, [ebp - 0xf4]
call fcn.100187da
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 5
call fcn.100187da
push 0x4397
push ebx
push 0x604
call fcn.1001dbd9
mov dword [ebp - 0x30], ebx
add esp, 0xc
cmp dword [ebp - 0x30], 7
jg 0x1001b521
mov dword [ebp - 0x1c], 0x30f94f37
xor edx, edx
mov dword [ebp - 0x14], 9
xor ecx, ecx
mov dword [ebp - 0x28], 0xe4c2
inc edx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x1c]
cmp eax, edx
setl cl
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x14], 0xfff9
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1c], eax
jg 0x1001acc6
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x28], 0xe3580d4
jmp 0x1001ad22
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], 0x55248722
mov dword [ebp - 0x34], 5
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x28], ebx
je 0x1001ace4
cmp dword [ebp - 0x20], ebx
jne 0x1001ace6
mov edx, ebx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp eax, edx
setg cl
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
neg eax
sbb eax, eax
xor esi, esi
neg eax
xor edx, edx
mov dword [ebp - 0x34], eax
inc esi
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
cmp eax, esi
mov eax, dword [ebp - 0x38]
setle dl
xor ecx, ecx
cmp edx, eax
setge cl
xor edx, edx
mov dword [ebp - 0x34], ecx
inc edx
push edx
lea ecx, [ebp - 0x164]
call fcn.10018755
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x10], ebx
push edi
call fcn.10018755
mov dword [ebp - 0x24], 0xef39980a
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x24], 0x5672
mov dword [ebp - 0x1c], ebx
jmp 0x1001ad68
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x60]
mov dword [eax + ecx*4], 0x2cb1
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x1001ad58
mov dword [ebp - 0x1c], ebx
jmp 0x1001ad80
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x68], 0x5bf7c295
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1001ad72
xor esi, esi
inc esi
cmp dword [ebp - 0x10], ebx
je 0x1001aea9
mov dword [ebp - 0x2c], 0xcda7209c
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], 2
jg 0x1001ae6c
mov dword [ebp - 0x1c], 0x182eac45
mov dword [ebp - 0x1c], ebx
jmp 0x1001add2
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1001adcf
call dword [sym.imp.USER32.dll_GetCaretBlinkTime]
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jle 0x1001adc0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x60]
cmp dword [eax + ecx*4], ebx
je 0x1001ae57
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
mov eax, 0xffff40ef
neg ecx
sbb ecx, ecx
inc ecx
sub eax, ecx
add eax, dword [ebp - 0x14]
je 0x1001ae0d
mov edi, esi
cmp dword [ebp - 0x10], ebx
jne 0x1001ae0f
mov edi, ebx
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 0x60]
cmp edi, dword [eax + ecx*4]
mov eax, dword [ebp - 0x14]
setl dl
xor ecx, ecx
cmp edx, eax
setle cl
inc ecx
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, dword [ebp - 0x10]
jne 0x1001ae35
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x14]
imul edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x60]
imul edx, dword [eax]
mov eax, esi
test edx, edx
jne 0x1001ae59
mov eax, ebx
mov dword [ebp - 0x64], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jle 0x1001adb4
push 3
pop edi
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xd1d9
jne 0x1001ae81
mov eax, dword [ebp - 0x64]
mov eax, dword [ebp - 0x2c]
xor edx, edx
cmp eax, edi
setg dl
imul edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
sub edx, 0xd17ba7da
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setne cl
mov dword [ebp - 0x64], ecx
jmp 0x1001aee4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
jmp 0x1001aec2
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x180], 0x3aed5eba
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1001aeb1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1001aee1
push 0xbe7
push 0x53a
push ebx
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
dec dword [ebp - 0x20]
lea ecx, [ebp - 0x60]
call fcn.100187da
mov dword [ebp - 0x24], 0x87a912e7
or eax, 0xffffffff
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x1c], 0xbca7b5cf
mov dword [ebp - 0x2c], 0x1dab551f
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0xa8fad749
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x34], 0x5123020f
mov dword [ebp - 0x14], ebx
jmp 0x1001af48
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x54], 0x4a754320
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x1001af3a
cmp dword [ebp - 0x10], ebx
je 0x1001af9b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x48]
neg ecx
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x50]
sbb ecx, ecx
neg ecx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x48]
sete dl
xor ecx, ecx
cmp edx, eax
sete cl
xor edx, edx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x48]
cmp eax, ecx
setl dl
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov eax, dword [ebp - 0x48]
add ecx, eax
mov eax, dword [ebp - 0x4c]
cmp ecx, eax
sete dl
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x2c], 0x2bfe
sub eax, dword [ebp - 0x24]
neg eax
sbb eax, eax
add eax, 0xfffffffa
cmp eax, dword [ebp - 0x1c]
jne 0x1001afd6
mov ecx, esi
cmp dword [ebp - 0x20], ebx
jne 0x1001afd8
mov ecx, ebx
inc dword [ebp - 0x34]
xor eax, eax
test ecx, ecx
sete al
cmp dword [ebp - 0x34], eax
jg 0x1001afee
mov edx, ebx
cmp dword [ebp - 0x48], ebx
je 0x1001aff0
mov edx, esi
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp edx, eax
push 4
setle cl
imul ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x24], 9
mov dword [ebp - 0x1c], 0xf5720e83
call fcn.10018755
push edi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
call fcn.10018755
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], 0x2a0c0e07
mov dword [ebp - 0x34], 0xb458
push 4
call fcn.10018755
push 4
mov dword [ebp - 0x10], ebx
pop edx
jmp 0x1001b06c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc0]
mov dword [eax + ecx*4], 0xfffffffe
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x1001b059
mov dword [ebp - 0x10], ebx
jmp 0x1001b085
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x9c]
mov dword [eax + ecx*4], edx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x1001b076
mov dword [ebp - 0x10], ebx
jmp 0x1001b0a0
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x190], 0x9e69c17
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x1001b08f
mov dword [ebp - 0x10], ebx
jmp 0x1001b0bd
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x148]
mov dword [eax + ecx*4], 0xfffffffb
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x1001b0aa
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0xc0]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
xor eax, eax
cmp dword [edi + 0xc], 6
setne al
imul ecx, eax, 0x33a7
mov eax, dword [ebp - 0x9c]
mov dword [eax + 4], ecx
mov dword [ebp - 0x14], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
cmp eax, 0x6aac8953
setl cl
imul ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc0]
mov eax, dword [edi + 0xc]
cmp eax, dword [edx + 4]
setge cl
cmp ecx, 0x11accbad
jg 0x1001b1ba
mov dword [ebp - 0x24], 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x28], 0xabe3335a
mov eax, dword [ebp - 0x14]
cmp dword [edx + 8], eax
setle cl
cmp ecx, 0xb70d8ac5
jbe 0x1001b154
mov edx, esi
cmp dword [ebp - 0x24], ebx
jne 0x1001b156
mov edx, ebx
mov eax, dword [ebp - 0x34]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x9c]
setg cl
mov dword [eax], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
add eax, 0x2629
cmp eax, dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
setg cl
sub eax, ecx
cmp eax, 7
sbb edx, edx
inc edx
sub edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x190]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [ebp - 0x1c]
setl cl
add eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x148]
mov dword [eax + 8], esi
jmp 0x1001b1d0
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1001b1d0
push 0x3ac
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 0x148]
call fcn.100187da
lea ecx, [ebp - 0x9c]
call fcn.100187da
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 7
call fcn.100187da
push 3
pop edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x168], 0xfffffffe
mov dword [ebp - 0x14], 0x324ec2e0
mov dword [ebp - 0x14], 0xfffffff1
jmp 0x1001b22c
cmp byte [ebp - 0x15], 0
je 0x1001b229
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffe7
mov byte [ebp - 0x15], bl
jne 0x1001b215
cmp byte [ebp - 0x15], 0
je 0x1001b241
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0x178], 0xffffffff
lea ecx, [ebp - 0xd8]
push edi
call fcn.10018755
mov dword [ebp - 0x14], 0xba9a9843
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x14], ebx
jmp 0x1001b27d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xd8]
mov dword [eax + ecx*4], 0x540d7f82
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1001b26a
mov eax, dword [ebp - 0xd8]
mov dword [eax], ebx
mov dword [ebp - 0x14], ebx
jmp 0x1001b2a8
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
test eax, eax
mov eax, dword [ebp - 0xd8]
sets cl
mov dword [eax + edx*4], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jle 0x1001b28f
lea ecx, [ebp - 0xd8]
call fcn.100187da
xor edx, edx
inc edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x66c4a87f
mov dword [ebp - 0x24], 0x5610a143
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1001b2f3
push 0x2203
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
inc edx
mov dword [ebp - 0x1c], ebx
jmp 0x1001b375
mov dword [ebp - 0x14], 0xffffffff
xor edx, edx
mov dword [ebp - 0x28], 0x284868fd
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
setg dl
sub edx, dword [ebp - 0x14]
neg edx
sbb edx, edx
inc edx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jge 0x1001b336
cmp dword [ebp - 0x1c], ebx
je 0x1001b336
xor edx, edx
inc edx
mov esi, edx
jmp 0x1001b33b
xor edx, edx
mov esi, ebx
inc edx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp eax, esi
setg cl
xor eax, eax
cmp ecx, edx
setne al
imul eax, eax, 0xffff3723
test eax, eax
je 0x1001b35d
mov esi, edx
cmp dword [ebp - 0x20], ebx
jne 0x1001b35f
mov esi, ebx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp esi, eax
setle cl
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xc
jl 0x1001b2f8
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x24], 0xac8b13ec
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1001b3a0
push 0x1fa0
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1001b3bb
push 0x262a
push ebx
push 0x1941
push ebx
call dword [sym.imp.USER32.dll_LoadStringA]
xor edx, edx
mov dword [ebp - 0x14], ebx
inc edx
jmp 0x1001b3d2
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x164]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1001b3c3
mov dword [ebp - 0x10], 0xcd453606
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], ebx
jmp 0x1001b3fa
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1ac], edi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1001b3ed
mov dword [ebp - 0x10], 2
cmp dword [ebp - 0x10], ebx
jl 0x1001b4f5
mov dword [ebp - 0x20], 8
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1001b433
push 0x377
push 0x1fdb
push ebx
call dword [sym.imp.USER32.dll_InflateRect]
xor edx, edx
inc edx
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x1ac], ebx
je 0x1001b4e0
mov dword [ebp - 0x24], 0xcaa7
mov dword [ebp - 0x1c], ebx
jmp 0x1001b460
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x174], 0xd568d526
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x1001b44f
mov dword [ebp - 0x1c], ebx
jmp 0x1001b47b
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xe8], 0xbf48c443
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jl 0x1001b46a
cmp dword [ebp - 0x170], ebx
jne 0x1001b4f5
mov dword [ebp - 0xe0], ebx
jmp 0x1001b4d5
mov dword [ebp - 0x14], 0x1c71bc7d
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x14], 2
cmp dword [ebp - 0x14], ebx
jl 0x1001b4cf
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x174]
sub eax, 0x5d3e9973
cmp eax, 0x62a04f77
setg cl
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
dec dword [ebp - 0x14]
jns 0x1001b4ab
inc dword [ebp - 0xe0]
cmp dword [ebp - 0xe0], 2
jle 0x1001b491
jmp 0x1001b4ec
mov eax, dword [ebp - 0x20]
inc eax
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x20], eax
dec dword [ebp - 0x10]
jns 0x1001b40f
mov byte [ebp - 0x3d], bl
lea ecx, [ebp - 0x3d]
xor dl, dl
call fcn.1001b705
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 5
call fcn.100187da
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 7
jle 0x1001ac83
xor esi, esi
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.100187da
mov dword [ebp - 0x28], 0xffffffff
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x2c], 0xad5befa1
mov dword [ebp - 0x38], 0xfffffff9
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x34], 0x6193fe69
mov dword [ebp - 0x20], 0x2d50fa8f
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], 2
push 4
call fcn.10018755
mov dword [ebp - 0x1c], ebx
jmp 0x1001b58b
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x44], 0xd7f19125
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x1001b57d
mov dword [ebp - 0x1c], ebx
jmp 0x1001b5a8
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10c]
mov dword [eax + ecx*4], 0xfffffffb
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jl 0x1001b595
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1001b5be
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [ebp - 0x38]
xor ecx, ecx
cmp eax, 0xa3a6
setge cl
mov dword [ebp - 0x44], ecx
test ecx, ecx
jne 0x1001b5d5
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
xor edx, edx
dec dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmp ecx, eax
mov eax, dword [ebp - 0x2c]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x38]
setle cl
xor edx, edx
cmp ecx, eax
setl dl
imul edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setle cl
cmp ecx, 0x6f2b
jg 0x1001b62b
cmp dword [ebp - 0x2c], ebx
je 0x1001b62b
xor eax, eax
inc eax
jmp 0x1001b62d
mov eax, ebx
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x10c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10c]
mov dword [eax + 8], ebx
call fcn.100187da
mov eax, dword [ebp - 0x80]
mov ecx, 0x3e8
cdq
idiv ecx
mov ecx, dword [ebp - 0x6c]
mov esi, edx
mov edi, eax
call fcn.1001a551
mov ecx, dword [ebp - 0xc]
add eax, esi
add eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret