Function at 0x1800246a0
Capabilities:
Get hostname
Query environment variable

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x988
mov rax, qword [0x180135070]
xor rax, rsp
mov qword [rsp + 0x978], rax
lea rdx, [0x18013a2f4]
mov rcx, qword [rsp + 0x998]
call fcn.180023360
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x18002470b
cmp dword [rsp + 0x9a0], 0
jne 0x1800246fd
mov rax, qword [rsp + 0x40]
jmp 0x180024d19
call fcn.180010dc4
add rax, 0x30
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x9a0], 0
je 0x180024726
lea rax, [0x180159627]
mov qword [rsp + 0x938], rax
jmp 0x180024735
lea rax, str.Server
mov qword [rsp + 0x938], rax
mov r8, qword [rsp + 0x938]
lea rdx, str.RLM__sDiagnostics_at
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
mov edx, 1
mov rcx, qword [rsp + 0x40]
call fcn.18003fe60
lea rdx, [0x18013a314]
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
mov rax, qword [rsp + 0x990]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x990]
mov r9d, dword [rax + 0x14]
mov rax, qword [rsp + 0x990]
mov r8d, dword [rax + 0x10]
lea rdx, str.____RLM_version:__d._dBL_d_n
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
mov rax, qword [rsp + 0x990]
add rax, 0x1c
mov r8, rax
lea rdx, str.____RLM_platform:__s_n
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
mov rax, qword [rsp + 0x990]
add rax, 0x167
mov r8, rax
lea rdx, str.____OS_version:__s_n_n
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
mov rax, qword [rsp + 0x990]
add rax, 0x1f0
mov r8, rax
lea rdx, str.____ISV_name:__s_n
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
mov rax, qword [rsp + 0x990]
movsx eax, byte [rax + 0x61]
test eax, eax
je 0x18002483c
mov rax, qword [rsp + 0x990]
add rax, 0x61
mov r8, rax
lea rdx, [0x18013a468]
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
jmp 0x18002489d
mov byte [rsp + 0x860], 0
mov edx, 0x50
lea rcx, [rsp + 0x860]
call qword [sym.imp.WSOCK32.dll_gethostname]
movsx eax, byte [rsp + 0x860]
test eax, eax
je 0x180024875
lea rax, [rsp + 0x860]
mov qword [rsp + 0x940], rax
jmp 0x180024884
lea rax, [0x18013a480]
mov qword [rsp + 0x940], rax
mov r8, qword [rsp + 0x940]
lea rdx, str.____Hostname:__s_n
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
mov rax, qword [rsp + 0x990]
add rax, 0x40
mov r8, rax
lea rdx, str.____User:__s_n
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
mov rax, qword [rsp + 0x990]
movsx eax, byte [rax + 0xa2]
test eax, eax
je 0x1800248f2
mov rax, qword [rsp + 0x990]
add rax, 0xa2
mov r8, rax
lea rdx, str.____ISV_defined_data:__s_n
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
mov rax, qword [rsp + 0x990]
movsx eax, byte [rax + 0xc3]
test eax, eax
je 0x180024927
mov rax, qword [rsp + 0x990]
add rax, 0xc3
mov r8, rax
lea rdx, str.____License_password:__s_n
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
mov edx, 0x801
lea rcx, [rsp + 0x50]
call fcn.1800fd964
movsx eax, byte [rsp + 0x50]
test eax, eax
je 0x18002494e
lea rax, [rsp + 0x50]
mov qword [rsp + 0x948], rax
jmp 0x18002495d
lea rax, [0x18013a4f8]
mov qword [rsp + 0x948], rax
mov r8, qword [rsp + 0x948]
lea rdx, str.____Working_directory:__s_n
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
lea rdx, str._nEnvironment:_n_n
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
mov dword [rsp + 0x38], 0
jmp 0x18002499b
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
lea rcx, str.HTTP_PROXY
mov rax, qword [rcx + rax*8]
movsx eax, byte [rax]
test eax, eax
je 0x180024a1d
movsxd rax, dword [rsp + 0x38]
lea rcx, str.HTTP_PROXY
mov rcx, qword [rcx + rax*8]
call fcn.180010c90
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800249e3
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x950], rax
jmp 0x1800249f2
lea rax, [0x18013a538]
mov qword [rsp + 0x950], rax
movsxd rax, dword [rsp + 0x38]
lea rcx, str.HTTP_PROXY
mov r9, qword [rsp + 0x950]
mov r8, qword [rcx + rax*8]
lea rdx, [0x18013a548]
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
jmp 0x180024a1f
jmp 0x180024a24
jmp 0x180024991
mov rax, qword [rsp + 0x990]
add rax, 0x1f0
lea rdx, str.reprise
mov rcx, rax
call fcn.180005964
test eax, eax
je 0x180024ac3
mov rax, qword [rsp + 0x990]
add rax, 0x1f0
mov r8, rax
lea rdx, [0x18013a560]
lea rcx, [rsp + 0x8c0]
call fcn.1800f9dc0
lea rcx, [rsp + 0x8c0]
call fcn.180010c90
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180024a93
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x958], rax
jmp 0x180024aa2
lea rax, str._not_set_
mov qword [rsp + 0x958], rax
mov r9, qword [rsp + 0x958]
lea r8, [rsp + 0x8c0]
lea rdx, str._________s_s_n
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
mov rax, qword [rsp + 0x990]
cmp qword [rax + 0x38], 0
jne 0x180024adf
mov rcx, qword [rsp + 0x990]
call fcn.18003cdc0
lea rdx, str._n____RLM_hostid_list:_n
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
mov rax, qword [rsp + 0x990]
mov r8, qword [rax + 0x38]
lea rdx, str._n_________s_n
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
lea rdx, str._nLicense_files:_n
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
mov rax, qword [rsp + 0x990]
mov rax, qword [rax + 0xb10]
mov qword [rsp + 0x930], rax
jmp 0x180024b4b
mov rax, qword [rsp + 0x930]
mov rax, qword [rax + 8]
mov qword [rsp + 0x930], rax
cmp qword [rsp + 0x930], 0
je 0x180024d14
mov rax, qword [rsp + 0x930]
cmp dword [rax + 0x10], 1
jne 0x180024bac
mov rax, qword [rsp + 0x930]
cmp qword [rax + 0x48], 0
je 0x180024bac
mov rax, qword [rsp + 0x930]
mov rax, qword [rax + 0x48]
movsx eax, byte [rax]
test eax, eax
je 0x180024bac
mov rax, qword [rsp + 0x930]
mov r8, qword [rax + 0x48]
lea rdx, str._________s_n
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
jmp 0x180024d0f
mov rax, qword [rsp + 0x930]
cmp dword [rax + 0x10], 2
jne 0x180024cd5
mov rax, qword [rsp + 0x930]
cmp qword [rax + 0x30], 0
je 0x180024be3
mov rax, qword [rsp + 0x930]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x960], rax
jmp 0x180024bf2
lea rax, [0x18013a324]
mov qword [rsp + 0x960], rax
mov rax, qword [rsp + 0x930]
cmp dword [rax + 0x18], 0
je 0x180024c14
mov rax, qword [rsp + 0x930]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x968], eax
jmp 0x180024c1f
mov dword [rsp + 0x968], 0x13bd
mov r9, qword [rsp + 0x960]
mov r8d, dword [rsp + 0x968]
lea rdx, str._________d__s
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
mov rax, qword [rsp + 0x930]
cmp qword [rax + 0x38], 0
je 0x180024ca3
mov rax, qword [rsp + 0x930]
cmp qword [rax + 0x40], 0
je 0x180024c6f
lea rax, [0x18013a34c]
mov qword [rsp + 0x970], rax
jmp 0x180024c7e
lea rax, [0x18013a35c]
mov qword [rsp + 0x970], rax
mov r9, qword [rsp + 0x970]
mov rax, qword [rsp + 0x930]
mov r8, qword [rax + 0x38]
lea rdx, str.__cust:__s__password:__s_
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
mov rax, qword [rsp + 0x930]
cmp dword [rax + 0x18], 0
jne 0x180024cc2
lea rdx, str.__Default_Port_
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
lea rdx, [0x18013a36c]
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
jmp 0x180024d0f
mov rax, qword [rsp + 0x930]
cmp dword [rax + 0x10], 3
jne 0x180024d0f
mov rax, qword [rsp + 0x930]
cmp qword [rax + 0x50], 0
je 0x180024d0f
mov rax, qword [rsp + 0x930]
mov r8, qword [rax + 0x50]
lea rdx, str.________string:__s_n
mov rcx, qword [rsp + 0x40]
call fcn.1800f9fc8
jmp 0x180024b37
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x978]
xor rcx, rsp
call fcn.180005860
add rsp, 0x988
ret