Function at 0x4532e0
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1a1afe0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x453688
sub esp, 0x50
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
jmp 0x453311
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x453506
test ebx, ebx
je 0x453325
lea edi, [esi - 1]
jmp 0x45362b
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 0x453354
mov edx, dword [esp + 0x40]
xor ebx, ebx
xor eax, eax
mov ecx, dword [esp + 0x14]
jmp 0x45337d
mov edx, dword [esp + 0x14]
cmp edx, ecx
jb 0x453625
lea eax, [ecx + 1]
cmp edx, eax
jb 0x45361e
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 0x453305
mov edx, dword [esp + 0x1c]
cmp edx, ecx
jb 0x453619
lea eax, [ecx + 1]
cmp edx, eax
jb 0x453612
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], eax
lea eax, [0xced060]
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.00415a70
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 0x453305
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x45345d
lea eax, [0xced060]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.00416100
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 0x453463
xor eax, eax
jmp 0x45349f
cmp ecx, 0xe
je 0x45346c
xor eax, eax
jmp 0x45349f
mov dword [esp], ebp
lea eax, [0xdd2411]
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 0x4534c7
mov edi, dword [0x19c0690]
mov dword [esp + 0x48], edi
mov eax, dword [0x19c0694]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
jmp 0x45353c
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0045b820
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 0x453305
movzx ebx, byte [esp + 0x10]
test bl, bl
je 0x453305
mov dword [0x18e0c10], ecx
jmp 0x453305
cmp dword [0x1a1ba80], 1
jg 0x453513
add esp, 0x50
ret
lea eax, [0xe3549e]
mov dword [esp], eax
mov dword [esp + 4], 0x66
call fcn.00440950
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 0x453305
mov edx, dword [edi + ebx*4]
mov esi, dword [edx + 4]
cmp esi, ecx
jne 0x453529
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 0x453587
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 0x453529
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.0045b820
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 0x4535b4
xor ecx, ecx
movzx ebx, byte [esp + 0x10]
and eax, ebx
test al, al
je 0x4535f5
mov ebx, dword [esp + 0x5c]
test ebx, ebx
je 0x4535cd
mov ebp, dword [esp + 0x3c]
jmp 0x4535dc
mov ebp, dword [esp + 0x3c]
mov esi, dword [ebp + 8]
test esi, esi
je 0x4535dc
mov dword [esi], ecx
jmp 0x4535f9
mov ebp, dword [ebp + 0xc]
test ebp, ebp
je 0x4535f9
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.00406950
mov ebx, dword [esp + 0x5c]
jmp 0x4535f9
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 0x453529
mov ecx, edx
call fcn.00474110
call fcn.004740d0
mov ecx, edx
call fcn.00474110
call fcn.004740d0
dec edi
test edi, edi
jl 0x45365b
cmp edi, esi
jae 0x45367e
lea eax, [ebp + edi]
cmp byte [eax], 0x2c
jne 0x45362a
test edi, edi
jl 0x45365b
cmp edi, esi
ja 0x453675
lea eax, [edi + 1]
cmp esi, eax
jb 0x45366e
sub esi, edi
dec esi
mov ecx, esi
neg ecx
sar ecx, 0x1f
and eax, ecx
add eax, ebp
jmp 0x453661
xor edi, edi
mov eax, ebp
xor ebp, ebp
mov ecx, esi
mov edx, eax
mov ebx, edi
mov eax, ebp
jmp 0x45337d
mov ecx, esi
call fcn.00474110
mov ecx, edi
mov edx, esi
call fcn.004740d0
mov eax, edi
mov ecx, esi
call fcn.004740b0
nop
call fcn.00472c30
jmp fcn.004532e0