Function at 0x455f60
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1ae2f1c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x456308
sub esp, 0x50
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
jmp 0x455f91
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x456186
test ebx, ebx
je 0x455fa5
lea edi, [esi - 1]
jmp 0x4562ab
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 0x455fd4
mov edx, dword [esp + 0x40]
xor ebx, ebx
xor eax, eax
mov ecx, dword [esp + 0x14]
jmp 0x455ffd
mov edx, dword [esp + 0x14]
cmp edx, ecx
jb 0x4562a5
lea eax, [ecx + 1]
cmp edx, eax
jb 0x45629e
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 0x455f85
mov edx, dword [esp + 0x1c]
cmp edx, ecx
jb 0x456299
lea eax, [ecx + 1]
cmp edx, eax
jb 0x456292
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], eax
lea eax, [0xd43580]
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.00415d40
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 0x455f85
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x4560dd
lea eax, [0xd43580]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.004163d0
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 0x4560e3
xor eax, eax
jmp 0x45611f
cmp ecx, 0xe
je 0x4560ec
xor eax, eax
jmp 0x45611f
mov dword [esp], ebp
lea eax, [0xe45da8]
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 0x456147
mov edi, dword [0x1a70ae0]
mov dword [esp + 0x48], edi
mov eax, dword [0x1a70ae4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
jmp 0x4561bc
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0045e4a0
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 0x455f85
movzx ebx, byte [esp + 0x10]
test bl, bl
je 0x455f85
mov dword [0x199ce6c], ecx
jmp 0x455f85
cmp dword [0x1ae3ac0], 1
jg 0x456193
add esp, 0x50
ret
lea eax, [0xe937bc]
mov dword [esp], eax
mov dword [esp + 4], 0x66
call fcn.00441d50
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 0x455f85
mov edx, dword [edi + ebx*4]
mov esi, dword [edx + 4]
cmp esi, ecx
jne 0x4561a9
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 0x456207
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 0x4561a9
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.0045e4a0
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 0x456234
xor ecx, ecx
movzx ebx, byte [esp + 0x10]
and eax, ebx
test al, al
je 0x456275
mov ebx, dword [esp + 0x5c]
test ebx, ebx
je 0x45624d
mov ebp, dword [esp + 0x3c]
jmp 0x45625c
mov ebp, dword [esp + 0x3c]
mov esi, dword [ebp + 8]
test esi, esi
je 0x45625c
mov dword [esi], ecx
jmp 0x456279
mov ebp, dword [ebp + 0xc]
test ebp, ebp
je 0x456279
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.00406950
mov ebx, dword [esp + 0x5c]
jmp 0x456279
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 0x4561a9
mov ecx, edx
call fcn.0047b230
call fcn.0047b1f0
mov ecx, edx
call fcn.0047b230
call fcn.0047b1f0
dec edi
test edi, edi
jl 0x4562db
cmp edi, esi
jae 0x4562fe
lea eax, [ebp + edi]
cmp byte [eax], 0x2c
jne 0x4562aa
test edi, edi
jl 0x4562db
cmp edi, esi
ja 0x4562f5
lea eax, [edi + 1]
cmp esi, eax
jb 0x4562ee
sub esi, edi
dec esi
mov ecx, esi
neg ecx
sar ecx, 0x1f
and eax, ecx
add eax, ebp
jmp 0x4562e1
xor edi, edi
mov eax, ebp
xor ebp, ebp
mov ecx, esi
mov edx, eax
mov ebx, edi
mov eax, ebp
jmp 0x455ffd
mov ecx, esi
call fcn.0047b230
mov ecx, edi
mov edx, esi
call fcn.0047b1f0
mov eax, edi
mov ecx, esi
call fcn.0047b1d0
nop
call fcn.00479d50
jmp fcn.00455f60