Function at 0x45b6a0
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x14670ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45b9b9
sub esp, 0x38
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 4]
test ecx, ecx
je 0x45b8f1
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x24]
mov ebx, dword [eax]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], edx
mov dword [esp], ecx
call fcn.00473050
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x45b77a
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx + 8]
cmp dword [edx + 0x10], ebx
jne 0x45b70a
mov ebp, dword [edx + 0x14]
cmp dword [edx + 0x18], ebp
je 0x45b913
mov ebx, dword [esp + 0x28]
movzx ebp, byte [ebx + 0x28]
xchg ebp, eax
cmp al, 0x13
xchg ebp, eax
je 0x45b727
xchg ebp, eax
cmp al, 3
xchg ebp, eax
je 0x45b727
xchg ebp, eax
cmp al, 6
xchg ebp, eax
jne 0x45b735
movzx ebp, byte [edx + 0x2d]
or ebp, 4
xchg ebp, eax
mov byte [edx + 0x2d], al
xchg ebp, eax
jmp 0x45b741
movzx ebp, byte [edx + 0x2d]
and ebp, 0xfffffffb
xchg ebp, eax
mov byte [edx + 0x2d], al
xchg ebp, eax
movzx ebx, byte [ebx + 0x28]
mov byte [edx + 0x2c], bl
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [edx + 0x10]
mov dword [edx + 8], eax
mov dword [edx + 0x10], 0
mov eax, dword [edx + 0x18]
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], 0
mov dword [esp], edx
mov word [esp + 4], 0
call fcn.0045b440
add esp, 0x38
ret
mov eax, dword [esp + 0x3c]
movzx ecx, byte [eax + 0x2d]
test cl, 2
sete dl
jne 0x45b7b2
mov ebx, dword [esp + 0x34]
mov ebp, dword [ebx + 0x18]
movzx ebp, byte [ebp + 0x8c]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x45b7ac
mov ebp, dword [esp + 0x28]
cmp byte [ebp + 0x28], 0x13
jne 0x45b7ba
xor edx, edx
jmp 0x45b7ba
mov ebp, dword [esp + 0x28]
jmp 0x45b7ba
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
test cl, 3
je 0x45b7c7
test dl, dl
je 0x45b8d9
mov byte [esp + 0x13], cl
test ebp, ebp
jne 0x45b7d5
xor edx, edx
xor ebp, ebp
jmp 0x45b7fc
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004566d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x34]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], ebp
mov ecx, dword [ebx + 0x54]
mov dword [esp + 0x24], ecx
mov esi, dword [ebx + 0x58]
mov dword [esp + 0x20], esi
mov edi, dword [eax + 0x10]
mov dword [esp + 0x1c], edi
call fcn.0043bf20
lea eax, [0xd4fef0]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043c780
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.0043c470
lea eax, [0xd63c02]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.0043c780
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.0043c780
lea eax, [0xd52ae6]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0043c780
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c610
call fcn.0043c120
call fcn.0043bf80
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call fcn.0045e6c0
movzx eax, byte [esp + 0x13]
test al, 3
mov eax, dword [esp + 0x3c]
jmp 0x45b8dc
test cl, 3
je 0x45b8fd
mov dword [eax + 0x10], 0
mov dword [esp], eax
call fcn.0045b9d0
add esp, 0x38
ret
mov dword [esp], eax
call fcn.0045b9d0
add esp, 0x38
ret
lea eax, [0xd57334]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.0046ffd0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebp
call fcn.0043bf20
lea eax, [0xd665a4]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0043c780
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c610
lea eax, [0xd41968]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.0043c780
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c610
call fcn.0043c120
call fcn.0043bf80
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0045e6c0
lea eax, [0xd54e3c]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0046ffd0
nop
call fcn.00475a70
jmp fcn.0045b6a0