joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002400
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000242d
xor eax, eax
jmp 0x140002599
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002467
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002467
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140002599
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000258c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400024aa
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400024d5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002591
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002544
sub eax, 1
je 0x140002544
cmp eax, 2
jne 0x14000258c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002591
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002572
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000258c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002591
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140003050
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400029a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002a73
cmp byte [rcx + 0x71], 0
je 0x140002a73
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002a6f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
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 0x140002a34
sub eax, 1
je 0x140002a38
cmp eax, 2
jne 0x140002a6f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003050
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002a66
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140002a6f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140002a1c
xor al, al
jmp 0x140002a1c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003050
add rsp, 0x60
pop rbx
ret
Function at 0x140002df0
Capabilities:
Enumerate processes
Execute command

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x170
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rsi, qword [rdx + 8]
lea rcx, [rsp + 0x34]
xor edx, edx
mov r8d, 0x12c
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x30], 0x130
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140002e69
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateToolhelp32Snapshot_basarisiz:_0x_X_n
mov edx, eax
call fcn.140001020
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140002fd5
mov qword [rsp + 0x190], rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140002ee7
mov qword [rsp + 0x180], rbp
lea rbp, str.cs2.exe
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x5c]
mov rax, rbp
sub r8, rbp
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140002ec3
inc rax
test ecx, ecx
jne 0x140002eb0
test edx, edx
je 0x140002edb
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140002ea0
jmp 0x140002edf
mov edi, dword [rsp + 0x38]
mov rbp, qword [rsp + 0x180]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, qword [rsp + 0x190]
mov rbx, rax
test rax, rax
jne 0x140002f22
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.OpenProcess_basarisiz:_0x_X_n
jmp 0x140002e50
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x140002f52
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Hedef_s
call fcn.140001020
jmp 0x140002f78
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
je 0x140002f9c
lea rcx, [0x140005798]
call fcn.140001020
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140002fd5
mov rdx, rsi
mov rcx, rbx
call fcn.140001300
mov rcx, rbx
test al, al
jne 0x140002fcf
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.Bir
call fcn.140001020
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140002fd5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140003050
mov rbx, qword [rsp + 0x198]
add rsp, 0x170
pop rsi
ret
Function at 0x1400039d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003a1a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003a1a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003a1a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003a1a
cmp dword [rcx + 0x84], 0xe
jbe 0x140003a1a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003a1c
xor al, al
add rsp, 0x28
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400cd390]
mov dword [rax], 1
mov rax, qword [0x1400cd3a0]
mov dword [rax], 1
mov rax, qword [0x1400cd3b0]
mov dword [rax], 1
mov rax, qword [0x1400cd340]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14008e520
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, 0x10078
push rbx
call fcn.1400afa20
sub rsp, rax
xor eax, eax
mov rdx, rcx
lea rbx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], cx
lea rsi, [rsp + 0x70]
mov rcx, rbx
call fcn.1400a3680
mov rdx, rsi
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x14008e579
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop rbx
pop rsi
ret
Function at 0x1400ae700
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1400bfe80
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1400bfe80
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x1400af3d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400d9a88]
test eax, eax
je 0x1400af46a
lea rax, [0x1400d9a60]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400d9a90]
mov qword [rbp - 8], rax
jmp 0x1400af44e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400af442
cmp qword [rbp - 0x10], 0
je 0x1400af442
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400af408
lea rax, [0x1400d9a60]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400af46b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400af570
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400af598
mov eax, 0
jmp 0x1400af5e6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400af5c1
mov eax, 0
jmp 0x1400af5e6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400af5e1
mov eax, 0
jmp 0x1400af5e6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400af5ec
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400af66a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400af661
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400af661
mov rax, qword [rbp - 8]
jmp 0x1400af67f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400af634
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140003980
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r13
mov rbp, rsp
sub rsp, 0x78
cmp qword [rdx + 0x18], 0xf
mov r13, rdx
mov rcx, rdx
jbe 0x14000399f
mov rcx, qword [rdx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400039bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x20], eax
cmp eax, 0xb7
jne 0x1400039c3
add rsp, 0x78
pop r13
pop rbp
ret
movdqa xmm1, xmmword [str.__WWJW]
mov r9b, 0x57
movd r8d, xmm1
movdqa xmm0, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov qword [rsp + 0xa0], rbx
mov cl, 0x41
xor byte [rbp - 0x46], r8b
xor cl, r8b
xor byte [rbp - 0x45], r8b
mov dl, 0x4c
xor byte [rbp - 0x44], r8b
xor dl, r8b
xor byte [rbp - 0x43], r8b
mov r10b, 0x40
xor byte [rbp - 0x42], r8b
mov r11b, 0x46
xor byte [rbp - 0x41], r8b
xor r10b, r8b
xor byte [rbp - 0x40], r8b
xor r11b, r8b
xor byte [rbp - 0x3f], r8b
mov bl, 0x51
xor byte [rbp - 0x3e], r8b
xor bl, r8b
xor byte [rbp - 0x3d], r8b
xor byte [rbp - 0x3c], r8b
xor byte [rbp - 0x3b], r8b
xor byte [rbp - 0x3a], r8b
xor byte [rbp - 0x39], r8b
mov qword [rsp + 0x70], rsi
movzx esi, r9b
mov qword [rsp + 0x68], rdi
xor r9b, r8b
mov qword [rsp + 0x60], r12
xor sil, r8b
mov qword [rsp + 0x58], r14
mov dil, 0x4a
psrldq xmm0, 1
xor dil, r8b
movd eax, xmm0
mov r14b, 0x5c
mov qword [rsp + 0x50], r15
xor r14b, r8b
mov byte [rbp - 0x38], cl
mov r15b, 0x1f
xor al, r8b
mov byte [rbp - 0x37], dl
xor r15b, r8b
mov byte [rbp - 0x47], al
mov r12b, 5
mov byte [rbp - 0x36], r9b
xor r12b, r8b
mov byte [rbp - 0x35], r10b
lea rdx, [rbp - 0x47]
mov byte [rbp - 0x34], r11b
lea rcx, [0x14004e5b0]
mov byte [rbp - 0x33], bl
mov byte [rbp - 0x32], dil
mov byte [rbp - 0x31], sil
mov byte [rbp - 0x30], r14b
mov byte [rbp - 0x2f], r15b
mov byte [rbp - 0x2e], r12b
mov byte [rbp - 0x2d], 0
call fcn.14000bfa0
mov rcx, rax
mov rdx, r13
call fcn.140001cc0
movdqa xmm1, xmmword [0x140046080]
movd edx, xmm1
movdqa xmm0, xmm1
movdqu xmmword [rbp - 0x58], xmm1
xor byte [rbp - 0x56], dl
xor byte [rbp - 0x55], dl
xor byte [rbp - 0x54], dl
xor byte [rbp - 0x53], dl
psrldq xmm0, 1
movd ecx, xmm0
xor cl, dl
xor byte [rbp - 0x52], dl
mov byte [rbp - 0x57], cl
xor byte [rbp - 0x51], dl
mov rcx, rax
xor byte [rbp - 0x50], dl
xor byte [rbp - 0x4f], dl
xor byte [rbp - 0x4e], dl
xor byte [rbp - 0x4d], dl
xor byte [rbp - 0x4c], dl
xor byte [rbp - 0x4b], dl
xor byte [rbp - 0x4a], dl
lea rdx, [rbp - 0x57]
mov byte [rbp - 0x49], 0
call fcn.14000bfa0
mov edx, dword [rbp + 0x20]
mov rcx, rax
call fcn.140009260
xor edx, edx
mov byte [rbp + 0x18], 0x49
mov cl, 0x60
mov byte [rbp + 0x1a], dl
xor cl, 0x49
lea rdx, [rbp + 0x19]
mov byte [rbp + 0x19], cl
mov rcx, rax
call fcn.14000bfa0
lea rdx, [fcn.14000c250]
mov rcx, rax
call fcn.140009660
lea rcx, str.pause
call fcn.140018448
mov ecx, 1
call fcn.140018d1c
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0xa0]
int3
Function at 0x140003f60
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r12d, r12d
movzx r14d, r8b
mov esi, r12d
mov r15d, edx
mov rbx, rcx
call fcn.14001dd38
movzx edi, ax
cmp ax, 0xd
je 0x140004192
mov ecx, 0x400
mov r13d, 0xe0
nop dword [rax]
cmp di, 8
jne 0x140003fee
test esi, esi
jle 0x14000417b
mov rax, qword [rbx + 0x10]
dec esi
dec rax
mov rcx, rbx
mov qword [rbx + 0x10], rax
cmp qword [rbx + 0x18], 7
jbe 0x140003fd8
mov rcx, qword [rbx]
lea rdx, [0x140045e90]
mov word [rcx + rax*2], r12w
call fcn.14000c600
jmp 0x14000417b
cmp di, 0x16
jne 0x1400040b0
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000417b
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbp, rax
test rax, rax
je 0x1400040a5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
test rax, rax
je 0x1400040a5
cmp word [rax], r12w
je 0x14000409c
cmp esi, r15d
jge 0x14000409c
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
movzx r9d, word [rdi]
cmp rcx, rdx
jae 0x14000406d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 7
jbe 0x140004060
mov rax, qword [rbx]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r12w
jmp 0x14000407c
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 1]
call fcn.14000ce60
test r14b, r14b
je 0x140004088
mov edx, 0x2a
jmp 0x14000408b
movzx edx, word [rdi]
call fcn.14000c2e0
add rdi, 2
inc esi
cmp word [rdi], r12w
jne 0x140004036
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x14000417b
cmp di, 0x7f
jne 0x1400040ef
test esi, esi
jle 0x1400040d2
mov edi, esi
nop dword [rax]
lea rdx, [0x140045e90]
call fcn.14000c600
sub rdi, 1
jne 0x1400040c0
mov qword [rbx + 0x10], r12
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400040e3
mov rax, qword [rbx]
mov word [rax], r12w
mov esi, r12d
jmp 0x14000417b
cmp di, 3
je 0x1400041dd
lea eax, [rdi - 0x20]
cmp ax, 0x5e
jbe 0x140004120
movzx eax, di
sub ax, cx
cmp ax, 0x4f
jbe 0x140004120
cmp di, r13w
je 0x140004119
test di, di
jne 0x14000417b
call fcn.14001dd38
jmp 0x14000417b
cmp esi, r15d
jge 0x14000417b
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140004152
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 7
jbe 0x140004146
mov rax, qword [rbx]
mov word [rax + rcx*2], di
mov word [rax + rcx*2 + 2], r12w
jmp 0x140004165
xor r8d, r8d
movzx r9d, di
mov rcx, rbx
lea edx, [r8 + 1]
call fcn.14000ce60
inc esi
test r14b, r14b
je 0x140004173
mov edx, 0x2a
jmp 0x140004176
movzx edx, di
call fcn.14000c2e0
call fcn.14001dd38
movzx edi, ax
mov ecx, 0x400
cmp ax, 0xd
jne 0x140003fb0
mov rax, qword [0x14004e890]
lea rbx, [0x14004e890]
mov dl, 0xa
movsxd rcx, dword [rax + 4]
add rcx, rbx
call fcn.14000e5e0
movzx edx, ax
mov rcx, rbx
call fcn.14000e430
mov rcx, rbx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp fcn.140002330
xor ecx, ecx
call fcn.140018d1c
int3
Function at 0x140008620
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140008642
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400086bc
mov rdi, r14
mov rcx, rbx
call fcn.14000af20
test rax, rax
jle 0x140008694
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1400370c0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400086ac
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400086b4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140008656
sub r14, rdi
jmp 0x14000879f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400086d3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400086d5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140008707
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400370c0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000879c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140008742
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14000877d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14001d8cc
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000879c
cmp rbp, rax
ja 0x140008750
test rbp, rbp
je 0x14000879c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14001d8cc
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x14000ed50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14000edb1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14000ed70
mov ecx, dword [r9]
jmp 0x14000ee9b
cmp ecx, 0x4e0
jb 0x14000ee9b
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]
add r10, 4
mov edx, r11d
xor edx, eax
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 0x14000edd0
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 0x14000ee20
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 0x140012754
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001279e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001279e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001279e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001279e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001279e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400127a0
xor al, al
add rsp, 0x28
ret