Function at 0x457980
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582270
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]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
mov eax, dword [edx + 0x5c8]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x457ce9
mov ecx, eax
mov eax, dword [ecx + 0x118]
mov ecx, dword [ecx + 0x11c]
mov dword [ebp - 0x28], eax
or eax, ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
jne 0x4579ee
test eax, eax
je 0x4579ee
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [edx + 0x5c8]
mov esi, dword [ecx + 0x120]
mov dword [ebp - 0x20], esi
mov edi, dword [ecx + 0x124]
mov ecx, esi
or ecx, edi
mov dword [ebp - 0x1c], edi
jne 0x457a2a
test eax, eax
je 0x457ce9
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov eax, esi
mov dword [ebp - 0x20], esi
or eax, edi
mov dword [ebp - 0x1c], edi
je 0x457ce9
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
or eax, ecx
je 0x457a93
mov ecx, dword [edx + 0x398]
lea eax, [edx + 0x398]
mov edx, dword [edx + 0x39c]
or ecx, edx
jne 0x457a5a
lea edx, [ebp - 0x28]
mov ecx, ebx
push edx
push 0x138b
call fcn.00456ce0
fild qword [ebp - 0x20]
fild qword [ebp - 0x28]
fld st(1)
fmul dword [0x59c96c]
fdiv st(1)
fstp dword [ebp - 0x18]
fxch st(1)
fmul dword [0x59d5a8]
fdiv st(1)
call fcn.0054e504
push 0
push eax
mov eax, dword [ebx + 0x2c4]
push 0x402
push eax
fstp st(0)
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x38]
push ecx
push edi
push esi
mov ecx, ebx
call fcn.00458030
lea edx, [ebp + 8]
push 3
push edx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x457ada
mov edi, 0x618b20
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 - 0x18]
call fcn.0054e504
mov esi, eax
mov dword [ebp - 0x1c], esi
fild dword [ebp - 0x1c]
fsubr dword [ebp - 0x18]
fmul dword [0x59c96c]
call fcn.0054e504
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.0054ea2a
add esp, 0x18
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebx + 0x230]
call fcn.005696e5
cmp dword [ebx + 0x384], esi
je 0x457ce9
lea edx, [ebp - 0x38]
push 0xa
push edx
push esi
mov dword [ebx + 0x384], esi
call fcn.00553a7d
mov ebx, eax
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea esi, [eax + 0x3b0]
mov ecx, esi
call fcn.00401070
test ebx, ebx
je 0x457ba1
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x457ba1
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x457ba1
lea ecx, [eax + eax + 2]
push ecx
call fcn.0056649c
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x457ba1
mov edx, dword [esi + 8]
push edx
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0
call edi
mov dword [esi + 8], eax
mov eax, 0x61b9cc
test eax, eax
je 0x457c2f
push eax
call fcn.0054e46e
add esp, 4
test eax, eax
je 0x457c2f
mov eax, dword [esi]
test eax, eax
je 0x457bce
push eax
call fcn.0054e46e
add esp, 4
mov edi, eax
jmp 0x457bd0
xor edi, edi
push 0x61b9cc
call fcn.0054e46e
add eax, edi
lea ecx, [eax + eax + 2]
push ecx
call fcn.0056649c
mov edi, eax
add esp, 8
test edi, edi
je 0x457c2f
mov eax, dword [esi]
test eax, eax
je 0x457c0c
push eax
push edi
call fcn.0054e449
push 0x61b9cc
push edi
call fcn.0054e41f
add esp, 0x10
jmp 0x457c1a
push 0x61b9cc
push edi
call fcn.0054e449
add esp, 8
mov ecx, esi
call fcn.00401070
push edi
mov dword [esi], edi
call fcn.0054e46e
add esp, 4
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0x3a4]
test ebx, ebx
jne 0x457c46
lea ebx, [eax + 0x3a8]
test ebx, ebx
je 0x457cbb
push ebx
call fcn.0054e46e
add esp, 4
test eax, eax
je 0x457cbb
mov eax, dword [esi]
test eax, eax
je 0x457c66
push eax
call fcn.0054e46e
add esp, 4
mov edi, eax
jmp 0x457c68
xor edi, edi
push ebx
call fcn.0054e46e
add eax, edi
lea edx, [eax + eax + 2]
push edx
call fcn.0056649c
mov edi, eax
add esp, 8
test edi, edi
je 0x457cbb
mov eax, dword [esi]
test eax, eax
je 0x457c9c
push eax
push edi
call fcn.0054e449
push ebx
push edi
call fcn.0054e41f
add esp, 0x10
jmp 0x457ca6
push ebx
push edi
call fcn.0054e449
add esp, 8
mov ecx, esi
call fcn.00401070
push edi
mov dword [esi], edi
call fcn.0054e46e
add esp, 4
mov dword [esi + 8], eax
mov eax, dword [esi]
test eax, eax
je 0x457cc5
mov esi, eax
jmp 0x457cc8
add esi, 4
push esi
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x63e620]
test ecx, ecx
je 0x457ce9
mov edx, dword [esi + 0xc]
push edx
call fcn.004e1970
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4