joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140194420
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
xchg r10, r13
mov r13, rdx
xchg r13, r10
xchg r11, rcx
mov rcx, r11
xchg r11, rcx
mov dword [rsp + 0x30], 0x721110c6
sub dword [rsp + 0x30], 0x5e2b39c2
add dword [rsp + 0x30], 0x204c9c5b
xor dword [rsp + 0x30], 0x1f031c67
add dword [rsp + 0x30], 0x4c639458
xor dword [rsp + 0x30], 0x4a565959
sub dword [rsp + 0x30], 0x155c3bd3
xor dword [rsp + 0x30], 0x7586b6d9
add dword [rsp + 0x30], 0x99154ec7
mov dword [rsp + 0x36], 0x75a53014
sub dword [rsp + 0x36], 0x229c98d5
sub dword [rsp + 0x36], 0x50639f09
xor dword [rsp + 0x36], 0x56367211
xor dword [rsp + 0x36], 0x18a39515
xor dword [rsp + 0x36], 0x64edbc95
sub dword [rsp + 0x36], 0x14bf0aa
xor dword [rsp + 0x36], 0x54caa26
xor dword [rsp + 0x36], 0xdd85e781
mov dword [rsp + 0x3a], 0x273f3c4d
add dword [rsp + 0x3a], 0x87d4b96
sub dword [rsp + 0x3a], 0x1776036d
add dword [rsp + 0x3a], 0x5afdcbc7
sub dword [rsp + 0x3a], 0xd202f5c
add dword [rsp + 0x3a], 0x993ade7c
xor eax, eax
mov word [rsp + 0x3e], ax
xor ebx, ebx
mov edx, ebx
nop
movzx eax, word [rsp + rdx*2 + 0x36]
movzx ecx, byte [rsp + rdx + 0x30]
add cx, ax
mov word [rsp + rdx*2 + 0x36], cx
mov byte [rsp + rdx + 0x30], bl
inc rdx
cmp rdx, 4
jb 0x140194504
xchg rbx, rax
mov rbx, qword [rsp + 0x70]
xchg rbx, rax
mov qword [rsp + 0x28], rax
xchg r9, r10
mov qword [rsp + 0x20], r10
xchg r10, r9
xchg r13, r8
mov r9, r13
xchg r8, r13
lea r8, [rsp + 0x36]
xchg r8, rdx
mov r8, r10
xchg rdx, r8
xchg r8, rcx
mov r8, r11
xchg rcx, r8
call fcn.1401945c0
nop
mov byte [rsp + rbx + 0x36], 7
add byte [rsp + rbx + 0x36], 0x71
xor byte [rsp + rbx + 0x36], 0x58
sub byte [rsp + rbx + 0x36], 0x11
add byte [rsp + rbx + 0x36], 0x67
sub byte [rsp + rbx + 0x36], 0x41
xor byte [rsp + rbx + 0x36], 0x35
inc rbx
cmp rbx, 8
jb 0x140194566
add rsp, 0x40
push rdx
push rax
push rax
push rax
push rcx
push rdx
push rdx
xchg qword [rsp + 0x38], rbx
add rsp, 0x40
nop
add rsp, 8
jmp qword [rsp - 8]
Function at 0x140199490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rdi
nop
mov qword [rsp - 8], r13
sub rsp, 8
sub rsp, 0x30
xor ebx, ebx
mov r13d, r8d
xchg rdi, r8
mov r8, rdx
xchg r8, rdi
test rdx, rdx
jne 0x1401994bf
mov eax, ebx
jmp 0x14019950a
mov eax, 0x7fe29528
xor eax, 0x4b091b41
sub eax, 0x191b83ac
add eax, 0x12b13691
xor eax, 0x1f540959
xor eax, 0x159b4daf
xor eax, 0x244e5ff5
cmp word [rdx], ax
je 0x1401994f9
xchg r13, rbx
mov rax, r13
xchg r13, rbx
jmp 0x14019950a
movsxd rax, dword [rdx + 0x3c]
add rax, rdi
cmp dword [rax], 0x4550
cmovne rax, rbx
xchg rbp, r12
mov qword [rsp + 0x50], r12
xchg r12, rbp
mov ecx, 0x14ba28a9
add ecx, 0x4389b6f
xor ecx, 0x624407ff
sub ecx, 0x368b16d0
sub ecx, 0x1551315f
sub ecx, 0x1064fcca
sub ecx, 0x1e757ce3
xchg rsi, rdi
mov qword [rsp + 0x58], rdi
xchg rsi, rdi
mov qword [rsp + 0x60], r12
xchg r11, r14
mov qword [rsp + 0x28], r11
xchg r11, r14
xchg r8, r15
mov qword [rsp + 0x20], r8
xchg r15, r8
cmp word [rax + 0x18], cx
jne 0x1401995d8
mov esi, dword [rax + 0x88]
add rsi, rdi
je 0x1401995d8
mov r14d, dword [rsi + 0x1c]
mov r15d, dword [rsi + 0x24]
add r14, rdi
mov r12d, dword [rsi + 0x20]
add r15, rdi
add r12, rdi
cmp dword [rsi + 0x18], 0
jbe 0x1401995d8
nop dword [rax]
nop dword [rax + rax]
mov eax, ebx
xor edx, edx
mov ecx, dword [r12 + rax*4]
movzx eax, word [r15 + rax*2]
add rcx, rdi
mov ebp, dword [r14 + rax*4]
add rbp, rdi
call fcn.1400763e0
cmp eax, r13d
je 0x140199622
inc ebx
cmp ebx, dword [rsi + 0x18]
jb 0x1401995a8
xor eax, eax
xchg r15, rbp
mov rbp, qword [rsp + 0x20]
xchg r15, rbp
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
nop
mov r13, qword [rsp]
add rsp, 8
nop
add rsp, 8
xchg qword [rsp - 8], rdi
nop
xchg qword [rsp], rbx
add rsp, 8
nop
add rsp, 8
jmp qword [rsp - 8]
xchg rsi, rax
mov rsi, rbp
xchg rsi, rax
jmp 0x1401995da
Function at 0x1401ab360
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r11, rdx
xchg r10, r14
mov r14, rcx
xchg r10, r14
test rdx, rdx
je 0x1401ab3de
mov qword [rsp], rbx
movzx ebx, byte [rsp + 0x30]
test r9, r9
je 0x1401ab3cb
movzx eax, byte [r10]
test bl, bl
je 0x1401ab3ad
lea rcx, [r9 - 1]
xchg rdx, r9
mov r9, rdx
xchg rdx, r9
add rcx, r8
nop
xor al, byte [rcx]
lea rcx, [rcx - 1]
mov byte [r10], al
sub rdx, 1
jne 0x1401ab39c
jmp 0x1401ab3cb
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
xor al, byte [rcx + r8]
inc rcx
mov byte [r10], al
cmp rcx, r9
jb 0x1401ab3bc
inc r10
sub r11, 1
jne 0x1401ab37e
xchg rbx, r9
mov r9, qword [rsp]
xchg r9, rbx
add rsp, 8
ret
Function at 0x1401b07a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, qword [rcx]
mov r9d, 0x6b53ed3
xor r9d, 0x70e0cd30
xor r9d, 0xc24b059
xor r9d, 0x9ad6c9b
xor r9d, 0x1e9a6bef
xor r9d, 0x3f2b9fdf
sub r9d, 0x526dd8a1
mov ecx, dword [r10]
cmp ecx, r9d
jne 0x1401b0833
lea r8, [r10 + 8]
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x1401b07ee
mov ecx, dword [r10]
jmp 0x1401b0960
cmp ecx, 0x4e0
jb 0x1401b0960
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0x306c9cdc
add ebx, 0x39c8315e
sub ebx, 0x3333da76
sub ebx, 0x2b411a4f
add ebx, 0x6c30c76a
xor ebx, 0x77f0a03c
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1401b0870
lea r11, [r10 + 0xd50]
mov ebx, 0xe33000
add ebx, 0x10eb98bc
xor ebx, 0x1e4361e2
add ebx, 0x293d83a9
sub ebx, 0xf01ba33
xor ebx, 0x29c97358
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1401b08e2
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 9
shr ecx, 1
shr ecx, 1
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 2
shl eax, 0xd
xor edx, eax
mov eax, edx
shr eax, 0x10
shr eax, 1
shr eax, 1
xor eax, edx
add rsp, 8
ret
Function at 0x1401b0f00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbx
mov qword [rsp], rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x40]
xchg rdx, rbx
mov rdi, rbx
xchg rbx, rdx
xchg rbx, r9
mov r9, rcx
xchg r9, rbx
mov byte [rax + rcx], 0x18
add byte [rax + rcx], 0x65
xor byte [rax + rcx], 0x11
xor byte [rax + rcx], 0x68
add byte [rax + rcx], 0x47
sub byte [rax + rcx], 0x17
add byte [rax + rcx], 0x25
add byte [rax + rcx], 0x27
lea r8d, [rax + 1]
cmp eax, 0x38
jae 0x1401b0f9f
cmp r8d, 0x38
jae 0x1401b1018
mov ecx, r8d
mov eax, 0x220395b9
xor eax, 0x1ca9f03c
xor eax, 0x675d1346
sub eax, 0x4be5e97b
add eax, 0x4100bcc2
sub eax, 0x373780ac
xor eax, 0x5ca59daa
sub eax, 0x30e35620
sub eax, 0x1a9bfe9c
sub eax, r8d
add rcx, rbx
mov r8d, eax
xor edx, edx
call fcn.1401fe0f6
jmp 0x1401b1018
cmp r8d, 0x40
jae 0x1401b0fe9
mov ecx, r8d
mov eax, 0x12625418
add eax, 0x2a21cc91
add eax, 0x325e3b29
sub eax, 0x3e068d2f
add eax, 0x48e13b96
xor eax, 0x7c9883f9
add eax, 0x3c2bf4b4
xor eax, 0x3db84222
sub eax, 0x7ce93c16
sub eax, r8d
add rcx, rbx
mov r8d, eax
xor edx, edx
call fcn.1401fe0f6
xchg r13, rbx
mov rdx, r13
xchg r13, rbx
mov rcx, rbx
call fcn.1401b1360
xorps xmm0, xmm0
xor eax, eax
xchg rsi, rbx
movups xmmword [rsi], xmm0
xchg rsi, rbx
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
xchg r11, rax
mov qword [rbx + 0x30], r11
xchg r11, rax
mov edx, dword [rbx + 0x40]
xchg r13, rbx
mov rcx, r13
xchg r13, rbx
shl edx, 1
shl edx, 1
shl edx, 1
add rdx, qword [rbx + 0x48]
mov rax, rdx
xchg rdx, r12
mov qword [rbx + 0x48], r12
xchg r12, rdx
shr rax, 8
mov byte [rbx + 0x3e], al
xchg r14, rax
mov r14, rdx
xchg r14, rax
shr rax, 0xb
shr rax, 1
shr rax, 3
shr rax, 1
mov byte [rbx + 0x3d], al
xchg rcx, rax
mov rcx, rdx
xchg rcx, rax
shr rax, 0x17
shr rax, 1
mov byte [rbx + 0x3c], al
mov rax, rdx
shr rax, 0x20
mov byte [rbx + 0x3b], al
xchg rdx, rcx
mov rax, rcx
xchg rcx, rdx
shr rax, 0x24
shr rax, 3
shr rax, 1
mov byte [rbx + 0x3a], al
mov rax, rdx
mov byte [rbx + 0x3f], dl
shr rdx, 0x20
shr rdx, 3
shr rdx, 0xb
shr rdx, 4
shr rdx, 2
shr rdx, 2
shr rdx, 1
shr rdx, 1
mov byte [rbx + 0x38], dl
xchg rbx, rdx
mov rbx, rdx
xchg rdx, rbx
shr rax, 0xa
shr rax, 6
shr rax, 0x1d
shr rax, 2
shr rax, 1
mov byte [rbx + 0x39], al
call fcn.1401b1360
xor r8d, r8d
lea rdx, [rdi + 8]
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rbx + 0x50]
lea rdx, [rdx + 1]
mov ecx, 0x64d4e6
add ecx, 0x12983e2a
add ecx, 0x44bd4d09
sub ecx, 0x5442568b
xor ecx, 0x5846dc2b
xor ecx, 0x7fe5e6e7
add ecx, 0x51457aa8
sub ecx, 0x7422a3e1
sub ecx, 0x1fe09f1
lea rdi, [rdi + 1]
sub ecx, r8d
nop
sub r8d, 0x4ab8f8c9
add r8d, 0x4ab8f8d1
shr eax, cl
mov byte [rdi - 1], al
mov eax, dword [rbx + 0x54]
shr eax, cl
mov byte [rdx - 5], al
mov eax, dword [rbx + 0x58]
shr eax, cl
mov byte [rdx - 1], al
mov eax, dword [rbx + 0x5c]
shr eax, cl
mov byte [rdx + 3], al
mov eax, dword [rbx + 0x60]
shr eax, cl
mov byte [rdx + 7], al
cmp r8d, 0x20
jb 0x1401b10eb
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
nop
mov rdi, qword [rsp]
add rsp, 8
nop
add rsp, 8
jmp qword [rsp - 8]
Function at 0x1401fda6c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
push rbp
call 0x140d3fd67
test rax, rax
je 0x1401fdab6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401fdab6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401fdab6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401fdab6
cmp dword [rcx + 0x84], 0xe
jbe 0x1401fdab6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401fdab8
xor al, al
add rsp, 0x28
ret

