joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400aa620
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [rax + 8]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0xc0000000
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x1400aa69f
xor eax, eax
jmp 0x1400aa7d2
mov dword [rsp + 0x48], 0
lea rdi, [rsp + 0x4c]
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400aa6d0
cmp dword [rsp + 0x4c], 0
jle 0x1400aa6e2
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400aa7d2
mov qword [rsp + 0x40], 0
mov ecx, dword [rsp + 0x48]
call fcn.140097a1c
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
jmp 0x1400aa71f
cmp qword [rsp + 0x40], 0
jne 0x1400aa739
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400aa7d2
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400aa772
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x58], eax
je 0x1400aa795
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400afc58
xor eax, eax
jmp 0x1400aa7d2
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x18], rax
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rsp + 0x48]
mov dword [rcx + 0x10], eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x40]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 8]
add rsp, 0x90
pop rdi
ret
Function at 0x1400aa7e0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [rsp + 0x80]
cmp qword [rax + 8], 0
je 0x1400aa983
mov rdx, qword [rsp + 0x80]
add rdx, 8
lea rcx, [rsp + 0x30]
call fcn.1400a9790
nop
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x18], 0xffffffffffffffff
je 0x1400aa843
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x18], 0
jne 0x1400aa85b
mov byte [rsp + 0x58], 0
lea rcx, [rsp + 0x30]
call fcn.1400a97c0
mov al, byte [rsp + 0x58]
jmp 0x1400aa985
mov rdx, qword [rsp + 0x80]
add rdx, 0x18
lea rcx, [rsp + 0x40]
call fcn.1400aa990
nop
movzx eax, byte [rsp + 0x88]
test eax, eax
je 0x1400aa96e
cmp dword [rsp + 0x90], 0
jne 0x1400aa89d
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x68], eax
jmp 0x1400aa8a8
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
cmp dword [rsp + 0x50], eax
jbe 0x1400aa8d2
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x6c], eax
jmp 0x1400aa8da
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x50], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x54]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 8]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400aa93b
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x54], eax
je 0x1400aa95b
mov byte [rsp + 0x59], 0
lea rcx, [rsp + 0x40]
call fcn.1400aa9c0
nop
lea rcx, [rsp + 0x30]
call fcn.1400a97c0
mov al, byte [rsp + 0x59]
jmp 0x1400aa985
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
nop
lea rcx, [rsp + 0x40]
call fcn.1400aa9c0
nop
lea rcx, [rsp + 0x30]
call fcn.1400a97c0
mov al, 1
add rsp, 0x78
ret

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

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x1400b337a
call fcn.1400b4024
and dword [rax], 0
call fcn.1400b4004
and qword [rsp + 0x20], 0
mov ebx, 0x16
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.1400aed24
mov eax, ebx
jmp 0x1400b33ca
test edx, 0xfffffff9
jne 0x1400b334d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400b33a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400b4044
call fcn.1400b4004
mov eax, dword [rax]
jmp 0x1400b33ca
test al, 0x10
jne 0x1400b33c8
test al, 1
je 0x1400b33c8
test bl, 2
je 0x1400b33c8
call fcn.1400b4024
mov dword [rax], 5
call fcn.1400b4004
mov dword [rax], 0xd
jmp 0x1400b339a
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x1400b423b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14012a4f8]
jne 0x1400ad2da
rol rcx, 0x10
test cx, 0xffff
jne 0x1400ad2d6
repz ret
ror rcx, 0x10
jmp 0x1400b4194
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14012fe40]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14012ff38]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400b4219
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14012fe40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400b423b
mov rax, qword [rsp + 0x88]
mov qword [0x14012ff38], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14012fed8], rax
mov rax, qword [0x14012ff38]
mov qword [0x14012fdb0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14012fec0], rax
mov dword [0x14012fda0], 0xc0000409
mov dword [0x14012fda4], 1
mov rax, qword [0x14012a4f8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14012a500]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14012fe38], eax
mov ecx, 1
call fcn.1400bacb4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400f66a8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14012fe38], 0
jne 0x1400b42c2
mov ecx, 1
call fcn.1400bacb4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400b46fc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400c61b0
nop
cmp dword [0x140130360], 1
je 0x1400b46a8
mov dword [0x14013035c], 1
mov byte [0x140130358], r12b
test ebx, ebx
jne 0x1400b4694
mov rcx, qword [0x1401325e0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400b4681
mov rcx, qword [0x1401325d8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400b4620
call fcn.1400b694c
cmp qword [rdi], rax
jne 0x1400b4620
jmp 0x1400b4606
cmp rdi, rsi
jb 0x1400b4681
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400b694c
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1401325e0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1401325d8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400b465f
cmp r13, rax
je 0x1400b467f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400b4606
lea rdx, [0x1400eea08]
lea rcx, [0x1400ee9f0]
call fcn.1400b43c0
lea rdx, [0x1400eea18]
lea rcx, [0x1400eea10]
call fcn.1400b43c0
nop
test r12d, r12d
je 0x1400b46b7
mov ecx, 8
call fcn.1400c6090
test r12d, r12d
jne 0x1400b46e2
mov dword [0x140130360], 1
lea ecx, [r12 + 8]
call fcn.1400c6090
mov ecx, r15d
call fcn.1400b4354
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400b4570

Function at 0x1400b4708
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400b4570
Function at 0x1400c69cc
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400b694c
xor ebx, ebx
mov rdi, rax
cmp qword [0x140130b98], rbx
jne 0x1400c6ad2
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400c6ba7
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400c6ba7
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140130b98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140130ba0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140130ba8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140130bb8], rax
test rax, rax
je 0x1400c6ac9
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140130bb0], rax
jmp 0x1400c6ad9
mov rax, qword [0x140130bb0]
jmp 0x1400c6ae0
mov rax, qword [0x140130bb0]
mov r11, qword [0x140130bb8]
cmp rax, rdi
je 0x1400c6b48
cmp r11, rdi
je 0x1400c6b48
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140130bb8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400c6b48
test rax, rax
je 0x1400c6b48
call rsi
test rax, rax
je 0x1400c6b42
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400c6b42
test byte [rsp + 0x38], 1
jne 0x1400c6b48
bts ebp, 0x15
jmp 0x1400c6b86
mov rcx, qword [0x140130ba0]
cmp rcx, rdi
je 0x1400c6b86
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400c6b86
call rax
mov rbx, rax
test rax, rax
je 0x1400c6b86
mov rcx, qword [0x140130ba8]
cmp rcx, rdi
je 0x1400c6b86
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400c6b86
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140130b98]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400c6ba7
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400c6ba9
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140004360
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
xorps xmm0, xmm0
mov rbx, rcx
movups xmmword [rax - 0x78], xmm0
mov dword [rax - 0x78], 0x70
xor ecx, ecx
mov dword [rax - 0x74], 0x40
cmp qword [rbx + 0x18], 0xf
mov qword [rax - 0x70], rcx
movups xmmword [rax - 0x68], xmm0
movups xmmword [rax - 0x58], xmm0
movups xmmword [rax - 0x48], xmm0
movups xmmword [rax - 0x38], xmm0
movups xmmword [rax - 0x28], xmm0
movups xmmword [rax - 0x18], xmm0
lea rax, str.runas
mov qword [rsp + 0x30], rax
mov rax, rbx
jbe 0x1400043ba
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
test dl, dl
lea rax, [0x1400d324a]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
mov eax, 5
cmovne eax, ecx
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x50], eax
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov rcx, rbx
test eax, eax
je 0x140004408
call fcn.140003c30
mov eax, 1
add rsp, 0x90
pop rbx
ret
call fcn.140003c30
xor eax, eax
add rsp, 0x90
pop rbx
ret
Function at 0x140004680
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor eax, eax
xorps xmm0, xmm0
mov dword [rsp + 0x54], eax
mov rdi, rdx
xor edx, edx
movaps xmmword [rsp + 0x60], xmm0
cmp qword [rcx + 0x18], 0xf
movzx r13d, r8b
movaps xmmword [rsp + 0x70], xmm0
mov rsi, rcx
mov qword [r11 - 0x38], rax
lea rax, str.runas
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0x70
mov dword [rsp + 0x24], 0x40
mov qword [rsp + 0x28], rdx
jbe 0x1400046f3
mov rcx, qword [rcx]
lea rax, [rsi + 0x18]
jmp 0x1400046f7
lea rax, [rcx + 0x18]
cmp qword [rdi + 0x18], 0xf
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x38], rcx
lea r14, [rsi + 0x18]
mov rcx, rdi
jbe 0x140004714
mov rcx, qword [rdi]
mov r14, rax
lea rax, [0x1400d324a]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x20]
movzx eax, r9b
xor eax, 1
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x88], rdx
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov r12d, eax
mov r15, r14
test eax, eax
je 0x140004780
test r13b, r13b
je 0x140004772
mov rcx, qword [rsp + 0x88]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea r15, [rsi + 0x18]
lea rbx, [rdi + 0x18]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsi + 0x18]
mov rbp, rbx
cmp rdx, 0xf
jbe 0x1400047c4
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400047bc
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000483f
mov rcx, r8
lea rbp, [rdi + 0x18]
call fcn.14008e7b8
mov r14, r15
xor r15d, r15d
mov qword [r14], 0xf
mov qword [rsi + 0x10], r15
mov byte [rsi], r15b
mov rdx, qword [rbx]
cmp rdx, 0xf
jbe 0x14000480d
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140004805
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000483f
mov rcx, r8
call fcn.14008e7b8
mov rbx, rbp
lea r11, [rsp + 0x90]
mov qword [rbx], 0xf
mov rbx, qword [r11 + 0x30]
mov eax, r12d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov qword [rdi + 0x10], r15
mov byte [rdi], r15b
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140004850
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x20], 1
lea r8, str._.
lea rcx, [rsp + 0x48]
call fcn.140002500
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400049ab
test byte [rsp + 0x70], 0x10
jne 0x14000498b
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
lea rax, [rbp - 0x64]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140004900
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x28]
call fcn.140002650
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140004945
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x28], 0
add qword [rbx + 8], 0x20
jmp 0x140004957
lea r8, [rsp + 0x28]
mov rcx, rbx
call fcn.140002920
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000498b
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004986
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400049e6
call fcn.14008e7b8
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1400048d3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400049f2
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400049ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14008e7b8
movdqa xmm0, xmmword [0x1400d34e0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140004a3b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140004a36
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004a65
mov rcx, r8
call fcn.14008e7b8
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rax, rbx
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400053a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
mov eax, 0x13e0
call fcn.14008eb30
sub rsp, rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea ecx, [rbx + 0x40]
call fcn.14008e77c
mov rbp, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 0x34
mov qword [rsp + 0x40], 0x3f
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400d3308]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1400d3318]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [0x1400d3328]
mov dword [rax + 0x30], ecx
mov byte [rax + 0x34], bl
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
lea edx, [rbx + 1]
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x54], eax
inc rdx
cmp rdx, 0x270
jb 0x140005440
mov dword [rsp + 0x50], 0x270
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
test rsi, rsi
je 0x14000552b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x1410], rax
movzx ebx, byte [rsp + 0x1410]
lea rcx, [rsp + 0x1410]
call fcn.140005640
mov ecx, eax
imul rax, rcx, 0x34
cmp eax, 0x2f
ja 0x1400054d8
nop word [rax + rax]
lea rcx, [rsp + 0x1410]
call fcn.140005640
mov ecx, eax
imul rax, rcx, 0x34
cmp eax, 0x30
jb 0x1400054c0
shr rax, 0x20
movsxd rcx, eax
movzx r9d, byte [rcx + rbp]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140005510
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140005505
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140005521
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140003230
sub rsi, 1
jne 0x1400054a2
mov edx, 0x40
mov rcx, rbp
call fcn.14008e7b8
mov rax, rdi
mov rbx, qword [rsp + 0x1408]
add rsp, 0x13e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005640
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x1400056a1
lea r8, [r9 + 8]
nop dword [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 r10, 1
jne 0x140005660
mov ecx, dword [r9]
jmp 0x14000578b
cmp ecx, 0x4e0
jb 0x14000578b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400056c0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140005710
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 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, 8
ret

Function at 0x140008910
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140008970
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x140008925
mov rdx, rbx
lea rcx, [rax + 0x10]
call fcn.1400058f0
call fcn.140008970
mov byte [rax + 8], 1
call fcn.140008970
mov ecx, 0x1388
mov byte [rax + 9], 1
call qword [sym.imp.KERNEL32.dll_Sleep]
add rsp, 0x20
pop rbx
jmp fcn.140005630

Function at 0x140008b00
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140008970
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x140008b15
mov rdx, rbx
lea rcx, [rax + 0x10]
call fcn.1400058f0
call fcn.140008970
mov byte [rax + 8], 1
call fcn.140008970
mov ecx, 0x2710
mov byte [rax + 9], 0
call qword [sym.imp.KERNEL32.dll_Sleep]
add rsp, 0x20
pop rbx
jmp fcn.140005630
Function at 0x140009950
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140009a19
cmp byte [rcx + 0x71], 0
je 0x140009a19
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140009a0c
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400099c8
sub eax, 1
je 0x1400099cc
cmp eax, 2
jne 0x140009a0c
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x1400099fa
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140009a0c
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret