Function at 0x1004814a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cd7a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100481a8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x3d01
push dword [ebp - 0x2c]
push 1
push dword [ebp - 0x30]
push 0x6451
call fcn.100483d3
add esp, 0x18
jmp 0x100483c2
lea eax, [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0x13fb
cmp dword [ebp - 0x34], 0xa03
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x100481d9
push 0
call dword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x100483c2
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x100481f5
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 0x24], 0x5831
mov dword [ebp - 0x50], 0x10008cf0
cmp dword [ebp - 0x24], 0x5b69
jle 0x1004837f
and dword [ebp - 0x14], 0
jmp 0x1004821d
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6590
jge 0x1004836e
and dword [ebp - 0x18], 0
jmp 0x10048237
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1ca7
jge 0x10048369
and dword [ebp - 0x1c], 0
jmp 0x10048251
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x98a
jge 0x10048364
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x18]
sub edx, dword [ebp - 0x1c]
mov eax, edx
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x48], 0x1d27
cmp dword [ebp - 0x48], 0x931
jge 0x1004834f
lea eax, [ebp - 0x20]
push eax
push 0x100076a8
call fcn.1005486b
pop ecx
pop ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x4c], 0
je 0x1004834f
push 4
lea ecx, [ebp - 0x6c]
call fcn.1000bd25
and dword [ebp - 4], 0
push 3
lea ecx, [ebp - 0x6c]
call fcn.1000bcff
push eax
push 2
lea ecx, [ebp - 0x6c]
call fcn.1000bcff
push eax
push 1
lea ecx, [ebp - 0x6c]
call fcn.1000bcff
push eax
push 0
lea ecx, [ebp - 0x6c]
call fcn.1000bcff
push eax
push 0x10008d10
call fcn.1005486b
add esp, 0x14
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x6c]
call fcn.1003f5b1
push dword [eax]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x6c]
call fcn.1000bf76
push dword [eax]
call fcn.1003f84f
pop ecx
pop ecx
push 2
lea ecx, [ebp - 0x6c]
call fcn.1000bcff
mov esi, eax
push 0
lea ecx, [ebp - 0x6c]
call fcn.1000bcff
mov eax, dword [eax]
imul eax, dword [esi]
push eax
push 0x10007830
call fcn.10054a60
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.1000bce3
jmp 0x10048295
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov ecx, 0x10613a58
call fcn.10022e2a
jmp 0x1004824a
jmp 0x10048230
jmp 0x10048216
push 0x2ac
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x24], 0x5477
jge 0x1004839c
mov edx, dword [ebp - 0x50]
mov ecx, 0x10613a58
call fcn.10026b2f
jmp 0x100483b8
or dword [ebp - 4], 0xffffffff
jmp 0x100483c2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret