joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14014ed80
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x128
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x110], rax
movzx eax, byte [0x140903588]
test eax, eax
jne 0x14014eef5
mov dword [rsp + 0x60], SQLSetConnectAttr
lea rax, [0x14014ef20]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 0
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x98], 0
lea rax, str.MTCircularProgressCtrl
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x90], 0
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_RegisterClassW]
movzx eax, ax
test eax, eax
jne 0x14014eeee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0xf0]
call fcn.1400f1870
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rdx, [0x140315eb0]
lea rcx, [rsp + 0xd0]
call fcn.14002b570
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xb0]
call fcn.1400c7e70
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140016520
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0xb0]
call fcn.140015480
nop
lea rcx, [rsp + 0xd0]
call fcn.140015480
nop
lea rcx, [rsp + 0xf0]
call fcn.140015480
xor al, al
jmp 0x14014eef7
mov byte [0x140903588], 1
mov al, 1
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x128
ret
Function at 0x14014f940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov word [rsp + 0x20], r9w
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
call fcn.14000a280
nop
xor edx, edx
mov eax, dword [rsp + 0xc0]
mov ecx, MsiDatabaseExportA
div ecx
inc eax
movzx eax, ax
movzx r9d, word [rsp + 0xc8]
mov r8d, eax
mov edx, 6
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_FindResourceExA]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14014fa8e
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14014fa8e
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14014fa8e
mov dword [rsp + 0x20], 0
jmp 0x14014fa1a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x10
jae 0x14014fa8e
mov eax, dword [rsp + 0xc0]
and eax, 0xf
cmp dword [rsp + 0x20], eax
jne 0x14014fa72
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x28]
add rcx, 2
mov r8d, eax
mov rdx, rcx
lea rcx, [rsp + 0x70]
call fcn.140047910
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.14001e7a0
lea rcx, [rsp + 0x70]
call fcn.14000a800
jmp 0x14014fa8e
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x28], rax
jmp 0x14014fa10
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0xb0]
call fcn.14000a200
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x50]
call fcn.14000a800
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140222a60
add rsp, 0xa8
ret
Function at 0x140153900
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x140], rax
movzx eax, byte [0x1409035a0]
test eax, eax
jne 0x140153a8a
mov r8d, MsiGetUserInfoA
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140223e30
mov dword [rsp + 0x70], reloc.WSOCK32.dll_inet_ntoa
lea rax, [0x140153ab0]
mov qword [rsp + 0x78], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x88], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
lea rax, [0x140315f58]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassW]
movzx eax, ax
test eax, eax
jne 0x140153a83
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x120]
call fcn.1400f1950
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rdx, str.Failed_to_register_class:
lea rcx, [rsp + 0x100]
call fcn.1400179b0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xe0]
call fcn.14008c890
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea r8, [0x140315f54]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xc0]
call fcn.140024fb0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14000c690
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0xc0]
call fcn.14000a800
nop
lea rcx, [rsp + 0xe0]
call fcn.14000a800
nop
lea rcx, [rsp + 0x100]
call fcn.14000a800
nop
lea rcx, [rsp + 0x120]
call fcn.14000a800
jmp 0x140153a8a
mov byte [0x1409035a0], 1
movzx eax, byte [0x1409035a0]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x158
ret
Function at 0x14016e820
Capabilities:
Reference sql statements

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x148]
call fcn.14000a280
nop
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.14016a680
nop
lea rcx, [rsp + 0x128]
call fcn.14000a280
nop
movzx eax, byte [rsp + 0x1b8]
test eax, eax
je 0x14016e898
lea rax, [0x140317fc0]
mov qword [rsp + 0x38], rax
jmp 0x14016e8a4
lea rax, [0x140317fe8]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x108]
call fcn.1400179b0
nop
mov rcx, qword [rsp + 0x1b0]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.14001e490
lea rcx, [rsp + 0x108]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.14001e490
lea rcx, [rsp + 0x108]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14001e490
lea rcx, [rsp + 0x108]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.14001e490
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0xb0]
lea rdx, str.SELECT___S_._Value__FROM___S__WHERE___S_._Property__S
lea rcx, [rsp + 0x128]
call fcn.14008df50
xor edx, edx
lea rcx, [rsp + 0xc0]
call fcn.14016a680
nop
mov byte [rsp + 0x20], 1
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x1a0]
call fcn.14016e5a0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.1400d0f30
nop
lea rcx, [rsp + 0xd8]
call fcn.14016a6c0
nop
lea rcx, [rsp + 0xc0]
call fcn.14016a6c0
xor edx, edx
lea rcx, [rsp + 0xf0]
call fcn.14016a680
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.14016a3a0
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0xf0]
call fcn.14016a6c0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14016ea60
mov r8d, 1
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x68]
call fcn.14016af20
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x148]
call fcn.14001e7a0
lea rcx, [rsp + 0x168]
call fcn.14000a800
lea rdx, [rsp + 0x148]
mov rcx, qword [rsp + 0x1a8]
call fcn.14000a200
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x108]
call fcn.14000a800
nop
lea rcx, [rsp + 0x128]
call fcn.14000a800
nop
lea rcx, [rsp + 0x68]
call fcn.14016a6c0
nop
lea rcx, [rsp + 0x148]
call fcn.14000a800
mov rax, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x198
ret
Function at 0x14016fb40
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov dword [rsp + 0x28], 0
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0xb8]
call fcn.14016c6a0
nop
lea rcx, [rsp + 0x138]
call fcn.14000a280
nop
mov rcx, qword [rsp + 0x1a0]
call fcn.1400165c0
movzx eax, al
test eax, eax
jne 0x14016fd93
lea rcx, [rsp + 0x118]
call fcn.14000a280
nop
mov rcx, qword [rsp + 0x1a0]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.14001e490
lea r8, [rsp + 0xa8]
lea rdx, str.SELECT__Title__FROM__Feature__WHERE__Feature_._Feature__S
lea rcx, [rsp + 0x118]
call fcn.140014cf0
lea r8, [rsp + 0x118]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xb8]
call fcn.14016e320
mov qword [rsp + 0x98], rax
xor edx, edx
lea rcx, [rsp + 0xd0]
call fcn.14016bc90
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.14016a3a0
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0xd0]
call fcn.14016bcd0
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14016fd78
xor edx, edx
lea rcx, [rsp + 0xe8]
call fcn.14016a680
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.14016bdd0
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x23], al
lea rcx, [rsp + 0xe8]
call fcn.14016a6c0
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x14016fd78
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x68]
call fcn.14016bf00
mov qword [rsp + 0xa0], rax
xor edx, edx
lea rcx, [rsp + 0x100]
call fcn.14016a680
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x80]
call fcn.14016a3a0
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x25], al
lea rcx, [rsp + 0x100]
call fcn.14016a6c0
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x14016fd6a
mov r8d, 1
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x80]
call fcn.14016af20
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x138]
call fcn.14001e7a0
lea rcx, [rsp + 0x158]
call fcn.14000a800
nop
lea rcx, [rsp + 0x80]
call fcn.14016a6c0
nop
lea rcx, [rsp + 0x68]
call fcn.14016bcd0
nop
lea rcx, [rsp + 0x118]
call fcn.14000a800
nop
jmp 0x14016fd93
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0x198]
call fcn.14000a200
mov eax, dword [rsp + 0x28]
or eax, 1
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x138]
call fcn.14000a800
nop
lea rcx, [rsp + 0xb8]
call fcn.14016c670
mov rax, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x188
ret
Function at 0x140175c50
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0
lea r8, [rsp + 0x24]
xor edx, edx
mov ecx, dword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov eax, dword [rsp + 0x24]
inc eax
mov eax, eax
shl rax, 1
mov rcx, rax
call fcn.14022aeb8
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x140175d0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x70]
mov dword [rcx], eax
mov rax, qword [rsp + 0x70]
mov edx, dword [rax]
lea rcx, [rsp + 0x38]
call fcn.1400f1950
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.14001e7a0
lea rcx, [rsp + 0x38]
call fcn.14000a800
jmp 0x140175d24
mov byte [rsp + 0x20], 1
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.140015550
mov rcx, qword [rsp + 0x28]
call fcn.140229904
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x68
ret

Function at 0x140176020
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2e0
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov eax, 2
mov word [rsp + 0x24], ax
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x1d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov byte [rsp + 0x20], 0
mov rcx, qword [rsp + 0x2f8]
call fcn.1400202f0
mov rax, qword [rsp + 0x2f0]
add rax, 8
mov rcx, rax
call fcn.140016540
lea rdx, [rsp + 0x30]
movzx ecx, word [rsp + 0x24]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
mov rcx, qword [rsp + 0x2f0]
mov dword [rcx], eax
mov rax, qword [rsp + 0x2f0]
cmp dword [rax], 0
jne 0x14017615f
movzx eax, word [rsp + 0x30]
and rax, 0xff
movzx eax, al
cmp eax, 2
jne 0x140176159
movzx eax, word [rsp + 0x30]
shr rax, 8
and rax, 0xff
movzx eax, al
test eax, eax
jne 0x140176159
mov edx, 0x100
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.WSOCK32.dll_gethostname]
test eax, eax
jne 0x140176149
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.WSOCK32.dll_gethostbyname]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140176137
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x2f8]
call fcn.14001e770
mov byte [rsp + 0x20], 1
jmp 0x140176147
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x2f0]
mov dword [rcx], eax
jmp 0x140176159
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x2f0]
mov dword [rcx], eax
call qword [sym.imp.WSOCK32.dll_WSACleanup]
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x2e0
pop rdi
ret
Function at 0x140176380
Capabilities:
Get domain controller name

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xd0]
add rax, 8
mov rcx, rax
call fcn.140016540
xor r8d, r8d
mov dx, reloc.msi.dll_MsiGetComponentStateA
mov rcx, qword [rsp + 0xd8]
call fcn.1400786e0
cmp rax, 0xffffffffffffffff
je 0x1401763e0
mov dword [rsp + 0x34], 1
jmp 0x1401763e8
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x30], al
mov qword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14017640d
mov dword [rsp + 0x38], 0x20000
jmp 0x140176415
mov dword [rsp + 0x38], 0x10000
mov eax, dword [rsp + 0x38]
bts eax, 0xc
bts eax, 0x1f
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0xd8]
call fcn.14000c690
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xd0]
add rax, 0x28
mov rcx, rax
call fcn.1400165c0
movzx eax, al
test eax, eax
je 0x14017645d
mov qword [rsp + 0x50], 0
jmp 0x140176476
mov rax, qword [rsp + 0xd0]
add rax, 0x28
mov rcx, rax
call fcn.14000c690
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.NETAPI32.dll_DsGetDcNameW]
mov rcx, qword [rsp + 0xd0]
mov dword [rcx], eax
mov rax, qword [rsp + 0xd0]
cmp dword [rax], 0
je 0x1401764f6
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax]
lea rcx, [rsp + 0x70]
call fcn.1400f1950
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xd0]
add rax, 8
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.14001e7a0
lea rcx, [rsp + 0x70]
call fcn.14000a800
jmp 0x14017657b
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0xe0]
call fcn.140015550
lea r9, [0x14031928c]
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0xe0]
call fcn.140020450
test eax, eax
jne 0x140176571
mov r9, 0xffffffffffffffff
mov r8d, 2
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0xe0]
call fcn.1400375d0
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xe0]
call fcn.14001e7a0
lea rcx, [rsp + 0x90]
call fcn.14000a800
mov rcx, qword [rsp + 0x48]
call sub.NETAPI32.dll_NetApiBufferFree
mov rax, qword [rsp + 0xd0]
cmp dword [rax], 0
jne 0x140176592
mov dword [rsp + 0x3c], 1
jmp 0x14017659a
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0xc8
ret
Function at 0x1401766f0
Capabilities:
Get domain controller name

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0xe0]
call fcn.140016540
mov rax, qword [rsp + 0xd0]
add rax, 8
mov rcx, rax
call fcn.140016540
xor r8d, r8d
mov dx, reloc.msi.dll_MsiGetComponentStateA
mov rcx, qword [rsp + 0xd8]
call fcn.1400786e0
cmp rax, 0xffffffffffffffff
je 0x140176766
mov dword [rsp + 0x34], 1
jmp 0x14017676e
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14017678a
mov dword [rsp + 0x38], 0x20000
jmp 0x140176792
mov dword [rsp + 0x38], 0x10000
mov eax, dword [rsp + 0x38]
bts eax, 0xc
bts eax, 0x1f
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0xd8]
call fcn.14000c690
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xd0]
add rax, 0x28
mov rcx, rax
call fcn.1400165c0
movzx eax, al
test eax, eax
je 0x1401767da
mov qword [rsp + 0x50], 0
jmp 0x1401767f3
mov rax, qword [rsp + 0xd0]
add rax, 0x28
mov rcx, rax
call fcn.14000c690
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.NETAPI32.dll_DsGetDcNameW]
mov rcx, qword [rsp + 0xd0]
mov dword [rcx], eax
mov rax, qword [rsp + 0xd0]
cmp dword [rax], 0
jne 0x1401768b7
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0xe0]
call fcn.140015550
lea r9, [0x1403192b8]
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0xe0]
call fcn.140020450
test eax, eax
jne 0x1401768ab
mov r9, 0xffffffffffffffff
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xe0]
call fcn.1400375d0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xe0]
call fcn.14001e7a0
lea rcx, [rsp + 0x70]
call fcn.14000a800
mov rcx, qword [rsp + 0x48]
call sub.NETAPI32.dll_NetApiBufferFree
jmp 0x1401768f9
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax]
lea rcx, [rsp + 0x90]
call fcn.1400f1950
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xd0]
add rax, 8
mov rdx, qword [rsp + 0x68]
mov rcx, rax
call fcn.14001e7a0
lea rcx, [rsp + 0x90]
call fcn.14000a800
mov rax, qword [rsp + 0xd0]
cmp dword [rax], 0
jne 0x140176910
mov dword [rsp + 0x3c], 1
jmp 0x140176918
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0xc8
ret
Function at 0x140176ad0
Capabilities:
Get domain controller name

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0xa8]
call fcn.140016540
mov rax, qword [rsp + 0x90]
add rax, 8
mov rcx, rax
call fcn.140016540
mov rcx, qword [rsp + 0xa0]
call fcn.1400165c0
movzx eax, al
test eax, eax
je 0x140176b4c
mov qword [rsp + 0x38], 0
jmp 0x140176b5e
mov rcx, qword [rsp + 0xa0]
call fcn.14000c690
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x98]
call fcn.1400165c0
movzx eax, al
test eax, eax
je 0x140176b7d
mov qword [rsp + 0x40], 0
jmp 0x140176b8f
mov rcx, qword [rsp + 0x98]
call fcn.14000c690
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call sub.NETAPI32.dll_NetGetDCName
mov rcx, qword [rsp + 0x90]
mov dword [rcx], eax
mov rax, qword [rsp + 0x90]
cmp dword [rax], 0
jne 0x140176c33
lea r8, [rsp + 0x30]
mov edx, 0x64
mov rcx, qword [rsp + 0x28]
call sub.NETAPI32.dll_NetWkstaGetInfo
mov rcx, qword [rsp + 0x90]
mov dword [rcx], eax
mov rax, qword [rsp + 0x90]
cmp dword [rax], 0
jne 0x140176c07
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0xa8]
call fcn.140015550
mov rcx, qword [rsp + 0x30]
call sub.NETAPI32.dll_NetApiBufferFree
jmp 0x140176c27
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xa8]
call fcn.140015550
mov rax, qword [rsp + 0x90]
mov dword [rax], 0
mov rcx, qword [rsp + 0x28]
call sub.NETAPI32.dll_NetApiBufferFree
jmp 0x140176c6f
mov rax, qword [rsp + 0x90]
mov edx, dword [rax]
lea rcx, [rsp + 0x50]
call fcn.1400f1950
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x90]
add rax, 8
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.14001e7a0
lea rcx, [rsp + 0x50]
call fcn.14000a800
mov rax, qword [rsp + 0x90]
cmp dword [rax], 0
jne 0x140176c86
mov dword [rsp + 0x20], 1
jmp 0x140176c8e
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x88
ret
Function at 0x14017bb80
Capabilities:
Delete user account

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.14017d650
movzx eax, al
test eax, eax
je 0x14017bc70
mov rcx, qword [rsp + 0x88]
call fcn.14000c690
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
add rax, 0x28
mov rcx, rax
call fcn.1400165c0
movzx eax, al
test eax, eax
je 0x14017bbf5
mov qword [rsp + 0x28], 0
jmp 0x14017bc0e
mov rax, qword [rsp + 0x80]
add rax, 0x28
mov rcx, rax
call fcn.14000c690
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.NETAPI32.dll_NetUserDel
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0
je 0x14017bc70
mov rax, qword [rsp + 0x80]
mov edx, dword [rax]
lea rcx, [rsp + 0x40]
call fcn.1400f1950
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x80]
add rax, 8
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.14001e7a0
lea rcx, [rsp + 0x40]
call fcn.14000a800
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0
jne 0x14017bc87
mov dword [rsp + 0x20], 1
jmp 0x14017bc8f
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x78
ret