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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x28], rdi
jne 0x180069bd3
lea ecx, [rdi + 0x28]
call fcn.180096e9c
mov rbx, rax
test rax, rax
je 0x180069bd3
lea r8d, [rdi + 0x28]
mov rdx, rsi
mov rcx, rax
call fcn.1800877a0
mov cl, dil
movabs rdx, 0xabdd53d5df95413f
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + rbx], dl
inc rdi
cmp rdi, 0x28
jb 0x180069ba9
ror rbx, 0xd
mov qword [rsi + 0x28], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180069be4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x10], rdi
jne 0x180069c47
lea ecx, [rdi + 0xc]
call fcn.180096e9c
mov rbx, rax
test rax, rax
je 0x180069c47
lea r8d, [rdi + 0xc]
mov rdx, rsi
mov rcx, rax
call fcn.1800877a0
mov cl, dil
movabs rdx, 0x1b75bd1119a31f5d
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + rbx], dl
inc rdi
cmp rdi, 0xc
jb 0x180069c1d
ror rbx, 0xd
mov qword [rsi + 0x10], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180069c58
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x10], rdi
jne 0x180069cbb
lea ecx, [rdi + 0xc]
call fcn.180096e9c
mov rbx, rax
test rax, rax
je 0x180069cbb
lea r8d, [rdi + 0xc]
mov rdx, rsi
mov rcx, rax
call fcn.1800877a0
mov cl, dil
movabs rdx, 0x37e3419fb3472d09
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + rbx], dl
inc rdi
cmp rdi, 0xc
jb 0x180069c91
ror rbx, 0xd
mov qword [rsi + 0x10], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180069ccc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x10], rdi
jne 0x180069d2f
lea ecx, [rdi + 0xd]
call fcn.180096e9c
mov rbx, rax
test rax, rax
je 0x180069d2f
lea r8d, [rdi + 0xd]
mov rdx, rsi
mov rcx, rax
call fcn.1800877a0
mov cl, dil
movabs rdx, 0xd385d54713e1dbf3
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + rbx], dl
inc rdi
cmp rdi, 0xd
jb 0x180069d05
ror rbx, 0xd
mov qword [rsi + 0x10], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180069d40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x10], rdi
jne 0x180069da3
lea ecx, [rdi + 0xd]
call fcn.180096e9c
mov rbx, rax
test rax, rax
je 0x180069da3
lea r8d, [rdi + 0xd]
mov rdx, rsi
mov rcx, rax
call fcn.1800877a0
mov cl, dil
movabs rdx, 0x6bdffbd1bffb17b5
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + rbx], dl
inc rdi
cmp rdi, 0xd
jb 0x180069d79
ror rbx, 0xd
mov qword [rsi + 0x10], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180069db4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x10], rdi
jne 0x180069e17
lea ecx, [rdi + 0xf]
call fcn.180096e9c
mov rbx, rax
test rax, rax
je 0x180069e17
lea r8d, [rdi + 0xf]
mov rdx, rsi
mov rcx, rax
call fcn.1800877a0
mov cl, dil
movabs rdx, 0x579735abedf3c931
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + rbx], dl
inc rdi
cmp rdi, 0xf
jb 0x180069ded
ror rbx, 0xd
mov qword [rsi + 0x10], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18006abf4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 8], rdi
jne 0x18006ac57
lea ecx, [rdi + 6]
call fcn.180096e9c
mov rbx, rax
test rax, rax
je 0x18006ac57
lea r8d, [rdi + 6]
mov rdx, rsi
mov rcx, rax
call fcn.1800877a0
mov cl, dil
movabs rdx, 0xd5b16f5727c90d07
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + rbx], dl
inc rdi
cmp rdi, 6
jb 0x18006ac2d
ror rbx, 0xd
mov qword [rsi + 8], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18006ac68
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x18], rdi
jne 0x18006accb
lea ecx, [rdi + 0x17]
call fcn.180096e9c
mov rbx, rax
test rax, rax
je 0x18006accb
lea r8d, [rdi + 0x17]
mov rdx, rsi
mov rcx, rax
call fcn.1800877a0
mov cl, dil
movabs rdx, 0x3b850599eb6dd1bb
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + rbx], dl
inc rdi
cmp rdi, 0x17
jb 0x18006aca1
ror rbx, 0xd
mov qword [rsi + 0x18], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18006acdc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x20], rdi
jne 0x18006ad3f
lea ecx, [rdi + 0x1a]
call fcn.180096e9c
mov rbx, rax
test rax, rax
je 0x18006ad3f
lea r8d, [rdi + 0x1a]
mov rdx, rsi
mov rcx, rax
call fcn.1800877a0
mov cl, dil
movabs rdx, 0xa7113981c121c599
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + rbx], dl
inc rdi
cmp rdi, 0x1a
jb 0x18006ad15
ror rbx, 0xd
mov qword [rsi + 0x20], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18006ad50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x20], rdi
jne 0x18006adb3
lea ecx, [rdi + 0x1a]
call fcn.180096e9c
mov rbx, rax
test rax, rax
je 0x18006adb3
lea r8d, [rdi + 0x1a]
mov rdx, rsi
mov rcx, rax
call fcn.1800877a0
mov cl, dil
movabs rdx, 0x2363215df389f19b
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + rbx], dl
inc rdi
cmp rdi, 0x1a
jb 0x18006ad89
ror rbx, 0xd
mov qword [rsi + 0x20], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18006adc4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x20], rdi
jne 0x18006ae27
lea ecx, [rdi + 0x1c]
call fcn.180096e9c
mov rbx, rax
test rax, rax
je 0x18006ae27
lea r8d, [rdi + 0x1c]
mov rdx, rsi
mov rcx, rax
call fcn.1800877a0
mov cl, dil
movabs rdx, 0x534d870d1f9f5137
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + rbx], dl
inc rdi
cmp rdi, 0x1c
jb 0x18006adfd
ror rbx, 0xd
mov qword [rsi + 0x20], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18006ae38
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x20], rdi
jne 0x18006ae9b
lea ecx, [rdi + 0x1d]
call fcn.180096e9c
mov rbx, rax
test rax, rax
je 0x18006ae9b
lea r8d, [rdi + 0x1d]
mov rdx, rsi
mov rcx, rax
call fcn.1800877a0
mov cl, dil
movabs rdx, 0xc965bf35015d93b5
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + rbx], dl
inc rdi
cmp rdi, 0x1d
jb 0x18006ae71
ror rbx, 0xd
mov qword [rsi + 0x20], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18006aeac
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x28], rdi
jne 0x18006af0f
lea ecx, [rdi + 0x25]
call fcn.180096e9c
mov rbx, rax
test rax, rax
je 0x18006af0f
lea r8d, [rdi + 0x25]
mov rdx, rsi
mov rcx, rax
call fcn.1800877a0
mov cl, dil
movabs rdx, 0xd9b1d17b7163b721
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + rbx], dl
inc rdi
cmp rdi, 0x25
jb 0x18006aee5
ror rbx, 0xd
mov qword [rsi + 0x28], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18006af20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x28], rdi
jne 0x18006af83
lea ecx, [rdi + 0x27]
call fcn.180096e9c
mov rbx, rax
test rax, rax
je 0x18006af83
lea r8d, [rdi + 0x27]
mov rdx, rsi
mov rcx, rax
call fcn.1800877a0
mov cl, dil
movabs rdx, 0x8169c98f0b5dc5f7
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + rbx], dl
inc rdi
cmp rdi, 0x27
jb 0x18006af59
ror rbx, 0xd
mov qword [rsi + 0x28], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18006af94
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x28], rdi
jne 0x18006aff7
lea ecx, [rdi + 0x27]
call fcn.180096e9c
mov rbx, rax
test rax, rax
je 0x18006aff7
lea r8d, [rdi + 0x27]
mov rdx, rsi
mov rcx, rax
call fcn.1800877a0
mov cl, dil
movabs rdx, 0x611df90529270ddd
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + rbx], dl
inc rdi
cmp rdi, 0x27
jb 0x18006afcd
ror rbx, 0xd
mov qword [rsi + 0x28], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18006b008
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rsi, rcx
cmp qword [rcx + 0x10], rdi
jne 0x18006b06b
lea ecx, [rdi + 0xe]
call fcn.180096e9c
mov rbx, rax
test rax, rax
je 0x18006b06b
lea r8d, [rdi + 0xe]
mov rdx, rsi
mov rcx, rax
call fcn.1800877a0
mov cl, dil
movabs rdx, 0x1da105513127d165
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rdi + rbx], dl
inc rdi
cmp rdi, 0xe
jb 0x18006b041
ror rbx, 0xd
mov qword [rsi + 0x10], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180075470
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0xffffffff
mov qword [rsp + 8], 0
jmp 0x18007549d
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 8], rax
jae 0x1800754e0
mov eax, dword [rsp]
shr eax, 8
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
mov edx, dword [rsp]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x180110fd0]
xor eax, dword [rdx + rcx*4]
mov dword [rsp], eax
jmp 0x180075490
mov eax, dword [rsp]
xor eax, 0xffffffff
add rsp, 0x18
ret

Function at 0x180078f90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x180078fe0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x18007fad0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
mov eax, 4
imul rax, rax, 0
movsx ecx, byte [rsp + 0x10]
mov rdx, qword [rsp + 8]
mov eax, dword [rdx + rax]
xor eax, ecx
and eax, 0xff
cdqe
lea rcx, [0x1801115e0]
mov edx, 4
imul rdx, rdx, 0
mov r8, qword [rsp + 8]
mov edx, dword [r8 + rdx]
shr edx, 8
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 8]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 8]
mov ecx, dword [rdx + rcx]
and ecx, 0xff
mov rdx, qword [rsp + 8]
add ecx, dword [rdx + rax]
mov eax, ecx
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 8]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
imul eax, dword [rcx + rax], 0x8088405
inc eax
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 8]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 8]
mov ecx, dword [rdx + rcx]
shr ecx, 0x18
mov rdx, qword [rsp + 8]
mov eax, dword [rdx + rax]
xor eax, ecx
and eax, 0xff
mov eax, eax
lea rcx, [0x1801115e0]
mov edx, 4
imul rdx, rdx, 2
mov r8, qword [rsp + 8]
mov edx, dword [r8 + rdx]
shr edx, 8
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 8]
mov dword [rdx + rcx], eax
ret

Function at 0x180080310
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x48]
imul rax, qword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
test eax, eax
je 0x180080386
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
mov r9, qword [rcx + 8]
mov r8d, eax
mov edx, 1
mov rcx, qword [rsp + 0x40]
call fcn.1800989e0
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
je 0x180080379
mov rax, qword [rsp + 0x58]
mov byte [rax + 0x10], 1
mov eax, dword [rsp + 0x24]
xor edx, edx
div qword [rsp + 0x48]
jmp 0x1800803fe
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x2c]
add eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
cmp eax, dword [rcx + 0x28]
jbe 0x1800803b2
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx + 0x2c]
mov eax, dword [rax + 0x28]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx + 0x2c]
mov rdx, qword [rsp + 0x58]
add rcx, qword [rdx + 0x20]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x40]
call fcn.1800877a0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x2c]
add eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 0x2c], eax
mov eax, dword [rsp + 0x28]
xor edx, edx
div qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x1800c26fc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.180084490
sub rsp, rax
mov rax, qword [0x18013c128]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800dceb4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800c274b
mov rax, rbp
jmp 0x1800c2853
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x1448c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800e9d8c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x1448c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800c284f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800c284f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800e9d8c
test rax, rax
js 0x1800c284f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800c284f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800c2841
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800c2841
cmp byte [rcx], 0xd
jne 0x1800c2827
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800c2836
cmp byte [rcx + 1], 0xa
jne 0x1800c2836
inc rcx
jmp 0x1800c2836
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x13c410]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800c2809
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800c2853
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800844f0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800d1cf4
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800d1aeb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800d1aeb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800d1aeb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800d1aeb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800d1aeb
cmp dword [rcx + 0x84], 0xe
jbe 0x1800d1aeb
cmp dword [rcx + 0xf8], 0
je 0x1800d1aeb
mov ecx, ebx
call fcn.1800d1bfc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800d1858
nop
cmp dword [rbp + 0x20], 0
je 0x1800d1b39
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800d1b44
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800d1a7c
Function at 0x1800d3358
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.1800bc67c
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x1800d33a3
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x1800d33d7
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1800d33d7
call fcn.1800e66f0
xor ebx, ebx
test eax, eax
jne 0x1800d33c5
cmp byte [rbp - 0x48], bl
je 0x1800d33be
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x1800d33d7
cmp byte [rbp - 0x48], bl
je 0x1800d33d5
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.1800bc384
mov esi, eax
test eax, eax
je 0x1800d3413
call fcn.1800be84c
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x1800d346c
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.1800bc384
mov edi, eax
test eax, eax
je 0x1800d344f
call fcn.1800be84c
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x1800d345e
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.1800d78b4
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x1800d346c
mov rcx, qword [rbp - 0x50]
call fcn.1800d9d7c
cmp byte [rbp - 8], bl
je 0x1800d347a
mov rcx, qword [rbp - 0x20]
call fcn.1800d9d7c
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x1800d6b1c
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x18013c128]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1800d6b66
call fcn.1800be82c
mov dword [rax], select
call fcn.1800be84c
mov dword [rax], select
call fcn.180097874
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800844f0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1800d6b71
lea eax, [rbx + 1]
jmp 0x1800d6b53
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1800d6b51
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1800d6b53
Function at 0x1800d7010
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rbx, rcx
mov ecx, dword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x1800d704b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800be7c0
call fcn.1800be84c
mov eax, dword [rax]
jmp 0x1800d70c2
cmp rdi, qword [rbx + 0x18]
ja 0x1800d7057
mov qword [rbx + 0x20], rdi
jmp 0x1800d70c0
cmp byte [rbx + 0x28], 0
lea rsi, [rdi + 1]
je 0x1800d706e
mov rcx, qword [rbx + 0x10]
call fcn.1800d9d7c
mov byte [rbx + 0x28], 0
lea rcx, [rdi*2 + 2]
call fcn.1800d9db8
mov qword [rbx + 0x10], rax
mov r8, rax
neg rax
mov edx, 0
sbb eax, eax
not eax
and eax, 0xc
cmove rdx, rsi
test eax, eax
sete cl
mov byte [rbx + 0x28], cl
mov qword [rbx + 0x18], rdx
test eax, eax
jne 0x1800d70c2
mov ecx, dword [rbx + 0x18]
mov rdx, r8
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, eax
test rax, rax
je 0x1800d7035
mov qword [rbx + 0x20], rax
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800d785c
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1800d787c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800be7c0
or eax, 0xffffffff
jmp 0x1800d787e
xor eax, eax
add rsp, 0x28
ret

Function at 0x1800d7884
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800d78a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800be7c0
or eax, 0xffffffff
jmp 0x1800d78a6
xor eax, eax
add rsp, 0x28
ret
Function at 0x1800df1d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1801448c0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1800df227
cmp word [rdx], r13w
jne 0x1800df227
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800df22c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800df351
mov r11d, select
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1800df372
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800df265
mov rdx, r9
mov word [rbx], cx
jmp 0x1800df28c
cmp r9, r8
jae 0x1800df29c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1800df246
jmp 0x1800df351
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800df346
cmp dword [rsp + 0x80], esi
je 0x1800df346
lea r8, [0x1801448c0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800df31e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800df2ee
mov word [rbx], r13w
jmp 0x1800df34e
mov ecx, recv
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1800df2fb
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800df34e
cmp word [rsp + 0x70], r13w
jne 0x1800df32b
cmp rbx, r14
je 0x1800df2e8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800e9d94
cmp word [rsp + 0x70], r13w
je 0x1800df351
mov ecx, recv
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1801448c0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800df34b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800df351