Function at 0x4456e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
mov ebx, ecx
push esi
push edi
mov edx, dword [ebx + 0x5c]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0
mov eax, dword [edx + 0x640]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x4458f3
mov ecx, eax
mov eax, dword [ecx + 0x210]
mov ecx, dword [ecx + 0x214]
mov dword [ebp - 0x28], eax
or eax, ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
jne 0x44574f
test eax, eax
je 0x44574f
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [edx + 0x640]
mov esi, dword [ecx + 0x218]
mov dword [ebp - 0x1c], esi
mov edi, dword [ecx + 0x21c]
mov ecx, esi
or ecx, edi
mov dword [ebp - 0x18], edi
jne 0x44578b
test eax, eax
je 0x4458f3
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov eax, esi
mov dword [ebp - 0x1c], esi
or eax, edi
mov dword [ebp - 0x18], edi
je 0x4458f3
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
or eax, ecx
je 0x4457f4
mov ecx, dword [edx + 0x410]
lea eax, [edx + 0x410]
mov edx, dword [edx + 0x414]
or ecx, edx
jne 0x4457bb
mov edx, dword [ebx]
lea eax, [ebp - 0x28]
push eax
push 0x138b
mov ecx, ebx
call dword [edx + 0x78]
fild qword [ebp - 0x1c]
fild qword [ebp - 0x28]
fld st(1)
fmul dword [0x5602b0]
fdiv st(1)
fstp dword [ebp - 0x14]
fxch st(1)
fmul dword [0x5604b0]
fdiv st(1)
call fcn.0051ca44
mov ecx, dword [ebx + 0x2dc]
push 0
push eax
push 0x402
push ecx
fstp st(0)
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0x38]
mov ecx, ebx
push edx
push edi
push esi
call fcn.00445520
lea eax, [ebp + 8]
push 3
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x44583b
mov edi, 0x59a5b0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 8]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
fld dword [ebp - 0x14]
call fcn.0051ca44
mov esi, eax
mov dword [ebp - 0x18], esi
fild dword [ebp - 0x18]
fsubr dword [ebp - 0x14]
fmul dword [0x5602b0]
call fcn.0051ca44
lea ecx, [ebp + 8]
push eax
push ecx
lea edx, [ebp - 0x38]
push esi
push edx
lea eax, [ebp - 0x78]
push str._s_____d_s_02d_____
push eax
call fcn.0051d0e8
add esp, 0x18
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebx + 0x248]
call fcn.005370ea
cmp dword [ebx + 0x39c], esi
je 0x4458f3
lea edx, [ebp - 0x38]
push 0xa
push edx
push esi
mov dword [ebx + 0x39c], esi
call fcn.00521e1d
add esp, 0xc
lea ecx, [ebp - 0x14]
push eax
call fcn.00537b72
push 0x59d3d4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00537ee0
lea eax, [ebx + 0x3bc]
lea ecx, [ebp - 0x14]
push eax
call fcn.00537f1c
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, ebx
call fcn.005370ea
mov ecx, dword [0x5ba988]
test ecx, ecx
je 0x4458e7
mov edx, dword [ebx + 0x1c]
push edx
call fcn.004c0290
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00537b04
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4