Function at 0x1001deb6
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10089bc1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
movdqa xmm0, xmmword [0x10009680]
xor eax, eax
push ebx
mov dword [esp + 0x2c], edx
xor ebx, ebx
mov dword [esp + 0x28], 0x2cb13638
inc eax
push esi
mov dword [esp + 0x10], ebx
push edi
push dword [esp + 0x2c]
mov dword [esp + 0x20], 0xfffffffb
mov edi, ecx
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x28], 0x70b168f9
mov dword [esp + 0x20], 3
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0xb4]
mov dword [esp + 0x70], ebx
push eax
push ebx
movdqu xmmword [esp + 0xbc], xmm0
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call fcn.1001b55b
mov dword [esp + 0x20], 0xf4e5
cmp dword [esp + 0x30], ebx
jne 0x1001dfb3
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
setle dl
xor ecx, ecx
add edx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
cmp edx, eax
setne cl
imul ecx, dword [esp + 0x24]
neg ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x18]
jge 0x1001dfa6
cmp dword [esp + 0x14], ebx
jne 0x1001dfa6
mov eax, ebx
jmp 0x1001dfa9
xor eax, eax
inc eax
cmp eax, dword [esp + 0x28]
jl 0x1001dfb3
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
dec ecx
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov ecx, dword [esp + 0x68]
setg dl
mov dword [ecx + 8], edx
cmp dword [esp + 0x30], edx
je 0x1001dfed
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], bl
je 0x1001e050
push 0x1392
push ebx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
jmp 0x1001e050
mov dword [esp + 0x28], 1
mov dword [esp + 0x14], ebx
jmp 0x1001e038
mov dword [esp + 0x18], ebx
jmp 0x1001e014
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x94], 0xd258d033
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x1001e001
mov eax, dword [esp + 0x20]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
mov dword [ecx + 8], eax
mov dword [esp + 0x28], eax
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jge 0x1001dffb
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], bl
je 0x1001e050
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [esp + 0x68]
call fcn.1001a726
cmp dword [edi + 0x10], ebx
jne 0x1001e065
xor al, al
jmp 0x1001e6aa
push dword [esp + 0x2c]
movdqa xmm0, xmmword [0x100096a0]
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x7c], ebx
push eax
push ebx
lea ecx, [esp + 0x84]
mov dword [esp + 0x88], ebx
movdqu xmmword [esp + 0xcc], xmm0
mov dword [esp + 0x8c], ebx
call fcn.1001b55b
lea eax, [esp + 0x80]
mov dword [esp + 0x104], ebx
push eax
mov dword [esp + 0x30], 0x6d444182
lea eax, [esp + 0x78]
mov dword [esp + 0x84], 0xffffffff
lea edx, [esp + 0x94]
mov dword [esp + 0x94], 0xad7ba966
lea ecx, [esp + 0x30]
push eax
call fcn.1001d897
or dword [esp + 0x10c], 0xffffffff
pop ecx
pop ecx
lea ecx, [esp + 0x74]
call fcn.1001a726
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [esp + 0x20], 0x6579763
cmp dword [esp + 0x20], ebx
mov byte [esp + 0x13], bl
je 0x1001e12c
cmp byte [esp + 0x13], 0
je 0x1001e141
push ebx
push ebx
call esi
push eax
push ebx
push ebx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
jmp 0x1001e141
cmp byte [esp + 0x13], 0
je 0x1001e141
push 0xaf7
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [esp + 0x34]
push eax
push 0x555b
push ebx
push 0x3238
call fcn.100207ba
mov dword [esp + 0x24], 0xffffffff
add esp, 0x10
mov dword [esp + 0x20], 0xf845
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1001e189
push 0x690
call esi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetMapMode]
mov dword [esp + 0x14], 0x1b
jmp 0x1001e1d2
mov dword [esp + 0x18], 9
mov dword [esp + 0x18], ebx
jmp 0x1001e1c7
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1001e1c3
push ebx
push 0x2157
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
dec dword [esp + 0x18]
cmp dword [esp + 0x18], 0xfffffff8
jle 0x1001e1a1
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0x14
jg 0x1001e193
push dword [esp + 0x2c]
movdqa xmm0, xmmword [0x10009650]
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0xd4]
mov dword [esp + 0x50], ebx
push eax
push ebx
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], ebx
movdqu xmmword [esp + 0xdc], xmm0
mov dword [esp + 0x60], ebx
call fcn.1001b55b
mov dword [esp + 0x104], 1
mov dword [esp + 0x1c], 0x948708ef
mov dword [esp + 0x1c], 0xc8cac31e
mov dword [esp + 0x24], 0x9f451dba
mov dword [esp + 0x20], 0x82169286
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1001e262
push 0x5c75
push ebx
push 0x545c
push 0x3a17
call fcn.10021d9a
add esp, 0x10
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], edx
cmp dword [edx + 4], ebx
je 0x1001e27e
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x1c], ebx
je 0x1001e27e
xor ecx, ecx
inc ecx
jmp 0x1001e280
mov ecx, ebx
sub ecx, dword [edx + 4]
mov eax, dword [edx + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov esi, dword [eax]
mov eax, dword [esp + 0x24]
cmp eax, esi
mov eax, dword [esp + 0x48]
setge cl
xor edx, edx
cmp ecx, dword [eax + 0xc]
mov ecx, dword [esp + 0x20]
setne dl
xor eax, eax
cmp edx, dword [ecx + 4]
setle al
xor ecx, ecx
cmp esi, eax
setge cl
xor eax, eax
test ecx, ecx
lea ecx, [esp + 0x48]
setg al
mov dword [esp + 0x20], eax
or dword [esp + 0x104], 0xffffffff
call fcn.1001a726
cmp dword [edi + 0x14], 0x10
jb 0x1001e2e8
mov ecx, dword [edi]
jmp 0x1001e2ea
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x1001e2f4
mov edx, dword [edi]
jmp 0x1001e2f6
mov edx, edi
mov eax, dword [edi + 0x10]
add eax, edx
cmp ecx, eax
je 0x1001e6a8
mov dword [esp + 0x14], 0xf2c29a3d
mov dword [esp + 0x24], 0xa41449c9
mov dword [esp + 0x28], 0xfff8
mov dword [esp + 0x18], ebx
jmp 0x1001e331
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x60], 0x6af1124f
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x1001e321
mov dword [esp + 0x14], 1
cmp dword [esp + 0x14], ebx
jl 0x1001e35c
mov dword [esp + 0x60], 0x3f467215
mov dword [esp + 0x24], 0x3f467215
dec dword [esp + 0x14]
jns 0x1001e346
mov eax, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp edx, eax
push 0
pop eax
setne al
xor edx, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
cmp eax, 0x22db785b
setle dl
xor eax, eax
cmp edx, dword [esp + 0x20]
setne al
xor edx, edx
sub eax, 0xe486
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x20], eax
setge dl
imul eax, edx, 0xfffc
test eax, eax
jne 0x1001e3ba
cmp dword [esp + 0x28], ebx
je 0x1001e3ba
xor esi, esi
inc esi
jmp 0x1001e3bc
mov esi, ebx
mov eax, dword [esp + 0x60]
xor edx, edx
cmp esi, eax
mov eax, dword [esp + 0x24]
sete dl
add eax, edx
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x60], eax
mov al, byte [ecx]
cmp al, 0x30
jl 0x1001e481
cmp al, 0x39
jg 0x1001e481
push 3
mov dword [esp + 0x18], ebx
pop edx
jmp 0x1001e405
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x84], 0xe1757117
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edx
jl 0x1001e3f2
mov dword [esp + 0x14], ebx
jmp 0x1001e420
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0xec], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edx
jl 0x1001e411
mov dword [esp + 0x8c], 0x1b
jmp 0x1001e460
mov dword [esp + 0x14], 0xfffffffa
mov dword [esp + 0x14], ebx
jmp 0x1001e452
mov eax, dword [esp + 0x14]
cmp dword [esp + eax*4 + 0xec], ebx
jne 0x1001e459
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jle 0x1001e441
dec dword [esp + 0x8c]
cmp dword [esp + 0x8c], 1
jl 0x1001e433
mov esi, dword [esp + 0x34]
movsx eax, byte [ecx]
imul edx, dword [esi], 0xa
add edx, 0xffffffd0
add eax, edx
inc ecx
mov dword [esi], eax
jmp 0x1001e2ea
mov dword [esp + 0x14], 0x68ec0ae9
mov dword [esp + 0x1c], 0x9b7d6b59
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
jmp 0x1001e66d
push dword [esp + 0x2c]
movdqa xmm0, xmmword [0x10009690]
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0xe4]
mov dword [esp + 0x5c], ebx
push eax
push ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x68], ebx
movdqu xmmword [esp + 0xec], xmm0
mov dword [esp + 0x6c], ebx
call fcn.1001b55b
mov dword [esp + 0x104], 2
mov dword [esp + 0x1c], 0xf8b243e5
mov dword [esp + 0x24], 0x509ca4f0
mov dword [esp + 0x20], 0xfda37b18
mov dword [esp + 0x18], ebx
jmp 0x1001e512
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x38], 7
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 4
jl 0x1001e502
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x38], 3
jg 0x1001e658
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], 0xb3cf8132
lea ecx, [esp + 0x9c]
push 2
call fcn.10019e28
lea eax, [esp + 0xa8]
mov byte [esp + 0x104], 3
push eax
lea eax, [esp + 0xa0]
push eax
push ebx
call fcn.100211ce
mov eax, dword [esp + 0x44]
xor ecx, ecx
mov eax, dword [esp + 0x44]
add esp, 0xc
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
test eax, eax
mov eax, dword [esp + 0x9c]
setns cl
cmp ecx, 0xffff
sbb ecx, ecx
inc ecx
mov dword [eax], ecx
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp eax, 0x9a27
mov eax, dword [esp + 0x40]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x44]
setl dl
xor ecx, ecx
cmp edx, eax
setge cl
xor edx, edx
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
cmp eax, dword [ecx + esi*4]
mov eax, dword [esp + 0x54]
setle dl
xor ecx, ecx
cmp edx, dword [eax + edi*4]
mov eax, dword [esp + 0x14]
setg cl
xor edx, edx
cmp ecx, eax
setne dl
sub edx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [esp + 0x24]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x20]
sete dl
xor ecx, ecx
cmp edx, eax
mov edx, dword [esp + 0x28]
setle cl
xor eax, eax
cmp ecx, dword [edx + 4]
lea ecx, [esp + 0x9c]
setl al
mov dword [esp + 0x1c], eax
mov byte [esp + 0x104], 2
call fcn.1001a726
inc dword [esp + 0x38]
cmp dword [esp + 0x38], 3
jle 0x1001e530
or dword [esp + 0x104], 0xffffffff
lea ecx, [esp + 0x54]
call fcn.1001a726
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xfffffff3
jg 0x1001e49e
mov byte [esp + 0x13], bl
cmp byte [esp + 0x13], 0
je 0x1001e690
push ebx
push 0x67ec
call fcn.10020b8c
pop ecx
pop ecx
push ebx
lea eax, [esp + 0x38]
push 0x581d
push eax
call fcn.10020e78
add esp, 0xc
jmp 0x1001e05e
mov al, 1
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret