Function at 0x455f10
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x2305bc0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4562b8
sub esp, 0x50
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
jmp 0x455f41
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x456136
test ebx, ebx
je 0x455f55
lea edi, [esi - 1]
jmp 0x45625b
mov dword [esp + 0x14], esi
mov dword [esp + 0x40], ebp
mov dword [esp], ebp
mov dword [esp + 4], esi
mov byte [esp + 8], 0x2c
call fcn.00406ed0
mov ecx, dword [esp + 0xc]
test ecx, ecx
jge 0x455f84
mov edx, dword [esp + 0x40]
xor ebx, ebx
xor eax, eax
mov ecx, dword [esp + 0x14]
jmp 0x455fad
mov edx, dword [esp + 0x14]
cmp edx, ecx
jb 0x456255
lea eax, [ecx + 1]
cmp edx, eax
jb 0x45624e
sub edx, ecx
dec edx
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0x40]
add eax, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x44], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x3d
call fcn.00406ed0
mov ecx, dword [esp + 0xc]
test ecx, ecx
jl 0x455f35
mov edx, dword [esp + 0x1c]
cmp edx, ecx
jb 0x456249
lea eax, [ecx + 1]
cmp edx, eax
jb 0x456242
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], eax
lea eax, [0xd36240]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.00415cf0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
sub eax, ecx
dec eax
mov edx, eax
neg eax
sar eax, 0x1f
mov ebx, dword [esp + 0x30]
and ebx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
mov ebp, dword [esp + 0x44]
add ebx, ebp
test al, al
jne 0x455f35
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x45608d
lea eax, [0xd36240]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.00416380
mov eax, dword [esp + 0x10]
mov byte [eax], 1
mov eax, dword [esp + 0x5c]
test eax, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
mov esi, eax
je 0x456093
xor eax, eax
jmp 0x4560cf
cmp ecx, 0xe
je 0x45609c
xor eax, eax
jmp 0x4560cf
mov dword [esp], ebp
lea eax, [0xe34bee]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
call fcn.00406e60
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x5c]
test al, al
jne 0x4560f7
mov edi, dword [0x2293fb8]
mov dword [esp + 0x48], edi
mov eax, dword [0x2293fbc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
jmp 0x45616c
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0045e450
mov eax, dword [esp + 8]
mov ecx, eax
sar eax, 0x1f
cmp dword [esp + 0xc], eax
sete al
and eax, 1
test al, al
je 0x455f35
movzx ebx, byte [esp + 0x10]
test bl, bl
je 0x455f35
mov dword [0x19919ec], ecx
jmp 0x455f35
cmp dword [0x2306760], 1
jg 0x456143
add esp, 0x50
ret
lea eax, [0xe993a3]
mov dword [esp], eax
mov dword [esp + 4], 0x66
call fcn.00441d00
lea edx, [ebx + 1]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
cmp ebx, eax
jge 0x455f35
mov edx, dword [edi + ebx*4]
mov esi, dword [edx + 4]
cmp esi, ecx
jne 0x456159
mov dword [esp + 0x3c], edx
mov eax, dword [edx]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.00406e60
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4561b7
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
jmp 0x456159
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.0045e450
mov eax, dword [esp + 8]
mov ecx, eax
sar eax, 0x1f
cmp dword [esp + 0xc], eax
sete al
and eax, 1
test al, al
jne 0x4561e4
xor ecx, ecx
movzx ebx, byte [esp + 0x10]
and eax, ebx
test al, al
je 0x456225
mov ebx, dword [esp + 0x5c]
test ebx, ebx
je 0x4561fd
mov ebp, dword [esp + 0x3c]
jmp 0x45620c
mov ebp, dword [esp + 0x3c]
mov esi, dword [ebp + 8]
test esi, esi
je 0x45620c
mov dword [esi], ecx
jmp 0x456229
mov ebp, dword [ebp + 0xc]
test ebp, ebp
je 0x456229
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.00406950
mov ebx, dword [esp + 0x5c]
jmp 0x456229
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
jmp 0x456159
mov ecx, edx
call fcn.0047b3d0
call fcn.0047b390
mov ecx, edx
call fcn.0047b3d0
call fcn.0047b390
dec edi
test edi, edi
jl 0x45628b
cmp edi, esi
jae 0x4562ae
lea eax, [ebp + edi]
cmp byte [eax], 0x2c
jne 0x45625a
test edi, edi
jl 0x45628b
cmp edi, esi
ja 0x4562a5
lea eax, [edi + 1]
cmp esi, eax
jb 0x45629e
sub esi, edi
dec esi
mov ecx, esi
neg ecx
sar ecx, 0x1f
and eax, ecx
add eax, ebp
jmp 0x456291
xor edi, edi
mov eax, ebp
xor ebp, ebp
mov ecx, esi
mov edx, eax
mov ebx, edi
mov eax, ebp
jmp 0x455fad
mov ecx, esi
call fcn.0047b3d0
mov ecx, edi
mov edx, esi
call fcn.0047b390
mov eax, edi
mov ecx, esi
call fcn.0047b370
nop
call fcn.00479ef0
jmp fcn.00455f10