Function at 0x1000c730
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x68
mov ebx, dword [ebp + 8]
test byte [0x10013318], 8
je 0x1000c78b
cmp ebx, 0xe
ja 0x1000c7b0
mov eax, dword [ebx*4 + 0x10017240]
test eax, eax
je 0x1000c7b0
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s__p__p__n
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 8], str.GetComputerObjectNameW
mov dword [esp + 4], 0x10013318
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
test ebx, ebx
jne 0x1000c7c0
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x57
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, ebx
call sym._debugstr_NameFormat.part.0
jmp 0x1000c755
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x44], 0x18
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.advapi32.dll_LsaOpenPolicy]
sub esp, 0x10
test eax, eax
jne 0x1000c8d0
lea eax, [ebp - 0x4c]
mov dword [esp + 4], 0xc
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_LsaQueryInformationPolicy]
sub esp, 0xc
test eax, eax
jne 0x1000c928
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax + 0x28]
test esi, esi
je 0x1000c890
cmp ebx, 0xc
ja case.0x1000c851.0
jmp dword [ebx*4 + 0x10016fdc]
test byte [0x10013318], 1
je 0x1000c890
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.NameFormat__d_not_implemented_n
mov dword [esp + 8], str.GetComputerObjectNameW
mov dword [esp + 4], 0x10013318
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_3
mov eax, dword [ebp - 0x4c]
lea esi, [esi]
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0x547
xor ebx, ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_LsaFreeMemory]
mov eax, dword [ebp - 0x50]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_LsaClose]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_LsaNtStatusToWinError]
movzx ebx, byte [0x10013318]
mov edx, dword fs:[0x18]
sub esp, 4
mov dword [edx + 0x34], eax
and ebx, 4
je 0x1000c79c
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0xc], str.LsaOpenPolicy_failed_with_NT_status__lu_n
mov dword [esp + 8], str.GetComputerObjectNameW
mov dword [esp + 4], 0x10013318
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
jmp 0x1000c79c
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_LsaNtStatusToWinError]
sub esp, 4
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], eax
test byte [0x10013318], 4
jne 0x1000cac0
mov eax, dword [ebp - 0x50]
xor ebx, ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_LsaClose]
sub esp, 4
jmp 0x1000c79c
mov edx, dword fs:[0x18]
xor ebx, ebx
mov dword [edx + 0x34], 0x57
jmp 0x1000c8a0
lea eax, [ebp - 0x48]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x48], 0x10
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GetComputerNameW]
sub esp, 8
test eax, eax
jne 0x1000cb10
mov eax, dword [ebp - 0x4c]
xor ebx, ebx
jmp 0x1000c8a0
lea eax, [ebp - 0x48]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x48], 0x10
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GetComputerNameW]
sub esp, 8
test eax, eax
je 0x1000caf0
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x48]
movzx ecx, word [eax]
lea ecx, [ebx + ecx + 3]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1000cdf0
mov esi, dword [ebp + 0x10]
cmp ecx, dword [esi]
ja 0x1000cdf0
mov esi, dword [eax + 4]
test esi, esi
je 0x1000ce1c
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
lea esi, [esi]
movzx edx, word [esi + ecx]
mov word [ebx + ecx], dx
add ecx, 2
test dx, dx
jne 0x1000ca00
mov esi, dword [ebp + 0xc]
cmp word [esi], 0
je 0x1000ce43
mov ebx, esi
nop
add ebx, 2
cmp word [ebx], 0
jne 0x1000ca20
xor ecx, ecx
lea esi, [esi]
nop
movzx edx, word [ecx + 0x10016f86]
mov word [ebx + ecx], dx
add ecx, 2
test dx, dx
jne 0x1000ca30
mov esi, dword [ebp + 0xc]
cmp word [esi], 0
je 0x1000ce73
mov ebx, esi
lea esi, [esi]
add ebx, 2
cmp word [ebx], 0
jne 0x1000ca58
xor ecx, ecx
lea esi, [esi]
nop
movzx edx, word [edi + ecx]
mov word [ebx + ecx], dx
add ecx, 2
test dx, dx
jne 0x1000ca68
mov edi, dword [ebp + 0xc]
cmp word [edi], 0
je 0x1000ca94
mov edx, edi
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x1000ca88
mov dword [ebp + 0xc], edx
mov ebx, dword [ebp + 0xc]
xor edx, edx
lea esi, [esi]
movzx ecx, word [edx + 0x10016f8a]
mov word [ebx + edx], cx
add edx, 2
test cx, cx
jne 0x1000caa0
mov ebx, 1
jmp 0x1000c8a0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.LsaQueryInformationPolicy_failed_with_NT_status__lu_n
mov dword [esp + 8], str.GetComputerObjectNameW
mov dword [esp + 4], 0x10013318
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
jmp 0x1000c94b
mov eax, dword fs:[0x18]
xor ebx, ebx
mov dword [eax + 0x34], 0x54f
mov eax, dword [ebp - 0x4c]
jmp 0x1000c8a0
mov ebx, dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [esp], 0x10016f8e
call ebx
mov esi, dword [ebp - 0x48]
mov dword [esp], str.CNComputers
mov dword [ebp - 0x54], eax
call ebx
add esi, 2
mov dword [esp], 0x10016fb0
add esi, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
call ebx
add esi, dword [ebp - 0x58]
add eax, esi
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax + 0xc]
test esi, esi
je 0x1000cba7
mov dword [esp], esi
mov dword [esp + 4], 0x2e
call dword [sym.imp.ucrtbase.dll_wcsrchr]
mov esi, eax
test eax, eax
je 0x1000cb96
lea edx, [eax + 2]
xor eax, eax
mov word [esi], ax
mov dword [ebp - 0x58], edx
mov dword [esp], 0x10016fb0
call ebx
mov edx, dword [ebp - 0x58]
mov esi, eax
mov dword [esp], edx
call ebx
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx + esi + 1]
mov esi, dword [ebp - 0x58]
add eax, ecx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call ebx
add dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1000ce0a
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x54]
cmp dword [ecx], edx
jbe 0x1000ce0a
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
lea esi, [esi]
movzx edx, word [ecx + 0x10016f8e]
mov word [ebx + ecx], dx
add ecx, 2
test dx, dx
jne 0x1000cbc8
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x1000ce3b
mov ebx, ecx
lea esi, [esi]
add ebx, 2
cmp word [ebx], 0
jne 0x1000cbf0
xor ecx, ecx
lea esi, [esi]
nop
movzx edx, word [edi + ecx]
mov word [ebx + ecx], dx
add ecx, 2
test dx, dx
jne 0x1000cc00
mov edi, dword [ebp + 0xc]
cmp word [edi], 0
je 0x1000ce33
mov ecx, edi
nop
add ecx, 2
cmp word [ecx], 0
jne 0x1000cc20
xor edx, edx
lea esi, [esi]
nop
movzx ebx, word [edx + 0x10016fb8]
mov word [ecx + edx], bx
add edx, 2
test bx, bx
jne 0x1000cc30
mov edi, dword [ebp + 0xc]
cmp word [edi], 0
je 0x1000ce2b
mov ecx, edi
lea esi, [esi]
add ecx, 2
cmp word [ecx], 0
jne 0x1000cc58
xor edx, edx
lea esi, [esi]
nop
movzx ebx, word [edx + str.CNComputers]
mov word [ecx + edx], bx
add edx, 2
test bx, bx
jne 0x1000cc68
mov edx, dword [eax + 0xc]
test edx, edx
je 0x1000cdd8
mov edi, dword [ebp + 0xc]
cmp word [edi], 0
je 0x1000ce4b
mov ecx, edi
lea esi, [esi]
add ecx, 2
cmp word [ecx], 0
jne 0x1000cc98
xor edx, edx
lea esi, [esi]
nop
movzx ebx, word [edx + 0x10016fb8]
mov word [ecx + edx], bx
add edx, 2
test bx, bx
jne 0x1000cca8
mov edi, dword [ebp + 0xc]
cmp word [edi], 0
je 0x1000ce5b
mov ecx, edi
lea esi, [esi]
add ecx, 2
cmp word [ecx], 0
jne 0x1000ccd0
xor edx, edx
lea esi, [esi]
nop
movzx ebx, word [edx + 0x10016fb0]
mov word [ecx + edx], bx
add edx, 2
test bx, bx
jne 0x1000cce0
mov ecx, dword [ebp + 0xc]
mov edi, dword [eax + 0xc]
cmp word [ecx], 0
je 0x1000ce53
lea esi, [esi]
nop
add ecx, 2
cmp word [ecx], 0
jne 0x1000cd08
xor edx, edx
lea esi, [esi]
nop
movzx ebx, word [edi + edx]
mov word [ecx + edx], bx
add edx, 2
test bx, bx
jne 0x1000cd18
test esi, esi
je 0x1000cdd8
mov edi, dword [ebp + 0xc]
cmp word [edi], 0
je 0x1000ce6b
mov ecx, edi
nop
add ecx, 2
cmp word [ecx], 0
jne 0x1000cd40
xor edx, edx
lea esi, [esi]
nop
movzx ebx, word [edx + 0x10016fb8]
mov word [ecx + edx], bx
add edx, 2
test bx, bx
jne 0x1000cd50
mov edi, dword [ebp + 0xc]
cmp word [edi], 0
je 0x1000ce63
mov ecx, edi
lea esi, [esi]
add ecx, 2
cmp word [ecx], 0
jne 0x1000cd78
xor edx, edx
lea esi, [esi]
nop
movzx ebx, word [edx + 0x10016fb0]
mov word [ecx + edx], bx
add edx, 2
test bx, bx
jne 0x1000cd88
mov edi, dword [ebp + 0xc]
cmp word [edi], 0
je 0x1000cdbc
mov edx, edi
lea esi, [esi]
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x1000cdb0
mov dword [ebp + 0xc], edx
mov ebx, dword [ebp + 0xc]
xor edx, edx
lea esi, [esi]
movzx ecx, word [esi + edx]
mov word [ebx + edx], cx
add edx, 2
test cx, cx
jne 0x1000cdc8
mov ebx, 1
mov edx, dword [ebp - 0x54]
mov edi, dword [ebp + 0x10]
add edx, 1
mov dword [edi], edx
jmp 0x1000c8a0
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov edx, dword fs:[0x18]
mov dword [edi], ecx
mov dword [edx + 0x34], 0x7a
jmp 0x1000c8a0
mov edx, dword fs:[0x18]
xor ebx, ebx
mov dword [edx + 0x34], 0x7a
jmp 0x1000cddd
mov esi, dword [ebp + 0xc]
xor edx, edx
mov word [esi], dx
mov ebx, esi
jmp 0x1000ca61
mov ecx, dword [ebp + 0xc]
jmp 0x1000cc61
mov ecx, dword [ebp + 0xc]
jmp 0x1000cc29
mov ebx, dword [ebp + 0xc]
jmp 0x1000cbf9
mov ebx, dword [ebp + 0xc]
jmp 0x1000ca29
mov ecx, dword [ebp + 0xc]
jmp 0x1000cca1
mov ecx, dword [ebp + 0xc]
jmp 0x1000cd11
mov ecx, dword [ebp + 0xc]
jmp 0x1000ccd9
mov ecx, dword [ebp + 0xc]
jmp 0x1000cd81
mov ecx, dword [ebp + 0xc]
jmp 0x1000cd49
mov ebx, dword [ebp + 0xc]
jmp 0x1000ca61