Function at 0x412190
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x412a1a
sub esp, 0xb4
mov edx, dword [0xb4503c]
test byte [edx], al
nop
mov ebx, dword [esp + 0xb8]
mov ebp, ebx
shr ebx, 0x16
mov edx, dword [edx + ebx*4]
test edx, edx
je 0x41297b
mov esi, ebp
shr ebp, 4
and ebp, 0x3ffff
add ebp, edx
mov edi, esi
shr esi, 2
and esi, 3
add edx, 0x3ffff
mov eax, ebx
mov ecx, esi
mov esi, dword [esp + 0xc4]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x90], esi
mov esi, dword [esp + 0xbc]
cmp esi, 8
je 0x4128e7
lea esi, [esi + edi - 1]
shr esi, 0x16
cmp esi, ebx
je 0x4128d7
mov edx, edi
xor ebp, ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x44], ebx
mov edx, dword [esp + 0xc4]
movzx esi, byte [edx + 0xf]
xchg esi, eax
test al, 0x40
xchg esi, eax
jne 0x41287c
mov dword [esp + 0xa0], edi
mov dword [esp + 0x60], ecx
mov ebp, dword [edx]
mov dword [esp + 0x5c], ebp
mov esi, dword [esp + 0xc0]
cmp ebp, esi
jae 0x412866
mov ebx, dword [edx + 4]
shr ebx, 2
cmp ebx, 0x19
ja 0x412837
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x7c], ecx
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
jmp 0x4122f8
cmp edi, 0x20
sbb eax, eax
lea ecx, [edi + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x9c]
movzx esi, byte [edx]
mov ecx, edi
shl esi, cl
and esi, eax
mov eax, dword [esp + 0x30]
or eax, esi
nop
lea ecx, [edx + 1]
mov edx, dword [esp + 0x40]
mov edx, dword [esp + 0xc4]
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x40]
cmp edi, ebx
jb 0x4122a6
mov ebx, ebp
shr ebp, 2
lea edi, [ebp + ebp]
cmp edi, 0x19
ja 0x41282a
mov dword [esp + 0x48], ebp
mov edi, dword [esp + 0x30]
jmp 0x412339
mov dword [esp + 0x30], edi
sbb eax, eax
mov ecx, ebp
shl edi, cl
and edi, eax
mov eax, dword [esp + 0x30]
or edi, eax
lea ebp, [ecx + ecx]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
cmp ebp, 0x20
jbe 0x41231c
mov ebp, dword [esp + 0x48]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x412a14
mov edx, 0x19
movzx edx, dl
xchg ebp, eax
movzx ebx, al
xchg ebp, eax
mov eax, edx
xor edx, edx
div bx
movzx edx, al
imul edx, ebp
cmp edx, 0x20
sbb ebx, ebx
mov eax, ecx
mov ecx, edx
mov ebp, 1
shl ebp, cl
and ebp, ebx
lea ebx, [ebp - 1]
and edi, ebx
xor edx, edx
xor ebx, ebx
mov ebp, ecx
test edx, edx
je 0x41281f
mov ecx, edi
movzx edi, byte [edx]
nop
inc edx
mov dword [esp + 0x74], eax
mov eax, 8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x5c]
cmp esi, ebp
jne 0x4127e7
mov ebp, dword [esp + 0xc4]
mov esi, dword [ebp + 4]
shr esi, 2
test esi, esi
je 0x4129a2
cmp esi, 2
jae 0x4127e0
mov ebp, 2
test eax, eax
jne 0x41298c
mov eax, edi
and edi, 0xf
or edi, 0xd0
cmp ebp, 4
ja 0x41265f
mov eax, 4
mov ecx, dword [esp + 0xa0]
cmp eax, ebp
jbe 0x412656
mov edx, eax
sub eax, ebp
add eax, 0xfffffffc
neg eax
cmp eax, 0x20
sbb ebx, ebx
mov ebp, ecx
mov ecx, eax
mov esi, 1
shl esi, cl
and ebx, esi
lea eax, [ebx - 1]
mov ebx, eax
shl eax, 4
or eax, ebx
and edi, eax
mov eax, dword [esp + 0xbc]
mov ecx, eax
shr eax, 2
cmp edx, eax
ja 0x41264d
xchg edi, eax
mov byte [ebp], al
xchg edi, eax
nop
add edx, 4
lea ebx, [ebp + 1]
jmp 0x412457
mov byte [ebx], 0
add edx, 4
nop
inc ebx
cmp edx, eax
jbe 0x41244f
xor ebp, ebp
add eax, 2
cmp eax, edx
jne 0x41263e
movzx eax, byte [ebx]
and eax, 0xffffffcc
or ebp, eax
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
cmp eax, edx
je 0x4125c8
mov eax, dword [0xb4503c]
test byte [eax], al
mov edx, dword [esp + 0x68]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x41262a
mov ebx, dword [esp + 0xb8]
mov ebp, ebx
shr ebx, 4
and ebx, 0x3ffff
add ebx, eax
mov esi, ebp
shr ebp, 2
and ebp, 3
add eax, 0x3ffff
shr ecx, 2
mov edi, esi
jmp 0x412578
mov dword [esp + 0x4c], ecx
mov dword [esp + 0xa4], ebx
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
shr ecx, 2
shl ecx, 2
mov dword [esp + 0x10], ecx
call fcn.004114c0
mov eax, dword [esp + 0x20]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x58], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0xac], ebp
mov esi, dword [esp + 0xa4]
mov dword [esp], esi
mov esi, dword [esp + 0x94]
mov dword [esp + 4], esi
shr edx, 2
mov dword [esp + 0x3c], edx
mov dword [esp + 8], edx
call fcn.00459fc0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
sub ecx, eax
nop
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x3c]
lea esi, [edx + eax]
mov edi, dword [esp + 0xb8]
mov edx, dword [esp + 0x60]
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0xac]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x94], esi
cmp ecx, 4
jae 0x4124c6
cmp ecx, 2
jne 0x412626
movzx ecx, byte [ebx]
and ecx, 0xffffffcc
movzx edi, byte [esi]
or edi, ecx
xchg edi, eax
mov byte [ebx], al
xchg edi, eax
nop
cmp ebp, 3
jae 0x4125f0
lea ecx, [ebp + 1]
cmp ecx, 3
jae 0x4125cf
lea eax, [esi + 1]
mov ecx, dword [esp + 0xb8]
mov edx, ecx
mov dword [esp], ecx
sub eax, edx
mov dword [esp + 4], eax
call fcn.00459de0
add esp, 0xb4
ret
cmp ebx, eax
jne 0x4125ae
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.00411380
mov esi, dword [esp + 0x94]
jmp 0x4125ae
cmp ebx, eax
je 0x4125f9
inc ebx
xor ecx, ecx
jmp 0x4125a9
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.00411380
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x94]
jmp 0x4125a9
mov eax, esi
jmp 0x4125b1
mov esi, dword [esp + 0xb8]
xor eax, eax
xor edx, edx
xor ebp, ebp
xor ebx, ebx
jmp 0x4124bc
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
cmp eax, edx
jmp 0x41247e
mov ebx, ebp
mov ebp, edi
jmp 0x41245d
mov edx, eax
mov ebp, ecx
jmp 0x41242d
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x34], ebp
mov esi, dword [esp + 0xa0]
xchg edi, eax
mov byte [esi], al
xchg edi, eax
nop
shr eax, 4
mov edi, dword [esp + 0x38]
add edi, 0xfffffff8
inc esi
mov dword [esp + 0x6c], eax
mov eax, 4
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x6c]
jmp 0x4126c8
mov edi, 1
mov ebp, dword [esp + 0x8c]
mov byte [ebp + edi], al
nop
shr ebx, 4
lea eax, [ebp + 2]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x2c], esi
mov edi, ecx
mov esi, eax
mov ecx, dword [esp + 0x5c]
mov eax, ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x38], edi
mov dword [esp + 0x50], eax
and eax, 0xf
or eax, 0xf0
mov edi, dword [esp + 0x2c]
add edi, 4
cmp edi, ebp
jae 0x4127d7
mov dword [esp + 0x8c], esi
mov byte [esi], al
nop
mov eax, dword [esp + 0x50]
shr eax, 4
cmp ebx, edx
je 0x41274a
mov edi, dword [esp + 0x38]
cmp edi, 8
jae 0x412743
cmp edi, 0x20
sbb ebx, ebx
movzx esi, byte [edx]
mov ecx, edi
shl esi, cl
and esi, ebx
or eax, esi
nop
inc edx
mov ebx, eax
and eax, 0xf
or eax, 0xf0
mov esi, dword [esp + 0x2c]
add esi, 8
cmp esi, ebp
jb 0x412698
mov edx, dword [esp + 0x8c]
inc edx
mov ecx, edx
mov edi, eax
mov eax, esi
jmp 0x4123fe
add edi, 0xfffffff8
mov ecx, edi
jmp 0x412717
test edx, edx
je 0x41279c
mov edi, dword [esp + 0x38]
cmp edi, 0x20
sbb ebx, ebx
movzx edx, byte [edx]
mov ecx, edi
shl edx, cl
and edx, ebx
or eax, edx
mov edx, dword [esp + 0x48]
lea ebx, [ecx + edx]
cmp ebx, 8
jae 0x41278d
cmp ebx, 0x20
sbb edi, edi
mov edx, dword [esp + 0x90]
movzx esi, byte [edx]
mov ecx, ebx
shl esi, cl
and esi, edi
or eax, esi
nop
lea esi, [edx + 1]
mov edx, esi
jmp 0x412717
lea ecx, [ecx + edx - 8]
mov edx, dword [esp + 0x90]
mov esi, edx
jmp 0x412789
mov edi, dword [esp + 0x38]
cmp edi, 8
jae 0x4127cd
cmp edi, 0x20
sbb ebx, ebx
mov ecx, edi
mov esi, dword [esp + 0x5c]
shl esi, cl
and esi, ebx
or esi, eax
mov eax, dword [esp + 0x48]
lea ebx, [ecx + eax]
lea ecx, [ebx - 8]
mov eax, esi
mov esi, edx
mov edx, dword [esp + 0x90]
jmp 0x412789
mov ebx, edi
mov esi, eax
mov eax, dword [esp + 0x48]
jmp 0x4127bd
mov edx, esi
mov esi, edi
jmp 0x412738
mov ebp, esi
jmp 0x4123d6
test ebp, ebp
je 0x412a0f
mov dword [esp + 0x98], edx
mov eax, esi
xor edx, edx
div ebp
lea esi, [eax - 1]
imul esi, ebp
mov ebp, dword [esp + 0xc4]
add esi, dword [ebp + 4]
shr esi, 2
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x98]
jmp 0x4123c0
mov dword [esp + 0x38], ecx
mov ecx, edi
jmp 0x4123a3
mov eax, ecx
mov edi, dword [esp + 0x30]
mov ecx, ebp
jmp 0x41237d
add ebx, 7
shr ebx, 3
lea eax, [ebx - 1]
nop
shr ebp, 2
shl eax, 3
sub ebp, eax
mov eax, dword [esp + 0x90]
lea ebx, [eax + ebx - 1]
mov eax, ecx
mov edx, dword [esp + 0x90]
xor ecx, ecx
xor edi, edi
jmp 0x412383
mov eax, ecx
mov edx, dword [esp + 0x90]
xor ecx, ecx
xor ebx, ebx
xor edi, edi
xor ebp, ebp
jmp 0x412383
mov eax, dword [edx + 4]
mov edx, dword [edx]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x90]
add ecx, 4
mov dword [esp + 0x20], ecx
call fcn.00412a30
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
mov ecx, dword [esp + 0xbc]
jmp 0x41247e
mov edi, ebp
mov ebp, edx
mov edx, dword [esp + 0xb8]
jmp 0x412223
mov eax, dword [esp + 0xc4]
cmp dword [eax], 4
jne 0x412943
mov eax, dword [esp + 0xc0]
cmp eax, 4
jne 0x41292a
cmp ecx, 0x20
sbb eax, eax
movzx edx, byte [ebp]
mov ebx, 0x33
shl ebx, cl
and ebx, eax
not ebx
and ebx, edx
mov edx, 0x11
shl edx, cl
and edx, eax
or edx, ebx
mov byte [ebp], dl
add esp, 0xb4
ret
cmp ecx, 0x20
sbb eax, eax
movzx edx, byte [ebp]
mov ebx, 0x13
shl ebx, cl
and ebx, eax
or edx, ebx
mov byte [ebp], dl
jmp 0x412923
cmp ecx, 0x20
sbb eax, eax
sbb edx, edx
mov ebx, dword [esp + 0x90]
movzx ebx, byte [ebx]
and ebx, 3
or ebx, 0x10
movzx esi, byte [ebp]
mov edi, 0x33
shl edi, cl
and eax, edi
not eax
and eax, esi
shl ebx, cl
and ebx, edx
or ebx, eax
mov byte [ebp], bl
add esp, 0xb4
ret
mov eax, ebx
mov edi, ebp
xor edx, edx
xor ebx, ebx
xor esi, esi
xor ebp, ebp
jmp 0x4121ed
lea eax, [0x7f620f]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00430c90
mov dword [esp], ebp
call fcn.00451e50
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0xb0], ecx
call fcn.00432510
lea eax, [0x7efd12]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00432db0
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00432db0
call fcn.00432730
call fcn.00432580
lea eax, [0x7fad93]
mov dword [esp], eax
mov dword [esp + 4], 0x2d
call fcn.00430c90
call fcn.0042f3c0
call fcn.0042f3c0
nop
call fcn.00457de0
jmp fcn.00412190