joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004744
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
jne 0x140004772
lea eax, [rbx + 0xd]
jmp 0x1400047a7
mov rsi, rdi
mov rcx, rsi
call fcn.140018c18
inc eax
lea rsi, [rsi + rax*2]
lea ebx, [rbx + rax*2]
cmp eax, 1
jne 0x140004775
mov rcx, qword [r14]
lea r9d, [rax + 6]
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140004874
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140045308]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
xor r9d, r9d
xor ecx, ecx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x50], rax
test rax, rax
je 0x1400048e5
lea rax, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140002e80]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x1400048e2
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0x50], rdi
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400115c0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140004d44
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp byte [0x140046b20], 0
mov esi, edx
mov rdi, rcx
je 0x140004d66
or eax, 0xffffffff
jmp 0x140004dd1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x40], eax
mov ebx, eax
test eax, eax
jns 0x140004d93
cmp eax, 0x80010106
jne 0x140004dcf
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140004d97
jmp 0x140004dcf
mov byte [rdi + 0x62], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x40]
mov rcx, rdi
mov rdx, rax
call fcn.140003120
cmp al, 1
jne 0x140004dbf
mov edx, esi
mov rcx, rdi
call fcn.1400046d4
mov ebx, eax
jmp 0x140004dc3
mov ebx, dword [rsp + 0x40]
cmp byte [rdi + 0x62], 0
je 0x140004dcf
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, r9d
lea rcx, [0x140046bb0]
jmp 0x140004d44
Function at 0x140004f60
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp byte [0x140046b20], 0
mov esi, edx
mov rdi, rcx
je 0x140004d66
or eax, 0xffffffff
jmp 0x140004dd1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x40], eax
mov ebx, eax
test eax, eax
jns 0x140004d93
cmp eax, 0x80010106
jne 0x140004dcf
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140004d97
jmp 0x140004dcf
mov byte [rdi + 0x62], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r8, [rsp + 0x40]
mov rcx, rdi
mov rdx, rax
call fcn.140003120
cmp al, 1
jne 0x140004dbf
mov edx, esi
mov rcx, rdi
call fcn.1400046d4
mov ebx, eax
jmp 0x140004dc3
mov ebx, dword [rsp + 0x40]
cmp byte [rdi + 0x62], 0
je 0x140004dcf
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, r9d
lea rcx, [0x140046bb0]
jmp 0x140004d44

Function at 0x14000dfd0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000dff5
xor eax, eax
jmp 0x14000e0f2
cmp qword [rcx + 0x68], 0
je 0x14000e009
lfence
call fcn.14000e110
jmp 0x14000e0f2
mov rax, qword [rcx + 0x38]
mov rbp, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x14000e020
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000e022
xor ecx, ecx
movsxd rax, ecx
mov rbx, rdi
test ecx, ecx
je 0x14000e057
cmp rax, rdi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140013f60
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rbp, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
mov rbx, rbp
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000e0e9
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000e092
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov r15d, 0xfff
cmp rbx, r15
jbe 0x14000e0c7
mov r9, qword [rsi + 0x80]
mov r8, r15
mov edx, 1
mov rcx, r14
call fcn.140019d74
sub rbp, rax
add r14, rax
mov rbx, rbp
cmp rax, r15
jne 0x14000e0e9
cmp rbp, r15
ja 0x14000e09d
test rbx, rbx
je 0x14000e0e9
mov r9, qword [rsi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, r14
call fcn.140019d74
mov rbp, rbx
sub rbp, rax
sub rdi, rbp
mov rax, rdi
lfence
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001b834
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001b624
Function at 0x140023fd8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14002400a
call fcn.140018968
mov dword [rax], SafeArrayGetElement
call fcn.1400187fc
jmp 0x140024129
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140024129
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140024129
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140024039
lock or dword [rcx + 0x14], 0x10
jmp 0x140024129
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14002404d
call fcn.140025788
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140022da0
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140024db8
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140024117
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x1400240e2
mov rcx, rsi
call fcn.140022da0
cmp eax, edi
je 0x1400240cd
mov rcx, rsi
call fcn.140022da0
cmp eax, 0xfffffffe
je 0x1400240cd
mov rcx, rsi
call fcn.140022da0
movsxd rbx, eax
lea r14, [0x140047eb0]
mov rcx, rsi
sar rbx, 6
call fcn.140022da0
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1400240d4
lea rdx, [0x140045710]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400240e2
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x140024106
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x140024106
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x140024106
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14002412c
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140024454
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140011550
sub rsp, rax
mov rax, qword [0x140045308]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140022da0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400244a3
mov rax, rbp
jmp 0x1400245ab
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x47eb0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140025590
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x47eb0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400245a7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400245a7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140025590
test rax, rax
js 0x1400245a7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400245a7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140024599
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140024599
cmp byte [rcx], 0xd
jne 0x14002457f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002458e
cmp byte [rcx + 1], 0xa
jne 0x14002458e
inc rcx
jmp 0x14002458e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x45760]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140024561
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400245ab
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400115c0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002490c
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x140047eb0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14002496a
cmp word [rdx], r12w
jne 0x14002496a
or byte [rax + r8*8 + 0x38], cl
jmp 0x140024970
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x140024acb
mov r9d, DispGetParam
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x140024aa6
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400249a9
mov rcx, r9
jmp 0x1400249cc
cmp r9, rdx
jae 0x1400249e3
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, DispGetParam
add rbx, 2
cmp rcx, rdx
jb 0x14002498d
jmp 0x140024acb
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140024aa0
cmp dword [rsp + 0x80], edi
je 0x140024aa0
mov rdx, r14
lea r11, [0x140047eb0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x140024a79
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x140024a4c
mov word [rbx], r12w
jmp 0x140024ac7
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x140024a55
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x140024ac7
cmp word [rsp + 0x70], r12w
jne 0x140024a86
cmp rbx, rsi
je 0x140024a46
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140025598
cmp word [rsp + 0x70], r12w
je 0x140024acb
mov word [rbx], r13w
jmp 0x140024ac7
lea r11, [0x140047eb0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140024ac3
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x140024acb
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140026bd4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140026c5b
mov rsi, rbx
cmp word [rax], bp
je 0x140026c1a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140026c04
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140026c00
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140021f24
mov rdi, rax
test rax, rax
je 0x140026c48
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140013f60
mov rbp, rdi
xor ecx, ecx
call fcn.14002180c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14002e268
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140025598
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140025598
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002e3b8
cmp rax, 0xffffffffffffffff
je 0x14002e3b8
xor edi, edi
test rbp, rbp
jle 0x14002e363
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14002203c
mov rbx, rax
test rax, rax
jne 0x14002e2f0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002e359
mov edx, 0x8000
mov ecx, r14d
call fcn.14001b8b0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140023cc8
cmp eax, 0xffffffff
je 0x14002e339
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14002e300
mov edx, r15d
mov ecx, r14d
call fcn.14001b8b0
jmp 0x14002e359
cmp byte [rsi + 0x38], dil
je 0x14002e350
cmp dword [rsi + 0x34], 5
jne 0x14002e350
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayGetDim
cmp byte [rsi + 0x30], dil
je 0x14002e359
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14002180c
jmp 0x14002e3cc
jns 0x14002e3cc
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140025598
cmp rax, 0xffffffffffffffff
jne 0x14002e384
cmp byte [rsi + 0x30], dil
je 0x14002e3cc
mov edi, dword [rsi + 0x2c]
jmp 0x14002e3cc
mov ecx, r14d
call fcn.140027158
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002e3cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, SafeArrayGetDim
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayGetDim
jmp 0x14002e3cc
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002e3c5
mov eax, dword [rsi + 0x2c]
jmp 0x14002e3ca
mov eax, SafeArrayGetElement
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140025598
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14000f030
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1400b31d8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rax
xor edi, edi
lea rsi, [0x1400ba040]
mov qword [rsp + 0x30], rsi
mov word [0x1400ba040], di
lea rcx, [0x1400ba048]
call fcn.140054d34
nop
lea rcx, [0x1400ba090]
call fcn.140054d34
nop
xorps xmm0, xmm0
movups xmmword [0x1400ba0e8], xmm0
lea rbx, [0x1400ba0d8]
movdqu xmmword [0x1400ba0d8], xmm0
mov qword [0x1400ba0e8], rdi
mov qword [0x1400ba0f0], rdi
mov qword [0x1400ba0f8], rdi
lea ecx, [rdi + 0x10]
call fcn.1400569e4
mov qword [rax + 8], rdi
mov qword [0x1400ba0d8], rax
mov qword [rax], rbx
mov qword [0x1400ba100], rdi
lea edx, [rdi + 2]
lea rcx, [0x1400ba108]
call fcn.1400546b4
nop
mov dword [0x1400ba158], 0x40
mov ecx, 0x408
call fcn.140057014
mov qword [rax], 0x40
lea rbx, [rax + 8]
lea rax, [0x14000ed90]
mov qword [rsp + 0x20], rax
lea r9, [0x14000ed80]
lea edx, [rdi + 0x10]
lea r8d, [rdi + 0x40]
mov rcx, rbx
call fcn.14005701c
mov qword [0x1400ba160], rbx
mov byte [0x1400ba168], dil
mov eax, 1
xchg byte [0x1400ba041], al
mov ebx, edi
cmp dword [0x1400ba158], edi
jbe 0x14000f1c8
lea rbp, [0x14000f2b0]
mov ecx, 0x10
call fcn.1400569e4
mov qword [rax], rsi
mov qword [rax + 8], rbp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140033d10]
xor edx, edx
xor ecx, ecx
call fcn.1400667b4
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000f1f6
mov eax, ebx
shl rax, 4
add rax, qword [0x1400ba160]
cmp dword [rax + 8], 0
jne 0x14000f1f0
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmmword [rax], xmm1
cmp dword [rsp + 0x48], 0
jne 0x14000f1f0
inc ebx
cmp ebx, dword [0x1400ba158]
jb 0x14000f152
mov rax, rsi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140056720
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
call fcn.140066df4
nop
mov dword [rsp + 0x48], edi
mov ecx, 6
call fcn.140054328
int3
Function at 0x140012ca0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1400b31d8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov eax, dword [rcx + 0x40]
mov edi, r8d
movzx esi, byte [rcx + 0xd8]
cmp r8d, eax
mov rbx, rcx
setge bpl
jge 0x140012ceb
test sil, sil
je 0x140012dca
movups xmm0, xmmword [r9]
add rcx, 8
cmp qword [rbx + 0x20], 0x10
movups xmmword [rsp + 0x48], xmm0
jb 0x140012d03
mov rcx, qword [rbx + 8]
movups xmm0, xmmword [rdx]
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x28], rcx
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], rax
movsd xmm0, qword [rdx + 0x10]
movsd qword [rsp + 0x20], xmm0
call fcn.140055d58
movups xmm0, xmmword [rsp + 0x28]
mov qword [rsp + 0x78], rax
mov rax, qword gs:[0x58]
mov edx, 0x18
mov r8d, 0x10
mov dword [rsp + 0x70], edi
mov rcx, qword [rax]
movaps xmmword [rsp + 0x60], xmm0
mov eax, dword [rdx + rcx]
lea rdi, [rcx + r8]
test al, 1
jne 0x140012d6f
or eax, 1
mov dword [rdx + rcx], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rdi], rax
movups xmm0, xmmword [rsp + 0x38]
mov rax, qword [rdi]
lea rdx, [rsp + 0x60]
movsd xmm1, qword [rsp + 0x20]
movzx r9d, sil
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0x80], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x48]
movzx r8d, bpl
mov qword [rsp + 0x88], rax
mov rcx, rbx
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0xb0], xmm0
movsd qword [rsp + 0xa8], xmm1
call fcn.140014640
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140056720
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14001d390
Capabilities:
Enumerate network shares

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1400b31d8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
xor r12d, r12d
mov dword [rbp - 9], r12d
mov dword [rbp - 1], r12d
mov dword [rbp - 5], r12d
mov qword [rbp - 0x11], r12
lea r13d, [r12 + 0x5c]
movzx ebx, byte [rbp - 0x19]
lea rax, [rbp - 5]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 1]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rbp - 0x11]
mov edx, 2
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetShareEnum]
mov r15d, eax
test eax, eax
je 0x14001d425
cmp eax, 0xea
jne 0x14001d556
mov r14, qword [rbp - 0x11]
mov edi, r12d
cmp dword [rbp - 9], r12d
jbe 0x14001d55a
nop word [rax + rax]
mov eax, edi
imul rcx, rax, 0x38
cmp dword [rcx + r14 + 8], 0
jne 0x14001d54b
mov rdx, qword [rcx + r14 + 0x28]
mov qword [rbp + 7], r12
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r12w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14001d473
lea rcx, [rbp + 7]
call fcn.1400095b0
nop
lea rax, [rbp + 7]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
setae r9b
mov r8, qword [rbp + 7]
cmovae rax, r8
mov rcx, qword [rbp + 0x17]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x14001d4e2
cmp rcx, rdx
jae 0x14001d4cd
lea rax, [rcx + 1]
mov qword [rbp + 0x17], rax
lea rax, [rbp + 7]
test r9b, r9b
cmovne rax, r8
mov dword [rax + rcx*2], 0x5c
jmp 0x14001d4e2
mov r9d, r13d
movzx r8d, bl
mov edx, 1
lea rcx, [rbp + 7]
call fcn.140028a10
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x14001d4ff
lea rdx, [rbp + 7]
mov rcx, rax
call fcn.140007080
add qword [rsi + 8], 0x20
jmp 0x14001d50f
lea r8, [rbp + 7]
mov rdx, rax
mov rcx, rsi
call fcn.140032190
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x14001d54b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d546
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d5a2
call fcn.140056740
inc edi
cmp edi, dword [rbp - 9]
jb 0x14001d440
mov r14, qword [rbp - 0x11]
test r14, r14
je 0x14001d568
mov rcx, r14
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
cmp r15d, 0xea
je 0x14001d3e1
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140056720
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140065768
int3
Function at 0x14001f870
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x14001f908
test r8, r8
jle 0x14001f900
nop word [rax + rax]
mov rcx, rdi
call fcn.1400093d0
test rax, rax
jle 0x14001f8de
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov rax, qword [rdi + 0x40]
mov r8, rsi
mov rcx, qword [rax]
call fcn.140058cc0
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x14001f8f8
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001f900
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x14001f8a0
sub r14, rbx
mov rax, r14
jmp 0x14001f986
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x14001f921
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14001f923
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x14001f97b
test ecx, ecx
jle 0x14001f95c
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.140058cc0
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x14001f97b
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14001f97b
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.140067064
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret