Function at 0x52c710
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x52c718
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x52cac8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
lea eax, [ebp - 0x18]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
cmp eax, 3
sete bl
test bl, bl
je 0x52c765
push 0xa
lea eax, [ebp - 0xe]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
cmp eax, 3
je 0x52c769
xor eax, eax
jmp 0x52c76b
mov al, 1
mov ebx, eax
test bl, bl
je 0x52c7f5
lea eax, [ebp - 4]
lea edx, [ebp - 0x18]
call fcn.00409c18
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
call fcn.0040a008
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004202b8
mov eax, dword [ebp - 0x1c]
mov edx, 0x52cae4
call fcn.0040a314
jne 0x52c7b2
lea eax, [ebp - 4]
mov edx, 0x52caf0
call fcn.00409414
lea eax, [ebp - 0x28]
mov ecx, 0x52cafc
mov edx, dword [ebp - 4]
call fcn.00409c88
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
call fcn.0040a008
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0xe]
call fcn.00409f78
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.0040a124
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.0040a01c
jmp 0x52ca8b
call sub.kernel32.dll_GetThreadLocale
cmp eax, 0x415
jg 0x52c858
je 0x52ca24
add eax, 0xfffffbfa
cmp eax, 0xe
ja case.0x52c815.1037
jmp dword [eax*4 + 0x52c81c]
cmp eax, 0x814
jg 0x52c8a5
je 0x52ca15
cmp eax, 0x809
jg 0x52c894
je 0x52c940
sub eax, 0x416
je 0x52c90a
sub eax, 3
je 0x52ca42
sub eax, 4
je 0x52ca60
jmp case.0x52c815.1037
sub eax, 0x80c
je 0x52c8f8
sub eax, 7
je 0x52c8e6
jmp case.0x52c815.1037
cmp eax, 0xc0a
jg 0x52c8cb
je case.0x52c815.1034
sub eax, 0x816
je 0x52ca33
sub eax, 7
je 0x52ca6f
jmp case.0x52c815.1037
sub eax, 0xc0c
je 0x52c988
sub eax, 0x3fb
je 0x52c9ac
jmp case.0x52c815.1037
lea eax, [ebp - 4]
mov edx, 0x52cb04
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cb14
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cb24
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cb34
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cb44
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cb54
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cb64
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cb74
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cb84
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cb94
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cba4
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cbb4
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cbc4
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cbd4
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cbe4
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cbf4
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cc04
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cc14
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cc24
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cc34
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cc44
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cc54
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cc64
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cc74
call fcn.00409414
jmp 0x52ca8b
lea eax, [ebp - 4]
mov edx, 0x52cc84
call fcn.00409414
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004093ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52cacf
lea eax, [ebp - 0x2c]
call fcn.00408f98
lea eax, [ebp - 0x28]
call fcn.00408fe0
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00408ff8
lea eax, [ebp - 4]
call fcn.00408fe0
ret