joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c18e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c19a7
push rbp
mov rbp, rsp
sub rsp, 0x30
movabs rdx, 0xaec8aa8dfbab97fe
mov qword [rsp + 0x19], rdx
movabs rdx, 0x57bc45aec8aa8dfb
mov qword [rsp + 0x1c], rdx
movabs rdx, 0x203070509060003
mov qword [rsp + 0x24], rdx
mov dword [rsp + 0x2c], 0x10404
xor eax, eax
jmp 0x4c1948
movzx r9d, byte [rsp + rsi + 0x19]
sub r9d, edx
lea edx, [r9 - 0x3f]
mov byte [rsp + rdi + 0x19], dl
lea edx, [r8 - 0x3f]
mov byte [rsp + rsi + 0x19], dl
add rax, 2
cmp rax, 0xc
jge 0x4c1977
movzx edx, byte [rsp + rax + 0x24]
movzx esi, byte [rsp + rax + 0x25]
mov edi, edx
xor edx, esi
add edx, eax
nop
cmp rdi, 0xb
jae 0x4c199a
movzx r8d, byte [rsp + rdi + 0x19]
sub r8d, edx
cmp rsi, 0xb
jb 0x4c192b
jmp 0x4c198e
xor eax, eax
lea rbx, [rsp + 0x19]
mov ecx, 0xb
call fcn.0043d2e0
add rsp, 0x30
pop rbp
ret
mov eax, esi
mov ecx, 0xb
call fcn.0044c1c0
mov eax, edi
mov ecx, 0xb
call fcn.0044c1c0
nop
call fcn.00449f60
jmp fcn.004c18e0

Function at 0x4c23e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c24ac
push rbp
mov rbp, rsp
sub rsp, 0x30
movabs rdx, 0x657293fdfae732d4
mov qword [rsp + 0x19], rdx
movabs rdx, 0x64dc85657293fdfa
mov qword [rsp + 0x1c], rdx
movabs rdx, 0x304080001040305
mov qword [rsp + 0x24], rdx
mov dword [rsp + 0x2c], 0x2030009
xor eax, eax
jmp 0x4c2445
movzx r9d, byte [rsp + rsi + 0x19]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x61]
mov byte [rsp + rdi + 0x19], dl
mov byte [rsp + rsi + 0x19], r8b
add rax, 2
cmp rax, 0xc
jge 0x4c247c
movzx edx, byte [rsp + rax + 0x24]
movzx esi, byte [rsp + rax + 0x25]
mov edi, edx
xor edx, esi
add edx, eax
nop dword [rax + rax]
cmp rdi, 0xb
jae 0x4c249f
movzx r8d, byte [rsp + rdi + 0x19]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x61]
cmp rsi, 0xb
jb 0x4c242b
jmp 0x4c2493
xor eax, eax
lea rbx, [rsp + 0x19]
mov ecx, 0xb
call fcn.0043d2e0
add rsp, 0x30
pop rbp
ret
mov eax, esi
mov ecx, 0xb
call fcn.0044c1c0
mov eax, edi
mov ecx, 0xb
call fcn.0044c1c0
nop
call fcn.00449f60
jmp fcn.004c23e0
Function at 0x4c2d60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c2e4a
push rbp
mov rbp, rsp
sub rsp, 0x48
movabs rdx, 0x454f7a4b5acbe544
mov qword [rsp + 0x19], rdx
movabs rdx, 0xdb6ebf7247e96e45
mov qword [rsp + 0x20], rdx
movabs rdx, 0xeebeb96ce4746ec9
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20a0f0c02051403
mov qword [rsp + 0x30], rdx
movabs rdx, 0xe06040e09141515
mov qword [rsp + 0x38], rdx
movabs rdx, 0x10e0216030e0a12
mov qword [rsp + 0x40], rdx
xor eax, eax
jmp 0x4c2ded
movzx r9d, byte [rsp + rsi + 0x19]
sub r9d, edx
lea edx, [r9 - 0x53]
mov byte [rsp + rdi + 0x19], dl
lea edx, [r8 - 0x53]
mov byte [rsp + rsi + 0x19], dl
add rax, 2
cmp rax, 0x18
jge 0x4c2e1a
movzx edx, byte [rsp + rax + 0x30]
movzx esi, byte [rsp + rax + 0x31]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x17
jae 0x4c2e3d
movzx r8d, byte [rsp + rdi + 0x19]
sub r8d, edx
cmp rsi, 0x17
jb 0x4c2dd0
jmp 0x4c2e31
xor eax, eax
lea rbx, [rsp + 0x19]
mov ecx, 0x17
call fcn.0043d2e0
add rsp, 0x48
pop rbp
ret
mov eax, esi
mov ecx, 0x17
call fcn.0044c1c0
mov eax, edi
mov ecx, 0x17
call fcn.0044c1c0
nop
call fcn.00449f60
jmp fcn.004c2d60

Function at 0x4c6a40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c6af8
push rbp
mov rbp, rsp
sub rsp, 0x30
movabs rdx, 0xc345a9b4a9e96e75
mov qword [rsp + 0x1e], rdx
movabs rdx, 0x303030604050302
mov qword [rsp + 0x26], rdx
mov word [rsp + 0x2e], 0x307
xor eax, eax
jmp 0x4c6a98
movzx r9d, byte [rsp + rsi + 0x1e]
sub r9d, edx
lea edx, [r9 - 0x3f]
mov byte [rsp + rdi + 0x1e], dl
lea edx, [r8 - 0x3f]
mov byte [rsp + rsi + 0x1e], dl
add rax, 2
cmp rax, 0xa
jge 0x4c6ac8
movzx edx, byte [rsp + rax + 0x26]
movzx esi, byte [rsp + rax + 0x27]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 8
jae 0x4c6aeb
movzx r8d, byte [rsp + rdi + 0x1e]
sub r8d, edx
nop dword [rax]
cmp rsi, 8
jb 0x4c6a7b
jmp 0x4c6adf
xor eax, eax
lea rbx, [rsp + 0x1e]
mov ecx, 8
call fcn.0043d2e0
add rsp, 0x30
pop rbp
ret
mov eax, esi
mov ecx, 8
call fcn.0044c1c0
mov eax, edi
mov ecx, 8
call fcn.0044c1c0
nop
call fcn.00449f60
nop dword [rax]
jmp fcn.004c6a40
Function at 0x4c6c60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c6da7
push rbp
mov rbp, rsp
sub rsp, 0x78
movabs rdx, 0x6c61006e4c74ff69
mov qword [rsp + 0x1d], rdx
movabs rdx, 0x910194ea716c6100
mov qword [rsp + 0x22], rdx
movabs rdx, 0x6f6ec76e08f60972
mov qword [rsp + 0x2a], rdx
movabs rdx, 0xeac20c65d9206e95
mov qword [rsp + 0x32], rdx
movabs rdx, 0x17657037a68bff02
mov qword [rsp + 0x3a], rdx
movabs rdx, 0xc2115031c100f20
mov qword [rsp + 0x42], rdx
movabs rdx, 0x20030c210a1f0c21
mov qword [rsp + 0x48], rdx
movabs rdx, 0xe0e152120050c10
mov qword [rsp + 0x50], rdx
movabs rdx, 0xa21120e08081824
mov qword [rsp + 0x58], rdx
movabs rdx, 0x90310011d04151b
mov qword [rsp + 0x60], rdx
movabs rdx, 0x1c0a1e08051a151e
mov qword [rsp + 0x68], rdx
movabs rdx, 0xb0c1c1b0a12241d
mov qword [rsp + 0x70], rdx
xor eax, eax
jmp 0x4c6d47
movzx r9d, byte [rsp + rsi + 0x1d]
sub r9d, edx
lea edx, [r9 - 0x57]
mov byte [rsp + rdi + 0x1d], dl
lea edx, [r8 - 0x57]
mov byte [rsp + rsi + 0x1d], dl
add rax, 2
cmp rax, 0x36
jge 0x4c6d77
movzx edx, byte [rsp + rax + 0x42]
movzx esi, byte [rsp + rax + 0x43]
mov edi, edx
xor edx, esi
add edx, eax
nop dword [rax]
cmp rdi, 0x25
jae 0x4c6d9a
movzx r8d, byte [rsp + rdi + 0x1d]
sub r8d, edx
cmp rsi, 0x25
jb 0x4c6d2a
jmp 0x4c6d8e
xor eax, eax
lea rbx, [rsp + 0x1d]
mov ecx, 0x25
call fcn.0043d2e0
add rsp, 0x78
pop rbp
ret
mov eax, esi
mov ecx, 0x25
call fcn.0044c1c0
mov eax, edi
mov ecx, 0x25
call fcn.0044c1c0
nop
call fcn.00449f60
jmp fcn.004c6c60

Function at 0x4c70e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea r12, [rsp - 0x40]
cmp r12, qword [r14 + 0x10]
jbe 0x4c7235
push rbp
mov rbp, rsp
sub rsp, 0xb8
movabs rdx, 0x9e9c76d20785a74
mov qword [rsp + 0x19], rdx
movabs rdx, 0x4d75dda96fd52009
mov qword [rsp + 0x20], rdx
movabs rdx, 0x9f3a62a374033572
mov qword [rsp + 0x28], rdx
movabs rdx, 0x202d1429e8e16171
mov qword [rsp + 0x30], rdx
movabs rdx, 0xdf114d2c4b20863e
mov qword [rsp + 0x38], rdx
movabs rdx, 0x23e79668e65d5f5
mov qword [rsp + 0x40], rdx
movabs rdx, 0x7110c83f6272e120
mov qword [rsp + 0x48], rdx
movabs rdx, 0x1778642334205765
mov qword [rsp + 0x50], rdx
movabs rdx, 0x9a486335df5c24fa
mov qword [rsp + 0x58], rdx
movabs rdx, 0xb3007403f261905
mov qword [rsp + 0x60], rdx
lea rdi, [rsp + 0x68]
lea rsi, [0x00508380]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.0044c7fa
mov rbp, qword [rbp]
xor eax, eax
jmp 0x4c71d4
movzx r9d, byte [rsp + rsi + 0x19]
sub r9d, edx
lea edx, [r9 + 0x72]
mov byte [rsp + rdi + 0x19], dl
lea edx, [r8 + 0x72]
mov byte [rsp + rsi + 0x19], dl
add rax, 2
cmp rax, 0x58
jge 0x4c7202
movzx edx, byte [rsp + rax + 0x60]
movzx esi, byte [rsp + rax + 0x61]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x47
jae 0x4c7228
movzx r8d, byte [rsp + rdi + 0x19]
sub r8d, edx
cmp rsi, 0x47
jb 0x4c71b7
nop
jmp 0x4c721c
xor eax, eax
lea rbx, [rsp + 0x19]
mov ecx, 0x47
call fcn.0043d2e0
add rsp, 0xb8
pop rbp
ret
mov eax, esi
mov ecx, 0x47
call fcn.0044c1c0
mov eax, edi
mov ecx, 0x47
call fcn.0044c1c0
nop
call fcn.00449f60
jmp fcn.004c70e0
Function at 0x4c9c00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c9cc6
push rbp
mov rbp, rsp
sub rsp, 0x30
movabs rdx, 0x32c963656e8a6505
mov qword [rsp + 0x24], rdx
mov dword [rsp + 0x2c], 0xc2fbbb2e
movabs rdx, 0xb0a00090602050a
mov qword [rsp + 0x18], rdx
mov dword [rsp + 0x20], 0xb0b0509
xor eax, eax
jmp 0x4c9c60
movzx r9d, byte [rsp + rsi + 0x24]
lea edx, [r9 + rdx]
lea edx, [rdx - 0x5d]
mov byte [rsp + rdi + 0x24], dl
mov byte [rsp + rsi + 0x24], r8b
add rax, 2
nop
cmp rax, 0xc
jge 0x4c9c92
movzx edx, byte [rsp + rax + 0x18]
movzx esi, byte [rsp + rax + 0x19]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0xc
jae 0x4c9cb7
movzx r8d, byte [rsp + rdi + 0x24]
lea r8d, [r8 + rdx]
lea r8d, [r8 - 0x5d]
cmp rsi, 0xc
jb 0x4c9c44
jmp 0x4c9cab
xor eax, eax
lea rbx, [rsp + 0x24]
mov ecx, 0xc
nop
call fcn.0043d2e0
add rsp, 0x30
pop rbp
ret
mov eax, esi
mov ecx, 0xc
call fcn.0044c1c0
mov eax, edi
mov ecx, 0xc
nop
call fcn.0044c1c0
nop
call fcn.00449f60
jmp fcn.004c9c00

Function at 0x4c9ce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c9da7
push rbp
mov rbp, rsp
sub rsp, 0x38
movabs rdx, 0x24926106daff6912
mov qword [rsp + 0x1c], rdx
mov dword [rsp + 0x24], 0xe6f51ae
movabs rdx, 0xb02080406020904
mov qword [rsp + 0x28], rdx
movabs rdx, 0x300080403030703
mov qword [rsp + 0x30], rdx
xor eax, eax
jmp 0x4c9d48
movzx r9d, byte [rsp + rsi + 0x1c]
sub r9d, edx
lea edx, [r9 + 0x73]
mov byte [rsp + rdi + 0x1c], dl
lea edx, [r8 + 0x73]
mov byte [rsp + rsi + 0x1c], dl
add rax, 2
cmp rax, 0x10
jge 0x4c9d77
movzx edx, byte [rsp + rax + 0x28]
movzx esi, byte [rsp + rax + 0x29]
mov edi, edx
xor edx, esi
add edx, eax
nop
cmp rdi, 0xc
jae 0x4c9d9a
movzx r8d, byte [rsp + rdi + 0x1c]
sub r8d, edx
cmp rsi, 0xc
jb 0x4c9d2b
jmp 0x4c9d8e
xor eax, eax
lea rbx, [rsp + 0x1c]
mov ecx, 0xc
call fcn.0043d2e0
add rsp, 0x38
pop rbp
ret
mov eax, esi
mov ecx, 0xc
call fcn.0044c1c0
mov eax, edi
mov ecx, 0xc
call fcn.0044c1c0
nop
call fcn.00449f60
jmp fcn.004c9ce0
Function at 0x1400037e0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r10, r8
mov r11, rcx
test rdx, rdx
je 0x14000380b
nop dword [rax]
movzx ecx, al
mov r8, r10
and cl, 7
shl cl, 3
shr r8, cl
xor byte [rax + r11], r8b
inc rax
cmp rax, rdx
jb 0x1400037f0
ret
Function at 0x140007e50
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x30
cmp byte [rcx + 0x73], 0
mov rbp, rcx
je 0x14000801a
mov qword [rsp + 0x58], rbx
lea rax, [rcx + 2]
mov qword [rsp + 0x28], rsi
mov rdx, 0xfffffffffffffffb
mov qword [rsp + 0x20], rdi
sub rdx, rcx
mov qword [rsp + 0x18], r12
mov r8, 0xfffffffffffffffc
mov qword [rsp + 0x10], r13
sub r8, rcx
mov qword [rsp + 8], r14
mov r13, 0xfffffffffffffffa
sub r13, rcx
mov qword [rsp], r15
mov r15, rcx
mov qword [rsp + 0x48], rdx
mov r12d, 1
mov qword [rsp + 0x50], r8
sub r12, rcx
mov r14, 0xfffffffffffffffe
mov rcx, 0xfffffffffffffffd
not r15
sub rcx, rbp
movabs r9, 0xc9771b45f9913b87
mov qword [rsp + 0x40], rcx
sub r14, rbp
nop dword [rax]
nop word [rax + rax]
lea ecx, [r14 + rax]
mov rsi, r9
and cl, 7
mov rdi, r9
shl cl, 3
mov rbx, r9
shr rsi, cl
mov r11, r9
xor byte [rax - 2], sil
lea ecx, [r15 + rax]
xor byte [rax + 6], sil
and cl, 7
xor byte [rax + 0xe], sil
mov r10, r9
shl cl, 3
shr rdi, cl
movzx ecx, al
xor byte [rax - 1], dil
sub cl, bpl
xor byte [rax + 7], dil
and cl, 7
xor byte [rax + 0xf], dil
shl cl, 3
shr rbx, cl
lea ecx, [r12 + rax]
xor byte [rax], bl
and cl, 7
xor byte [rax + 8], bl
xor byte [rax + 0x10], bl
shl cl, 3
shr r11, cl
lea ecx, [rax + r13]
xor byte [rax + 1], r11b
and cl, 7
xor byte [rax + 9], r11b
xor byte [rax + 0x11], r11b
shl cl, 3
shr r10, cl
lea ecx, [rdx + rax]
xor byte [rax + 2], r10b
and cl, 7
xor byte [rax + 0xa], r10b
movabs rdx, 0xc9771b45f9913b87
xor byte [rax + 0x12], r10b
shl cl, 3
shr r9, cl
lea ecx, [r8 + rax]
xor byte [rax + 3], r9b
and cl, 7
xor byte [rax + 0xb], r9b
mov r8, rdx
xor byte [rax + 0x13], r9b
movabs r9, 0xc9771b45f9913b87
shl cl, 3
shr r8, cl
movzx ecx, al
add cl, byte [rsp + 0x40]
xor byte [rax + 4], r8b
and cl, 7
xor byte [rax + 0xc], r8b
xor byte [rax + 0x14], r8b
mov r8, qword [rsp + 0x50]
shl cl, 3
shr rdx, cl
xor byte [rax + 5], dl
xor byte [rax + 0xd], dl
add rax, 0x17
mov rdx, qword [rsp + 0x48]
lea rcx, [rax + r14]
cmp rcx, 0x73
jb 0x140007ef0
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r13, qword [rsp + 0x10]
mov r12, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x58]
mov byte [rbp + 0x73], 0
add rsp, 0x30
pop rbp
ret
Function at 0x14001e8c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1400bb190]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001e952
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14001e949
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14001e933
inc rax
test ecx, ecx
jne 0x14001e920
mov rcx, rbx
test edx, edx
je 0x14001e975
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14001e910
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14007dae0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14001e954

Function at 0x14001e980
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1400bb190]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001ea4e
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14001ea4e
mov qword [rsp + 0x170], rbx
nop dword [rax]
lea rax, [rsp + 0x4c]
mov r8, rsi
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14001ea03
inc rax
test ecx, ecx
jne 0x14001e9f0
test edx, edx
jne 0x14001ea34
mov r8d, dword [rsp + 0x28]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14001ea34
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14001e9e0
mov rbx, qword [rsp + 0x170]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14007dae0
mov rsi, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
Function at 0x14001f5a0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14001f6dc
mov qword [rsp + 0x50], rbx
lea rcx, str.kernel32.dll
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.LoadLibraryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, 0xffffffffffffffff
mov r14, rax
mov r8, rbx
inc r8
cmp byte [rdi + r8], 0
jne 0x14001f602
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
mov r9, rbx
nop dword [rax + rax]
inc r9
cmp byte [rdi + r9], 0
jne 0x14001f630
mov r8, rdi
mov qword [rsp + 0x20], 0
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 0
mov r9, r14
mov dword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rax
mov edx, 0xffffffff
mov r14, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop word [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14001f690
mov r8, rbx
mov r9d, 0x8000
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x60]
mov al, 1
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14003e500
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 0x14003e528
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 0x14003e54e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14003e550
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14003e5a9
test ecx, ecx
jle 0x14003e589
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 0x14003e5a9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14003e5a9
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 0x14003e5d0
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 0x14003e5f2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14003e608
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 0x14003e624
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003e626
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003e662
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 0x14003e6fe
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14003e69d
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 0x14003e6de
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 0x14003e6fe
cmp rbx, rax
ja 0x14003e6b0
test rbx, rbx
je 0x14003e6fe
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
Function at 0x14003eb30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400bb190]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14003eb5d
xor eax, eax
jmp 0x14003ecc9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14003eb97
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14003eb97
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14003ecc9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14003ecbc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003ebda
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14003ec05
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14003ecc1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14003ec74
sub eax, 1
je 0x14003ec74
cmp eax, 2
jne 0x14003ecbc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14003ecc1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14003eca2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14003ecbc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14003ecc1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14007dae0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret