joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800c3160
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, dword [0x180193484]
cmp ecx, 0xffffffff
je 0x1800c317f
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x1800c31aa
call fcn.1800c3a70
mov ecx, dword [0x180193484]
cmp ecx, 0xffffffff
jne 0x1800c31a4
xor eax, eax
lea rdx, [rsp + 0x30]
lea rcx, [rax + 0x28]
call fcn.1800c3090
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rcx, [rax + 0x28]
lea rdx, [rsp + 0x30]
call fcn.1800c3090
add rsp, 0x28
ret

Function at 0x1800c31c0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x180193484]
cmp ecx, 0xffffffff
je 0x1800c3227
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1800c3227
mov rdx, qword [rax + 0x28]
mov rcx, rdx
mov r8, qword [rdx + 8]
cmp byte [r8 + 0x19], 0
jne 0x1800c320a
cmp qword [r8 + 0x20], rbx
jae 0x1800c31fd
mov r8, qword [r8 + 0x10]
jmp 0x1800c3203
mov rcx, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x1800c31f1
cmp rcx, rdx
je 0x1800c3215
cmp rbx, qword [rcx + 0x20]
jae 0x1800c3218
mov rcx, rdx
cmp rcx, rdx
je 0x1800c3227
lea rax, [rcx + 0x28]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1800c3a70
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
call fcn.1800c24d0
mov rbx, rax
mov qword [rsp + 0x40], rax
lea rdx, [0x1800c3010]
lea rcx, [0x1801a5b58]
call fcn.1800c2de0
mov ecx, dword [0x180193484]
cmp ecx, 0xffffffff
je 0x1800c3ab4
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
add rsp, 0x30
pop rbx
ret

Function at 0x1800c3e90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov ecx, dword [0x180193484]
cmp ecx, 0xffffffff
jne 0x1800c3eb8
xor esi, esi
jmp 0x1800c3ec1
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov qword [rsp + 0x40], rsi
test rsi, rsi
je 0x1800c3fb3
nop
mov rbx, qword [rsi + 0x18]
cmp qword [rsi + 0x30], 0
jne 0x1800c3ee6
test rbx, rbx
je 0x1800c3f8c
jmp 0x1800c3ef0
test rbx, rbx
je 0x1800c3f44
nop dword [rax + rax]
mov rax, qword [rbx + 8]
mov qword [rsi + 0x18], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800c3f27
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbx]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsi + 0x18]
test rbx, rbx
jne 0x1800c3ef0
cmp qword [rsi + 0x30], 0
je 0x1800c3ed0
nop dword [rax + rax]
mov rbx, qword [rsi + 0x28]
mov rbx, qword [rbx]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1800c3f6f
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x1800c3f6f
mov rax, qword [rcx]
call qword [rax + 8]
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsi + 0x28]
call fcn.18008c4f0
cmp qword [rsi + 0x30], 0
jne 0x1800c3f50
jmp 0x1800c3ed0
lea rdx, [0x1800c3010]
lea rcx, [0x1801a5b58]
call fcn.1800c2de0
mov ecx, dword [0x180193484]
cmp ecx, 0xffffffff
je 0x1800c3fb3
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test rsi, rsi
je 0x1800c3fe4
or eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1800c3fe4
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1800c4100
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r9, qword [rcx]
lea r8, [0x1800c4190]
mov rdi, rcx
xor edx, edx
xor ecx, ecx
lea rax, [r9 + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call fcn.1800e4d50
mov rsi, rax
test rax, rax
jne 0x1800c4144
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
mov rax, qword [rdi]
lock inc dword [rax + 8]
mov rbx, qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1800c4167
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rdi]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x40]
mov al, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1800c7880
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rsi
sub rsp, 0xd0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1801933d0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rdx
mov rsi, rcx
cmp qword [rcx + 0x18], 8
jb 0x1800c78be
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1800c78e5
test rbx, rbx
je 0x1800c78de
mov dword [rbx], 0
call fcn.1800c5090
mov qword [rbx + 8], rax
mov al, 1
jmp 0x1800c79b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov dword [rsp + 0x20], 0
call fcn.1800c5090
mov qword [rsp + 0x28], rax
cmp ebp, 0xb7
jne 0x1800c7934
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1800c8600
cmp dword [rax], 3
jne 0x1800c7934
test rbx, rbx
je 0x1800c79ae
mov dword [rbx], 0
call fcn.1800c5090
jmp 0x1800c79aa
test rbx, rbx
jne 0x1800c79a3
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rbx
mov byte [rsp + 0x40], bl
lea r8d, [rbx + 0x23]
lea rdx, str.boost::filesystem::create_directory
lea rcx, [rsp + 0x40]
call fcn.1800576c0
nop
mov dword [rsp + 0x20], ebp
call fcn.1800c5090
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x20]
mov r8, rsi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1800c71b0
lea rdx, [0x18018eda8]
lea rcx, [rsp + 0x60]
call fcn.1800cb710
nop
call fcn.1800c5090
mov dword [rbx], ebp
mov qword [rbx + 8], rax
xor al, al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.18009f760
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x1800c82a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 8
mov rsi, rdx
mov rdi, rcx
jb 0x1800c82bf
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1800c82ee
mov r8, rsi
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.1800c8150
mov eax, dword [rax]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
test rsi, rsi
je 0x1800c8302
mov dword [rsi], 0
call fcn.1800c5090
mov qword [rsi + 8], rax
bt ebx, 0xa
jae 0x1800c8349
mov rcx, rdi
call fcn.1800c7c30
test al, al
je 0x1800c8334
test bl, 0x10
mov eax, 4
mov ecx, 0xb
cmovne eax, ecx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov eax, 9
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x40]
and ebx, 0x10
or ebx, 0x20
shr ebx, 4
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800c83f0
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
cmp edx, 1
jne 0x1800c8425
test r8, r8
je 0x1800c8418
xor eax, eax
mov dword [r8], eax
call fcn.1800c5090
mov qword [rdi + 8], rax
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea eax, [rdx - 3]
test eax, 0xfffffff7
je 0x1800c849e
cmp qword [rcx + 0x18], 8
jb 0x1800c8439
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800c8477
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7b
je 0x1800c8477
cmp eax, 0x57
je 0x1800c8477
cmp eax, 0x35
ja 0x1800c8468
movabs rdx, 0x2000000020800c
bt rdx, rax
jb 0x1800c8477
cmp eax, 0xa1
je 0x1800c8477
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800c8479
xor eax, eax
lea r9, str.boost::filesystem::remove
mov r8, rdi
mov rdx, rbx
mov ecx, eax
call fcn.1800c7b30
test al, al
je 0x1800c8504
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp qword [rcx + 0x18], 8
jb 0x1800c84a8
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1800c84e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7b
je 0x1800c84e6
cmp eax, 0x57
je 0x1800c84e6
cmp eax, 0x35
ja 0x1800c84d7
movabs rdx, 0x2000000020800c
bt rdx, rax
jb 0x1800c84e6
cmp eax, 0xa1
je 0x1800c84e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800c84e8
xor eax, eax
lea r9, str.boost::filesystem::remove
mov r8, rdi
mov rdx, rbx
mov ecx, eax
call fcn.1800c7b30
test al, al
jne 0x1800c8418
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800c8520
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
jb 0x1800c8542
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x1800c854c
mov rcx, qword [rcx]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1800c8564
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800c8566
xor eax, eax
lea rcx, str.boost::filesystem::rename
mov r9, rsi
mov qword [rsp + 0x20], rcx
mov r8, rdi
mov ecx, eax
mov rdx, rbx
call fcn.1800c7a10
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1800c8600
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rax, qword [0x1801933d0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, r8
mov rdi, rdx
mov rsi, rcx
cmp qword [rdx + 0x18], 8
jb 0x1800c8644
mov rcx, qword [rdx]
jmp 0x1800c8647
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
cmp eax, 0xffffffff
jne 0x1800c8667
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.1800c8150
jmp 0x1800c87b9
xor r15d, r15d
bt ebp, 0xa
jae 0x1800c8775
cmp qword [rdi + 0x18], 8
jb 0x1800c8680
mov rdx, qword [rdi]
jmp 0x1800c8683
mov rdx, rdi
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
cmp word [rdx], r15w
jne 0x1800c86a2
mov r8, r15
jmp 0x1800c86b0
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x1800c86a6
lea rcx, [rsp + 0x50]
call fcn.1800543f0
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x1800c8715
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1800542e0
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
cmp rbx, 0xffffffffffffffff
jne 0x1800c8740
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.1800c8150
nop
jmp 0x1800c87b9
mov rcx, rdi
call fcn.1800c7c30
test al, al
jne 0x1800c876b
mov edx, ebp
mov rcx, rdi
call fcn.1800c7d10
mov dword [rsi], 9
mov dword [rsi + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1800c87b9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test r14, r14
je 0x1800c8786
mov dword [r14], r15d
call fcn.1800c5090
mov qword [r14 + 8], rax
mov edx, ebp
mov rcx, rdi
test bpl, 0x10
mov dword [rsp + 0x40], 3
jne 0x1800c87a1
mov dword [rsp + 0x40], 2
call fcn.1800c7d10
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov eax, dword [rcx]
mov dword [rsi], eax
mov eax, dword [rcx + 4]
mov dword [rsi + 4], eax
mov rax, rsi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.18009f760
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800ee144
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x1800ede6a
call fcn.1800d41d0
mov dword [rax], 0x16
call fcn.1800d4080
jmp 0x1800edfb5
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1800edfb5
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1800edfb5
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1800ede99
lock or dword [rcx + 0x14], 0x10
jmp 0x1800edfb5
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1800edead
call fcn.1800ee56c
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x1800edebd
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x1800edec0
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.1800e8688
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.1800f5760
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1800edfa3
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x1800edf51
mov rcx, rbx
call fcn.1800e8688
cmp eax, 0xffffffff
je 0x1800edf3c
mov rcx, rbx
call fcn.1800e8688
cmp eax, 0xfffffffe
je 0x1800edf3c
mov rcx, rbx
call fcn.1800e8688
movsxd rdi, eax
lea r14, [0x1801a6250]
mov rcx, rbx
sar rdi, 6
call fcn.1800e8688
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x1800edf43
lea rdx, [0x180193890]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1800edf51
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x1800edf75
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x1800edf75
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x1800edf75
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x1800edf93
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x1800edf9e
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x1800edfba
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x1800ede34

Function at 0x1800f7eb0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1800f7ec3
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.1800f8534
lea rdx, [0x18018efe0]
lea rcx, [rsp + 0x20]
call fcn.1800cb710
int3
Function at 0x180103654
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push rsi
push rbx
movsxd rax, dword [rcx + 0x3c]
mov eax, dword [rcx + rax + 0x88]
add rax, rcx
mov ebx, dword [rax + 0x18]
mov r9d, dword [rax + 0x20]
mov edi, dword [rax + 0x1c]
mov ebp, dword [rax + 0x24]
test ebx, ebx
je 0x1801036b8
lea rsi, [rcx + r9]
lea r10d, [r8 + 0x60]
xor r11d, r11d
nop
mov eax, dword [rsi + r11*4]
xor r8d, r8d
add rax, rcx
cmp byte [rax], 0
je 0x1801036aa
nop
movzx r9d, byte [rax]
add rax, 1
or r9d, r10d
add r8d, r9d
add r8d, r8d
cmp byte [rax], 0
jne 0x180103694
cmp edx, r8d
je 0x1801036bf
add r11, 1
cmp ebx, r11d
ja 0x180103684
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rax, [rbp + r11*2]
movzx eax, word [rcx + rax]
lea rax, [rdi + rax*4]
mov eax, dword [rcx + rax]
add rax, rcx
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x1801036e4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x6e0
mov r8d, 0x6d97a
lea r9, [rsp + 0x70]
mov rbx, rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
lea rdx, [r9 + 0x648]
mov byte [rsp + 0x50], 0x52
mov byte [rsp + 0x51], 0x4e
mov byte [rsp + 0x52], 0x49
mov byte [rsp + 0x53], 0x57
mov byte [rsp + 0x54], 0x40
mov byte [rsp + 0x55], 0x4d
mov byte [rsp + 0x56], 0x31
mov byte [rsp + 0x57], 0x4b
mov byte [rsp + 0x58], 0x39
mov byte [rsp + 0x59], 0x57
mov byte [rsp + 0x5a], 0x6d
mov byte [rsp + 0x5b], 0x5f
mov byte [rsp + 0x5c], 0x44
mov byte [rsp + 0x5d], 0x4b
mov byte [rsp + 0x5e], 0x6c
mov byte [rsp + 0x5f], 0x57
push rdi
mov byte [rsp + 0x60], 0x61
mov byte [rsp + 0x61], 0x63
mov byte [rsp + 0x62], 0x39
mov byte [rsp + 0x63], 0x5a
mov byte [rsp + 0x64], 0x73
mov byte [rsp + 0x65], 0x77
mov byte [rsp + 0x66], 0
lea rax, [r9 + 0xb0]
nop word [rax + rax]
mov qword [rax], 0x239faf
add rax, 8
cmp rax, rdx
jne 0x1801037a4
sub r8d, 1
jne 0x180103794
cmp qword [rsp + 0x490], 0x239faf
je 0x1801037eb
lea rdx, [0x180142653]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [0x18014565c]
add rsp, 0x6e0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.180103953
xor r8d, r8d
mov rsi, rax
mov edx, 0x6d92a5e2
mov rcx, rax
lea rdi, [rsp + 0x40]
call fcn.180103654
mov rcx, rsi
lea rsi, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x3803e5e2
mov r12, rax
call fcn.180103654
xor r8d, r8d
mov rbp, rax
mov qword [rsp + 0x40], 0x3d340
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
mov r9, rdi
mov rdx, rsi
mov rcx, 0xffffffffffffffff
call r12
test eax, eax
js 0x1801038e8
lea rax, [rsp + 0x48]
mov r9d, 0x40
mov r8, rdi
mov rdx, rsi
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
call rbp
test eax, eax
js 0x18010390d
xor ecx, ecx
cmp qword [rsp + 0x40], 0
mov eax, 0x52
movabs r9, 0x642c8590b21642c9
jne 0x1801038c5
jmp 0x1801038df
mov rax, rcx
mov r8, rcx
mov rdi, rcx
mul r9
sub r8, rdx
shr r8, 1
add rdx, r8
shr rdx, 4
lea rax, [rdx + rdx*2]
shl rax, 3
sub rax, rdx
sub rdi, rax
movzx eax, byte [rsp + rdi + 0x50]
xor al, byte [rcx + rbx + 0x1c78dc]
mov rdx, qword [rsp + 0x38]
mov byte [rdx + rcx], al
add rcx, 1
cmp qword [rsp + 0x40], rcx
ja 0x180103899
call qword [rsp + 0x38]
jmp 0x1801037c8
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x180142624]
xor ecx, ecx
call qword [0x18014565c]
xor eax, eax
add rsp, 0x6e0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x18014263c]
xor ecx, ecx
call qword [0x18014565c]
xor eax, eax
jmp 0x1801038ff

Function at 0x180103953
Capabilities:
Access peb ldr_data

Disassembly:
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
ret

Function at 0x1801044ac
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1801a6a50]
xor edx, edx
jmp fcn.1800f7eb0

Function at 0x180104ecc
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1801a6a50]
jmp fcn.1800f7eb0
Function at 0x140006040
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x1400060d0
cmp r11, r10
ja 0x140006146
cmp r10, rdx
ja 0x140006158
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400060d2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400060b0
jmp 0x140006134
ja 0x1400060da
mov r11, r10
cmp rax, r8
jne 0x140006074
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140006110
mov rdi, r8
sub ecx, edx
jns 0x14000612b
jmp 0x140006136
cmp r8, rsi
je 0x140006167
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140006136
xor al, 1
cmp rdi, rsi
jne 0x1400060f0
jmp 0x140006136
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140028fe0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140028d70
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140028df0
int3
Function at 0x140006f31
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
cmp byte [rcx + 0x79], 0
je 0x140006f45
xor esi, esi
jmp 0x1400070ee
mov rdi, rcx
mov rsi, qword [rcx + 0x48]
cmp qword [rcx], 0
je 0x140006f8c
lea rdx, [rdi + 8]
mov r9, qword [rdi + 0x50]
movups xmm0, xmmword [rdi + 0x58]
cmp qword [rdi + 0x38], 0xffffffffffffffff
sete byte [rsp + 0x30]
movups xmmword [rsp + 0x20], xmm0
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov r8, rsi
call fcn.140007111
cmp qword [rbx], 0
jne 0x14000709a
jmp 0x1400070b8
mov al, byte [rdi + 0x1a]
mov r8, qword [rdi + 8]
mov rdx, qword [rdi + 0x50]
mov cl, byte [rdi + 0x18]
test al, al
jne 0x1400070b8
mov r9d, ecx
xor r9b, 1
mov byte [rdi + 0x18], r9b
mov r9, rdx
test r8, r8
je 0x140006fcf
mov r9, rdx
sub r9, r8
jbe 0x140006fc9
cmp byte [rsi + r8], 0xbf
jg 0x140006fcf
jmp 0x1400070f9
jne 0x1400070f9
test r9, r9
je 0x14000708c
mov r11b, byte [rsi + r8]
movzx r9d, r11b
test r9b, r9b
jns 0x140007045
mov r10d, r9d
and r10d, 0x1f
movzx ebx, byte [rsi + r8 + 1]
and ebx, 0x3f
cmp r9b, 0xdf
jbe 0x140007032
movzx r9d, byte [rsi + r8 + 2]
shl ebx, 6
and r9d, 0x3f
or r9d, ebx
cmp r11b, 0xf0
jb 0x14000703e
movzx r11d, byte [rsi + r8 + 3]
and r10d, 7
shl r10d, 0x12
shl r9d, 6
and r11d, 0x3f
or r11d, r9d
or r11d, r10d
mov r9d, r11d
jmp 0x140007045
shl r10d, 6
or r10d, ebx
mov r9d, r10d
jmp 0x140007045
shl r10d, 0xc
or r9d, r10d
test cl, cl
jne 0x140007090
cmp r9d, 0x110000
je 0x1400070b4
mov ecx, 1
cmp r9d, 0x80
jb 0x14000707e
mov ecx, 2
cmp r9d, 0x800
jb 0x14000707e
cmp r9d, 0x10000
mov ecx, 4
sbb rcx, 0
add r8, rcx
mov qword [rdi + 8], r8
mov cl, 1
jmp 0x140006f9a
test cl, cl
je 0x1400070b4
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r8
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x68]
add rsi, rcx
sub rdx, rcx
mov qword [rdi + 0x68], rax
jmp 0x1400070ee
mov byte [rdi + 0x1a], 1
cmp byte [rdi + 0x79], 0
jne 0x140006f3e
mov byte [rdi + 0x79], 1
cmp byte [rdi + 0x78], 0
je 0x1400070d6
mov rsi, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
jmp 0x1400070e7
mov rsi, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
cmp rdx, rsi
je 0x140006f3e
sub rdx, rsi
add rsi, qword [rdi + 0x48]
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rax, str._rustc_d78329b92e8d141d19505e7c1527181c4ab87ed4librarycore_src_strpattern.rs
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov r9, rdx
call fcn.1400292c0
int3

Function at 0x1400072f4
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x140007327
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14000732c
call fcn.1400173a0
mov ecx, dword [0x140040bec]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov byte [rcx + 0x48], 1
mov qword [rcx + 0x50], rax
mov qword [rcx + 0x58], rdx
add rsp, 0x38
ret
Function at 0x14000d030
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140003940
cmp rax, rcx
je 0x14000d055
cmp rdx, 4
jae 0x14000d058
xor eax, eax
xor r8d, r8d
jmp 0x14000d0f0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14002b8b0]
movdqa xmm3, xmmword [0x14002b8c0]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14000d080
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000d107
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000d0f0
ret