Function at 0x100026d0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0xc18
mov eax, dword [0x10037a90]
xor eax, esp
mov dword [esp + 0xc14], eax
mov eax, dword [esp + 0xc28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc1c]
add eax, 0xfffff894
mov dword [esp], eax
cmp eax, 0xc8
ja 0x10002956
mov eax, dword [esp + 0xc20]
dec eax
mov dword [esp + 4], eax
cmp eax, 0xb
ja 0x10002956
mov ecx, dword [esp + 0xc24]
dec ecx
cmp ecx, 0x1e
ja 0x10002956
push ebp
push esi
push edi
push 0x3ff
lea edx, [esp + 0x25]
push 0
push edx
mov byte [esp + 0x2c], 0
call fcn.10015a10
push 0x3ff
lea eax, [esp + 0x431]
push 0
push eax
mov byte [esp + 0x438], 0
call fcn.10015a10
mov ebp, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
add esp, 0x18
push 0x400
lea ecx, [esp + 0x24]
push ecx
push 0x1001
push 0x400
call ebp
xor eax, eax
jmp 0x10002790
mov cl, byte [esp + eax + 0x20]
mov byte [esp + eax + 0x420], cl
inc eax
test cl, cl
jne 0x10002790
push 0x400
lea edx, [esp + 0x24]
push edx
push 0x1002
push 0x400
call ebp
lea eax, [esp + 0x20]
push eax
call fcn.10015b68
add esp, 4
test eax, eax
je 0x10002818
lea edi, [esp + 0x420]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100027d0
mov cx, word [0x1002e50c]
lea eax, [esp + 0x20]
mov word [edi], cx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100027e8
lea edi, [esp + 0x420]
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10002800
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x400
lea edx, [esp + 0x24]
push edx
push 0x1004
push 0x800
call ebp
lea eax, [esp + 0x20]
push eax
call fcn.10015b68
add esp, 4
test eax, eax
je 0x10002889
lea edi, [esp + 0x420]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10002847
mov cx, word [0x1002e508]
lea eax, [esp + 0x20]
mov word [edi], cx
mov edx, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002860
lea edi, [esp + 0x420]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10002871
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edx, [esp + 0x420]
push edx
push 0
call fcn.1001788b
lea eax, [esp + 0x20]
push eax
call fcn.10015e5a
lea ecx, [esp + 0x24]
push ecx
call fcn.10015e33
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push eax
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0xc44]
push 0x1002e504
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x838]
push 0x400
push eax
call fcn.10016a2d
add esp, 0x20
lea ecx, [esp + 0xc]
call fcn.100025e0
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x820]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10002900
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0
call edi
test eax, eax
je 0x10002930
mov edx, dword [esp + 0x14]
push eax
push edx
push 0xffffffffffffffff
push esi
push 0
push 0
call edi
lea ecx, [esp + 0xc]
call fcn.10002470
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0xc14]
xor ecx, esp
call fcn.100159fa
add esp, 0xc18
ret
mov ecx, dword [esp + 0xc14]
xor ecx, esp
xor eax, eax
call fcn.100159fa
add esp, 0xc18
ret