Function at 0x14022c570
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x14022c59d
xor al, al
jmp 0x14022c6ff
mov rax, qword [0x14024b6c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x14024b6c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x14024b6d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x14024b6d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x14024b6e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x14024b6e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x14024b6f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x14024b6f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x14024b700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x14022c6f1
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x14022c649
mov r11d, 2
jmp 0x14022c66d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x14022c663
mov r11d, 1
jmp 0x14022c66d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x14022c715
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x14022c6b2
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x14022c6ca
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x14022c6da
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x14022c6e8
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x14022c630
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x14022c6fa
Function at 0x1406fceb0
Capabilities:
Execute syscall

Disassembly:
syscall
ret
mov r10, rcx
jmp 0x1403770af

Function at 0x140baf953
Capabilities:
Execute syscall

Disassembly:
syscall
ret
mov r10, rcx
jmp 0x140a4c56d

Function at 0x140d24208
Capabilities:
Execute syscall

Disassembly:
syscall
ret
mov r10, rcx
jmp 0x140267fcf
Function at 0x140001dd8
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 0x140001e28
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.14000fea0
test eax, eax
jne 0x14000200a
lea edx, [rax + 0x70]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.RPCRT4.dll_RpcAsyncInitializeHandle]
mov edi, eax
test eax, eax
jne 0x140001ec7
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 0x140001ec7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x14000200a
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, [0x14001a372]
lea rcx, [0x14001a2d0]
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 0x140001f72
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 0x140001fd2
cmp qword [rsp + 0x198], 0
jne 0x140001fd2
test rbx, rbx
je 0x140001fc7
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 0x140001fee
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0xd0], 0
lea rcx, [rsp + 0x1b8]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
jmp 0x14000200a
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 0x1400025c8
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 0x140002603
mov eax, r12d
jmp 0x140002619
cmp word [rcx], r12w
je 0x140002613
add rax, 2
cmp word [rax], r12w
jne 0x140002609
sub rax, rbx
sar rax, 1
lea r13, [0x14001db68]
mov rcx, r13
add rcx, 2
cmp word [rcx], r12w
jne 0x140002623
sub rcx, r13
lea rdi, [rax + 2]
sar rcx, 1
mov edx, 8
add rdi, rcx
mov rcx, qword [0x140025290]
mov rcx, qword [rcx + 0x18]
lea r8, [rdi + rdi]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
test rax, rax
je 0x1400026f9
mov rdx, rbx
mov rcx, rax
call fcn.140001b70
mov r8, rdi
mov rdx, r13
call fcn.14000ffe4
lea rdx, [rsp + 0x270]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov r13d, 1
cmp rax, 0xffffffffffffffff
je 0x1400026d0
mov r8, r15
lea rdx, [rsp + 0x270]
mov rcx, rbx
call fcn.140002810
test eax, eax
jne 0x1400026c4
lea rdx, [rsp + 0x270]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400026c7
jmp 0x140002696
mov ebp, r13d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [0x140025290]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test ebp, ebp
je 0x1400026f2
mov eax, r13d
jmp 0x1400027ee
lea r13, [0x14001db68]
mov rax, rbx
test rbx, rbx
jne 0x140002706
mov rax, r12
jmp 0x14000271c
cmp word [rbx], r12w
je 0x140002716
add rax, 2
cmp word [rax], r12w
jne 0x14000270c
sub rax, rbx
sar rax, 1
mov rcx, qword [0x140025290]
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 0x1400027ee
mov rdx, rbx
mov rcx, rdi
call fcn.140001b70
mov r8, rsi
lea rdx, [0x14001d8b8]
call fcn.14000ffe4
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400027d5
test byte [rsp + 0x20], 0x10
je 0x1400027ba
cmp word [rsp + 0x4c], 0x2e
je 0x1400027ba
mov rdx, rbx
mov rcx, rdi
call fcn.140001b70
lea rdx, [rsp + 0x4c]
call fcn.140001ac8
lea r8, [fcn.140002810]
mov rdx, r13
mov rcx, rdi
mov r9, r15
call fcn.1400025c8
mov r14d, eax
test eax, eax
jne 0x1400027cc
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000277a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [0x140025290]
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
Function at 0x140003790
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xfa8]
mov eax, 0x1080
call fcn.1400143e0
sub rsp, rax
mov rbx, rcx
lea rdi, [rsp + 0x30]
xor esi, esi
lea rdx, [rsp + 0x50]
xor eax, eax
mov dword [rbp + 0xfc0], esi
mov dword [rbp + 0xfb8], esi
mov r15d, 0x1000
lea ecx, [rsi + 0x10]
rep stosb byte [rdi], al
mov eax, dword [rbx + 8]
lea rdi, [rsp + 0x40]
mov dword [rsp + 0x3c], eax
lea ecx, [rsi + 0x38]
xor eax, eax
mov dword [rsp + 0x30], 0x30b0005
rep stosb byte [rdi], al
lea r14d, [rsi + 1]
mov dword [rsp + 0x34], InitCommonControls
lea rcx, str.367abb81_9844_35f1_ad32_98f038001003
mov dword [rsp + 0x38], 0x48
lea r12d, [rsi + 5]
mov qword [rsp + 0x40], 0x10001000
mov byte [rsp + 0x48], r14b
mov dword [rsp + 0x4c], 0x10000
mov dword [rsp + 0x74], 2
call qword [sym.imp.RPCRT4.dll_UuidFromStringW]
test eax, eax
jne 0x14000393f
lea rdx, [rsp + 0x64]
mov dword [rsp + 0x60], 2
lea rcx, str.8a885d04_1ceb_11c9_9fe8_08002b104860
call qword [sym.imp.RPCRT4.dll_UuidFromStringW]
test eax, eax
jne 0x14000393f
mov rcx, qword [rbx]
lea r9, [rbp + 0xfc0]
lea r8d, [rsi + 0x10]
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000393f
mov rcx, qword [rbx]
lea r9, [rbp + 0xfc0]
lea r8d, [rsi + 0x38]
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000393f
add dword [rbx + 8], r14d
lea rdi, [rbp - 0x80]
xor eax, eax
mov qword [rsp + 0x20], rsi
mov ecx, r15d
lea r9, [rbp + 0xfb8]
rep stosb byte [rdi], al
mov rcx, qword [rbx]
lea rdx, [rbp - 0x80]
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000393f
cmp word [rbp - 0x80], r12w
jne 0x14000393f
cmp byte [rbp - 0x7e], 0xc
jne 0x14000393f
cmp byte [rbp - 0x7d], 3
jne 0x14000393f
movzx eax, word [rbp - 0x78]
cmp eax, dword [rbp + 0xfb8]
jne 0x14000393f
mov eax, pe_nt_image_headers64
cmp word [rbp - 0x68], ax
ja 0x14000393f
movzx edx, word [rbp - 0x68]
lea rcx, [rdx + 5]
and rcx, 0xfffffffffffffffc
sub rcx, rdx
sub rcx, 2
mov ecx, ecx
add rcx, rdx
cmp dword [rbp + rcx - 0x66], r14d
jne 0x14000393f
cmp word [rbp + rcx - 0x62], si
jne 0x14000393f
mov eax, r14d
jmp 0x140003941
xor eax, eax
lea r11, [rsp + 0x1080]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140003960
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xf40]
mov eax, 0x1040
call fcn.1400143e0
sub rsp, rax
xor esi, esi
mov rbx, rcx
mov dword [rbp + 0xf70], esi
mov dword [rbp + 0xf80], esi
cmp dword [rcx + 0x10], esi
je 0x140003afb
mov dword [rcx + 0x10], esi
cmp dword [rcx + 0xc], esi
jne 0x140003afb
xor eax, eax
mov qword [rsp + 0x20], rsi
lea r8d, [rsi + 0x10]
mov ecx, r8d
lea rdi, [rsp + 0x30]
rep stosb byte [rdi], al
movzx eax, word [rbx + 0x814]
lea rdi, [rbp + 0xf88]
add ax, 0x18
mov dword [rsp + 0x30], 0x3000005
mov word [rsp + 0x38], ax
lea ecx, [rsi + 8]
mov eax, dword [rbx + 8]
lea r9, [rbp + 0xf70]
mov dword [rsp + 0x3c], eax
lea r14d, [rsi + 5]
xor eax, eax
mov dword [rsp + 0x34], r8d
rep stosb byte [rdi], al
mov rcx, qword [rbx]
mov word [rbp + 0xf8e], dx
lea rdx, [rsp + 0x30]
mov word [rsp + 0x3a], si
mov dword [rbp + 0xf88], esi
mov word [rbp + 0xf8c], si
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140003afb
mov rcx, qword [rbx]
lea r9, [rbp + 0xf70]
lea r8d, [rsi + 8]
mov qword [rsp + 0x20], rsi
lea rdx, [rbp + 0xf88]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140003afb
mov r8d, dword [rbx + 0x814]
lea rdx, [rbx + 0x14]
mov rcx, qword [rbx]
lea r9, [rbp + 0xf70]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140003afb
inc dword [rbx + 8]
lea rdi, [rsp + 0x40]
mov edx, 0x1000
mov qword [rsp + 0x20], rsi
mov ecx, edx
lea r9, [rbp + 0xf80]
xor eax, eax
mov r8d, edx
rep stosb byte [rdi], al
mov rcx, qword [rbx]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140003afb
cmp word [rsp + 0x40], r14w
jne 0x140003afb
cmp byte [rsp + 0x42], 2
jne 0x140003afb
cmp byte [rsp + 0x43], 3
jne 0x140003afb
movzx edi, word [rsp + 0x48]
cmp edi, dword [rbp + 0xf80]
jne 0x140003afb
cmp word [rsp + 0x54], si
jne 0x140003afb
add edi, 0xffffffe8
cmp edi, 0x800
ja 0x140003afb
mov r8d, edi
lea rcx, [rbx + 0x818]
lea rdx, [rsp + 0x58]
call fcn.140013bc0
lea eax, [rsi + 1]
mov dword [rbx + 0x1018], edi
jmp 0x140003afd
xor eax, eax
add rsp, 0x1040
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret