Function at 0x1004a5a9
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004a5cd
push 0x2482
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
jmp 0x1004a77d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.100126e6
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.100126e6
cmp dword [eax], 0
jne 0x1004a625
mov dword [ebp - 0x10], 1
jmp 0x1004a629
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jne 0x1004a63c
mov dword [ebp - 0x14], 1
jmp 0x1004a640
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.100126e6
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax]
jle 0x1004a65d
mov dword [ebp - 0x18], 1
jmp 0x1004a661
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
neg eax
jne 0x1004a677
mov eax, 0xe5f8f0b5
test eax, eax
jne 0x1004a677
and dword [ebp - 0x1c], 0
jmp 0x1004a67e
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jl 0x1004a691
mov dword [ebp - 0x20], 1
jmp 0x1004a695
and dword [ebp - 0x20], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.100126e6
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax]
mov eax, dword [ebp - 4]
cmp ecx, dword [eax]
jg 0x1004a6b4
mov dword [ebp - 0x50], 1
jmp 0x1004a6b8
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov eax, 0x1d319d7f
test eax, eax
je 0x1004a6db
mov eax, 0xea59f7c1
test eax, eax
je 0x1004a6db
mov dword [ebp - 0x24], 1
jmp 0x1004a6df
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
neg ecx
sub eax, ecx
cmp eax, 0xffffffff
jl 0x1004a6f9
mov dword [ebp - 0x28], 1
jmp 0x1004a6fd
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.100126e6
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax]
jle 0x1004a71a
mov dword [ebp - 0x2c], 1
jmp 0x1004a71e
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.100126e6
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2c]
jle 0x1004a740
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
jne 0x1004a740
and dword [ebp - 0x30], 0
jmp 0x1004a747
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jl 0x1004a75a
mov dword [ebp - 0x38], 1
jmp 0x1004a75e
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x38]
jg 0x1004a771
mov dword [ebp - 0x3c], 1
jmp 0x1004a775
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret