Function at 0x101e1ce
Capabilities:
Get geographical location

Disassembly:
push 0x44
push 0x1003bc0
call fcn.0101828c
mov eax, dword [0x102164c]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x40], ecx
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x48], ecx
mov edi, dword [eax]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
je 0x101e2b0
lea ecx, [ebp - 0x30]
push ecx
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetCPInfo]
call esi
test eax, eax
je 0x101e15b
cmp dword [ebp - 0x30], 1
jne 0x101e15b
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x101e15b
xor eax, eax
inc eax
cmp dword [ebp - 0x30], eax
jne 0x101e15b
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x101e180
cmp edi, 0xffffffff
je 0x101e16a
mov esi, edi
jmp 0x101e17b
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x101e16f
sub eax, edx
lea esi, [eax + 1]
mov dword [ebp - 0x3c], esi
jmp 0x101e183
mov esi, dword [ebp - 0x3c]
xor eax, eax
cmp dword [ebp - 0x38], eax
jne 0x101e1a2
push eax
push eax
push edi
push ebx
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x101e201
and dword [ebp - 4], 0
lea edi, [esi + esi]
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.010162d0
mov dword [ebp - 0x18], esp
mov ebx, esp
mov dword [ebp - 0x50], ebx
mov ecx, edi
xor eax, eax
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
or dword [ebp - 4], 0xffffffff
jmp 0x101e1ed
test ebx, ebx
jne 0x101e20f
push esi
push 2
call fcn.01019bac
pop ecx
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x101e208
xor eax, eax
jmp 0x101e2c3
mov dword [ebp - 0x48], 1
push esi
push ebx
push dword [ebp - 0x44]
push dword [ebp - 0x54]
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x101e2b3
xor edi, edi
cmp dword [ebp - 0x40], edi
je 0x101e251
push edi
push edi
push dword [ebp + 0x1c]
push dword [ebp - 0x40]
push esi
push ebx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x101e2b3
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
jmp 0x101e2b3
cmp dword [ebp - 0x38], edi
jne 0x101e26e
push edi
push edi
push edi
push edi
push esi
push ebx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
cmp esi, edi
je 0x101e2b3
xor edi, edi
push esi
push 1
call fcn.01019bac
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
cmp eax, edi
je 0x101e2b3
xor edi, edi
push edi
push edi
push esi
push eax
push esi
push ebx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, edi
jne 0x101e2a3
push dword [ebp - 0x34]
call fcn.0101749c
pop ecx
mov dword [ebp - 0x34], edi
jmp 0x101e2b3
cmp dword [ebp - 0x44], 0xffffffff
je 0x101e2b3
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
jmp 0x101e2b3
mov ebx, dword [ebp - 0x50]
cmp dword [ebp - 0x48], 0
je 0x101e2c0
push ebx
call fcn.0101749c
pop ecx
mov eax, dword [ebp - 0x34]
lea esp, [ebp - 0x60]
mov ecx, dword [ebp - 0x1c]
call fcn.0101522e
call fcn.010182c7
ret