Function at 0x14000b670
Capabilities:
Get hostname

Disassembly:
push rdi
sub rsp, 0x30
cmp dword [rcx + 0xf8], 0
mov rdi, rcx
jne 0x14000b908
mov dword [rcx + 0xf8], 1
mov dword [rcx + 0x100], 1
mov dword [rcx + 0x104], 1
mov rcx, qword [rcx + 0x168]
mov edx, 0x8004
mov r8d, 3
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x168]
xor r8d, r8d
mov rcx, qword [rcx + 8]
mov edx, 0x8005
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x168]
xor r8d, r8d
mov rcx, qword [rcx + 8]
mov edx, 0x800b
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x168]
xor r8d, r8d
mov rcx, qword [rcx + 8]
mov edx, 0x800d
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x168]
xor r8d, r8d
mov rcx, qword [rcx + 8]
mov edx, 0x800e
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x168]
xor r8d, r8d
mov rcx, qword [rcx + 8]
mov edx, 0x800f
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x168]
xor r8d, r8d
mov rcx, qword [rcx + 8]
mov edx, 0x8007
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x168]
xor r8d, r8d
mov rcx, qword [rcx + 8]
mov edx, 0x8008
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x168]
mov edx, 0x8007
mov rcx, qword [rcx + 8]
mov r8d, 8
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rcx, qword [rdi + 0x168]
mov edx, 0x8008
mov rcx, qword [rcx + 8]
mov r8d, 8
call qword [sym.imp.USER32.dll_CheckMenuItem]
xor esi, esi
lea rcx, [rdi + 0x4c0]
lea r9d, [rsi + 0x3f]
lea r8d, [rsi + 2]
mov edx, 0x1776
mov qword [rsp + 0x20], rsi
call fcn.1400168bc
lea rcx, [rdi + 0x4f0]
mov edx, 0x12c
mov dword [rdi + 0x5b8], 0xe
call qword [sym.imp.WS2_32.dll_gethostname]
mov rcx, qword [rdi + 0x170]
lea edx, [rsi + 1]
call fcn.14000ccf4
lea r9d, [rsi + 0x3f]
lea r8d, [rsi + 2]
lea rcx, [rdi + 0x2c0]
mov edx, 0x1772
mov qword [rsp + 0x20], rsi
call fcn.1400168bc
lea rcx, [rdi + 0x2f0]
mov edx, 0x12c
mov dword [rdi + 0x3b8], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call qword [sym.imp.WS2_32.dll_gethostname]
mov qword [rsp + 0x20], rsi
mov edx, 0x1774
lea r9d, [rsi + 0x3f]
lea r8d, [rsi + 2]
lea rcx, [rdi + 0x3c0]
call fcn.1400168bc
lea rcx, [rdi + 0x3f0]
mov edx, 0x12c
mov dword [rdi + 0x4b8], 0xd
call qword [sym.imp.WS2_32.dll_gethostname]
mov r11, qword [rdi + 0x150]
mov ecx, dword [r11 + 0x60]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x5f4
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov r11, qword [rdi + 0x158]
xor r9d, r9d
mov ecx, dword [r11 + 0x60]
xor r8d, r8d
mov edx, 0x658
call qword [sym.imp.USER32.dll_PostThreadMessageW]
cmp dword [rdi + 0xf0], esi
je 0x14000b8fe
mov rbx, qword [rdi + 0xe8]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14000b8f8
mov rcx, qword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x43f
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14000b8f8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov dword [rdi + 0xfc], 1
add rsp, 0x30
pop rdi
ret
mov dword [rdi + 0xfc], esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret