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

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rcx, str.RM3FD1UPYRTL8MD95A00M4ILF:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call fcn.1801e9e80
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
int3

Function at 0x1801e9900
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp edx, 2
jge 0x1801e9944
test edx, edx
je 0x1801e99bb
cmp edx, 1
jne 0x1801e9a93
cmp dword [0x1801fe6d0], 0
jne 0x1801e9935
lea rcx, [0x1801fe6d8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x1801fe6d0], 1
jmp 0x1801e9a93
je 0x1801e9a17
cmp edx, 3
jne 0x1801e9a93
cmp dword [0x1801fe6d0], 0
je 0x1801e9a93
lea rcx, [0x1801fe6d8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, qword [0x1801fe700]
test rdi, rdi
je 0x1801e9a1e
mov r14, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1801e999d
mov rdi, qword [rdi + 0x10]
test rdi, rdi
je 0x1801e9a1e
mov ecx, dword [rdi]
call r14
mov rsi, rax
call rbx
test rsi, rsi
je 0x1801e9990
test eax, eax
jne 0x1801e9990
mov rax, qword [rdi + 8]
mov rcx, rsi
call rax
jmp 0x1801e9990
cmp dword [0x1801fe6d0], 0
je 0x1801e9a3a
lea rcx, [0x1801fe6d8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, qword [0x1801fe700]
test rdi, rdi
je 0x1801e9a2d
mov r14, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1801e99f9
mov rdi, qword [rdi + 0x10]
test rdi, rdi
je 0x1801e9a2d
mov ecx, dword [rdi]
call r14
mov rsi, rax
call rbx
test rsi, rsi
je 0x1801e99f0
test eax, eax
jne 0x1801e99f0
mov rax, qword [rdi + 8]
mov rcx, rsi
call rax
jmp 0x1801e99f0
call fcn.1801ea340
jmp 0x1801e9a93
lea rcx, [0x1801fe6d8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1801e9a93
lea rcx, [0x1801fe6d8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x1801fe6d0]
cmp eax, 1
jne 0x1801e9a93
mov rcx, qword [0x1801fe700]
test rcx, rcx
je 0x1801e9a71
nop word cs:[rax + rax]
nop dword [rax + rax]
mov rsi, qword [rcx + 0x10]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rcx, rsi
test rsi, rsi
jne 0x1801e9a60
mov qword [0x1801fe700], 0
mov dword [0x1801fe6d0], 0
lea rcx, [0x1801fe6d8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1801e9bd0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r8, qword [sym.srvcli.dll_Ordinal_0]
movzx edx, word [r8]
cmp edx, 0x5a4d
jne 0x1801e9c3d
movsxd rdx, dword [r8 + 0x3c]
cmp dword [r8 + rdx], 0x4550
jne 0x1801e9c3d
add r8, rdx
movzx edx, word [r8 + 0x18]
cmp edx, 0x20b
jne 0x1801e9c3d
movzx edx, word [r8 + 6]
test edx, edx
je 0x1801e9c3d
sub rcx, qword [sym.srvcli.dll_Ordinal_0]
movzx eax, word [r8 + 0x14]
add rax, r8
add rax, 0x18
jmp 0x1801e9c29
add rax, 0x28
add edx, 0xffffffff
je 0x1801e9c3d
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x1801e9c20
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x1801e9c20
jmp 0x1801e9c3f
xor eax, eax
ret

Function at 0x1801e9c40
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [sym.srvcli.dll_Ordinal_0]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x1801e9c76
movsxd r8, dword [rcx + 0x3c]
cmp dword [rcx + r8], 0x4550
jne 0x1801e9c76
movzx edx, word [rcx + r8 + 0x18]
cmp edx, 0x20b
jne 0x1801e9c76
movzx eax, word [rcx + r8 + 6]
ret

Function at 0x1801e9cf0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [sym.srvcli.dll_Ordinal_0]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1801e9d1c
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1801e9d1c
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1801e9d1e
xor eax, eax
ret
Function at 0x14000ee90
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000eeed
lea rbx, [0x1401132e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000eed4
cmp r10, 2
jb 0x14000eed4
cmp byte [r9], r8b
jne 0x14000eed4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000eeb0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000ef2f
lea rbx, [0x1401132e0]
cmp r8b, 0x23
jne 0x14000ef13
cmp byte [r9], r8b
jne 0x14000ef13
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000ef00
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000f070
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000f08a
mov qword [r8], 0
lea rdx, [0x140112c94]
call fcn.14000ef40
mov rbx, rax
test rax, rax
jne 0x14000f0aa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000f181
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000f181
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000f181
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000f181
cmp rdi, 0xffffffffffffffff
je 0x14000f181
mov rax, qword [0x14012de10]
test rax, rax
je 0x14000f11e
inc dword [rax + 0x3ac]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000f181
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000f16e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14012de10]
test rax, rax
je 0x14000f163
dec dword [rax + 0x3ac]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000f18a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000f17c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000f18c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400119b0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
mov rax, qword [rcx + 0x108]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1401132e0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x14012de10]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x1d7c], ebx
jne 0x140011a3d
mov dword [rax + 0x1d80], ebx
cmp dword [rax + 0x1db8], ebx
jne 0x140011a4c
mov byte [rax + 0x1dbc], 1
cmp dword [rax + 0x1d64], ebx
jne 0x140011a63
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14002def0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140016ec0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140016f10
lea r11, [0x1401132e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140016ef3
cmp byte [r8], r9b
jne 0x140016ef3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140016ee0
mov rcx, qword [0x14012de10]
not edx
add rcx, 0x1d08
jmp fcn.14000f480
Function at 0x14001d190
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8, qword [0x14012de10]
lea r10, [0x1401132e0]
movsxd r9, ecx
mov rbx, qword [r8 + 0x1d28]
add rbx, 0x100
movsxd rdx, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, r9b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
not edi
cmp dword [r8 + 0x1d64], edi
jne 0x14001d235
mov r8, r9
mov edx, 4
mov ecx, edi
call fcn.14002def0
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x14001d269
inc r8d
test ecx, ecx
je 0x14001d252
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14001d257
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.14002f030
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14001de70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14012d010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14012de10]
mov edi, edx
cmp byte [rbx + 0x212d], 0
jne 0x14001ded1
cmp byte [rbx + 0x212e], 0
jne 0x14001ded1
movsx r9d, word [rbx + 0x321e]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000ee10
test dil, 1
je 0x14001e007
jmp 0x14001df61
movss xmm1, dword [rbx + 0x1708]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x321e]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1401209f0]
mulss xmm1, dword [0x1401209e4]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1e44], rax
mov dword [rbx + 0x1e2c], 1
movss dword [rbx + 0x1e3c], xmm0
mov byte [rbx + 0x1e64], 1
movss dword [rbx + 0x1e40], xmm1
movss xmm0, dword [rbx + 0x1764]
mulss xmm0, dword [0x140120954]
or dword [rbx + 0x1e28], 0x41
movss dword [rbx + 0x1e88], xmm0
call fcn.14000ee10
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x14001dfb1
lea r11, [0x1401132e0]
cmp r9b, 0x23
jne 0x14001df94
cmp byte [r8], r9b
jne 0x14001df94
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x14001df81
mov rcx, qword [0x14012de10]
not edx
add rcx, 0x1d08
call fcn.14000f480
test rax, rax
je 0x14001e007
cmp byte [rax + 0xc7], 0
je 0x14001e007
mov byte [rax + 0xce], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xe8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x321e]
mov edx, 0x10
movsx r9d, word [rbx + 0x321e]
call fcn.14000ee10
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.140019b80
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14010e990
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140023210
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3308], 0
lea rbx, [rcx + 0x3310]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400232b7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002326a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14002ed80
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000f820
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3308]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3318]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14012de08]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400232bf
mov rcx, rbx
call fcn.14000f820
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140023700
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140023752
lea r11, [0x1401132e0]
cmp r9b, 0x23
jne 0x140023735
cmp byte [r8], r9b
jne 0x140023735
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140023722
mov r11, qword [0x14012de10]
mov r10, qword [r11 + 0x32d0]
test r10, r10
je 0x140023799
lea r9, [r10 + 4]
test r9, r9
je 0x140023799
not eax
cmp dword [r9], eax
je 0x1400237a2
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x32c8]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140023770
mov rcx, rbx
pop rbx
jmp fcn.140023610
mov rax, r9
pop rbx
ret
Function at 0x140026ae0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140026cec
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14012d010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1401132e0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x140026cb4
mov rcx, rbp
call fcn.1400263e0
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x140026b5e
lea rcx, [rbp + 0x3268]
call fcn.14000f480
mov r11, rax
jmp 0x140026b61
xor r11d, r11d
mov qword [rbx + 0x18], r11
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xbc]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xbc], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test r11, r11
je 0x140026bf5
cmp qword [r11 + 0x20], 0
jne 0x140026bea
mov qword [r11 + 0x20], rbx
jmp 0x140026bf5
cmp qword [r11 + 0x28], 0
jne 0x140026bf5
mov qword [r11 + 0x28], rbx
mov eax, dword [rdi - 0xc]
mov dword [rbx + 0xb4], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 4]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rcx, rbx
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140026c3c
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140026c30
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, 0x14
call fcn.14000ee10
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x140026c98
cmp r9b, 0x23
jne 0x140026c7b
cmp byte [r8], r9b
jne 0x140026c7b
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x140026c68
mov rcx, qword [0x14012de10]
not edx
add rcx, 0x1d08
call fcn.14000f480
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x140026b30
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14010e990
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14004c310
Capabilities:
Execute command
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x14012d010]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
lea rdx, [rsp + 0x30]
call fcn.14004c490
mov rcx, rax
call fcn.14004e230
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0xc0]
call fcn.14004c660
lea rdx, [rsp + 0x90]
call fcn.14004c4b0
mov rcx, rax
call fcn.14004e230
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14004eef0
nop
lea rdx, [rsp + 0x40]
call fcn.14004c4f0
mov rcx, rax
call fcn.14004e230
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14004f570
lea rdx, [0x14004f740]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rsp + 0xc0]
call fcn.14004eeb0
lea rdx, [rsp + 0x60]
call fcn.14004c550
mov rcx, rax
call fcn.14004e230
mov rbx, rax
lea rdx, [rsp + 0x30]
call fcn.14004c530
mov rcx, rax
call fcn.14004e230
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, [rsp + 0x78]
call fcn.14004c5b0
mov rcx, rax
call fcn.14004e230
mov rbx, rax
lea rdx, [rsp + 0x40]
call fcn.14004c580
mov rcx, rax
call fcn.14004e260
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea r9, [rsp + 0xb0]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0x13]
call rdi
lea rax, [rsp + 0xb4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xc00002b4
call rbx
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14004d4e0
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
movdqa xmm0, xmmword [0x140120bc0]
xor edi, edi
mov eax, 0xd
mov edx, edi
mov dword [rbp - 0x49], eax
movdqu xmmword [rbp - 0x45], xmm0
test eax, eax
je 0x14004d537
nop dword [rax]
nop dword [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x45]
add rcx, rax
lea eax, [rdx - 0x7f]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x49]
cmp edx, eax
jb 0x14004d520
mov byte [rbp + rax - 0x45], dil
mov edx, edi
lea rax, [rbp - 0x45]
mov dword [rbp - 0x45], 0xd8addedd
mov qword [rbp - 0x31], rax
mov eax, 0xa
mov dword [rbp - 0x49], eax
mov dword [rbp - 0x41], 0xefc0efcb
mov dword [rbp - 0x3d], 0x8bf8cc
test eax, eax
je 0x14004d587
nop word [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x45]
add rcx, rax
lea eax, [rdx - 0x7f]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x49]
cmp edx, eax
jb 0x14004d570
movdqa xmm0, xmmword [0x140120b40]
mov edx, edi
mov byte [rbp + rax - 0x45], dil
lea rax, [rbp - 0x45]
mov qword [rbp - 0x29], rax
mov eax, 0xc
mov dword [rbp - 0x49], eax
movdqu xmmword [rbp - 0x45], xmm0
test eax, eax
je 0x14004d5c7
nop
mov eax, edx
lea rcx, [rbp - 0x45]
add rcx, rax
lea eax, [rdx - 0x7f]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x49]
cmp edx, eax
jb 0x14004d5b0
mov byte [rbp + rax - 0x45], dil
mov rbx, rdi
lea rax, [rbp - 0x45]
mov qword [rbp - 0x21], rax
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 - 0x31]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x14004d630
inc rbx
cmp rbx, 3
jl 0x14004d5e0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rdx, [rbp - 0x19]
call fcn.14004d650
mov rcx, rax
call fcn.14004e230
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.14004c310
int3
Function at 0x14004e230
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r9, [rcx + 4]
xor edx, edx
test eax, eax
je 0x14004e250
nop dword [rax]
lea r8d, [rdx - 0x7f]
xor byte [rdx + r9], r8b
inc edx
mov eax, dword [rcx]
cmp edx, eax
jb 0x14004e240
mov ecx, eax
mov rax, r9
mov byte [rcx + r9], 0
ret

Function at 0x14004e260
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
xor r11d, r11d
mov r9, rcx
mov edx, r11d
test eax, eax
je 0x14004e295
mov r10d, 0x81
nop word [rax + rax]
mov eax, edx
lea ecx, [r10 + rdx]
inc edx
xor word [r9 + rax*2 + 4], cx
mov eax, dword [r9]
cmp edx, eax
jb 0x14004e280
mov ecx, eax
lea rax, [r9 + 4]
mov word [r9 + rcx*2 + 4], r11w
ret

Function at 0x14004e640
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14004e668
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14004e68e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14004e690
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14004e6e9
test ecx, ecx
jle 0x14004e6c9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14004e6e9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14004e6e9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x14004e710
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14004e732
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14004e748
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14004e764
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14004e766
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14004e7a2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14004e83e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14004e7dd
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
cmp rbx, 0xfff
jbe 0x14004e81e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14004e83e
cmp rbx, rax
ja 0x14004e7f0
test rbx, rbx
je 0x14004e83e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret