Function at 0x140030808
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov esi, r9d
mov rdi, r8
mov r15d, edx
mov r14, rcx
xor edx, edx
mov r8d, Ordinal_266
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov dword [rsp + 0x48], 0x10
xor ebx, ebx
test rdi, rdi
jne 0x140030a4b
mov dword [rsp + 0x50], Ordinal_266
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x140030943
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.14001178c
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.14001299c
test eax, eax
je 0x140030928
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400304dc
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rsp + 0x68]
call fcn.1400117e4
nop
lea rcx, [rsp + 0x30]
jmp 0x140030a30
lea rcx, [rsp + 0x68]
call fcn.1400117e4
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
jmp 0x140030c03
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.140030d44
test eax, eax
jne 0x14003096f
test esi, esi
je 0x140030c03
lea rdx, str.9420AD01_D3BD_48e0_B1A5_06BB06F1D33F
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_1507]
mov rax, qword [rsp + 0x38]
cmp dword [rax - 0x10], ebx
je 0x140030a36
cmp dword [0x140093c4c], ebx
jne 0x140030a36
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140030674
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.14001178c
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140.dll_Ordinal_300]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140012c20
mov dword [0x140093c4c], 1
lea rcx, [rsp + 0x68]
call fcn.1400117e4
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
jmp 0x140030b59
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140030d44
test eax, eax
jne 0x140030a76
test esi, esi
je 0x140030c03
lea rdx, str.9420AD01_D3BD_48e0_B1A5_06BB06F1D33F
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_1507]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_310]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140.dll_Ordinal_316]
nop
xor r8d, r8d
lea rdx, [0x140067a10]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_4503]
mov ecx, eax
test eax, eax
je 0x140030ae8
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax - 0x10]
sub r8d, ecx
dec r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_12547]
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
jmp 0x140030af8
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140.dll_Ordinal_4938]
cmp dword [rbp + 0x120], ebx
jne 0x140030b14
mov rcx, rax
call qword [sym.imp.USER32.dll_CharLowerA]
mov r8, rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.1400310f8
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov rax, qword [rsp + 0x58]
mov edi, dword [rax - 0x10]
test edi, edi
jle 0x140030bea
lea rcx, [rsp + 0x68]
call fcn.14005477c
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140.dll_Ordinal_4938]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, edi
mov r8, rax
mov edx, 1
lea rcx, [rsp + 0x68]
call fcn.140054924
test eax, eax
jne 0x140030bc5
mov r8d, dword [rsp + 0x48]
test r8, r8
je 0x140030bc5
lea rdx, str.9420AD01_D3BD_48e0_B1A5_06BB06F1D33F
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memcpy
or edx, 0xffffffff
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140.dll_Ordinal_12189]
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140056e58
nop
lea rcx, [rsp + 0x68]
call fcn.140054798
mov r9d, r15d
mov r8d, dword [rsp + 0x48]
mov rdx, r14
lea rcx, [rbp - 0x60]
call fcn.1400396c0
mov ebx, 1
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
mov eax, ebx
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140059ef0
mov rbx, qword [rsp + 0x218]
add rsp, 0x1d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret