Function at 0x480645
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7743
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xac
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x48093d
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x4806c6
push 0x1cd5
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x48093b
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x3c], 0x13eb
mov dword [ebp - 0x78], str.veu_hvaqp_rwk
cmp dword [ebp - 0x3c], 0x14a0
jle 0x4807e1
and dword [ebp - 0x24], 0
jmp 0x48072d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6b97
jge 0x4807e1
and dword [ebp - 0x20], 0
jmp 0x480747
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1f2d
jge 0x4807dc
and dword [ebp - 0x18], 0
jmp 0x480761
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4ed
jge 0x4807d7
and dword [ebp - 0x1c], 0
jmp 0x480777
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3056
jge 0x4807d5
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x18]
mov eax, edx
cdq
idiv dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov ecx, edx
shl eax, cl
cdq
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], edx
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
lea ecx, [ebp - 0xbc]
call fcn.0040195e
pop ecx
pop ecx
mov ecx, eax
call fcn.004200e8
push eax
call fcn.004a11e7
pop ecx
lea ecx, [ebp - 0xbc]
call fcn.004200de
jmp 0x480770
jmp 0x48075a
jmp 0x480740
jmp 0x480726
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x64], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x1150
jge 0x480800
push dword [ebp - 0x78]
call fcn.004a11e7
pop ecx
jmp 0x48081c
or dword [ebp - 4], 0xffffffff
jmp 0x480826
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
mov ecx, 0xfdbd0176
sub ecx, dword [eax]
cmp ecx, 0x2280643b
jl 0x480868
mov dword [ebp - 0x2c], 1
jmp 0x48086c
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax - 1]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jle 0x480890
mov dword [ebp - 0x28], 1
jmp 0x480894
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
cmp dword [ebp - 0x28], 0xb667
jge 0x4808ae
mov dword [ebp - 0x44], 1
jmp 0x4808b2
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0xffffffff
jl 0x4808c1
mov dword [ebp - 0x38], 1
jmp 0x4808c5
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jge 0x4808d8
mov dword [ebp - 0x74], 1
jmp 0x4808dc
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
neg eax
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jle 0x4808f9
push 0
mov ecx, dword [ebp - 0x30]
call fcn.00420325
cmp dword [eax], 0
jne 0x48090e
push 0
mov ecx, dword [ebp - 0x30]
call fcn.00420325
cmp dword [eax], 0
jne 0x48090e
and dword [ebp - 0x40], 0
jmp 0x480915
mov dword [ebp - 0x40], 1
push 0
mov ecx, dword [ebp - 0x30]
call fcn.00420325
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax]
jge 0x48092f
mov dword [ebp - 0x48], 1
jmp 0x480933
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x48096f
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
push 0x6337
push dword [ebp - 0x84]
push dword [ebp - 0x8c]
push 0
push 0x3d33
call fcn.004542d8
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret