Function at 0x4aafa0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3f97
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 0
je 0x4ab2a2
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x14]
call fcn.00416990
mov ecx, eax
call fcn.004179e0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x40]
call fcn.004157f0
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.00415310
push 0x530f54
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc120u.dll_Ordinal_8064]
movzx ecx, al
test ecx, ecx
je 0x4ab0ae
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
call fcn.00416990
mov ecx, eax
call fcn.00417a50
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x48]
call fcn.004157f0
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x80]
call fcn.00415310
push str.ipaddress
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc120u.dll_Ordinal_8064]
movzx edx, al
test edx, edx
jne 0x4ab0e4
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push str._override_type__s__value__s_____n
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.mfc120u.dll_Ordinal_4772]
add esp, 0x10
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push 1
lea ecx, [ebp - 0x54]
push ecx
call fcn.004acb80
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120u.dll_Ordinal_1518]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 0xa
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
jne 0x4ab17c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.004acca0
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc120u.dll_Ordinal_1518]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x34], 3
lea ecx, [ebp - 0x34]
push ecx
push 0x530fd8
lea edx, [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004a9960
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x68]
call fcn.004157f0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040ab10
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x8c]
call fcn.00415310
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 1
je 0x4ab1f1
cmp dword [ebp - 0x1c], 2
je 0x4ab201
cmp dword [ebp - 0x1c], 3
je 0x4ab211
jmp 0x4ab21f
push str._request_version_1__type_messages___n_s_s_s__request__n
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
jmp 0x4ab21f
push str._request_version_2__type_messages___n_s_s_s__request__n
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
jmp 0x4ab21f
push str._request_version_3__type_messages___n_s_s_s__request__n
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.mfc120u.dll_Ordinal_4772]
add esp, 0x14
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov ecx, dword [ebp - 0x38]
or ecx, 1
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8