joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004907
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.1400123e0
mov r15, qword [0x14002048c]
cmp r15, 1
jne 0x1400049d6
push qword [0x14002057c]
pop rcx
call fcn.14000d5b4
mov r15, rax
and r15, r15
jle 0x14000496c
mov rcx, qword [0x14002057c]
call fcn.14000d5bc
mov rcx, qword [0x14002057c]
call fcn.14000d5d0
or rax, rax
je 0x14000496c
mov rbp, qword [0x140020584]
push qword [rbp + 0x10]
pop rcx
call fcn.14000da6c
jmp 0x140004949
push qword [0x14002056c]
pop rcx
call fcn.14000d5b4
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x1400049d6
push 5
push 0
push 1
push qword [0x14002056c]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009070
mov rcx, qword [0x14002056c]
call fcn.14000d5bc
mov rcx, qword [0x14002056c]
call fcn.14000d5d0
or rax, rax
je 0x1400049d6
mov rbp, qword [0x140020574]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x1400049b3
mov rax, 1
jmp 0x1400049e2
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006a58
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cwde
invalid
mov edx, 0x9fc022bf
or byte [rcx - 0x62f0e792], dl
sub dl, byte [rax + rdx - 0x1c64fc78]
xchg esi, eax
sub al, 0x82
fdiv dword es:[rsp + rax + 0x6f]
mov byte [rbx], bl
sbb ebp, dword [rbx + 0x74b9f53c]
je 0x14003f67f
invalid
invalid
sbb ebp, dword [rbx + 0x74b9f53c]
je 0x14003f67f
invalid
invalid
mov dword [rsi], 0xd9db64c1
sbb eax, 0x96de97e1
fisubr word [rdi]
invalid
invalid
or dword [rsi + rbx*4 + 0x15], esi
movabs byte [0x4569345efc7c4063], al
pop rsi
xor al, 0x69
push r8
cmp eax, 0xea5f77fe
invalid
ja 0x14003f6ea
invalid
invalid
invalid
xchg edx, eax
xchg esi, eax
invalid
mov word [rax - 0x63], fs
xchg edx, eax
xchg dword [rdi + 0x20], ebp
xlatb
scasd eax, dword [rdi]
out dx, eax
out dx, eax
xchg edi, eax
retf 0xab5b
Function at 0x100001df4
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [0x100010f70]
mov esi, ecx
test rdi, rdi
je 0x100001e41
mov r8d, dword [rdi + 0x10]
mov rcx, qword [rdi]
xor edx, edx
call sub.msvcrt.dll_memset
cmp dword [rdi + 0x14], 0
mov rbx, qword [rdi + 8]
je 0x100001e31
mov rcx, qword [rdi]
call sub.netutils.dll_NetApiBufferFree
mov rcx, rdi
call sub.netutils.dll_NetApiBufferFree
mov rdi, rbx
test rbx, rbx
jne 0x100001e11
and qword [0x100010f70], 0
lea rdi, [0x10000fb10]
xor r8d, r8d
mov rcx, qword [rdi]
test rcx, rcx
je 0x100001e70
call fcn.100005fd4
inc r8d
add rdi, 8
cmp r8d, 0x100
jb 0x100001e53
mov ecx, dword [0x100010f64]
cmp ecx, 1
jbe 0x100001eb6
mov rdx, qword [0x100010f68]
lea r8d, [rcx - 1]
add rdx, 8
cmp qword [rdx], 0
je 0x100001eac
mov rdi, qword [rdx]
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasb al, byte [rdi]
not rcx
dec rcx
test ecx, ecx
je 0x100001eac
mov rdi, qword [rdx]
mov ecx, ecx
rep stosb byte [rdi], al
add rdx, 8
sub r8, 1
jne 0x100001e8a
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
call fcn.100005fd4
mov ecx, esi
call qword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x100001f6c
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rdi
sub rsp, 0xe0
and dword [rax + 8], 0
mov edi, 0x68
lea rcx, [rax - 0x78]
mov r8, rdi
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x70], edi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
mov edx, 0x20
mov rdi, rax
call qword [sym.imp.msvcrt.dll_wcschr]
or rcx, 0xffffffffffffffff
lea rdx, [rsp + 0xf8]
mov rbx, rax
xor eax, eax
repne scasw ax, word [rdi]
not rcx
lea rdi, [rcx + 0x109]
lea ecx, [rdi + rdi]
call sub.netutils.dll_NetApiBufferAllocate
test eax, eax
je 0x100001feb
xor edx, edx
mov ecx, eax
call fcn.100005818
mov ecx, 2
call fcn.100005934
int3
mov rcx, qword [rsp + 0xf8]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test eax, eax
jne 0x10000201e
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
mov ecx, eax
call fcn.100005818
mov ecx, 2
call fcn.100005934
int3
mov rax, qword [rsp + 0xf8]
mov edx, edi
lea r8, [0x1000014a8]
sub edx, ecx
lea rcx, [rax + rcx*2]
call fcn.100008aee
test rbx, rbx
je 0x100002052
mov rcx, qword [rsp + 0xf8]
movsxd rdx, edi
mov r8, rbx
call fcn.100008ae2
mov rdx, qword [rsp + 0xf8]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
xor ecx, ecx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1000020b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
mov ecx, eax
call fcn.100005818
mov ecx, 2
call fcn.100005934
int3
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0xf0]
call fcn.100001df4
int3
Function at 0x100002978
Capabilities:
Enumerate network shares

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov r12, rcx
xor ebx, ebx
mov rbp, r8
and dword [rcx], ebx
mov ecx, 0xc00
mov rsi, rdx
mov dword [r8], 0x40
call sub.netutils.dll_NetApiBufferAllocate
test eax, eax
je 0x1000029b7
xor edx, edx
mov ecx, eax
call fcn.100005818
lea ecx, [rbx + 2]
call fcn.100005934
int3
lea rdx, [rsp + 0x88]
mov ecx, 0x1000
mov dword [rsp + 0x80], 0x1000
call sub.netutils.dll_NetApiBufferAllocate
xor edx, edx
test eax, eax
je 0x1000029ec
mov ecx, eax
call fcn.100005818
mov ecx, 2
call fcn.100005934
int3
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
lea ecx, [r9 + 1]
mov qword [rsp + 0x20], rax
call sub.MPR.dll_WNetOpenEnumW
test eax, eax
jne 0x100002b6f
mov r8, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x30]
or dword [rsp + 0x70], 0xffffffff
lea r9, [rsp + 0x80]
lea rdx, [rsp + 0x70]
call sub.MPR.dll_WNetEnumResourceW
mov edi, eax
test eax, eax
je 0x100002a42
cmp eax, 0x103
jne 0x100002b6f
mov edx, dword [rsp + 0x70]
lea ecx, [rdx + rbx]
cmp ecx, dword [rbp]
jb 0x100002a71
add ecx, 0x40
mov r8, rsi
lea edx, [rcx + rcx*2]
mov dword [rbp], ecx
mov rcx, qword [rsi]
shl edx, 4
call sub.netutils.dll_NetApiBufferReallocate
test eax, eax
jne 0x100002b6f
mov edx, dword [rsp + 0x70]
lea rcx, [rbx + rbx*2]
xor r9d, r9d
shl rcx, 4
add rcx, qword [rsi]
test edx, edx
je 0x100002b24
mov r10, qword [rsp + 0x88]
add r10, 0x18
cmp qword [r10 - 8], 0
mov r11, qword [0x100010f88]
lea rdx, [0x100001508]
mov rax, rdx
cmovne rax, qword [r10 - 8]
mov qword [rcx], rax
cmp qword [r10], 0
mov rax, rdx
cmovne rax, qword [r10]
mov qword [rcx + 8], rax
cmp qword [r10 + 0x10], 0
mov rax, rdx
cmovne rax, qword [r10 + 0x10]
mov qword [rcx + 0x10], rax
mov eax, dword [r10 - 0x14]
mov dword [rcx + 0x18], eax
mov rdx, qword [r10 + 0x10]
sub r11, rdx
movzx r8d, word [rdx]
movzx eax, word [rdx + r11]
sub r8d, eax
jne 0x100002af5
add rdx, 2
test eax, eax
jne 0x100002adf
xor eax, eax
test r8d, r8d
sete al
or dword [rcx + 0x1c], 0xffffffff
and dword [rcx + 0x24], 0
and dword [rcx + 0x20], 0
mov dword [rcx + 0x28], eax
inc r9d
add rcx, 0x30
inc ebx
add r10, 0x30
cmp r9d, dword [rsp + 0x70]
jb 0x100002a93
test edi, edi
jne 0x100002b5f
lea rdx, [rsp + 0x88]
mov ecx, 0x1000
mov dword [rsp + 0x80], 0x1000
call sub.netutils.dll_NetApiBufferAllocate
test eax, eax
je 0x100002a0d
xor edx, edx
mov ecx, eax
call fcn.100005818
lea ecx, [rdi + 2]
call fcn.100005934
int3
mov rcx, qword [rsp + 0x30]
call sub.MPR.dll_WNetCloseEnum
mov dword [r12], ebx
xor eax, eax
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x100002b80
Capabilities:
Enumerate network shares

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, dword [rcx]
mov r15, rdx
mov ebx, 0x1000
lea rdx, [rax - 0x50]
mov ecx, ebx
mov dword [rax - 0x58], ebx
call sub.netutils.dll_NetApiBufferAllocate
xor edx, edx
test eax, eax
je 0x100002bcf
mov ecx, eax
call fcn.100005818
mov ecx, 2
call fcn.100005934
int3
xor r9d, r9d
lea rax, [rsp + 0x40]
xor r8d, r8d
lea ecx, [r9 + 3]
mov qword [rsp + 0x20], rax
call sub.MPR.dll_WNetOpenEnumW
mov edi, eax
test eax, eax
je 0x100002bff
mov rcx, qword [rsp + 0x38]
call sub.netutils.dll_NetApiBufferFree
mov eax, edi
jmp 0x100002db0
xor edi, edi
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
or dword [rsp + 0xa8], 0xffffffff
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0xa8]
call sub.MPR.dll_WNetEnumResourceW
mov esi, eax
cmp eax, edi
je 0x100002c36
cmp eax, 0x103
jne 0x100002db0
mov ecx, dword [rsp + 0xa8]
cmp ecx, 0xffffffff
je 0x100002da4
cmp ecx, edi
je 0x100002da4
mov r13d, edi
jbe 0x100002d74
mov r12, qword [rsp + 0x38]
add r12, 0x10
mov rbp, qword [r15]
mov ebx, edi
cmp r14d, edi
jbe 0x100002cbd
mov rdx, qword [rbp]
cmp rdx, rdi
je 0x100002ca9
mov r9, qword [r12]
cmp r9, rdi
je 0x100002ca9
cmp word [rdx], di
je 0x100002ca3
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r9
call qword [sym.imp.msvcrt.dll__wcsnicmp]
xor edi, edi
cmp eax, edi
jmp 0x100002ca7
cmp word [r9], di
je 0x100002cb4
inc ebx
add rbp, 0x30
cmp ebx, r14d
jb 0x100002c6a
cmp ebx, r14d
jb 0x100002d5a
mov rbp, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x90]
mov eax, dword [rbp]
cmp dword [rbx], eax
jb 0x100002cf3
mov rcx, qword [r15]
add eax, 0x40
mov r8, r15
lea edx, [rax + rax*2]
mov dword [rbp], eax
shl edx, 4
call sub.netutils.dll_NetApiBufferReallocate
cmp eax, edi
jne 0x100002db0
mov eax, dword [rbx]
lea rbp, [0x100001508]
lea rdx, [rax + rax*2]
mov rcx, rbp
mov rax, rbp
shl rdx, 4
add rdx, qword [r15]
cmp qword [r12], rdi
cmovne rcx, qword [r12]
mov qword [rdx], rcx
cmp qword [r12 + 8], rdi
cmovne rax, qword [r12 + 8]
mov qword [rdx + 8], rax
cmp qword [r12 + 0x18], rdi
mov rax, rbp
cmovne rax, qword [r12 + 0x18]
mov qword [rdx + 0x10], rax
mov eax, dword [r12 - 0xc]
mov dword [rdx + 0x28], edi
mov dword [rdx + 0x1c], 0xfffe
mov dword [rdx + 0x24], edi
mov dword [rdx + 0x20], edi
mov dword [rdx + 0x18], eax
call qword [sym.imp.msvcrt.dll__wcsupr]
inc dword [rbx]
inc r13d
add r12, 0x30
cmp r13d, dword [rsp + 0xa8]
jb 0x100002c60
mov ebx, 0x1000
cmp esi, edi
jne 0x100002da4
lea rdx, [rsp + 0x38]
mov ecx, ebx
mov dword [rsp + 0x30], ebx
call sub.netutils.dll_NetApiBufferAllocate
cmp eax, edi
je 0x100002c01
xor edx, edx
mov ecx, eax
call fcn.100005818
mov ecx, 2
call fcn.100005934
int3
mov rcx, qword [rsp + 0x40]
call sub.MPR.dll_WNetCloseEnum
xor eax, eax
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1000043c4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov ecx, 0x200
lea rdx, [rsp + 0x50]
mov ebx, 1
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x48], ebx
call sub.netutils.dll_NetApiBufferAllocate
test eax, eax
je 0x1000043fc
xor edx, edx
mov ecx, eax
call fcn.100005818
lea ecx, [rbx + 1]
call fcn.100005934
int3
lea rax, [rsp + 0x58]
lea rdx, [0x100001600]
mov r9d, ebx
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100004436
mov rcx, qword [rsp + 0x50]
call sub.netutils.dll_NetApiBufferFree
xor r11d, r11d
jmp 0x1000044e8
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
lea rdx, [0x100001688]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, 0xea
jne 0x1000044d0
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x50]
call sub.netutils.dll_NetApiBufferReallocate
mov rcx, qword [rsp + 0x58]
mov ebx, eax
test eax, eax
je 0x1000044a5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov ecx, ebx
call fcn.100005818
mov ecx, 2
call fcn.100005934
int3
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
lea rdx, [0x100001688]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x100004424
mov r11, qword [rsp + 0x50]
lea rax, [0x100001508]
test r11, r11
cmovne rax, r11
mov qword [0x100010f88], rax
add rsp, 0x30
pop rbx
ret

Function at 0x10000476c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x10000b110]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edi, edi
lea rax, [r11 - 0x30]
mov rbx, rcx
lea rdx, [0x1000016a0]
lea r9d, [rdi + 1]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [r11 - 0x30], rdi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x40], 0xe
mov qword [r11 - 0x48], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x100004828
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
lea rdx, [0x1000015c8]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x100004815
lea rdx, [0x1000015c0]
lea rcx, [rsp + 0x48]
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, edi
sete dil
mov dword [rbx], edi
jmp 0x10000481b
mov dword [rbx], 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10000482e
mov dword [rbx], 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.100008ab0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x10000484c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x50
lea rax, [r11 + 0x10]
mov ebx, ecx
lea rdx, [0x1000016a0]
mov qword [r11 - 0x18], rax
lea rax, [r11 + 0x18]
xor r9d, r9d
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0xf003f
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1000048e9
mov eax, ebx
lea rdx, [0x1000015c0]
mov r9d, 1
neg eax
lea rax, [0x1000015e8]
sbb ecx, ecx
and ecx, 2
add ecx, 6
test ebx, ebx
cmovne rax, rdx
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x70]
lea rdx, [0x1000015c8]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x100007290
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
mov rcx, qword [0x100011830]
call qword [sym.imp.KERNEL32.dll_GetFileType]
xor ebx, ebx
test al, 2
je 0x1000072fa
mov rcx, qword [0x100011830]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
cmp eax, ebx
je 0x1000072fa
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
lea r9, [rsp + 0x68]
mov rdx, rsi
not rcx
mov qword [rsp + 0x20], rbx
lea r8, [rcx - 1]
mov rcx, qword [0x100011830]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x10000738d
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
or r9d, 0xffffffff
mov r8, rsi
xor edx, edx
mov ecx, eax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbp, eax
mov rcx, rbp
call qword [sym.imp.msvcrt.dll_malloc]
mov rdi, rax
cmp rax, rbx
je 0x10000738b
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
or r9d, 0xffffffff
mov r8, rsi
xor edx, edx
mov ecx, eax
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [0x100011830]
lea r8d, [rbp - 1]
lea r9, [rsp + 0x68]
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.msvcrt.dll_free]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x100008234
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileType]
btr eax, 0xf
cmp eax, 2
jne 0x10000828d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x10000828d
mov r8d, dword [rsp + 0x60]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x1000082fb
mov edx, dword [rsp + 0x60]
xor ecx, ecx
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x1000082fb
and qword [rsp + 0x38], 0
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
lea ecx, [r9 + r9]
xor edx, edx
mov r8, rsi
mov dword [rsp + 0x28], ecx
lea ecx, [rdx + 1]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x1000082f2
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8d, eax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x100008314
Capabilities:
List domain servers

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
sub rsp, 0x60
mov rax, qword [rsp + 0x98]
mov rsi, r9
xor ebx, ebx
mov qword [r11 - 0x28], rbx
mov qword [r11 - 0x30], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x30], eax
lea rax, [r11 - 0x18]
xor ecx, ecx
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], r9
or r9d, 0xffffffff
mov rdi, r8
mov ebp, edx
call sub.browcli.dll_NetServerEnum
mov r12d, eax
cmp eax, ebx
je 0x100008377
cmp eax, 0xea
jne 0x1000083cf
mov rdi, qword [rdi]
cmp ebp, 0x64
jne 0x1000083a8
cmp dword [rsi], ebx
jbe 0x1000083cf
lea rbp, [rdi + 8]
mov r8d, 8
mov rdx, rbp
mov rcx, rdi
call sub.msvcrt.dll_memmove
inc ebx
add rbp, 0x10
add rdi, 8
cmp ebx, dword [rsi]
jb 0x100008387
jmp 0x1000083cf
cmp dword [rsi], ebx
jbe 0x1000083cf
lea rbp, [rdi + 8]
mov r8d, 0x20
mov rdx, rbp
mov rcx, rdi
call sub.msvcrt.dll_memmove
inc ebx
add rbp, 0x28
add rdi, 0x20
cmp ebx, dword [rsi]
jb 0x1000083b0
lea r11, [rsp + 0x60]
mov eax, r12d
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x1400028f4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000293e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000293e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000293e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000293e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000293e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002940
xor al, al
add rsp, 0x28
ret
Function at 0x3b4b3e0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x3b4b3ed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x3b4b3fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x3b4b3e5
lea eax, [rcx + 1]
jmp 0x3b4b40b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x3b4b41e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x3b4b404
sub eax, 3
jb 0x3b4b43e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x3b4b48d
sar eax, 1
movsxd rbp, eax
jb 0x3b4b474
jmp 0x3b4b44c
add ebx, ebx
jne 0x3b4b44a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x3b4b474
inc ecx
add ebx, ebx
jne 0x3b4b45a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x3b4b474
call r11
adc ecx, ecx
add ebx, ebx
jne 0x3b4b46d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x3b4b45c
add ecx, 2
jmp 0x3b4b479
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.03b4b3a2
jmp 0x3b4b3ed
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3749000]
mov eax, dword [rdi]
or eax, eax
je 0x3b4b4e9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x3751540]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x3b4b499
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x3b4b4e3
mov qword [rbx], rax
add rbx, 8
jmp 0x3b4b4b9
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x3b4b541
sub rsp, 0xffffffffffffff80
jmp 0x474620