joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140423a40
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov eax, 0x40
mov ecx, dword [rcx]
mov rdi, rdx
and ecx, 0x3f
mov byte [rcx + rbx + 0x18], 0x80
inc ecx
sub eax, ecx
cmp eax, 8
jae 0x140423a94
mov r8d, eax
xor edx, edx
mov eax, ecx
lea rcx, [rbx + 0x18]
add rcx, rax
call fcn.140502370
lea rdx, [rbx + 0x18]
mov r8d, 0x40
mov rcx, rbx
call fcn.140423110
xor ecx, ecx
mov eax, 0x40
add eax, 0xfffffff8
xor edx, edx
mov r8d, eax
mov eax, ecx
lea rcx, [rbx + 0x18]
add rcx, rax
call fcn.140502370
shl dword [rbx], 3
lea rdx, [rbx + 0x18]
movzx eax, byte [rbx]
mov r8d, 0x40
mov byte [rbx + 0x50], al
mov rcx, rbx
mov eax, dword [rbx]
shr eax, 8
mov byte [rbx + 0x51], al
movzx eax, byte [rbx + 2]
mov byte [rbx + 0x52], al
movzx eax, byte [rbx + 3]
mov byte [rbx + 0x53], al
movzx eax, byte [rbx + 4]
mov byte [rbx + 0x54], al
mov eax, dword [rbx + 4]
shr eax, 8
mov byte [rbx + 0x55], al
movzx eax, byte [rbx + 6]
mov byte [rbx + 0x56], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0x57], al
call fcn.140423110
movzx eax, byte [rbx + 8]
xor edx, edx
mov byte [rdi], al
mov r8d, 0x98
mov eax, dword [rbx + 8]
shr eax, 8
mov byte [rdi + 1], al
movzx eax, byte [rbx + 0xa]
mov byte [rdi + 2], al
movzx eax, byte [rbx + 0xb]
mov byte [rdi + 3], al
movzx eax, byte [rbx + 0xc]
mov byte [rdi + 4], al
mov eax, dword [rbx + 0xc]
shr eax, 8
mov byte [rdi + 5], al
movzx eax, byte [rbx + 0xe]
mov byte [rdi + 6], al
movzx eax, byte [rbx + 0xf]
mov byte [rdi + 7], al
movzx eax, byte [rbx + 0x10]
mov byte [rdi + 8], al
mov eax, dword [rbx + 0x10]
shr eax, 8
mov byte [rdi + 9], al
movzx eax, byte [rbx + 0x12]
mov byte [rdi + 0xa], al
movzx eax, byte [rbx + 0x13]
mov byte [rdi + 0xb], al
movzx eax, byte [rbx + 0x14]
mov byte [rdi + 0xc], al
mov eax, dword [rbx + 0x14]
shr eax, 8
mov byte [rdi + 0xd], al
movzx eax, byte [rbx + 0x16]
mov byte [rdi + 0xe], al
movzx eax, byte [rbx + 0x17]
mov byte [rdi + 0xf], al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140502370
Function at 0x140423c50
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
movsxd rax, dword [rcx]
cmp eax, 0xe
ja case.default.0x140423c7a
lea r8, [0x140000000]
mov edx, dword [r8 + rax*4 + 0x423d58]
add rdx, r8
jmp rdx
xor eax, eax
mov dword [rcx + 8], 0x67452301
mov qword [rcx + 0x20], rax
mov dword [rcx + 0xc], 0xefcdab89
mov dword [rcx + 0x10], 0x98badcfe
mov dword [rcx + 0x14], 0x10325476
mov dword [rcx + 0x18], 0xc3d2e1f0
jmp case.default.0x140423c7a
xor eax, eax
mov dword [rcx + 0x10], 0x67452301
mov qword [rcx + 8], rax
mov dword [rcx + 0x14], 0xefcdab89
mov dword [rcx + 0x18], 0x98badcfe
mov dword [rcx + 0x1c], 0x10325476
jmp case.default.0x140423c7a
xor eax, eax
mov dword [rcx + 8], 0x67452301
mov dword [rcx + 0x1c], eax
mov dword [rcx + 0xc], 0xefcdab89
mov dword [rcx + 0x10], 0x98badcfe
mov qword [rcx + 0x14], 0x10325476
jmp case.default.0x140423c7a
add rcx, 8
call fcn.1404223a0
jmp case.default.0x140423c7a
add rcx, 8
call fcn.1404227b0
jmp case.default.0x140423c7a
add rcx, 8
call fcn.140422820
jmp case.default.0x140423c7a
add rcx, 8
call fcn.140422d60
jmp case.default.0x140423c7a
mov edx, 0xe0
jmp 0x140423d38
mov edx, 0x100
jmp 0x140423d38
mov edx, 0x180
jmp 0x140423d38
mov edx, 0x200
add rcx, 8
call fcn.1403f6530
mov rcx, qword [rbx]
add rcx, 0x1a8
add rsp, 0x20
pop rbx
jmp fcn.14037abc0
Function at 0x140425b60
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov dword [rcx + 0x1384], 0xffffffff
lea r10, [rcx + 8]
mov r8d, 0x1571
mov rbx, rcx
mov dword [rcx + 4], r8d
mov r9d, 1
mov ecx, 0x26f
nop dword [rax]
mov eax, r8d
lea r10, [r10 + 4]
shr eax, 0x1e
xor eax, r8d
imul r8d, eax, 0x6c078965
add r8d, r9d
inc r9d
mov dword [r10 - 4], r8d
sub rcx, 1
jne 0x140425b90
mov rcx, rbx
mov dword [rbx], 0x270
call fcn.140425c40
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140425ce0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx]
mov r9d, 0x270
mov rbx, rcx
cmp eax, r9d
jne 0x140425d3b
lea r8, [rcx + 8]
nop word [rax + 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 0x140425d00
jmp 0x140425d47
cmp eax, 0x4e0
jb 0x140425d47
call fcn.140425d90
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 0x1384]
shr ecx, 0xb
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, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret

Function at 0x140425d90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r10, rcx
lea r9, [rcx + 0x9c4]
mov r11d, 0xe3
mov edx, dword [r9]
xor edx, dword [r9 + 4]
lea r9, [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x630]
xor ecx, edx
mov dword [r9 - 0x9c4], ecx
sub r11, 1
jne 0x140425da0
lea r9, [r10 + 0xd50]
mov r11d, 0x18c
nop word [rax + rax]
mov edx, dword [r9]
xor edx, dword [r9 + 4]
lea r9, [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 - 0xd50]
xor ecx, edx
mov dword [r9 - 0x9c4], ecx
sub r11, 1
jne 0x140425df0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
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
mov dword [r10], r11d
ret
Function at 0x140425e70
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x140425f0a
mov qword [rsp + 0x30], rbp
mov ebp, 1
mov qword [rsp + 0x38], r14
lea r14, [0x140585500]
cmp rcx, r14
jne 0x140425ec1
xor eax, eax
lock cmpxchg qword [0x1405854c0], rbp
je 0x140425ec1
lea rcx, [0x1405854c0]
call fcn.1403c36f0
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140425bd0
cmp rbx, r14
mov r14, qword [rsp + 0x38]
jne 0x140425ef5
xor edx, edx
mov rax, rbp
lock cmpxchg qword [0x1405854c0], rdx
je 0x140425ef5
lea rcx, [0x1405854c0]
call fcn.1403c3ad0
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1405854cc]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp fcn.140425f30

