Function at 0x47b8f4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47bc7f
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
lea eax, [ebp - 0x16]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
sete byte [ebp - 0x17]
cmp byte [ebp - 0x17], 0
je 0x47b94c
push 5
lea eax, [ebp - 0x11]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
je 0x47b950
xor eax, eax
jmp 0x47b952
mov al, 1
mov byte [ebp - 0x17], al
cmp byte [ebp - 0x17], 0
je 0x47b9b5
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x16]
call fcn.00404f18
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0040b534
mov eax, dword [ebp - 0x1c]
mov edx, 0x47bc94
call fcn.00405148
jne 0x47b98d
lea eax, [ebp - 0xc]
mov edx, 0x47bca0
call fcn.00404db8
push dword [ebp - 0xc]
push 0x47bcac
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x11]
call fcn.00404f18
push dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004050bc
jmp 0x47bc51
call sub.kernel32.dll_GetThreadLocale_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0x415
jg 0x47ba1e
je 0x47bbea
add eax, 0xfffffbfa
cmp eax, 0xe
ja case.0x47b9db.1037
jmp dword [eax*4 + 0x47b9e2]
cmp eax, 0x814
jg 0x47ba6b
je 0x47bbdb
cmp eax, 0x809
jg 0x47ba5a
je 0x47bb06
sub eax, 0x416
je 0x47bad0
sub eax, 3
je 0x47bc08
sub eax, 4
je 0x47bc26
jmp case.0x47b9db.1037
sub eax, 0x80c
je 0x47babe
sub eax, 7
je 0x47baac
jmp case.0x47b9db.1037
cmp eax, 0xc0a
jg 0x47ba91
je case.0x47b9db.1034
sub eax, 0x816
je 0x47bbf9
sub eax, 7
je 0x47bc35
jmp case.0x47b9db.1037
sub eax, 0xc0c
je 0x47bb4e
sub eax, 0x3fb
je 0x47bb72
jmp case.0x47b9db.1037
lea eax, [ebp - 0xc]
mov edx, 0x47bcb8
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bcc8
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bcd8
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bce8
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bcf8
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bd08
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bd18
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bd28
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bd38
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bd48
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bd58
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bd68
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bd78
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bd88
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bd98
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bda8
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bdb8
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bdc8
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bdd8
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bde8
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47bdf8
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47be08
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47be18
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47be28
call fcn.00404db8
jmp 0x47bc51
lea eax, [ebp - 0xc]
mov edx, 0x47be38
call fcn.00404db8
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404d74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bc86
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404d44
lea eax, [ebp - 0xc]
call fcn.00404d20
ret