joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002425
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
push rax
push rax
sub rsp, 0x28
push 0x400
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.140005730
add rsp, 0x20
mov qword [rsp + 0x28], rax
push qword [0x14000ea80]
add rsp, 0xfffffffffffffff8
push qword [0x14000ea80]
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.140008378
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.14000a1b0
push qword [rsp + 0x28]
push 0
movabs rax, 0x14000d00d
push rax
push qword [rsp + 0x48]
pop rcx
pop rdx
pop r8
pop r9
add rsp, 0xffffffffffffffe0
call sub.KERNEL32.DLL_GetTempFileNameA
add rsp, 0x20
push qword [0x14000ea80]
add rsp, 0xfffffffffffffff8
push qword [0x14000ea80]
push qword [rsp + 0x40]
pop rcx
pop rdx
add rsp, 0xffffffffffffffe0
call fcn.140005750
add rsp, 0x28
lea rcx, [0x14000e55c]
pop rdx
call fcn.14000a1b0
push qword [rsp + 0x28]
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.1400057d0
add rsp, 0x20
push qword [0x14000e55c]
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.1400082b4
add rsp, 0x20
push qword [0x14000e55c]
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.140008410
add rsp, 0x20
push qword [0x14000ea80]
add rsp, 0xfffffffffffffff8
push qword [0x14000ea80]
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.1400081a0
add rsp, 0x28
lea rcx, [0x14000e554]
pop rdx
call fcn.14000a1b0
push qword [rsp + 0x50]
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.1400057f0
add rsp, 0x20
mov rax, rax
push rax
xor r15, r15
cmp r15, qword [rsp]
jne 0x140002590
mov rcx, qword [0x14000e55c]
push qword [0x14000ea80]
add rsp, 0xffffffffffffffe0
call fcn.14000a2d0
add rsp, 0x20
lea rcx, [0x14000e554]
pop rdx
add rsp, 0xffffffffffffffd8
call fcn.14000a1b0
add rsp, 0x28
mov qword [rsp + 0x40], 2
jmp 0x1400025a6
mov r15, 1
cmp r15, qword [rsp]
jne 0x1400025a6
mov qword [rsp + 0x40], 1
pop rax
mov r15, qword [rsp + 0x50]
add r15, qword [rsp + 0x38]
mov rax, r15
push rax
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.1400057f0
add rsp, 0x20
mov qword [0x14000e544], rax
mov r15, qword [rsp + 0x50]
add r15, qword [rsp + 0x38]
inc r15
mov rax, r15
push rax
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.1400057f0
add rsp, 0x20
mov qword [0x14000e54c], rax
mov rax, 1
jmp 0x1400025fc
push rax
mov rcx, qword [rsp + 0x38]
sub rsp, 0x20
call fcn.14000a340
add rsp, 0x20
pop rax
add rsp, 0x40
pop r15
ret
Function at 0x140002bd4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
xor rax, rax
push rax
push rax
push rax
push rax
sub rsp, 0x28
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.14000a370
add rsp, 0x10
push 0xa
push qword [rsp + 0x30]
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
add rsp, 0xffffffffffffffe0
call sub.KERNEL32.DLL_FindResourceA
add rsp, 0x20
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140002c67
push qword [rsp + 0x30]
push qword [rsp + 0x58]
pop rcx
pop rdx
add rsp, 0xffffffffffffffe0
call sub.KERNEL32.DLL_LoadResource
add rsp, 0x20
mov qword [0x14000e5e4], rax
push qword [rsp + 0x30]
push qword [rsp + 0x58]
pop rcx
pop rdx
add rsp, 0xffffffffffffffe0
call sub.KERNEL32.DLL_SizeofResource
add rsp, 0x20
mov qword [0x14000e5dc], rax
push qword [0x14000e5dc]
pop rcx
add rsp, 0xffffffffffffffe0
call fcn.140005730
add rsp, 0x20
mov qword [rsp + 0x38], rax
push qword [0x14000e5dc]
push qword [0x14000e5e4]
push qword [rsp + 0x48]
pop rcx
pop rdx
pop r8
add rsp, 0xffffffffffffffe0
call sub.msvcrt.dll_memcpy
add rsp, 0x20
push qword [rsp + 0x38]
pop rax
mov qword [0x14000e5e4], rax
mov rax, qword [rsp + 0x30]
jmp 0x140002cb7
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x20
call fcn.14000a340
add rsp, 0x20
pop rax
add rsp, 0x48
ret
Function at 0x140003775
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
push rbp
push r15
mov rdx, 0x14
sub rsp, 8
mov qword [rsp], 0
dec rdx
jne 0x14000378e
sub rsp, 0x28
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.14000a370
add rsp, 0x10
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x30]
sub rsp, 0x10
call fcn.14000a370
add rsp, 0x10
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x38]
sub rsp, 0x10
call fcn.14000a370
add rsp, 0x10
lea rax, [rsp + 0x40]
lea rbp, [rsp + 0x40]
mov dword [rbp], 0x70
mov dword [rbp + 4], 0x140
mov dword [rbp + 0x30], 0
movabs rax, str.open
mov rax, rax
push rax
pop rax
mov qword [rbp + 0x10], rax
mov rax, qword [rsp + 0x28]
mov rax, rax
push rax
pop rax
mov qword [rbp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov rax, rax
push rax
pop rax
mov qword [rbp + 0x20], rax
mov rax, qword [rsp + 0x30]
mov rax, rax
push rax
pop rax
mov qword [rbp + 0x28], rax
lea rax, [rsp + 0x40]
mov rax, rax
push rax
pop rcx
add rsp, 0xffffffffffffffe0
call sub.SHELL32.dll_ShellExecuteExA
add rsp, 0x20
mov qword [rsp + 0xb0], rax
push 0x19
pop rcx
add rsp, 0xffffffffffffffe0
call sub.KERNEL32.DLL_Sleep
add rsp, 0x20
lea rax, [rsp + 0xb8]
mov rax, rax
push rax
lea rbp, [rsp + 0x48]
push qword [rbp + 0x68]
pop rcx
pop rdx
add rsp, 0xffffffffffffffe0
call sub.KERNEL32.DLL_GetExitCodeProcess
add rsp, 0x20
and rax, rax
je 0x1400038ba
mov r15, qword [rsp + 0xb8]
cmp r15, 0x103
je 0x1400038ba
jmp 0x1400038bc
jmp 0x14000386c
mov rax, 1
jmp 0x1400038c8
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x20
call fcn.14000a340
add rsp, 0x20
mov rcx, qword [rsp + 0x38]
sub rsp, 0x20
call fcn.14000a340
add rsp, 0x20
mov rcx, qword [rsp + 0x40]
sub rsp, 0x20
call fcn.14000a340
add rsp, 0x20
pop rax
add rsp, 0xc8
pop r15
pop rbp
ret

Function at 0x140004b0c
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
test ecx, ecx
je 0x140004b31
movsxd rdx, ecx
lea rcx, [0x140004a88]
call qword [sym.imp.USER32.dll_EnumWindows]
jmp 0x140004b72
mov rbx, qword [0x14000e6a0]
test rbx, rbx
je 0x140004b72
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x140004b6a
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
lea rdx, [rbx + 0x10]
lea rcx, [0x14000e6a0]
call fcn.140009150
mov rbx, rdi
test rdi, rdi
jne 0x140004b3d
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140004bf4
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [0x14000eae0]
call fcn.140008b14
xor ebx, ebx
or esi, 0xffffffff
mov rbp, rax
call qword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dl, byte [rax]
test dl, dl
je 0x140004cba
mov rcx, qword [rsp + 0x30]
mov r10b, 0x20
lea r9d, [rbx + 1]
cmp dl, r10b
jne 0x140004c48
add rax, r9
cmp byte [rax], r10b
je 0x140004c40
mov dl, byte [rax]
mov r8d, r9d
cmp dl, 0x22
jne 0x140004c7e
add rax, r9
mov rbx, rax
mov cl, byte [rax]
test cl, cl
je 0x140004c79
cmp cl, 0x22
je 0x140004c6c
add rax, r9
mov cl, byte [rax]
test cl, cl
jne 0x140004c5e
cmp byte [rax], 0
je 0x140004c79
mov rcx, rax
add rax, r9
jmp 0x140004ca0
mov rcx, rax
jmp 0x140004ca0
test dl, dl
je 0x140004c9d
mov rbx, rax
cmp dl, r10b
je 0x140004c93
add rax, r9
mov dl, byte [rax]
test dl, dl
jne 0x140004c85
cmp byte [rax], 0
mov rcx, rax
je 0x140004ca0
jmp 0x140004c74
xor r8d, r8d
cmp dword [rbp], esi
jne 0x140004caa
test rdi, rdi
jne 0x140004cc4
test r8d, r8d
je 0x140004cb2
add esi, r9d
mov dl, byte [rax]
xor ebx, ebx
test dl, dl
jne 0x140004c3b
test rdi, rdi
jne 0x140004cd6
movsxd rax, esi
jmp 0x140004cd9
test rbx, rbx
je 0x140004cd6
sub ecx, ebx
mov rax, rbx
mov dword [rdi], ecx
add dword [rbp], r9d
jmp 0x140004cd9
and dword [rdi], 0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140004db4
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x14000eae0]
call fcn.140008b14
xor ecx, ecx
add rsp, 0x28
jmp fcn.140004bf4

Function at 0x140004ea8
Capabilities:
Set environment variable

Disassembly:
sub rsp, 0x28
mov rax, rdx
test rcx, rcx
je 0x140004ec8
test rax, rax
lea rdx, [0x14000c828]
cmovne rdx, rax
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableA]
add rsp, 0x28
ret

Function at 0x1400055a8
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x160
lea rcx, [rsp + 0x20]
mov ebx, 0x64
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
je 0x14000568a
mov eax, dword [rsp + 0x30]
sub eax, 1
je 0x140005667
cmp eax, 1
jne 0x14000568a
mov eax, dword [rsp + 0x24]
sub eax, 3
je 0x140005660
sub eax, 1
je 0x140005659
sub eax, 1
je 0x140005634
cmp eax, 1
jne 0x14000568a
lea rcx, [rsp + 0xc0]
lea ebx, [rax + 0x45]
mov dword [rsp + 0xc0], 0x9c
call qword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
je 0x14000568a
cmp byte [rsp + 0x15a], 1
je 0x14000568a
mov ebx, 0x4b
jmp 0x14000568a
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x140005652
sub eax, 1
je 0x14000564b
cmp eax, 1
jne 0x14000568a
lea ebx, [rax + 0x40]
jmp 0x14000568a
mov ebx, 0x3c
jmp 0x14000568a
mov ebx, 0x32
jmp 0x14000568a
mov ebx, 0x14
jmp 0x14000568a
mov ebx, 5
jmp 0x14000568a
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x140005685
cmp eax, 0xa
je 0x14000567e
cmp eax, 0x5a
jne 0x14000568a
lea ebx, [rax - 0x32]
jmp 0x14000568a
mov ebx, 0x1e
jmp 0x14000568a
mov ebx, 0xa
movsxd rax, ebx
add rsp, 0x160
pop rbx
ret
Function at 0x1400080cc
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 9
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x14000816b
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x14000816b
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x14000816b
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x14000816b
call qword [sym.imp.USER32.dll_GetFocus]
lea rdx, [rsp + 0x38]
mov r8d, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameA]
lea rdx, str.Rich
lea rcx, [rsp + 0x38]
mov r8d, 4
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x14000816b
call qword [sym.imp.USER32.dll_GetFocus]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x44e
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xb
jae 0x140008196
lea rdx, str.PB_WindowID
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetPropA]
test rax, rax
je 0x140008196
mov rcx, qword [0x14000ec20]
lea rdx, [rax - 1]
call fcn.140008f34
mov rax, qword [rax + 0x10]
jmp 0x140008198
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400081a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, ecx
mov esi, 0x104
mov ecx, esi
call fcn.14000a3e0
mov ecx, esi
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
movsxd rbx, eax
test eax, eax
je 0x1400081df
cmp byte [rbx + rdi - 1], 0x5c
je 0x1400081df
mov byte [rbx + rdi], 0x5c
inc ebx
sub esi, ebx
mov ecx, esi
call fcn.14000a570
mov rsi, qword [rsp + 0x38]
movsxd r11, ebx
mov rbx, qword [rsp + 0x30]
mov byte [r11 + rdi], 0
add rsp, 0x20
pop rdi
ret

Function at 0x1400082b4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x1400082c7
call qword [sym.imp.KERNEL32.DLL_DeleteFileA]
cdqe
jmp 0x1400082c9
xor eax, eax
add rsp, 0x28
ret

Function at 0x140008378
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edx, ecx
mov ebx, 0x104
mov ecx, ebx
call fcn.14000a3e0
mov ecx, ebx
mov rdx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.DLL_GetTempPathA]
lea rcx, str.Kernel32.DLL
mov edi, eax
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov rbp, rax
test rax, rax
je 0x1400083ea
lea rdx, str.GetLongPathNameA
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
je 0x1400083e1
mov r8d, ebx
mov rdx, rsi
mov rcx, rsi
call rax
mov edi, eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
sub ebx, edi
mov ecx, ebx
call fcn.14000a570
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
movsxd r11, edi
mov byte [r11 + rsi], 0
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140008410
Capabilities:
Create directory

Disassembly:
sub rsp, 0x138
test rcx, rcx
je 0x140008483
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call sub.msvcrt.dll_strncpy
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x124], 0
call sub.msvcrt.dll_strlen
lea rcx, [rsp + rax + 0x20]
lea rax, [rsp + 0x20]
cmp rcx, rax
jbe 0x14000846f
lea rdx, [rcx - 1]
mov al, byte [rdx]
cmp al, 0x20
je 0x140008462
cmp al, 0x5c
je 0x140008462
cmp al, 0x2f
jne 0x14000846f
lea rax, [rsp + 0x20]
mov rcx, rdx
cmp rdx, rax
ja 0x140008450
mov byte [rcx], 0
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
cdqe
jmp 0x140008485
xor eax, eax
add rsp, 0x138
ret

Function at 0x140008490
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
mov dword [rsp + 0x40], eax
cmp dword [rcx + 0x1c], eax
jne 0x1400084d6
mov r8d, dword [rcx + 0x10]
mov rdx, qword [rcx + 8]
lea r9, [rsp + 0x40]
sub r8d, dword [rcx + 0x14]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov r11d, dword [rbx + 0x10]
movsxd rax, dword [rsp + 0x40]
mov dword [rbx + 0x14], r11d
add rsp, 0x30
pop rbx
ret
cdqe
add rsp, 0x30
pop rbx
ret

Function at 0x1400088e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rsi, rdx
mov dword [rsp + 0x48], ebx
test rdx, rdx
je 0x140008971
cmp byte [rdx], bl
je 0x140008971
mov rdx, rcx
mov rcx, qword [0x14000ec60]
call fcn.140008f34
mov r11, rax
test rax, rax
je 0x14000896d
or rcx, 0xffffffffffffffff
mov rdi, rsi
mov rdx, rsi
cmp qword [rax + 8], rbx
je 0x14000894f
xor eax, eax
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call fcn.140008a20
mov ebx, eax
cdqe
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor eax, eax
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, qword [r11]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov ebx, dword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
movsxd rax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140008990
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov edi, r8d
mov rsi, rdx
mov dword [rsp + 0x48], ebx
test rdx, rdx
je 0x140008a08
test r8d, r8d
je 0x140008a08
mov rdx, rcx
mov rcx, qword [0x14000ec60]
call fcn.140008f34
test rax, rax
je 0x140008a04
mov r8d, edi
mov rdx, rsi
cmp qword [rax + 8], rbx
je 0x1400089f1
mov rcx, rax
call fcn.140008a20
mov ebx, eax
cdqe
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rax]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov ebx, dword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
movsxd rax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140008a20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x1c], 1
movsxd rdi, r8d
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x50], 0
jne 0x140008a6a
mov edx, dword [rcx + 0x14]
mov rcx, qword [rcx]
mov r9d, 1
neg edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0x1c], 0
mov dword [rbx + 0x14], eax
mov ecx, dword [rbx + 0x14]
cmp ecx, edi
jle 0x140008aa8
mov eax, dword [rbx + 0x10]
mov edx, edi
sub eax, ecx
movsxd rcx, eax
add rcx, qword [rbx + 8]
sub edx, 1
je 0x140008aa1
sub edx, 1
je 0x140008a99
cmp edx, 2
je 0x140008a93
mov rdx, rsi
jmp 0x140008af6
mov eax, dword [rsi]
mov dword [rcx], eax
jmp 0x140008afe
movzx eax, word [rsi]
mov word [rcx], ax
jmp 0x140008afe
movzx eax, byte [rsi]
mov byte [rcx], al
jmp 0x140008afe
mov rcx, rbx
call fcn.140008490
mov r11d, dword [rbx + 0x10]
mov rdx, rsi
cmp edi, r11d
jl 0x140008aeb
mov rcx, qword [rbx]
lea r9, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_WriteFile]
movsxd rax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
sub r11d, dword [rbx + 0x14]
movsxd rcx, r11d
add rcx, qword [rbx + 8]
mov r8, rdi
call sub.msvcrt.dll_memcpy
sub dword [rbx + 0x14], edi
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x1400092c0
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
push rbx
sub rsp, 0x50
or ebx, 0xffffffff
test rcx, rcx
je 0x1400094cf
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x40], r13
xor r13d, r13d
mov qword [rsp + 0x30], r13
lea r8d, [r13 + 1]
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.DLL_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1400094c5
mov rcx, qword [0x14000e4f4]
xor edx, edx
mov r8d, 0x1000
mov qword [rsp + 0x70], rsi
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x1400094b7
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x48], r12
lea r12, [0x14000c930]
nop word [rax + rax]
lea r9, [rsp + 0x60]
mov r8d, 0x1000
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov r10d, dword [rsp + 0x60]
mov r11, rsi
mov r9d, r10d
cmp r10d, 8
jb 0x14000945d
mov rdi, r10
shr rdi, 3
nop dword [rax + rax]
movzx ecx, byte [r11]
mov eax, ebx
shr ebx, 8
xor rcx, rax
add r11, 8
add r9d, 0xfffffff8
movzx eax, cl
movzx ecx, byte [r11 - 7]
mov edx, dword [r12 + rax*4]
xor edx, ebx
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 6]
mov r8d, dword [r12 + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 5]
mov edx, dword [r12 + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 4]
mov r8d, dword [r12 + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 3]
mov edx, dword [r12 + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 2]
mov r8d, dword [r12 + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 1]
mov edx, dword [r12 + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ebx, dword [r12 + rax*4]
xor ebx, edx
sub rdi, 1
jne 0x140009390
test r9d, r9d
je 0x14000948e
nop word [rax + rax]
movzx ecx, byte [r11]
mov eax, ebx
inc r11
xor rcx, rax
shr eax, 8
movzx edx, cl
mov ebx, dword [r12 + rdx*4]
xor ebx, eax
add r9d, 0xffffffff
jne 0x140009470
cmp r10d, 0x1000
je 0x140009350
mov rcx, qword [0x14000e4f4]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_HeapFree]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x78]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov r13, qword [rsp + 0x40]
not ebx
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14006a6b0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14006a6c0]
mov dword [rax], 1
mov rax, qword [0x14006a6d0]
mov dword [rax], 1
mov rax, qword [0x14006a650]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14006a6a0]
mov dword [0x140181020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14006a770]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14006a750]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14006a600]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x14000fc30
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 0x14000fcc0
cmp r11, r10
ja 0x14000fd36
cmp r10, rdx
ja 0x14000fd4a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000fcc2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000fca0
jmp 0x14000fd24
ja 0x14000fcca
mov r11, r10
cmp rax, r8
jne 0x14000fc64
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 0x14000fd00
mov rdi, r8
sub ecx, edx
jns 0x14000fd1b
jmp 0x14000fd26
cmp r8, rsi
je 0x14000fd5b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000fd26
xor al, 1
cmp rdi, rsi
jne 0x14000fce0
jmp 0x14000fd26
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 dbg.slice_index_order_fail
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call dbg.slice_end_index_len_fail
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_srcio_borrowed_buf.rs_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call dbg.panic
ud2
Function at 0x140013380
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov rdi, qword [rcx]
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x140013397
dec ecx
jmp 0x1400133a1
mov rcx, rdi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.140043014
mov r8, qword [rsi + 8]
test r8, r8
je 0x1400133cd
dec qword [r8]
jne 0x1400133cd
dec qword [r8 + 8]
jne 0x1400133cd
mov rcx, qword [0x140181128]
xor edx, edx
call fcn.1400430bc
mov rcx, qword [0x140181128]
xor edx, edx
mov r8, rsi
call fcn.1400430bc
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x1400133e9
dec ecx
jmp 0x1400133f3
mov rcx, rdi
call dbg.init
mov ecx, eax
xor edx, edx
call fcn.140043014
nop
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x140013d00
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rcx
xor edi, edi
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x20
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x140013d86
mov esi, eax
mov rcx, rbx
mov edx, 0x20
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140013d40
xor edi, edi
jmp 0x140013d86
xor esi, 0x80000000
je 0x140013d3c
movzx eax, byte [0x140181040]
mov rcx, qword [0x140181128]
test rcx, rcx
jne 0x140013d6f
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x140013d91
mov rcx, rax
mov qword [0x140181128], rax
mov r8d, 4
xor edx, edx
call fcn.1400430c4
test rax, rax
je 0x140013d91
mov rdi, rax
mov dword [rax], esi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 4
mov edx, 4
call dbg.handle_alloc_error
ud2