Function at 0x45e7f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x523361
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x4a8], eax
push ebx
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x4c0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x14
mov esi, edx
push 0x1701
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
call ebx
push 0
push 0
push 0x14b
push esi
call ebx
mov edx, dword [esp + 0x14]
movzx eax, word [edx + 0x60]
lea ecx, [esp + 0x154]
mov dword [esp + 0x14], eax
call fcn.0046a650
xor eax, eax
mov ecx, edi
mov dword [esp + 0x4c8], eax
mov dword [esp + 0x18], eax
call fcn.0045c1d0
test eax, eax
jbe 0x45e9ae
xor ebx, ebx
mov dword [esp + 0x1c], ebx
jmp 0x45e8a8
mov edi, dword [esp + 0x20]
xor ebx, ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], ecx
mov ecx, 1
lea esi, [esp + 0x34]
mov dword [esp + 0x2c], vtable.t_str.0
mov byte [esp + 0x148], 1
mov word [esp + 0x146], 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x30], ebx
call fcn.0046b260
cmp byte [esp + 0x148], 0
lea eax, [esp + 0x38]
jne 0x45e8f9
mov eax, dword [esp + 0x34]
mov word [eax + 4], bx
mov byte [esp + 0x4c8], 1
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x45e928
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x45e92d
call fcn.004fed81
mov edi, dword [edi + 4]
add edi, dword [esp + 0x1c]
lea ebx, [esp + 0x2c]
mov eax, edi
mov edi, dword [esp + 0x28]
call fcn.004603f0
test al, al
jne 0x45ea9c
mov ecx, edi
call fcn.00470870
mov byte [esp + 0x4c8], 0
cmp byte [esp + 0x148], 0
mov dword [esp + 0x2c], vtable.t_str.0
jne 0x45e981
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x38]
cmp eax, edx
je 0x45e981
push eax
call fcn.004fdda1
add esp, 4
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
add dword [esp + 0x1c], 0x30
add edi, 1
mov ecx, esi
mov dword [esp + 0x18], edi
call fcn.0045c1d0
cmp edi, eax
jb 0x45e8a2
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x24]
xor edi, edi
cmp dword [esp + 0x158], edi
jne 0x45ed00
push 0x206
lea edx, [esp + 0x2b2]
push edi
push edx
mov word [esp + 0x2b8], di
call fcn.005002f0
movzx ecx, word [esp + 0x20]
add esp, 0xc
push 0x104
lea eax, [esp + 0x2b0]
push eax
push 2
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x2b0]
push 0x553fd4
push eax
mov dword [esp + 0x20], edi
call fcn.00501ec3
add esp, 0xc
lea ecx, [esp + 0x2ac]
push 0x561b2c
push ecx
call fcn.004fe1dc
add esp, 8
cmp eax, edi
je 0x45ea30
mov word [eax], di
push 0x561b30
lea edx, [esp + 0x2b0]
push 0x104
push edx
call fcn.004fe162
add esp, 0xc
lea eax, [esp + 0x2ac]
push eax
push 0xffffffffffffffff
push 0x158
push esi
call ebx
cmp eax, edi
jl 0x45eba9
push edi
push eax
push 0x14e
push esi
call ebx
cmp byte [esp + 0x270], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x45ed60
mov eax, dword [esp + 0x15c]
lea ecx, [esp + 0x160]
cmp eax, ecx
jmp 0x45ed55
cmp byte [esp + 0x148], 0
lea eax, [esp + 0x38]
jne 0x45eaae
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
add eax, 4
push eax
push 0
push 0x143
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x45eaed
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x45eaf2
call fcn.004fed81
mov eax, dword [esi + 4]
add eax, dword [esp + 0x1c]
push eax
push edi
push 0x151
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x158], 0
jne 0x45eb6d
mov eax, dword [esi + 4]
test eax, eax
je 0x45eb34
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x45eb39
call fcn.004fed81
mov ecx, dword [esi + 4]
mov dx, word [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp word [ecx + eax + 0xc], dx
jne 0x45eb6d
cmp byte [esp + 0x148], 0
lea eax, [esp + 0x38]
jne 0x45eb5e
mov eax, dword [esp + 0x34]
add eax, 4
lea edx, [esp + 0x154]
call fcn.0046a7f0
mov byte [esp + 0x4c8], 0
cmp byte [esp + 0x148], 0
mov dword [esp + 0x2c], vtable.t_str.0
jne 0x45e985
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
cmp eax, ecx
je 0x45e985
push eax
call fcn.004fdda1
add esp, 4
jmp 0x45e985
lea edx, [esp + 0x2ac]
push edx
push 0xffffffffffffffff
push 0x14c
push esi
call ebx
cmp eax, edi
jge 0x45ea64
lea eax, [esp + 0x2ac]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x45ebd0
sub eax, edx
lea edx, [esp + 0x2ac]
push edx
push 0xffffffffffffffff
push 0x14c
sar eax, 1
push esi
mov word [esp + eax*2 + 0x2ba], di
call ebx
cmp eax, edi
jge 0x45ea64
lea ecx, [esp + 0x2c]
call fcn.0046a650
mov edi, dword [esp + 0x28]
mov eax, 0x409
mov byte [esp + 0x4c8], 2
mov word [esp + 0x288], ax
mov dword [esp + 0x284], eax
lea eax, [esp + 0x27c]
lea ebx, [esp + 0x2c]
call fcn.004603f0
test al, al
jne 0x45ec8f
mov ecx, edi
call fcn.00470870
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x24]
push 0
push 0
push 0x14e
push esi
call edi
cmp byte [esp + 0x148], 0
mov dword [esp + 0x2c], vtable.t_str.0
jne 0x45ed30
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
cmp eax, ecx
je 0x45ed30
push eax
call fcn.004fdda1
add esp, 4
jmp 0x45ed30
cmp byte [esp + 0x148], 0
lea eax, [esp + 0x38]
jne 0x45eca1
mov eax, dword [esp + 0x34]
add eax, 4
push eax
lea edx, [esp + 0x2b0]
push 0x104
push edx
call fcn.004fe07f
mov esi, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
lea eax, [esp + 0x2ac]
push eax
push 0xffffffffffffffff
push 0x14c
push esi
call edi
test eax, eax
jl 0x45ec4f
push 0
push eax
push 0x14e
push esi
call edi
lea ecx, [esp + 0x2c]
call fcn.0046dfd0
lea ecx, [esp + 0x154]
call fcn.0046dfd0
jmp 0x45ed60
cmp byte [esp + 0x270], 0
lea eax, [esp + 0x160]
jne 0x45ed18
mov eax, dword [esp + 0x15c]
add eax, 4
push eax
push 0xffffffffffffffff
push 0x158
push esi
call ebx
push edi
push eax
push 0x14e
push esi
call ebx
cmp byte [esp + 0x270], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x45ed60
mov eax, dword [esp + 0x15c]
lea edx, [esp + 0x160]
cmp eax, edx
je 0x45ed60
push eax
call fcn.004fdda1
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x4c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4a8]
xor ecx, esp
call fcn.004fe05a
mov esp, ebp
pop ebp
ret 8