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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rdx
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
add rcx, 0x30
lea rdx, [rbp - 0x41]
call fcn.1400d4c30
nop
xor esi, esi
mov qword [rbp - 0x49], rsi
test r15, r15
je 0x1400a0783
mov dword [rbp - 0x79], 0x3075dbe3
mov dword [rbp - 0x75], 0x4cfa8718
mov dword [rbp - 0x71], 0x1421fb86
mov dword [rbp - 0x6d], 0x51a4a5c0
mov rax, qword [r15]
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x79]
mov rcx, r15
call qword [rax + 0x10]
test eax, eax
jne 0x1400a0783
mov rbx, qword [rbp - 0x49]
jmp 0x1400a078a
mov rbx, rsi
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x61], rbx
mov r14, qword [rdi + 0x78]
cmp r14, rbx
je 0x1400a07b7
mov qword [rdi + 0x78], rbx
test rbx, rbx
je 0x1400a07a8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
test r14, r14
je 0x1400a07b7
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 8]
nop
test rbx, rbx
je 0x1400a07c6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rcx, qword [rdi + 0x78]
mov qword [rbp - 0x69], rcx
test rcx, rcx
je 0x1400a07d8
mov rax, qword [rcx]
call qword [rax]
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.140098e40
nop
cmp qword [rdi + 0x78], 0
je 0x1400a086c
lea r8, [rdi + 0x5a8]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x1400a0801
mov rdx, qword [r8]
movabs r9, 0xcbf29ce484222325
mov rcx, qword [r8 + 0x10]
add rcx, rcx
je 0x1400a0833
movabs r10, 0x100000001b3
nop
movzx eax, byte [rsi + rdx]
xor r9, rax
imul r9, r10
inc rsi
cmp rsi, rcx
jb 0x1400a0820
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x21]
call fcn.140008a10
cmp qword [rax + 8], 0
je 0x1400a086c
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x78]
call fcn.140061c90
mov rcx, rax
call fcn.14001dc40
test eax, eax
setg al
mov byte [rdi + 0x4d1], al
jmp 0x1400a0877
mov rax, qword [rdi]
mov dl, 1
mov rcx, rdi
call qword [rax + 0x78]
mov rdx, r15
mov rcx, rdi
call fcn.140087910
mov esi, eax
lea rcx, [rbp - 0x21]
call fcn.140012020
nop
mov rax, qword [rbp - 0x39]
test rax, rax
je 0x1400a08c8
mov edi, 0xffffffff
mov ecx, edi
lock xadd dword [rax + 8], ecx
cmp ecx, 1
jne 0x1400a08c8
mov rbx, qword [rbp - 0x39]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400a08c8
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, esi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14014f2f0
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a2e30
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x310
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rsp + 0x308], rax
mov rsi, rdx
mov rbx, rcx
mov qword [r11 - 0x58], rdx
xorps xmm0, xmm0
movups xmmword [r11 - 0x30], xmm0
add rcx, 0x30
lea rdx, [r11 - 0x30]
call fcn.1400d4ad0
nop
mov rdx, rsi
lea rcx, [rsp + 0x100]
call fcn.14003b680
mov r8d, reloc.SHLWAPI.dll_SHCreateMemStream
mov rdx, rax
mov rcx, rbx
call fcn.140086310
mov byte [rbx + 0x4f0], 0
mov rcx, qword [rbx + 0x4e8]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rax, [0x1400a3940]
mov qword [rsp + 0x30], rax
xor edi, edi
mov dword [rsp + 0x38], edi
lea ecx, [rdi + 0x18]
call fcn.14014f310
mov qword [rax], rbx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax + 8], xmm0
mov qword [rsp + 0x2f0], rax
lea rcx, [rsp + 0x2e8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14008bac0]
xor edx, edx
xor ecx, ecx
call fcn.14016b4dc
mov qword [rsp + 0x2e0], rax
test rax, rax
je 0x1400a30a2
cmp dword [rsp + 0x2e8], edi
je 0x1400a30b4
movaps xmm0, xmmword [rsp + 0x2e0]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140129c40
test eax, eax
jne 0x1400a30bf
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x2e0], xmm0
mov qword [rbx + 0x500], 0x100
mov qword [rbx + 0x4f8], rdi
lea rcx, [rbx + 0x508]
lea rdx, str.Unknown_Format
call fcn.14000ade0
lea rcx, [rbx + 0x528]
lea rdx, [0x1401e6e48]
call fcn.14000ade0
mov qword [rbx + 0x570], rdi
mov qword [rbx + 0x578], rdi
mov qword [rbx + 0x580], rdi
mov byte [rbx + 0x54c], dil
lea rcx, [rbx + 0x550]
xor r8d, r8d
lea rdx, [0x1401c16d8]
call fcn.140005060
lea rdx, [rsi + 0x48]
lea rcx, [rsp + 0x60]
call fcn.14000fad0
mov r8, qword [rbx]
mov rdx, rax
mov rcx, rbx
call qword [r8 + 0x70]
call fcn.1400616f0
mov rcx, rax
lea r9, [rbx + 0x4d0]
lea edx, [rdi + 7]
mov r8d, 0x8082
call fcn.1400572d0
call fcn.1400616f0
mov rcx, rax
lea r9, [rbx + 0x4d0]
lea edx, [rdi + 7]
mov r8d, 0x8092
call fcn.1400572d0
nop
cmp dword [rsp + 0x2e8], edi
jne 0x1400a309c
mov rbx, qword [rsp + 0x300]
test rbx, rbx
je 0x1400a3050
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a3050
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400a3050
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rcx, [rsi + 0x48]
call fcn.14000fbc0
nop
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400a306a
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400a3079
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x308]
xor rcx, rsp
call fcn.14014f2f0
mov rbx, qword [rsp + 0x340]
add rsp, 0x310
pop rdi
pop rsi
pop rbp
ret
call fcn.14016b5bc
nop
mov dword [rsp + 0x2e8], edi
mov ecx, 6
call fcn.140129a18
nop
mov ecx, 1
call fcn.140129a18
int3
mov ecx, eax
call fcn.1401299dc
int3
Function at 0x1400c4be0
Capabilities:
Hash data using fnv
Register raw input devices

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebp, ebp
lea rsi, [rcx + 0x4d0]
test rcx, rcx
mov rbx, rsi
mov rdi, rcx
cmove rbx, rbp
call fcn.1400616f0
mov rcx, rax
lea edx, [rbp + 7]
mov r9, rbx
mov r8d, 0x8097
call fcn.1400572d0
call fcn.1400616f0
lea edx, [rbp + 7]
mov rcx, rax
mov r8d, 0x8124
test rdi, rdi
je 0x1400c4c43
mov r9, rsi
call fcn.1400572d0
jmp 0x1400c4c4e
xor r9d, r9d
call fcn.1400572d0
mov rsi, rbp
call fcn.1400616f0
mov rcx, rax
mov r9, rsi
mov edx, 7
mov r8d, 0x8082
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400572d0
Function at 0x1400d11e0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov r15, rdx
mov rsi, rcx
cmp rdx, r8
je 0x1400d12f5
mov rax, qword [rcx + 8]
mov qword [rsp + 0x30], rax
mov rdx, qword [rcx + 0x18]
mov qword [rsp + 0x38], rdx
mov rax, qword [r15 + 8]
mov qword [rsp + 0x20], rax
mov rbx, r15
movzx ecx, byte [r15 + 0x10]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
movzx eax, byte [r15 + 0x11]
xor rcx, rax
imul rcx, r8
movzx eax, byte [r15 + 0x12]
xor rcx, rax
imul rcx, r8
movzx eax, byte [r15 + 0x13]
xor rcx, rax
imul rcx, r8
mov r12, qword [rsi + 0x30]
and r12, rcx
shl r12, 4
add r12, rdx
mov rax, qword [r12]
mov qword [rsp + 0x28], rax
mov r13, qword [r12 + 8]
nop dword [rax]
mov rbp, rbx
mov rdi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x60]
call fcn.14000fbc0
nop
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400d12b3
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400d12c3
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov edx, 0x1e8
mov rcx, rdi
call fcn.14014f59c
dec qword [rsi + 0x10]
cmp rbp, r13
je 0x1400d1316
cmp rbx, r14
jne 0x1400d1290
cmp qword [rsp + 0x28], r15
jne 0x1400d12e9
mov qword [r12], rbx
mov rax, qword [rsp + 0x20]
mov qword [rax], rbx
mov qword [rbx + 8], rax
mov rax, r14
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r13, qword [rsp + 0x30]
cmp qword [rsp + 0x28], r15
jne 0x1400d132b
mov qword [r12], r13
mov rax, r13
jmp 0x1400d1330
mov rax, qword [rsp + 0x20]
mov qword [r12 + 8], rax
cmp rbx, r14
je 0x1400d12e9
movzx ecx, byte [rbx + 0x10]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
movzx eax, byte [rbx + 0x11]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rbx + 0x12]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rbx + 0x13]
xor rcx, rax
imul rcx, rdx
mov r12, qword [rsi + 0x30]
and r12, rcx
shl r12, 4
add r12, qword [rsp + 0x38]
mov r15, qword [r12 + 8]
nop
mov rbp, rbx
mov rdi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x60]
call fcn.14000fbc0
nop
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1400d13b3
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400d13c3
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov edx, 0x1e8
mov rcx, rdi
call fcn.14014f59c
dec qword [rsi + 0x10]
cmp rbp, r15
je 0x1400d13e4
cmp rbx, r14
je 0x1400d12e5
jmp 0x1400d1390
mov qword [r12], r13
mov qword [r12 + 8], r13
jmp 0x1400d1335
Function at 0x1400deb70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov rbx, qword [rcx + 0x118]
mov byte [rbx + 0x5c8], 0
mov rcx, qword [rbx + 0x618]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rax, [0x1400ba7b0]
mov qword [rsp + 0x30], rax
xor esi, esi
mov dword [rsp + 0x38], esi
lea ecx, [rsi + 0x18]
call fcn.14014f310
mov qword [rax], rbx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax + 8], xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14008bac0]
xor edx, edx
xor ecx, ecx
call fcn.14016b4dc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400ded33
cmp dword [rsp + 0x48], esi
je 0x1400ded42
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.140129c40
test eax, eax
jne 0x1400ded4d
mov rcx, qword [rdi + 0x128]
call fcn.1400c4be0
mov rcx, qword [rdi + 0x138]
call fcn.1400c4be0
mov rdi, qword [rdi + 0x1b8]
mov byte [rdi + 0x4f9], sil
call fcn.1400616f0
mov rcx, rax
lea r9, [rdi + 0x4d0]
lea edx, [rsi + 7]
mov r8d, 0x8082
call fcn.1400572d0
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x500], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rax, [0x1400b71a0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], esi
lea ecx, [rsi + 0x18]
call fcn.14014f310
mov qword [rax], rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax + 8], xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14008bac0]
xor edx, edx
xor ecx, ecx
call fcn.14016b4dc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400ded24
cmp dword [rsp + 0x48], esi
je 0x1400ded55
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.140129c40
test eax, eax
jne 0x1400ded60
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14014f2f0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov dword [rsp + 0x48], esi
mov ecx, 6
call fcn.140129a18
nop
mov dword [rsp + 0x48], esi
mov ecx, 6
call fcn.140129a18
nop
mov ecx, 1
call fcn.140129a18
int3
mov ecx, eax
call fcn.1401299dc
nop
mov ecx, 1
call fcn.140129a18
int3
mov ecx, eax
call fcn.1401299dc
int3
Function at 0x1400f26b0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400f26d2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400f274c
mov rdi, r14
mov rcx, rbx
call fcn.140051d50
test rax, rax
jle 0x1400f2724
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140151a90
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400f273c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400f2744
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400f26e6
sub r14, rdi
jmp 0x1400f2839
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400f2763
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400f2765
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400f279a
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140151a90
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400f2836
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x1400f27d5
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x1400f2811
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14016f3b4
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x1400f284f
cmp rbp, rax
ja 0x1400f27e1
mov r8, rdi
test rdi, rdi
je 0x1400f2836
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14016f3b4
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x1400f2839
Function at 0x1400ff670
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
call fcn.140061c90
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1400219e0
nop
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax]
mov rax, qword [rbx]
cmp rax, qword [rcx + 0x2b0]
jne 0x1400ff6d3
mov rax, qword [rbx + 8]
cmp rax, qword [rcx + 0x2b8]
jne 0x1400ff6d3
mov eax, dword [rbx + 0x10]
cmp eax, dword [rcx + 0x2c0]
je 0x1400ff710
movaps xmm0, xmmword [rbx]
movups xmmword [rcx + 0x2b0], xmm0
mov eax, dword [rbx + 0x10]
mov dword [rcx + 0x2c0], eax
xor edx, edx
lea rcx, [0x14002ec70]
call qword [sym.imp.USER32.dll_EnumWindows]
call fcn.1400616f0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80a3
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_PostMessageW]
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400ff74d
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400ff74d
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400ff74d
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14014f2f0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140100730
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov ecx, 0x400
mov rbx, 0xffffffffffffffff
call fcn.1401567b4
xor edx, edx
mov r8d, 0x400
mov rcx, rax
mov rdi, rax
call fcn.140152140
mov rcx, rdi
call fcn.140100ed0
test eax, eax
je 0x1401008d4
mov qword [rsp + 0x98], rsi
xor r9d, r9d
xor esi, esi
xor r8d, r8d
mov qword [rsp + 0x30], rsi
mov edx, 0xc0000000
mov dword [rsp + 0x28], esi
mov rcx, rdi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401008cc
lea r8, [rsp + 0x68]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ClearCommError]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x48], 0xa
mov rcx, rbx
mov qword [rsp + 0x50], Ordinal_102
mov dword [rsp + 0x58], Ordinal_102
call qword [sym.imp.KERNEL32.dll_SetCommTimeouts]
test eax, eax
jne 0x140100808
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [rsi - 1]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rsi
mov r8d, 1
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140100890
mov qword [rsp + 0x90], rbp
lea rbp, [0x14023d5e0]
nop dword [rax]
cmp dword [rsp + 0x44], 1
jne 0x140100888
movsxd rdx, dword [0x14023d7e0]
cmp edx, 0x1ff
jge 0x140100866
movzx eax, byte [rsp + 0x40]
mov byte [rdx + rbp], al
inc edx
mov dword [0x14023d7e0], edx
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rsi
mov r8d, 1
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140100840
mov rbp, qword [rsp + 0x90]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x48], 0x3e8
mov rcx, rbx
mov qword [rsp + 0x50], 0x3e8
mov dword [rsp + 0x58], 0x3e8
call qword [sym.imp.KERNEL32.dll_SetCommTimeouts]
test eax, eax
jne 0x1401008cc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, 0xffffffffffffffff
mov rsi, qword [rsp + 0x98]
mov edx, 2
mov rcx, rdi
call fcn.14014f59c
mov rax, rbx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14014f2f0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x140100910
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [rsp + 0xa8]
mov rsi, r9
mov byte [rsp + 0x30], cl
mov edi, r8d
mov rbp, rdx
test cl, cl
je 0x140100963
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], 0
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test edi, edi
jle 0x14010099e
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], 0
mov r8d, edi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14010098e
cmp dword [rsp + 0x38], edi
je 0x14010099e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1401009f0
mov edi, dword [rsp + 0xa0]
test edi, edi
jle 0x1401009ee
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], 0
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401009d0
cmp dword [rsp + 0x38], edi
je 0x1401009ee
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x38], 1
jne 0x1401009e7
movsx eax, byte [rsi]
cmp al, 0x10
jl 0x1401009f0
mov eax, 2
jmp 0x1401009f0
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14014f2f0
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140100da0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push r12
push r15
sub rsp, 0x68
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov r12, r8
mov r15, rdx
mov rbp, rcx
cmp rcx, 0xffffffffffffffff
je 0x140100ec2
lea rax, [rsp + 0x38]
mov dword [rsp + 0x34], ebx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x38], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140100ec2
cmp dword [rsp + 0x34], 1
jne 0x140100ec2
mov eax, dword [rsp + 0x38]
cmp eax, 0x400
jae 0x140100ec2
mov qword [rsp + 0x60], rsi
lea esi, [rax + 2]
mov qword [rsp + 0x58], rdi
mov ecx, esi
mov qword [rsp + 0x50], r14
mov r14d, esi
call fcn.1401567b4
mov rdi, rax
test rax, rax
je 0x140100e99
mov word [rax], bx
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140100e91
mov eax, dword [rsp + 0x30]
cmp eax, esi
ja 0x140100e91
shr rax, 1
cmp word [rdi + rax*2 - 2], bx
je 0x140100e7e
mov word [rdi + rax*2], bx
mov r8, rdi
mov rdx, r14
mov rcx, r12
call fcn.140155cf8
mov ebx, 1
mov rcx, rdi
call fcn.140155e3c
mov rdi, qword [rsp + 0x58]
mov eax, ebx
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14014f2f0
add rsp, 0x68
pop r15
pop r12
pop rbp
pop rbx
ret
mov eax, ebx
jmp 0x140100eaa
Function at 0x1401059d0
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x1401059f8
mov rcx, qword [rcx]
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x140105a1a
mov rbx, qword [rsp + 0x20]
shr rbx, 0x14
mov rcx, rdi
call fcn.140004ff0
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14014f2f0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140105d10
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rbx, rcx
xor r14d, r14d
mov edi, r14d
mov r8, rcx
cmp qword [rcx + 0x18], 8
jb 0x140105d54
mov r8, qword [rcx]
mov edx, 0x104
lea rcx, [rbp + 0x5b0]
call fcn.140155cf8
lea r8, [0x1401f6d30]
mov edx, 0x104
lea rcx, [rbp + 0x5b0]
call fcn.14016de4c
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x5b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140105eda
nop dword [rax]
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x140105dad
mov r8, qword [rbx]
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140155cf8
lea r8, [rsp + 0x6c]
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.14016de4c
movzx eax, word [rsp + 0x6c]
test byte [rsp + 0x40], 0x10
je 0x140105ea6
movzx ecx, word [rsp + 0x6e]
cmp ax, 0x2e
jne 0x140105e0e
test cx, cx
je 0x140105ea6
cmp ax, ax
jne 0x140105e0e
cmp cx, ax
jne 0x140105e0e
cmp word [rsp + 0x70], 0
je 0x140105ea6
lea r8, [rbp + 0x190]
mov edx, 0x104
lea rcx, [rbp + 0x3a0]
call fcn.140155cf8
lea r8, [0x1401c8320]
mov edx, 0x104
lea rcx, [rbp + 0x3a0]
call fcn.14016de4c
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r14w
lea rax, [rbp + 0x3a0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140105e65
lea rdx, [rbp + 0x3a0]
lea rcx, [rsp + 0x20]
call fcn.140005060
nop
lea rcx, [rsp + 0x20]
call fcn.140105d10
nop
lea rcx, [rsp + 0x20]
call fcn.140004ff0
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140105eb9
cmp ax, 0x2e
je 0x140105ebb
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140105da0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.14014f2f0
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret