Function at 0x1001dff5
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1005b316
call fcn.1005a3a0
sub esp, 0x38
cmp byte [ebp + 0x20], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, edx
je 0x1001e197
mov dword [ebp - 0x24], 0x203e
xor esi, esi
cmp dword [ebp - 0x24], 0x2284
jle 0x1001e09a
mov edi, esi
mov dword [ebp - 0x20], esi
mov ebx, edi
mov dword [ebp - 0x1c], 0x1f6d
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp + 0x20], 0x4538
mov edi, esi
mov ecx, edi
mov eax, ebx
shl eax, cl
lea ecx, [ebp - 0x44]
cdq
push edx
push eax
call fcn.10001365
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001e05e
mov eax, dword [eax]
push eax
call fcn.100439ae
pop ecx
push esi
push 1
lea ecx, [ebp - 0x44]
call fcn.10001636
inc edi
cmp edi, 0x1870
jl 0x1001e043
dec ebx
dec dword [ebp + 0x20]
jne 0x1001e041
mov ebx, dword [ebp - 0x18]
dec ebx
dec dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
jne 0x1001e037
mov edi, dword [ebp - 0x20]
inc edi
mov dword [ebp - 0x20], edi
cmp edi, 0x733c
jl 0x1001e02b
cmp dword [ebp - 0x24], 0x2005
jge 0x1001e0ae
push str.eipzqgs_fztxce_wvvnfan_meyiixpb_fbspswin_xzlf_mltpht
call fcn.100439ae
pop ecx
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x10], 0
je 0x1001e172
mov dword [ebp + 0x20], 0x6aa4
cmp dword [ebp + 0x20], 0x6e28
jle 0x1001e100
mov edi, esi
mov ebx, esi
lea eax, [ebx + edi]
mov ecx, 0x10074fb8
cdq
push edx
push eax
call fcn.1000333f
inc ebx
cmp ebx, 0x20da
jl 0x1001e0d0
inc edi
cmp edi, 0xece
jl 0x1001e0ce
push 0x1a13
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 4], 2
cmp dword [ebp + 0x20], 0x69ff
jge 0x1001e11f
mov edx, str.zhuf_nbzpnrtk_hhmsjl_ohibvwx_ccspe_wnzrvbqc_zxzxtox_neri
mov ecx, 0x10074fb8
call fcn.1000494d
or dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 0x1c]
mov dword [edi], esi
jmp 0x1001e168
push 0x6709
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 8
push eax
push esi
call fcn.1001d941
add esp, 0x10
inc dword [edi]
cmp dword [edi], 1
jle 0x1001e14c
jmp 0x1001e213
mov edx, dword [ebp + 8]
mov dword [edx], esi
cmp dword [edx], 2
jge 0x1001e213
mov esi, dword [ebp + 0x24]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 4
inc dword [edx]
cmp dword [edx], 2
jl 0x1001e183
jmp 0x1001e213
cmp byte [ebp + 0x18], 0
je 0x1001e1d2
mov esi, dword [ebp + 0x30]
xor ecx, ecx
mov edx, dword [ebp + 0x34]
mov eax, dword [esi]
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov dword [eax], 1
mov eax, dword [esi]
cmp eax, 1
sete cl
mov dword [edx], ecx
mov ecx, dword [ebp + 0x2c]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [ecx]
mov eax, dword [edx]
xor edx, edx
cmp eax, ecx
sete dl
mov dword [edi], edx
jmp 0x1001e213
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov eax, dword [esi]
mov eax, dword [esi]
mov eax, dword [edx]
mov eax, dword [esi]
mov eax, dword [edx]
mov eax, dword [esi]
mov eax, dword [ecx]
xor ecx, ecx
and dword [eax], 0
mov eax, dword [esi]
test eax, eax
mov eax, dword [edx]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esi]
mov ecx, 0x3d9532bb
setge dl
sub ecx, eax
xor eax, eax
cmp ecx, edx
setg al
imul eax, eax, 0xe83
mov dword [esi], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret