Function at 0x10019a41
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1006da28
call fcn.1006d1a8
sub esp, 0xc4
push ebx
push esi
xor esi, esi
push edi
mov edi, edx
inc esi
mov dword [ebp - 0x1c], edi
test cl, cl
je 0x10019e73
mov dword [ebp - 0x30], 0xac8b13ec
xor ebx, ebx
mov dword [ebp - 0x30], 0xfcb50bf3
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], 0x68876942
inc dword [ebp - 0x28]
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], bl
je 0x10019a9e
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetClipBox]
push 2
lea ecx, [ebp - 0x58]
call fcn.1001710b
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x14], 0x99cfe04
push 2
call fcn.1001710b
push 2
mov dword [ebp - 0x10], ebx
pop edx
jmp 0x10019ad7
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x58]
mov dword [eax + ecx*4], 0xfffffff8
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x10019ac7
push 3
mov dword [ebp - 0x10], ebx
pop edi
jmp 0x10019af3
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xa0]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x10019ae4
mov eax, dword [ebp - 0x58]
mov dword [eax], 0xfffffffb
dec dword [ebp - 0x14]
mov eax, dword [ebp - 0x58]
inc dword [eax]
cmp dword [eax], esi
jl 0x10019b01
mov dword [ebp - 0x14], ebx
jmp 0x10019b22
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x58]
mov dword [eax + ecx*4], 0xfffffff6
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x10019b12
lea ecx, [ebp - 0xa0]
call fcn.1001718d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.1001718d
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x24], 0xcf5720e
mov dword [ebp - 0x2c], 0xfffffffd
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x1c], 0x7af5af8b
mov dword [ebp - 0x34], 0x5ad6
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
jmp 0x10019b7a
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x7c], 0xd9532bb1
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x10019b6c
dec dword [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x2c]
imul ecx, eax
mov eax, dword [ebp - 0x74]
cmp ecx, eax
setl dl
xor ecx, ecx
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x14]
imul edx, dword [ebp - 0x20]
cmp eax, edx
setg cl
xor edx, edx
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
inc ecx
cmp eax, ecx
setne dl
xor eax, eax
cmp edx, 0x2cbd4dae
setne al
mov dword [ebp - 0x14], eax
cmp byte [ebp - 0x15], 0
je 0x10019bf9
push ebx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push edi
lea ecx, [ebp - 0x70]
call fcn.1001710b
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x24], 0xfffffffb
push 4
call fcn.1001710b
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], 0x28de
mov dword [ebp - 0x20], 0x7d884bb8
mov dword [ebp - 0x10], ebx
jmp 0x10019c40
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x70]
mov dword [eax + ecx*4], 0xfffffffb
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x10019c30
mov dword [ebp - 0x10], ebx
jmp 0x10019c58
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x40], 0xd6923607
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x10019c4a
mov dword [ebp - 0x10], ebx
jmp 0x10019c73
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x88]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jl 0x10019c63
mov eax, dword [ebp - 0x70]
cmp dword [eax], ebx
jne 0x10019c89
mov eax, dword [ebp - 0x2c]
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], ebx
je 0x10019e55
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x10], 0xfffffff8
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], 0xb
jl 0x10019e2e
mov edi, dword [ebp - 0x88]
mov dword [ebp - 0x1c], 0x2f617a94
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x30], 0xe0d6
mov dword [ebp - 0x34], 6
mov dword [ebp - 0x1c], ebx
jmp 0x10019ceb
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xcc], 0xafe0a4d2
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x10019cda
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
mov eax, dword [ebp - 0x38]
cmp dword [edi + 0xc], eax
push 3
setle cl
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
pop ecx
sub ecx, eax
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x10]
mov dword [edi + 0xc], 0x2a6ca0ce
mov dword [ebp - 0x10], 0xffffffea
jmp 0x10019e17
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x10019d43
push 0x4dd
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 0x14], 0xfffffffa
jmp 0x10019e0a
push dword [ebp - 0x30]
movdqa xmm0, xmmword [0x10007d10]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x64], ebx
push eax
push ebx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x60], ebx
movdqu xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0x5c], ebx
call fcn.100185e2
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x38], ebx
je 0x10019dac
mov edx, esi
cmp dword [ebp - 0x2c], ebx
jne 0x10019dae
mov edx, ebx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp edx, eax
setg cl
imul eax, ecx, 0x464b
test eax, eax
je 0x10019dc9
mov ecx, esi
cmp dword [ebp - 0x1c], ebx
jne 0x10019dcb
mov ecx, ebx
mov eax, dword [ebp - 0x38]
sub eax, ecx
xor ecx, ecx
cmp eax, 0x1a4633be
mov eax, dword [ebp - 0x10]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x64]
setne dl
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x14]
sub ecx, edx
sub ecx, eax
jne 0x10019dfa
mov eax, ebx
cmp dword [ebp - 0x14], ebx
je 0x10019dfc
mov eax, esi
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x64]
call fcn.1001718d
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xfffffff2
jle 0x10019d4f
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffe9
jle 0x10019d29
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0xb
jge 0x10019cb9
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x88]
mov dword [eax + 0xc], ebx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x70]
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
imul ecx, dword [eax]
mov dword [ebp - 0x28], ecx
jmp 0x10019e5b
mov dword [ebp - 0x20], ebx
dec dword [ebp - 0x20]
lea ecx, [ebp - 0x88]
call fcn.1001718d
lea ecx, [ebp - 0x70]
call fcn.1001718d
jmp 0x1001a040
push esi
lea ecx, [ebp - 0x94]
call fcn.1001710b
mov dword [ebp - 4], 3
lea eax, [ebp - 0xb0]
push dword [ebp - 0x30]
movdqa xmm0, xmmword [0x10007d10]
lea ecx, [ebp - 0x4c]
push eax
xor ebx, ebx
mov dword [ebp - 0x20], 0xe426067
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x4c], ebx
push eax
push ebx
movdqu xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.100185e2
mov dword [ebp - 0x28], 0xb73
mov dword [ebp - 0x2c], 0x36eebcb1
mov dword [ebp - 0x20], 0xce4ec6f9
mov dword [ebp - 0x34], 0x86397847
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], 0x7be62782
mov dword [ebp - 0x24], ebx
jmp 0x10019f00
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x94]
mov dword [eax + ecx*4], 0xa024
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], esi
jl 0x10019eed
mov eax, dword [ebp - 0x94]
cmp dword [eax], ebx
jne 0x10019f6a
mov dword [ebp - 0x20], ebx
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x24], eax
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x28]
cmp edx, eax
mov dword [ebp - 0x30], edx
sete cl
cmp ecx, 0xfffffffe
jl 0x10019f3b
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], ebx
jne 0x10019f3e
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x94]
xor ecx, ecx
mov edx, dword [eax]
cmp edx, dword [ebp - 0x20]
setle cl
sub ecx, 0x40f8
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, edx
mov ecx, dword [ebp - 0x24]
setge al
imul eax, dword [ebp - 0x30]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0x4c]
cmp dword [eax], ebx
mov eax, dword [ebp - 0x28]
setne dl
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ebx
call fcn.1001718d
lea ecx, [ebp - 0x94]
call fcn.1001718d
mov edx, dword [ebp + 0x10]
cmp dword [edx], ebx
jne 0x10019fd9
mov edx, dword [edx]
xor ecx, ecx
mov eax, dword [ebp + 0x10]
neg edx
mov eax, dword [eax]
cmp edx, eax
mov edx, dword [ebp + 0x10]
setle cl
mov dword [edi], ecx
mov eax, dword [edi]
mov eax, dword [edx]
mov eax, dword [edx]
mov eax, dword [edx]
cmp dword [edx], esi
jl 0x10019fd9
mov esi, ebx
mov ecx, dword [edx]
mov eax, dword [edx]
mov edi, dword [ebp + 0xc]
imul ecx, esi
sub ecx, eax
mov dword [edi], ecx
mov ecx, dword [edx]
mov eax, dword [edx]
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp + 0x10]
mov ecx, 0xbc00eadd
sete dl
mov esi, dword [eax]
mov eax, dword [edi]
sub esi, edx
cmp ecx, eax
sbb eax, eax
xor ecx, ecx
neg eax
cmp esi, eax
mov esi, dword [ebp + 0x10]
setg cl
xor edx, edx
mov eax, dword [esi]
cmp ecx, eax
mov eax, dword [esi]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esi]
sete cl
imul eax, ecx
test eax, eax
je 0x1001a037
mov eax, dword [ebp - 0x1c]
cmp dword [eax], ebx
je 0x1001a037
xor esi, esi
inc esi
jmp 0x1001a039
mov esi, ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret