Function at 0x468ad0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0xb8
push ebx
mov ebx, ecx
push ebp
push esi
mov ecx, dword [ebx + 0x3616c]
mov si, word [ebx + 0x180c]
mov bp, word [ebx + 0x180e]
push edi
mov di, word [ebx + 0x1810]
mov dword [esp + 0x18], esi
test ecx, ecx
mov dword [esp + 0x1c], ebp
je 0x468b19
mov eax, dword [ebx + 0x4dd34]
push eax
push 2
movsx edx, bp
movsx eax, si
push edx
push eax
call fcn.00488ff0
mov ecx, dword [ebx + 0x36190]
test ecx, ecx
je 0x468b39
mov edx, dword [ebx + 0x4dd34]
push edx
push 4
movsx eax, bp
movsx edx, si
push eax
push edx
call fcn.00488ff0
movsx eax, byte [ebx + 0x1896]
dec eax
je 0x468b92
dec eax
jne 0x4693f0
movsx eax, bp
add eax, 0x87
lea ecx, [ebx + 0x6004]
mov dword [esp + 0x30], eax
call fcn.00402250
mov ecx, dword [esp + 0x30]
movsx eax, si
lea edx, [ecx + 0xf]
push edx
movsx edx, di
add edx, eax
push edx
push ecx
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.user32.dll_SetRect]
push 0x191937
push 0x4ad8cc
lea ecx, [esp + 0x28]
jmp 0x4693db
movsx eax, word [ebx + 0x3f0e]
sub eax, 0
je 0x469398
dec eax
je 0x468f83
sub eax, 6
jne 0x4693f0
mov eax, dword [ebx + 0x3f08]
test eax, eax
movsx eax, bp
mov dword [esp + 0x34], eax
jne 0x468c1d
lea ebp, [ebx + 0x6004]
add eax, 0x32
mov ecx, ebp
mov dword [esp + 0x14], eax
call fcn.00402250
mov ecx, dword [esp + 0x14]
movsx esi, si
movsx edx, di
mov dword [esp + 0x30], esi
lea eax, [edx + esi]
lea edx, [ecx + 0xf]
push edx
mov dword [esp + 0x14], eax
push eax
push ecx
lea eax, [esp + 0x2c]
push esi
push eax
call dword [sym.imp.user32.dll_SetRect]
push 0x191937
lea ecx, [esp + 0x24]
push 0x4ad8ac
push ecx
mov ecx, ebp
call fcn.004022b0
mov ecx, ebp
call fcn.00402290
jmp 0x468c79
lea ebp, [ebx + 0x6004]
add eax, 0x32
mov ecx, ebp
mov dword [esp + 0x14], eax
call fcn.00402250
movsx eax, si
movsx edx, di
mov dword [esp + 0x30], eax
lea ecx, [edx + eax]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
lea esi, [edx + 0xf]
push esi
push ecx
push edx
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.user32.dll_SetRect]
push 0x191937
lea ecx, [esp + 0x24]
push 0x4ad888
push ecx
mov ecx, ebp
call fcn.004022b0
mov ecx, ebp
call fcn.00402290
mov esi, dword [esp + 0x30]
xor edx, edx
cmp word [ebx + 0x3f0c], 4
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov byte [esp + 0x4c], dl
jne 0x468cc7
mov edi, 0x4ab368
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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 [esp + 0x30]
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0x50]
lea edx, [esp + 0x50]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x38]
push ecx
push 0x4ad87c
push edx
call dword [sym.imp.user32.dll_wsprintfA]
mov eax, dword [esp + 0x40]
add esp, 0xc
mov ecx, ebp
lea edi, [eax + 0x5f]
call fcn.00402250
mov edx, dword [esp + 0x10]
lea ecx, [edi + 0xf]
push ecx
push edx
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call dword [sym.imp.user32.dll_SetRect]
lea ecx, [esp + 0x50]
push 0x191937
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call fcn.004022b0
mov ecx, ebp
call fcn.00402290
mov eax, dword [esp + 0x34]
mov ecx, ebp
lea edi, [eax + 0x6e]
call fcn.00402250
mov edx, dword [esp + 0x10]
lea ecx, [edi + 0xf]
push ecx
push edx
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call dword [sym.imp.user32.dll_SetRect]
push 0x191937
lea ecx, [esp + 0x24]
push 0x4ab010
push ecx
mov ecx, ebp
call fcn.004022b0
mov ecx, ebp
call fcn.00402290
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0x50]
mov edx, 0x4a6fd8
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x3f1c]
mov edi, dword [edx]
lea eax, [ebx + 0x3f1c]
cmp ecx, edi
jne 0x468e06
mov edi, 0x4aaffc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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 ecx, dword [esp + 0x34]
lea esi, [ecx + 0x7d]
mov ecx, ebp
call fcn.00402250
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
lea edx, [esi + 0xf]
push edx
push eax
push esi
lea edx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.user32.dll_SetRect]
lea eax, [esp + 0x50]
push 0x191937
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebp
call fcn.004022b0
mov ecx, ebp
call fcn.00402290
mov esi, dword [esp + 0x30]
jmp 0x468f0a
xor edx, edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], edx
push ecx
mov dword [esp + 0x40], edx
push eax
mov dword [esp + 0x48], edx
mov ecx, ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov byte [esp + 0x54], dl
call fcn.00451530
lea edx, [esp + 0x38]
lea eax, [esp + 0x50]
push edx
push 0x4aaff0
push eax
call dword [sym.imp.user32.dll_wsprintfA]
mov ecx, dword [esp + 0x40]
add esp, 0xc
lea edi, [ecx + 0x7d]
mov ecx, ebp
call fcn.00402250
mov eax, dword [esp + 0x10]
lea edx, [edi + 0xf]
push edx
push eax
push edi
lea ecx, [esp + 0x2c]
push esi
push ecx
call dword [sym.imp.user32.dll_SetRect]
lea edx, [esp + 0x50]
push 0x191937
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, ebp
call fcn.004022b0
mov ecx, ebp
call fcn.00402290
mov dx, word [ebx + 0x3f16]
test dx, dx
je 0x468f0a
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
movsx ecx, word [ebx + 0x3f1a]
movsx eax, word [ebx + 0x3f18]
push ecx
push eax
movsx ecx, dx
push ecx
lea edx, [esp + 0x5c]
push 0x4ad858
push edx
call dword [sym.imp.user32.dll_wsprintfA]
mov eax, dword [esp + 0x48]
add esp, 0x14
mov ecx, ebp
lea edi, [eax + 0x8c]
call fcn.00402250
mov edx, dword [esp + 0x10]
lea ecx, [edi + 0xf]
push ecx
push edx
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call dword [sym.imp.user32.dll_SetRect]
lea ecx, [esp + 0x50]
push 0x191937
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call fcn.004022b0
mov ecx, ebp
call fcn.00402290
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
movsx eax, word [ebx + 0x3f10]
push eax
lea ecx, [esp + 0x54]
push 0x4ad844
push ecx
call dword [sym.imp.user32.dll_wsprintfA]
mov edx, dword [esp + 0x40]
add esp, 0xc
mov ecx, ebp
lea edi, [edx + 0x9b]
call fcn.00402250
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0xf]
push eax
push ecx
push edi
lea edx, [esp + 0x2c]
push esi
push edx
call dword [sym.imp.user32.dll_SetRect]
lea eax, [esp + 0x50]
push 0x191937
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.004022b0
mov ecx, ebp
call fcn.00402290
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x4693f0
mov eax, dword [ebx + 0x3f08]
test eax, eax
movsx eax, bp
jne 0x468fe6
lea ebp, [ebx + 0x6004]
add eax, 0x32
mov ecx, ebp
mov dword [esp + 0x14], eax
call fcn.00402250
mov ecx, dword [esp + 0x14]
movsx eax, si
movsx edx, di
lea esi, [edx + eax]
lea edx, [ecx + 0xf]
push edx
push esi
push ecx
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x20], esi
push eax
call dword [sym.imp.user32.dll_SetRect]
push 0x191937
lea ecx, [esp + 0x24]
push 0x4ad81c
push ecx
mov ecx, ebp
call fcn.004022b0
mov ecx, ebp
call fcn.00402290
jmp 0x46903e
lea ebp, [ebx + 0x6004]
add eax, 0x32
mov ecx, ebp
mov dword [esp + 0x14], eax
call fcn.00402250
movsx eax, si
movsx edx, di
lea ecx, [edx + eax]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
lea esi, [edx + 0xf]
push esi
push ecx
push edx
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.user32.dll_SetRect]
push 0x191937
lea ecx, [esp + 0x24]
push 0x4ad7ec
push ecx
mov ecx, ebp
call fcn.004022b0
mov ecx, ebp
call fcn.00402290
mov esi, dword [esp + 0x10]
xor edx, edx
cmp word [ebx + 0x3f0c], 4
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov byte [esp + 0x4c], dl
jne 0x46908c
mov edi, 0x4ab368
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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 [esp + 0x10]
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0x50]
lea edx, [esp + 0x50]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x38]
push ecx
push 0x4ad87c
push edx
call dword [sym.imp.user32.dll_wsprintfA]
movsx eax, word [esp + 0x28]
add esp, 0xc
mov ecx, ebp
lea edi, [eax + 0x5f]
call fcn.00402250
lea eax, [edi + 0xf]
lea ecx, [esp + 0x20]
push eax
push esi
movsx eax, word [esp + 0x20]
push edi
push eax
push ecx
call dword [sym.imp.user32.dll_SetRect]
lea edx, [esp + 0x50]
push 0x191937
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, ebp
call fcn.004022b0
mov ecx, ebp
call fcn.00402290
xor ecx, ecx
mov ax, word [ebx + 0x3f12]
mov dword [esp + 0x38], ecx
lea edx, [esp + 0x38]
mov dword [esp + 0x3c], ecx
push edx
mov dword [esp + 0x44], ecx
push eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov byte [esp + 0x54], cl
mov ecx, ebx
call fcn.00453900
movsx edx, word [ebx + 0x3f14]
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x38]
lea eax, [esp + 0x50]
push ecx
push edx
push 0x4aaf9c
push eax
call dword [sym.imp.user32.dll_wsprintfA]
movsx eax, word [esp + 0x2c]
add esp, 0x10
mov ecx, ebp
lea edi, [eax + 0x6e]
call fcn.00402250
movsx eax, word [esp + 0x18]
lea ecx, [edi + 0xf]
lea edx, [esp + 0x20]
push ecx
push esi
push edi
push eax
push edx
call dword [sym.imp.user32.dll_SetRect]
lea eax, [esp + 0x50]
push 0x191937
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebp
call fcn.004022b0
mov ecx, ebp
call fcn.00402290
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0x50]
mov edx, 0x4a6fd8
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x3f1c]
mov edi, dword [edx]
lea eax, [ebx + 0x3f1c]
cmp ecx, edi
jne 0x46922c
mov edi, 0x4aaffc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
movsx eax, word [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
lea esi, [eax + 0x7d]
call fcn.00402250
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0xf]
movsx eax, word [esp + 0x18]
push ecx
push edx
push esi
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.user32.dll_SetRect]
lea ecx, [esp + 0x50]
push 0x191937
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call fcn.004022b0
mov ecx, ebp
call fcn.00402290
mov esi, dword [esp + 0x10]
jmp 0x469334
xor ecx, ecx
lea edx, [esp + 0x38]
mov dword [esp + 0x38], ecx
push edx
mov dword [esp + 0x40], ecx
push eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov byte [esp + 0x54], cl
mov ecx, ebx
call fcn.00451530
lea eax, [esp + 0x38]
lea ecx, [esp + 0x50]
push eax
push 0x4aaff0
push ecx
call dword [sym.imp.user32.dll_wsprintfA]
movsx eax, word [esp + 0x28]
add esp, 0xc
mov ecx, ebp
lea edi, [eax + 0x7d]
call fcn.00402250
movsx eax, word [esp + 0x18]
lea edx, [edi + 0xf]
push edx
push esi
push edi
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.user32.dll_SetRect]
lea ecx, [esp + 0x50]
push 0x191937
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call fcn.004022b0
mov ecx, ebp
call fcn.00402290
mov dx, word [ebx + 0x3f16]
test dx, dx
je 0x469334
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
movsx eax, word [ebx + 0x3f1a]
movsx ecx, word [ebx + 0x3f18]
movsx edx, dx
push eax
push ecx
push edx
lea eax, [esp + 0x5c]
push 0x4ad858
push eax
call dword [sym.imp.user32.dll_wsprintfA]
movsx eax, word [esp + 0x30]
add esp, 0x14
mov ecx, ebp
lea edi, [eax + 0x8c]
call fcn.00402250
movsx eax, word [esp + 0x18]
lea ecx, [edi + 0xf]
lea edx, [esp + 0x20]
push ecx
push esi
push edi
push eax
push edx
call dword [sym.imp.user32.dll_SetRect]
lea eax, [esp + 0x50]
push 0x191937
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebp
call fcn.004022b0
mov ecx, ebp
call fcn.00402290
movsx edx, word [ebx + 0x3f10]
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0x50]
push edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x54]
push 0x4ad844
push eax
call dword [sym.imp.user32.dll_wsprintfA]
movsx eax, word [esp + 0x28]
add esp, 0xc
mov ecx, ebp
lea edi, [eax + 0x9b]
call fcn.00402250
movsx eax, word [esp + 0x18]
lea ecx, [edi + 0xf]
lea edx, [esp + 0x20]
push ecx
push esi
push edi
push eax
push edx
call dword [sym.imp.user32.dll_SetRect]
lea eax, [esp + 0x50]
push 0x191937
push eax
lea ecx, [esp + 0x28]
jmp 0x468f67
movsx eax, bp
add eax, 0x87
lea ecx, [ebx + 0x6004]
mov dword [esp + 0x14], eax
call fcn.00402250
mov ecx, dword [esp + 0x14]
movsx eax, si
lea edx, [ecx + 0xf]
push edx
movsx edx, di
add edx, eax
push edx
push ecx
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.user32.dll_SetRect]
push 0x191937
push 0x4ad7d0
lea ecx, [esp + 0x28]
lea edi, [ebx + 0x6004]
push ecx
mov ecx, edi
call fcn.004022b0
mov ecx, edi
call fcn.00402290
mov ecx, dword [esp + 0xcc]
movsx eax, si
lea edx, [eax + 0x9a]
cmp ecx, edx
jl 0x469451
add eax, 0xe4
cmp ecx, eax
jg 0x469451
mov ecx, dword [esp + 0xd0]
movsx eax, bp
lea esi, [eax + 0x124]
cmp ecx, esi
jle 0x469451
add eax, 0x138
cmp ecx, eax
jge 0x469451
mov ecx, dword [ebx + 0x36194]
test ecx, ecx
je 0x469473
mov eax, dword [ebx + 0x4dd34]
push eax
push 1
push esi
push edx
call fcn.00488ff0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 8
mov ecx, dword [ebx + 0x36194]
test ecx, ecx
je 0x469473
mov eax, dword [ebx + 0x4dd34]
push eax
push 0
movsx eax, bp
add eax, 0x124
push eax
push edx
call fcn.00488ff0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 8