Function at 0x45a504
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x45a87f
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
lea eax, [ebp - 0xe]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
sete bl
test bl, bl
je 0x45a560
push 5
lea eax, [ebp - 9]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp eax, 3
je 0x45a564
xor eax, eax
jmp 0x45a566
mov al, 1
mov ebx, eax
test bl, bl
je 0x45a5b6
lea eax, [ebp - 0x114]
lea edx, [ebp - 0xe]
call fcn.004031dc
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x14]
call fcn.004046ec
push dword [ebp - 0x14]
push 0x45a894
lea eax, [ebp - 0x118]
lea edx, [ebp - 9]
call fcn.00404680
push dword [ebp - 0x118]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404808
jmp 0x45a84c
call sub.kernel32.dll_GetThreadLocale_1
cmp eax, 0x415
jg 0x45a619
je 0x45a7e5
add eax, 0xfffffbfa
cmp eax, 0xe
ja case.0x45a5d6.1037
jmp dword [eax*4 + 0x45a5dd]
cmp eax, 0x814
jg 0x45a666
je 0x45a7d6
cmp eax, 0x809
jg 0x45a655
je 0x45a701
sub eax, 0x416
je 0x45a6cb
sub eax, 3
je 0x45a803
sub eax, 4
je 0x45a821
jmp case.0x45a5d6.1037
sub eax, 0x80c
je 0x45a6b9
sub eax, 7
je 0x45a6a7
jmp case.0x45a5d6.1037
cmp eax, 0xc0a
jg 0x45a68c
je case.0x45a5d6.1034
sub eax, 0x816
je 0x45a7f4
sub eax, 7
je 0x45a830
jmp case.0x45a5d6.1037
sub eax, 0xc0c
je 0x45a749
sub eax, 0x3fb
je 0x45a76d
jmp case.0x45a5d6.1037
lea eax, [ebp - 4]
mov edx, 0x45a8a0
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a8b0
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a8c0
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a8d0
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a8e0
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a8f0
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a900
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a910
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a920
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a930
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a940
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a950
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a960
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a970
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a980
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a990
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a9a0
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a9b0
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a9c0
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a9d0
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a9e0
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45a9f0
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45aa00
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45aa10
call fcn.00404520
jmp 0x45a84c
lea eax, [ebp - 4]
mov edx, 0x45aa20
call fcn.00404520
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004044dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a886
lea eax, [ebp - 0x118]
call fcn.00404488
lea eax, [ebp - 0x14]
call fcn.00404488
lea eax, [ebp - 4]
call fcn.00404488
ret