Function at 0x44d850
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1652dc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44dbf8
sub esp, 0x50
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
jmp 0x44d881
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x44da76
test ebx, ebx
je 0x44d895
lea edi, [esi - 1]
jmp 0x44db9b
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.00406730
mov ecx, dword [esp + 0xc]
test ecx, ecx
jge 0x44d8c4
mov edx, dword [esp + 0x40]
xor ebx, ebx
xor eax, eax
mov ecx, dword [esp + 0x14]
jmp 0x44d8ed
mov edx, dword [esp + 0x14]
cmp edx, ecx
jb 0x44db95
lea eax, [ecx + 1]
cmp edx, eax
jb 0x44db8e
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.00406730
mov ecx, dword [esp + 0xc]
test ecx, ecx
jl 0x44d875
mov edx, dword [esp + 0x1c]
cmp edx, ecx
jb 0x44db89
lea eax, [ecx + 1]
cmp edx, eax
jb 0x44db82
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], eax
lea eax, [0xcaba00]
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.00411db0
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 0x44d875
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x44d9cd
lea eax, [0xcaba00]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.0046e330
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 0x44d9d3
xor eax, eax
jmp 0x44da0f
cmp ecx, 0xe
je 0x44d9dc
xor eax, eax
jmp 0x44da0f
mov dword [esp], ebp
lea eax, [0xd77fc0]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
call fcn.004066c0
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 0x44da37
mov edi, dword [0x1617330]
mov dword [esp + 0x48], edi
mov eax, dword [0x1617334]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
jmp 0x44daac
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.004556e0
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 0x44d875
movzx ebx, byte [esp + 0x10]
test bl, bl
je 0x44d875
mov dword [0x1545d20], ecx
jmp 0x44d875
cmp dword [0x16537c0], 1
jg 0x44da83
add esp, 0x50
ret
lea eax, [0xdda07a]
mov dword [esp], eax
mov dword [esp + 4], 0x66
call fcn.00470130
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 0x44d875
mov edx, dword [edi + ebx*4]
mov esi, dword [edx + 4]
cmp esi, ecx
jne 0x44da99
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.004066c0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x44daf7
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 0x44da99
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.004556e0
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 0x44db24
xor ecx, ecx
movzx ebx, byte [esp + 0x10]
and eax, ebx
test al, al
je 0x44db65
mov ebx, dword [esp + 0x5c]
test ebx, ebx
je 0x44db3d
mov ebp, dword [esp + 0x3c]
jmp 0x44db4c
mov ebp, dword [esp + 0x3c]
mov esi, dword [ebp + 8]
test esi, esi
je 0x44db4c
mov dword [esi], ecx
jmp 0x44db69
mov ebp, dword [ebp + 0xc]
test ebp, ebp
je 0x44db69
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.0047d720
mov ebx, dword [esp + 0x5c]
jmp 0x44db69
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 0x44da99
mov ecx, edx
call fcn.004773a0
call fcn.00477360
mov ecx, edx
call fcn.004773a0
call fcn.00477360
dec edi
test edi, edi
jl 0x44dbcb
cmp edi, esi
jae 0x44dbee
lea eax, [ebp + edi]
cmp byte [eax], 0x2c
jne 0x44db9a
test edi, edi
jl 0x44dbcb
cmp edi, esi
ja 0x44dbe5
lea eax, [edi + 1]
cmp esi, eax
jb 0x44dbde
sub esi, edi
dec esi
mov ecx, esi
neg ecx
sar ecx, 0x1f
and eax, ecx
add eax, ebp
jmp 0x44dbd1
xor edi, edi
mov eax, ebp
xor ebp, ebp
mov ecx, esi
mov edx, eax
mov ebx, edi
mov eax, ebp
jmp 0x44d8ed
mov ecx, esi
call fcn.004773a0
mov ecx, edi
mov edx, esi
call fcn.00477360
mov eax, edi
mov ecx, esi
call fcn.00477340
nop
call fcn.00475ec0
jmp fcn.0044d850