Function at 0x1034a99
Capabilities:
Get geographical location

Disassembly:
push 0x104
mov eax, 0x10420c3
call fcn.0103d8ed
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x108], edi
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x104], esi
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 4], ebx
xor eax, eax
push 0x62
mov word [ebp - 0xd8], ax
lea eax, [ebp - 0xd6]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x32
lea eax, [ebp - 0xd8]
push eax
push 0x5c
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, ebx
jne 0x1034b20
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1034b17
and eax, 0xffff
or eax, 0x80070000
or dword [ebp - 4], 0xffffffff
jmp 0x1034e85
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xe4]
call fcn.01007b81
mov byte [ebp - 4], 1
push dword [ebp - 0xe8]
mov ecx, esi
call fcn.010085f2
lea eax, [ebp - 0xe4]
push eax
mov ecx, esi
call fcn.01008638
push esi
lea ecx, [ebp - 0xdc]
call fcn.01008638
push 0x1001dfc
lea ecx, [ebp - 0xe0]
call fcn.01007b81
mov byte [ebp - 4], 2
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xdc]
call fcn.01008638
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xe0]
cmp ecx, ebx
je 0x1034b9c
call fcn.0100830c
mov dword [ebp - 0xe0], ebx
push edi
lea ecx, [ebp - 0xe0]
call fcn.01007b81
mov byte [ebp - 4], 3
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xdc]
call fcn.01008638
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xe0]
cmp ecx, ebx
je 0x1034bd7
call fcn.0100830c
mov dword [ebp - 0xe0], ebx
mov eax, dword [ebp - 0xdc]
cmp eax, ebx
je 0x1034be5
mov eax, dword [eax]
jmp 0x1034be7
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push ebx
push 3
push ebx
push 1
push ebx
push eax
call edi
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 4
cmp eax, 0xffffffff
je 0x1034c17
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1034e52
push dword [ebp - 0xe8]
mov ecx, esi
call fcn.010085f2
mov esi, dword [sym.imp.KERNEL32.dll_GetUserPreferredUILanguages]
lea eax, [ebp - 0xf8]
push eax
push ebx
lea eax, [ebp - 0xe8]
push eax
push 8
mov dword [ebp - 0xf8], ebx
call esi
test eax, eax
je 0x1034e52
mov eax, dword [ebp - 0xf8]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0103d496
pop ecx
mov dword [ebp - 0xe0], eax
cmp eax, ebx
jne 0x1034cab
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0xe4]
cmp ecx, ebx
je 0x1034c88
call fcn.0100830c
mov dword [ebp - 0xe4], ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xdc]
cmp ecx, ebx
je 0x1034ca1
call fcn.0100830c
mov dword [ebp - 0xdc], ebx
mov eax, 0x80041006
jmp 0x1034e85
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf8]
push ecx
push eax
lea eax, [ebp - 0xe8]
push eax
push 8
call esi
test eax, eax
je 0x1034e42
mov esi, dword [ebp - 0xe0]
xor eax, eax
push 0x62
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x100], ebx
cmp dword [ebp - 0xe8], ebx
jbe 0x1034e42
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x10c], eax
push esi
inc eax
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.01011d82
cmp eax, ebx
jl 0x1034e8d
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0xf4]
call fcn.01007b81
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x104]
lea eax, [ebp - 0xf4]
push eax
call fcn.01008638
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xf4]
cmp ecx, ebx
je 0x1034d5c
call fcn.0100830c
mov dword [ebp - 0xf4], ebx
push dword [ebp - 0x104]
lea ecx, [ebp - 0xdc]
call fcn.010085be
push 0x1001dfc
lea ecx, [ebp - 0xfc]
call fcn.01007b81
mov byte [ebp - 4], 7
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xdc]
call fcn.01008638
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xfc]
cmp ecx, ebx
je 0x1034dac
call fcn.0100830c
mov dword [ebp - 0xfc], ebx
push dword [ebp - 0x108]
lea ecx, [ebp - 0xf0]
call fcn.01007b81
mov byte [ebp - 4], 8
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xdc]
call fcn.01008638
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xf0]
cmp ecx, ebx
je 0x1034dec
call fcn.0100830c
mov dword [ebp - 0xf0], ebx
mov eax, dword [ebp - 0xdc]
cmp eax, ebx
je 0x1034dfa
mov eax, dword [eax]
jmp 0x1034dfc
xor eax, eax
push ebx
push ebx
push 3
push ebx
push 1
push ebx
push eax
call edi
push eax
lea ecx, [ebp - 0xec]
call fcn.0103366d
cmp dword [ebp - 0xec], 0xffffffff
jne 0x1034f01
mov eax, dword [ebp - 0x10c]
inc dword [ebp - 0x100]
lea esi, [esi + eax*2 + 2]
mov eax, dword [ebp - 0x100]
cmp eax, dword [ebp - 0xe8]
jb 0x1034cfd
mov byte [ebp - 4], 4
push dword [ebp - 0xe0]
call fcn.0103d416
pop ecx
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0xe4]
cmp ecx, ebx
je 0x1034e6a
call fcn.0100830c
mov dword [ebp - 0xe4], ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xdc]
cmp ecx, ebx
je 0x1034e83
call fcn.0100830c
mov dword [ebp - 0xdc], ebx
xor eax, eax
call fcn.0103d97f
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1034ea1
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov byte [ebp - 4], 4
push dword [ebp - 0xe0]
call fcn.0103d416
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0xec], 0xffffffff
je 0x1034ecc
push dword [ebp - 0xec]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0xe4]
cmp ecx, ebx
je 0x1034ee4
call fcn.0100830c
mov dword [ebp - 0xe4], ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xdc]
cmp ecx, ebx
je 0x1034efd
call fcn.0100830c
mov dword [ebp - 0xdc], ebx
mov eax, esi
jmp 0x1034e85
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1034f15
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov byte [ebp - 4], 4
push dword [ebp - 0xe0]
call fcn.0103d416
pop ecx
mov byte [ebp - 4], 1
jmp 0x1034ec0