Function at 0x140425f30
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbp
mov rdi, r8
mov r14, rdx
sub rdi, rdx
sar rdi, 2
xor ebp, ebp
mov esi, ebp
mov rax, qword [0x140586b80]
test rax, rax
jne 0x140425f6f
call fcn.14047c1c0
nop
bt rax, 0xc
jae 0x140425f85
mov rdx, rdi
mov rcx, r14
call fcn.14047c3c0
nop
mov rsi, rax
cmp rsi, rdi
je 0x140425fea
mov rbx, rdi
sub rbx, rsi
shl rbx, 2
lea rcx, [r14 + rsi*4]
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
nop
test al, al
cmovne rbp, rbx
mov rax, rbp
cqo
and edx, 3
add rax, rdx
sar rax, 2
add rsi, rax
cmp rsi, rdi
je 0x140425fea
lea rbx, [r14 + rsi*4]
sub rdi, rsi
lea rdi, [rbx + rdi*4]
cmp rbx, rdi
je 0x140425fea
nop
lea rcx, [rsp + 0x58]
call fcn.140514e3c
nop
mov eax, dword [rsp + 0x58]
mov dword [rbx], eax
add rbx, 4
cmp rbx, rdi
jne 0x140425fd0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14042b9a0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rbp, r8
mov r12, rdx
mov rsi, rcx
mov r13, qword [rcx + 0x18]
test r8, r8
js 0x14042bb0a
xor ebx, ebx
cmp qword [rcx + 0x78], rbx
je 0x14042ba78
mov r15b, 1
nop dword [rax]
nop word [rax + rax]
mov r8, rbp
sub r8, rbx
lea rcx, [rbx + r12]
mov r9, qword [rsi + 0x78]
mov edx, 1
call fcn.140515218
mov rdi, rax
mov rcx, qword [rsi + 0x78]
call fcn.140514e88
test eax, eax
setne r14b
test r15b, r15b
je 0x14042ba46
test r14b, r14b
je 0x14042ba46
test rdi, rdi
jne 0x14042ba46
mov rcx, qword [rsi + 0x78]
call fcn.140510ec0
mov rdx, rax
xor r8d, r8d
mov rcx, qword [rsi + 0x78]
call fcn.140505518
xor r15b, r15b
jmp 0x14042ba49
add rbx, rdi
test r14b, r14b
jne 0x14042bb66
test rdi, rdi
jne 0x14042ba66
call fcn.140504eb8
xor ecx, ecx
cmp dword [rax], 4
sete cl
jmp 0x14042ba6e
xor ecx, ecx
cmp rbx, rbp
setl cl
test ecx, ecx
jne 0x14042b9f0
jmp 0x14042bac0
cmp dword [rcx + 0xa0], 0xffffffff
je 0x14042bac9
mov rax, rbp
sub rax, rbx
mov r8d, 0x7fffffff
cmp rax, r8
cmovb r8d, eax
lea rdx, [rbx + r12]
mov ecx, dword [rsi + 0xa0]
call fcn.1405159e4
movsxd rcx, eax
test eax, eax
jle 0x14042bab2
add rbx, rcx
cmp rbx, rbp
jl 0x14042ba81
cmp ecx, 0xffffffff
setne al
test al, al
jne 0x14042bb66
test rbx, rbx
jne 0x14042bb66
or rbx, 0xffffffffffffffff
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1403c4bb0
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r13
call fcn.140429c80
nop
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x14042bb57
cmp eax, ebx
je 0x14042bb66
mov edx, ebx
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x14042bb66
mov rcx, qword [rsp + 0x70]
jmp 0x14042bb57
mov edx, 0x16
lea rcx, [rsp + 0x80]
call fcn.1403c4bb0
nop
mov r8, rax
mov edx, 1
mov rcx, r13
call fcn.140429c80
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
or rbx, 0xffffffffffffffff
test eax, eax
je 0x14042bb57
cmp eax, ebx
je 0x14042bb66
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14042bb66
mov rcx, qword [rsp + 0x80]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140379300
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14042c120
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbp
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
mov r14, qword [rcx + 0x18]
test r8, r8
js 0x14042c253
xor ebx, ebx
test r8, r8
je 0x14042c24a
cmp qword [rcx + 0x78], rbx
je 0x14042c1ad
nop dword [rax]
nop word [rax + rax]
mov r8, rdi
sub r8, rbx
lea rcx, [rbx + rbp]
mov r9, qword [rsi + 0x78]
mov edx, 1
call fcn.140504d7c
add rbx, rax
test rax, rax
jne 0x14042c19f
call fcn.140504eb8
xor ecx, ecx
cmp dword [rax], 4
sete cl
jmp 0x14042c1a7
xor ecx, ecx
cmp rbx, rdi
setl cl
test ecx, ecx
jne 0x14042c170
jmp 0x14042c1f0
cmp dword [rcx + 0xa0], 0xffffffff
je 0x14042c1f5
nop word [rax + rax]
mov rax, rdi
sub rax, rbx
mov r8d, 0x7fffffff
cmp rax, r8
cmovb r8d, eax
lea rdx, [rbx + rbp]
mov ecx, dword [rsi + 0xa0]
call fcn.140516504
test eax, eax
jle 0x14042c1f0
cdqe
add rbx, rax
cmp rbx, rdi
jl 0x14042c1c0
test rbx, rbx
jne 0x14042c24a
or rbx, 0xffffffffffffffff
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1403c4bb0
mov rdi, rax
call fcn.140504eb8
mov edx, 2
mov ecx, 4
cmp dword [rax], 0x1c
cmove edx, ecx
mov r8, rdi
mov rcx, r14
call fcn.140429c80
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x14042c297
cmp eax, ebx
je 0x14042c2a6
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14042c2a6
mov rcx, qword [rsp + 0x50]
jmp 0x14042c297
and dword [rsi + 0x40], 0xffdfffff
jmp 0x14042c2a6
mov edx, 0x16
lea rcx, [rsp + 0x60]
call fcn.1403c4bb0
nop
mov r8, rax
mov edx, 2
mov rcx, r14
call fcn.140429c80
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
or rbx, 0xffffffffffffffff
test eax, eax
je 0x14042c297
cmp eax, ebx
je 0x14042c2a6
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14042c2a6
mov rcx, qword [rsp + 0x60]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140379300
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14042ddc0
Capabilities:
Copy file

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov r14, r8
mov rax, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14042a610
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14042a610
mov rdi, rax
mov rcx, rsi
call fcn.14036dfa0
mov rbx, rax
mov rcx, rdi
call fcn.14036dfa0
mov rcx, rax
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne dil
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
or ebx, 0xffffffff
test eax, eax
je 0x14042de54
cmp eax, ebx
je 0x14042de63
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14042de63
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14042de81
cmp eax, 0xffffffff
je 0x14042de8f
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14042de8f
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
test dil, dil
jne 0x14042deae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], 2
mov rcx, qword [rsp + 0x58]
mov qword [r14], rcx
movzx eax, dil
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x140430600
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x2a0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov rax, qword [0x14057c500]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rdi, rdx
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov ecx, dword [rax]
inc ecx
cmp ecx, 1
jbe 0x140430648
lock inc dword [rax]
mov rax, qword [rsp + 0x20]
mov r8d, dword [rax + 4]
cmp r8d, 2
jne 0x1404306be
mov rcx, qword [rax + 0x10]
cmp word [rcx + rax + 2], 0x3a
jne 0x1404306be
cmp dword [rax], 1
ja 0x140430672
mov edx, dword [rax + 8]
btr edx, 0x1f
lea ecx, [r8 + 2]
cmp ecx, edx
jbe 0x140430688
lea edx, [r8 + 2]
mov r8b, 1
lea rcx, [rsp + 0x20]
call fcn.14036a620
mov rax, qword [rsp + 0x20]
movsxd rdx, dword [rax + 4]
mov rcx, qword [rax + 0x10]
lea r8, [rcx + rdx*2]
mov ecx, 0x5c
mov word [r8 + rax], cx
mov rax, qword [rsp + 0x20]
inc dword [rax + 4]
mov rax, qword [rsp + 0x20]
movsxd rdx, dword [rax + 4]
mov rcx, qword [rax + 0x10]
lea r8, [rcx + rdx*2]
xor ecx, ecx
mov word [r8 + rax], cx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1404394f0
nop
lea rcx, [rsp + 0x28]
call fcn.14036dfa0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140430724
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x1404306f8
cmp eax, 0x20
jne 0x140430724
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rax]
inc ecx
cmp ecx, 1
jbe 0x14043070e
lock inc dword [rax]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14042f750
test al, al
cmovne ebx, dword [rsp + 0x40]
test rdi, rdi
je 0x140430731
cmp ebx, 0xffffffff
setne al
mov byte [rdi], al
cmp ebx, 0xffffffff
jne 0x14043073a
xor bl, bl
jmp 0x140430740
shr ebx, 4
and bl, 1
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
or edi, 0xffffffff
test eax, eax
je 0x140430762
cmp eax, edi
je 0x140430771
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140430771
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14043078f
cmp eax, 0xffffffff
je 0x14043079d
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x14043079d
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
movzx eax, bl
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1404e17d0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x2a0
pop rdi
ret
Function at 0x140430df0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x4e0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x510], rbx
mov rax, qword [0x14057c500]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x38], 0
lea rax, [0x1400495e0]
mov qword [rcx], rax
mov dword [rsp + 0x38], 1
xor sil, sil
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1401ad660]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1401ad6c0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, 0x800401f0
jne 0x140430ea0
mov sil, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1401ad660]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1401ad6c0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140430fbc
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1401ad6b0]
call qword [rax]
test eax, eax
js 0x140430fb1
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14042a610
mov rcx, rax
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax]
call fcn.14036dfa0
mov rdx, rax
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [rbx + 0x28]
mov ebp, eax
mov rcx, qword [rsp + 0x48]
mov edx, dword [rcx]
or ebx, 0xffffffff
test edx, edx
je 0x140430f15
cmp edx, ebx
je 0x140430f23
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140430f23
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
test ebp, ebp
js 0x140430fa6
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x70]
mov r8d, 0x104
lea rdx, [rsp + 0x2c0]
call qword [rax + 0x18]
test eax, eax
jne 0x140430fa6
mov r8d, ebx
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x50]
call fcn.1402d3550
mov rdx, rax
mov rcx, qword [rdi]
mov qword [rsp + 0x68], rcx
mov rax, qword [rax]
mov qword [rdi], rax
mov qword [rdx], rcx
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x140430f98
cmp eax, 0xffffffff
je 0x140430fa6
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140430fa6
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx]
call qword [rdx + select]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + select]
test sil, sil
je 0x140430fc7
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, rdi
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.1404e17d0
mov rbx, qword [rsp + 0x510]
add rsp, 0x4e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140431970
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov r14, rdx
mov rsi, rcx
call fcn.1404307d0
test al, al
je 0x1404319db
mov qword [rsp + 0x28], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
lea rax, [0x1401ad6d0]
mov qword [rsp + 0x40], rax
lea rdx, [0x1400a7c38]
lea rcx, [rsp + 0x28]
call fcn.14035ef00
call fcn.140504eb8
mov dword [rax], 0x16
xor al, al
jmp 0x140431af7
lea rdx, [rsp + 0xa0]
mov rcx, rsi
call fcn.14042a610
nop
xor edi, edi
lea r9d, [rdi + 1]
xor r8d, r8d
movzx edx, di
mov rcx, rax
call fcn.140368050
cmp eax, 0xffffffff
setne bpl
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rcx]
or ebx, 0xffffffff
test eax, eax
je 0x140431a2f
cmp eax, ebx
je 0x140431a3d
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140431a3d
mov rcx, qword [rsp + 0xa0]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
test bpl, bpl
je 0x140431a71
mov qword [rsp + 0x48], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
lea rax, [0x1401ad6d0]
mov qword [rsp + 0x60], rax
lea rdx, [0x1400a7c60]
lea rcx, [rsp + 0x48]
jmp 0x1404319c4
lea rdx, [rsp + 0xa8]
mov rcx, rsi
call fcn.14042a610
nop
mov rcx, rax
call fcn.14036dfa0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne dil
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx]
test eax, eax
je 0x140431abd
cmp eax, 0xffffffff
je 0x140431acb
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140431acb
mov rcx, qword [rsp + 0xa8]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
test dil, dil
jne 0x140431af3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xa0], eax
mov dword [rsp + 0xa4], 2
mov rcx, qword [rsp + 0xa0]
mov qword [r14], rcx
movzx eax, dil
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140432030
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.1404394f0
nop
mov rcx, rax
call fcn.14036dfa0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x140432084
cmp eax, 0xffffffff
je 0x140432092
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x140432092
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
movzx eax, bl
add rsp, 0x30
pop rbx
ret
Function at 0x1404328d0
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rdi, rdx
mov r14, rcx
xor bpl, bpl
xor esi, esi
call fcn.14042a380
test al, al
je 0x140432994
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140429f80
mov rdx, qword [rax]
mov rcx, qword [rdx + 0x10]
movzx ecx, word [rdx + rcx]
call fcn.14036d3d0
mov word [rsp + 0x80], ax
movzx ecx, ax
sub ecx, 0x41
mov ebx, 1
shl ebx, cl
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140432974
cmp eax, 0xffffffff
je 0x140432982
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x140432982
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
and ebx, esi
setne bpl
neg ebx
sbb esi, esi
and esi, 0x14
jmp 0x140432a93
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.14042a610
nop
mov dword [rsp + 0x20], 7
lea rax, [0x1400a7cc0]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x40], xmm0
mov ebx, 1
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x88]
call fcn.14036c980
test al, al
je 0x140432a5e
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x10]
mov r9d, ebx
lea r8d, [rbx + 6]
movzx edx, word [rax + rcx]
lea rcx, [rsp + 0x88]
call fcn.140368050
mov r8d, eax
test eax, eax
jle 0x140432a45
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x10]
inc r8d
mov r9d, ebx
movzx edx, word [rax + rcx]
lea rcx, [rsp + 0x88]
call fcn.140368050
test eax, eax
jle 0x140432a45
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 4]
dec edx
cmp eax, edx
jne 0x140432a66
lea rcx, [rsp + 0x88]
call fcn.140432d50
test al, al
je 0x140432a5e
mov esi, select
movzx ebp, bl
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x140432a85
cmp eax, 0xffffffff
je 0x140432a93
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jne 0x140432a93
mov rcx, qword [rsp + 0x88]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
test bpl, bpl
je 0x140432abc
mov dword [rdi + 0x10], esi
test sil, 0x10
mov ecx, 0x20000
mov eax, 0x40000
cmovne ecx, eax
or dword [rdi + 4], ecx
or dword [rdi + 4], 0x400000
or dword [rdi], 0x560000
movzx eax, bpl
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret