Function at 0x70af14
Capabilities:
Get geographical location

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x6c
mov dword [esp + 8], ecx
mov dword [esp + 0x61], 0
mov dword [esp + 0x5d], 0
mov dword [esp + 0x59], 0
mov dword [esp + 0x55], 0
mov dword [esp + 0x51], 0
mov dword [esp + 0x4d], 0
mov dword [esp + 0x49], 0
mov dword [esp + 0x45], 0
mov dword [esp + 0x41], 0
mov dword [esp + 0x3d], 0
mov dword [esp + 0x39], 0
mov dword [esp + 0x35], 0
mov dword [esp + 0x31], 0
mov dword [esp + 0x2d], 0
mov dword [esp + 0x29], 0
mov word [esp + 0x25], 0x6f6e
mov byte [esp + 0x27], 0x6e
mov byte [esp + 0x28], 0x65
mov dword [esp + 0x20], 0x303030
sub esp, 0xc
mov dword [esp + 0x18], edx
push edx
call fcn.0070cc7c
add esp, 0x10
xor ebx, ebx
mov ecx, 1
lea esi, [esp + 0x20]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], ecx
mov edi, ecx
and edi, 0xfbff
or edi, 0x400
push 0x40
lea ebp, [esp + 0x29]
push ebp
push 0x1001
push edi
call sub.kernel32.dll_GetLocaleInfoA
push 4
push esi
push 3
push edi
call sub.kernel32.dll_GetLocaleInfoA
sub esp, 0xc
push ebp
call fcn.0070cc7c
add esp, 4
push esi
call fcn.0070cc7c
add esp, 8
push ebp
mov edi, dword [esp + 0x18]
push edi
call fcn.007056c0
add esp, 0x10
test eax, eax
jne 0x70b0b4
sub esp, 0xc
push esi
call fcn.00705c10
add esp, 0xc
push eax
push esi
push edi
call fcn.00705ce8
add esp, 0x10
xor ecx, ecx
test eax, eax
setne dl
mov eax, 1
je 0x70b055
mov eax, ebx
mov cl, dl
mov edx, dword [esp + 4]
add edx, ecx
mov ecx, edx
cmp ecx, 0x38
jg 0x70b06e
test eax, eax
mov ebx, eax
je 0x70afd4
mov dword [esp + 4], ecx
test eax, eax
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 8]
jne 0x70b0c6
sub esp, 8
push 0x5f
push edi
call fcn.00705b24
add esp, 0x10
test eax, eax
jne 0x70b0a6
sub esp, 8
push 0x2e
push edi
call fcn.00705b24
add esp, 0x10
test eax, eax
je 0x70b1fe
mov eax, dword [ebx + 4]
test eax, eax
je 0x70b0ba
and eax, 0x3ff
jmp 0x70b0c2
mov ebx, dword [esp + 8]
jmp 0x70b0c6
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [esp + 4], eax
sub esp, 8
push 0x5f
push edi
call fcn.00705b24
add esp, 0x10
test eax, eax
je 0x70b19c
inc eax
sub esp, 8
push 0x2e
mov dword [esp + 0x20], eax
push eax
call fcn.00705b24
add esp, 0x10
test eax, eax
je 0x70b0f6
mov byte [eax], 0
mov dword [esp + 0x10], eax
mov edi, 1
xor ebx, ebx
xor ebp, ebp
nop
mov eax, edi
shl eax, 0xa
or eax, dword [esp + 4]
movzx ecx, ax
push 0x40
lea esi, [esp + 0x29]
push esi
push 0x1002
mov dword [esp + 0x28], ecx
push ecx
call sub.kernel32.dll_GetLocaleInfoA
mov dword [esp + 0x18], eax
sub esp, 0xc
push esi
call fcn.0070cc7c
add esp, 8
push dword [esp + 0x1c]
push esi
call fcn.00705b74
add esp, 0x10
xor ecx, ecx
test eax, eax
setne dl
mov eax, 1
jne 0x70b164
mov esi, dword [esp + 0x1c]
jne 0x70b16c
cmp dword [esp + 0x18], 0
jne 0x70b175
jmp 0x70b181
mov eax, ebp
mov esi, dword [esp + 0x1c]
je 0x70b157
mov esi, ebx
cmp dword [esp + 0x18], 0
je 0x70b181
mov cl, dl
add edi, ecx
test eax, eax
mov ebx, esi
mov ebp, eax
je 0x70b104
test eax, eax
je 0x70b1e4
mov eax, dword [esp + 0x10]
mov ebp, esi
test eax, eax
je 0x70b192
mov byte [eax], 0x2e
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0xc]
jmp 0x70b1ac
mov eax, dword [esp + 4]
and eax, 0xfbff
or eax, 0x400
mov ebp, eax
sub esp, 8
push 0x2e
push edi
call fcn.00705b24
add esp, 0x10
mov esi, eax
test esi, esi
je 0x70b1c3
inc esi
jmp 0x70b1d2
lea esi, [esp + 0x65]
push 7
push esi
push 0xb
push ebp
call sub.kernel32.dll_GetLocaleInfoA
sub esp, 0xc
push esi
call fcn.0070db4c
add esp, 0x10
mov dword [ebx], eax
mov eax, ebp
jmp 0x70b1f6
sub esp, 0xc
push 0x20000101
call sub.kernel32.dll_SetLastError
add esp, 0xc
xor eax, eax
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0xc
push 0x20000101
jmp 0x70b1ec