Function at 0x1005fff0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x28
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x40]
add eax, eax
push ebp
push esi
mov esi, dword [esp + 0x38]
xor ebp, ebp
push edi
push eax
mov edi, ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x44]
push ebp
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebp
call fcn.101172b0
xor eax, eax
mov dword [edi + 0xdc], 0xfffeff
mov word [edi + 0xe0], ax
add esp, 0xc
movzx eax, word [esi]
cmp eax, 0x3b
je 0x10060063
test ax, ax
je 0x10060063
movzx eax, word [esi + 2]
add esi, 2
cmp eax, 0x3b
jne 0x10060052
movzx eax, word [esi]
test ax, ax
je 0x100601a8
nop
cmp ax, 0x20
jne 0x1006007f
add esi, 2
cmp word [esi], 0x20
je 0x10060076
cmp word [esi], 0x3b
jne 0x100601a4
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
je 0x100601a4
cmp eax, 0x20
jne 0x100600a9
mov edi, edi
add esi, 2
cmp word [esi], 0x20
je 0x100600a0
movzx eax, word [esi]
test ax, ax
je 0x100601a4
mov ebp, esi
cmp ax, 0x3d
je 0x100600d1
cmp ax, 0x20
je 0x100600d1
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x100600b7
jmp 0x100600d7
cmp word [esi], 0
jne 0x100600e5
push 1
push 0xfffffc15
mov ecx, ebx
call fcn.10062940
mov edi, esi
sub edi, ebp
sar edi, 1
cmp word [esi], 0x20
jne 0x100600fa
add esi, 2
cmp word [esi], 0x20
je 0x100600f1
cmp word [esi], 0x3d
jne 0x10060109
add esi, 2
cmp word [esi], 0
jne 0x10060117
push 1
push 0xfffffc15
mov ecx, ebx
call fcn.10062940
cmp word [esi], 0x20
mov ebx, esi
jne 0x10060129
nop
add esi, 2
cmp word [esi], 0x20
je 0x10060120
cmp dword [esp + 0x1c], 0
jne 0x100601f2
push 3
push ebp
push 0x100089dc
call fcn.101155f0
add esp, 0xc
test eax, eax
jne 0x100601f2
cmp edi, 3
jne 0x100601f2
movzx eax, word [ebx]
xor ecx, ecx
mov dword [esp + 0x1c], 1
mov esi, ebx
test ax, ax
je 0x10060327
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x20]
cmp ax, 0x3b
je 0x10060327
cmp ax, 0x5c
jne 0x1006018c
cmp word [esi + 2], 0
je 0x100601db
cmp ecx, edx
jge 0x100601db
add esi, 2
mov word [ebx + ecx*2], ax
inc ecx
movzx eax, word [esi]
test ax, ax
jne 0x10060175
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test byte [ebx], 8
jne 0x100601c6
cmp dword [esp + 0x48], 0
jne 0x100601c6
test ebp, ebp
jne 0x100601c6
push 1
push 0xfffffbda
mov ecx, ebx
call fcn.10062940
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011705d
add esp, 0x28
ret 0x14
mov ebx, dword [esp + 0x14]
mov ecx, ebx
push 1
push 0xfffff88f
call fcn.10062940
jmp 0x1006032b
cmp word [esi], 0
jne 0x1006020f
mov ebx, dword [esp + 0x14]
mov ecx, ebx
push 1
push 0xfffffc15
call fcn.10062940
jmp 0x1006032b
push 6
push ebp
push 0x100089e4
call fcn.101155f0
add esp, 0xc
test eax, eax
jne 0x1006022c
cmp edi, 6
jne 0x1006022c
xor edi, edi
jmp 0x10060250
push 4
push ebp
push 0x100089f4
call fcn.101155f0
add esp, 0xc
test eax, eax
jne 0x100602fd
cmp edi, 4
jne 0x100602fd
lea edi, [eax + 3]
push 0
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.10117005
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov ebx, eax
cmp esi, ecx
jne 0x1006027e
mov ecx, dword [esp + 0x14]
push 1
push 0xfffffc15
call fcn.10062940
mov ecx, dword [esp + 0x18]
mov esi, ecx
test edi, edi
je 0x1006028d
cmp edi, 3
jne 0x10060327
test ebx, ebx
jne 0x100602a8
mov ebx, dword [esp + 0x14]
mov ecx, ebx
push 1
push 0xffffec5e
call fcn.10062940
jmp 0x1006032b
mov ebp, dword [esp + 0x24]
push 0xa
mov eax, dword [ebp + 0xdc]
and eax, 0xff000000
add eax, ebx
mov dword [ebp + 0xdc], eax
lea eax, [esp + 0x2c]
push eax
push 0x1004
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x100602e5
lea eax, [esp + 0x28]
push eax
call fcn.10118a60
add esp, 4
jmp 0x100602e7
xor eax, eax
mov ebx, dword [esp + 0x14]
mov word [ebp + 0xe0], ax
mov ebp, 1
mov dword [esp + 0x10], ebp
jmp 0x1006032f
movzx eax, word [esi]
test ax, ax
je 0x100601a0
lea esp, [esp]
cmp ax, 0x3b
je 0x10060327
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x10060310
jmp 0x100601a0
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
movzx eax, word [esi]
test ax, ax
jne 0x10060070
jmp 0x100601a8