Function at 0x1007d1a
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x101901c]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001508
leave
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1019008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1019020]
test eax, eax
jne 0x1005c5e
push esi
call fcn.010151dd
cmp byte [section..data], 0
movzx eax, ax
mov dword [ebp - 0x420], eax
movzx esi, ax
je 0x1007d8b
and eax, 0x3ff
cmp ax, 1
je 0x1007d6c
cmp ax, 0xd
jne 0x1005c58
cmp dword [0x1019024], 0x7d0
je 0x1005c58
mov dword [0x10194c8], 0x180000
jmp 0x1005c58
and ax, 0x3ff
cmp ax, 9
je 0x1005c58
push ebx
push edi
push 0
push dword [0x101901c]
call fcn.01015182
mov ebx, eax
cmp ebx, dword [0x101901c]
jne 0x1007dba
push ebx
call fcn.01015f6f
jmp 0x1007dc2
test ebx, ebx
jne 0x1007f9a
push 5
lea eax, [ebp - 0xc]
push eax
push 3
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1007f1d
mov esi, 0x104
push esi
lea eax, [ebp - 0x318]
push eax
push 0x3e9
push dword [0x101901c]
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x1007f1d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x318]
push eax
push 0x1007fe0
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.0100ce06
add esp, 0x14
push esi
lea eax, [ebp - 0x41c]
push eax
push dword [0x101901c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x110]
push eax
mov eax, esi
lea ecx, [ebp - 0x41c]
call fcn.010152b1
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
push 2
push 0
lea eax, [ebp - 0x214]
push eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x1007f9a
push 2
push eax
lea eax, [ebp - 0x110]
push eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x1007f9a
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jle 0x1007efa
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x318]
push eax
push 0x1007fe0
lea eax, [ebp - 0x110]
push esi
push eax
mov byte [ebp - 0xa], bl
call fcn.0100db6a
add esp, 0x14
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x110]
push eax
mov eax, esi
lea ecx, [ebp - 0x41c]
call fcn.010152b1
push 2
push ebx
lea eax, [ebp - 0x214]
push eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x1007f9a
push 2
push eax
lea eax, [ebp - 0x110]
push eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x1007f9a
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 5
lea ecx, [ebp - 0xc]
push ecx
and eax, 0x3ff
or eax, 0x400
push 3
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1007f34
mov eax, dword [0x1019020]
test eax, eax
jne 0x1007fd6
mov eax, dword [0x101901c]
jmp 0x1007fd6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x318]
push eax
push 0x1007fe0
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.0100db6a
add esp, 0x14
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x110]
push eax
mov eax, esi
lea ecx, [ebp - 0x41c]
call fcn.010152b1
push 2
push 0
lea eax, [ebp - 0x214]
push eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x1007f9a
push 2
push eax
lea eax, [ebp - 0x110]
push eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x1007f9a
mov ebx, dword [0x101901c]
lea eax, [ebp - 0x420]
push eax
push ebx
call fcn.0101532e
mov eax, dword [ebp - 0x420]
and eax, 0x3ff
cmp ax, 1
je 0x1007fbe
cmp ax, 0xd
jne 0x1007fd4
cmp dword [0x1019024], 0x7d0
je 0x1007fd4
mov dword [0x10194c8], 0x180000
mov eax, ebx
pop edi
pop ebx
jmp 0x1005c5d