Function at 0x4a9590
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2482
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x56f734]
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 0x4a9874
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.004159e0
mov ecx, eax
call fcn.00416a30
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.004147c0
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.004142e0
push 0x52da9c
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 0x4a969e
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
call fcn.004159e0
mov ecx, eax
call fcn.00416aa0
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.004147c0
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.004142e0
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 0x4a96c8
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
push str._override_type__s__value__s_____n
lea edx, [ebp - 0x2c]
push edx
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 eax, [ebp - 0x54]
push eax
call fcn.004ab170
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x50]
push edx
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 eax, byte [ebp + 0xc]
test eax, eax
jne 0x4a9760
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.004ab290
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x5c]
push edx
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 eax, [ebp - 0x34]
push eax
push 0x52db20
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.004a80d0
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x68]
call fcn.004147c0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00409ef0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x8c]
call fcn.004142e0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
je 0x4a97d5
cmp dword [ebp - 0x1c], 2
je 0x4a97e5
cmp dword [ebp - 0x1c], 3
je 0x4a97f5
jmp 0x4a9803
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 0x4a9803
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 0x4a9803
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]
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x30]
push ecx
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 edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov eax, dword [ebp - 0x38]
or eax, 1
mov dword [ebp - 0x38], eax
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