Function at 0x463fe0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b8a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
mov al, byte [ebp + 0x10]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
test al, al
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
je 0x4641c1
mov eax, dword [edi + 0x8c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 9
mov eax, dword [eax + 0x1c]
push 0x110a
push eax
call ebx
mov esi, eax
test esi, esi
je 0x4641c1
mov eax, dword [edi + 0x8c]
push esi
push 3
push 0x110a
mov ecx, dword [eax + 0x1c]
push ecx
call ebx
mov ecx, dword [edi + 0x8c]
mov edx, dword [ecx + 0x44]
cmp esi, edx
je 0x46410c
cmp esi, dword [ecx + 0x3c]
je 0x46410c
mov ebx, dword [ecx + 0x40]
cmp esi, ebx
je 0x46410c
cmp eax, edx
je 0x46410c
cmp eax, dword [ecx + 0x3c]
je 0x46410c
cmp eax, ebx
je 0x46410c
mov edx, dword [ecx + 0x48]
cmp esi, edx
jne 0x4640a8
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x794]
test eax, eax
jg 0x4641c4
jmp 0x4640c3
cmp eax, edx
jne 0x4640d9
push esi
call fcn.0053c7b9
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x794]
cmp ecx, eax
je 0x4641c4
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ecx + 0x4c]
cmp esi, edx
jne 0x4640f3
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x424]
test eax, eax
jg 0x4641c4
jmp 0x4640c3
cmp eax, edx
jne 0x4641c1
push esi
call fcn.0053c7b9
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x424]
jmp 0x4640bb
mov edx, dword [0x5c2a74]
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push esi
call fcn.00465d00
mov ecx, dword [edi + 0x8c]
push esi
mov byte [ebp + 0x13], al
call fcn.00465c40
mov dl, byte [ebp + 0x13]
mov ebx, eax
test dl, dl
je 0x46415e
mov ecx, dword [edi + 0x8c]
push esi
call fcn.0053c7b9
mov esi, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [esi + 0x354]
cmp edx, eax
mov dl, byte [ebp + 0x13]
sete cl
mov eax, ecx
jmp 0x464163
mov esi, dword [ebp + 8]
xor eax, eax
test ebx, ebx
je 0x4641b3
mov ecx, 3
cmp ebx, ecx
jne 0x464176
test eax, eax
jne 0x4641b3
jmp 0x4641a2
cmp ebx, 1
jne 0x46418d
cmp dword [esi + 0x65c], ecx
je 0x4641a2
test dl, dl
je 0x4641b3
test eax, eax
jne 0x4641b3
jmp 0x4641a2
cmp ebx, 2
jne 0x4641a2
cmp dword [esi + 0x65c], ecx
jne 0x4641a2
test dl, dl
je 0x4641b3
test eax, eax
jne 0x4641b3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005421be
jmp 0x4640c3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.005421be
jmp 0x4641c4
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x420]
mov edx, dword [0x5c2a74]
mov dword [ebp - 0x78], 5
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
mov byte [ebp - 4], 2
call fcn.00506e90
mov eax, dword [ebp - 0x28]
mov edx, dword [edi + 0x1c]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], eax
mov eax, dword [eax - 8]
push ecx
push 0
push 0x1007
push edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
mov eax, dword [esi + 0x58]
test eax, eax
mov dword [ebp - 0x18], ebx
je 0x464235
push eax
push 8
push ebx
mov ecx, edi
call fcn.0053c441
mov edi, dword [esi + 0x428]
mov eax, dword [esi + 0x42c]
mov ecx, edi
or ecx, eax
je 0x464645
mov dword [ebp - 0x50], 0x56a488
mov esi, eax
push 0
push 0x400
push esi
push edi
mov byte [ebp - 4], 3
call fcn.005288f0
mov dword [ebp - 0x2c], eax
mov ecx, edi
cdq
mov dword [ebp - 0x24], eax
sub ecx, eax
mov eax, esi
push 0
sbb eax, edx
push 0x400
push eax
push ecx
mov dword [ebp - 0x20], edx
call fcn.00528840
mov ebx, eax
and ebx, 0x800003ff
jns 0x464298
dec ebx
or ebx, 0xfffffc00
inc ebx
mov eax, ebx
mov ecx, edi
shl eax, 0xa
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
mov edx, dword [ebp - 0x24]
sub ecx, edx
mov edx, dword [ebp - 0x20]
sbb eax, edx
push 0
push 0x100000
push eax
push ecx
call fcn.00528840
and eax, 0x800003ff
jns 0x4642cc
dec eax
or eax, 0xfffffc00
inc eax
push 0
push 0x40000000
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00528840
lea ecx, [ebp + 0x10]
push 3
push ecx
mov esi, eax
push 0xe
push 0x400
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x46431f
mov edi, 0x5a6888
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x10]
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]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
test esi, esi
jne 0x4643e8
cmp edi, 0x3e7
jg 0x4643e8
test edi, edi
jne 0x4643a6
cmp ebx, 0x3e7
jg 0x4643a6
test ebx, ebx
je 0x464386
mov eax, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov edx, dword [0x5c7c30]
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
push edx
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [ebp + 0x10]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push ebx
jmp 0x464420
mov eax, dword [0x5c7c2c]
mov ecx, dword [ebp - 0x2c]
push eax
push ecx
lea edx, [ebp - 0x4c]
push str._d___s
push edx
call fcn.00527718
add esp, 0x10
jmp 0x464431
lea ebx, [ebx + ebx*4]
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, dword [0x5c7c34]
push eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov ecx, edx
lea eax, [ebp - 0x4c]
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [ebp + 0x10]
push edx
push edi
push str._d_s_02d___s
push eax
jmp 0x464429
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov edx, dword [0x5c7c38]
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
push edx
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [ebp + 0x10]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push esi
lea edx, [ebp - 0x4c]
push str._d_s_02d___s
push edx
call fcn.00527718
add esp, 0x18
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x4c]
push eax
push 3
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0053c441
mov edi, dword [ebp + 8]
cmp dword [edi + 0x65c], 3
je 0x46463b
lea edx, [ebp + 0x10]
push 3
push edx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x464490
mov edi, 0x5a6888
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x10]
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]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x434]
mov ecx, dword [edi + 0x430]
test eax, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
jl 0x464504
jg 0x4644ac
test ecx, ecx
jbe 0x464504
fild qword [ebp - 0x24]
fmul dword [0x56b584]
fild qword [edi + 0x428]
fdivp st(1)
fld st(0)
call fcn.0052706c
mov esi, eax
mov dword [ebp - 0x20], esi
fild dword [ebp - 0x20]
fsubr st(1)
fmul dword [0x56b584]
call fcn.0052706c
lea ecx, [ebp + 0x10]
push eax
push ecx
push esi
lea edx, [ebp - 0x4c]
push str._d_s_02d__
push edx
fstp st(0)
call fcn.00527718
mov ecx, dword [ebp - 0x18]
add esp, 0x14
lea eax, [ebp - 0x4c]
push eax
push 4
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0053c441
mov eax, dword [edi + 0x438]
cmp eax, 0xa
jle 0x46463b
mov esi, dword [edi + 0x428]
mov ecx, dword [edi + 0x42c]
mov edx, dword [edi + 0x430]
mov edi, dword [edi + 0x434]
cmp ecx, edi
jl 0x46463b
jg 0x46453d
cmp esi, edx
jb 0x46463b
mov ebx, esi
or ebx, ecx
je 0x46463b
mov dword [ebp - 0x20], 0x56a488
sub esi, edx
mov byte [ebp - 4], 4
cdq
sbb ecx, edi
push edx
push eax
push ecx
push esi
call fcn.00528840
mov esi, edx
mov edi, eax
test esi, esi
jg 0x46457e
jl 0x46456e
test edi, edi
jae 0x46457e
mov edx, dword [0x5c7d50]
lea eax, [ebp - 0x4c]
push edx
push eax
jmp 0x464621
push 0
push 0x3c
push esi
push edi
call fcn.005288f0
mov ebx, eax
mov ecx, edi
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
push 0
push 0x3c
push eax
push ecx
call fcn.00528840
push 0
push 0x3c
push edx
push eax
call fcn.005288f0
push 0
push 0xe10
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00528840
test edx, edx
jg 0x464618
jl 0x4645c8
cmp eax, 0x2710
ja 0x464618
test eax, eax
je 0x4645e6
mov ecx, dword [ebp - 0x1c]
mov edx, dword [0x5c7da8]
push ecx
push eax
lea eax, [ebp - 0x4c]
push edx
push eax
call fcn.00527718
add esp, 0x10
jmp 0x464629
mov eax, dword [ebp - 0x1c]
push ebx
test eax, eax
je 0x464604
mov ecx, dword [0x5c7da4]
push eax
lea edx, [ebp - 0x4c]
push ecx
push edx
call fcn.00527718
add esp, 0x10
jmp 0x464629
mov eax, dword [0x5c7da0]
lea ecx, [ebp - 0x4c]
push eax
push ecx
call fcn.00527718
add esp, 0xc
jmp 0x464629
lea edx, [ebp - 0x4c]
push 0x5a3d54
push edx
call fcn.00527718
add esp, 8
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x4c]
push eax
push 5
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0053c441
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x434]
test eax, eax
jg 0x46468d
jl 0x46465b
mov eax, dword [esi + 0x430]
test eax, eax
ja 0x46468d
mov eax, dword [esi + 0x780]
cmp eax, 0x7565
jne 0x464671
mov edx, dword [0x5c7aa4]
push edx
jmp 0x464682
cmp eax, 0x7540
je 0x46468d
test eax, eax
je 0x46468d
mov eax, dword [0x5c7a9c]
push eax
mov ecx, dword [ebp - 0x14]
push 4
push ebx
call fcn.0053c441
lea edx, [esi + 0x5c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4646aa
mov ecx, dword [ebp - 0x14]
push edx
push 7
push ebx
call fcn.0053c441
lea edx, [esi + 0x8c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4646ca
mov ecx, dword [ebp - 0x14]
push edx
push 1
push ebx
call fcn.0053c441
mov eax, dword [esi + 0x54]
test eax, eax
je 0x464718
push eax
lea ecx, [ebp + 0x10]
call fcn.0054222c
mov eax, dword [0x5c74b4]
mov byte [ebp - 4], 5
test eax, eax
je 0x4646fd
mov ecx, dword [0x5c737c]
mov edx, dword [0x5c7380]
push ecx
push edx
lea ecx, [ebp + 0x10]
call fcn.0053a9db
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
push eax
push 9
push ebx
call fcn.0053c441
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.005421be
mov eax, dword [esi + 0x38]
test eax, eax
je 0x46472b
mov ecx, dword [ebp - 0x14]
push eax
push 0xa
push ebx
call fcn.0053c441
cmp dword [esi + 0x65c], 3
jne 0x464746
mov ecx, dword [0x5c7dd4]
push ecx
mov ecx, dword [ebp - 0x14]
push 4
push ebx
call fcn.0053c441
mov al, byte [ebp + 0xc]
test al, al
je 0x464776
test ebx, ebx
jl 0x464776
push 8
call fcn.0054276d
mov edx, dword [ebp - 0x14]
add esp, 4
mov dword [eax], esi
mov dword [eax + 4], edx
push 0
push 0
push 0
push 0xfffffffffffffffe
push eax
push 0x463520
call fcn.005428e4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.005421be
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc