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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rdi, rcx
mov byte [rcx], 0
mov byte [rcx + 4], 1
mov dword [rcx + 8], 0x23
mov dword [rcx + 0xc], 1
add rcx, 0x10
mov dword [rsp + 0x20], 0xff
mov r9d, 0xc8
xor r8d, r8d
mov edx, 0xff
call fcn.14000b960
mov qword [rdi + 0x14], 1
xor r12d, r12d
mov ecx, 0x3f800000
call fcn.140030720
movss dword [rdi + 0x1c], xmm0
mov byte [rdi + 0x20], r12b
lea r14, [rdi + 0x28]
mov qword [rsp + 0xa0], r14
movabs rax, 0x19fdf4672dcfe6bd
mov qword [rsp + 0x50], rax
movabs rcx, 0x435b06ca727215ee
mov qword [rsp + 0x58], rcx
movabs rax, 0x19fd930e4ba189de
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
movaps xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm0
mov dword [r14], r12d
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
lea rbx, [rsp + 0x30]
movd eax, xmm0
test al, al
je 0x1400012e8
nop word [rax + rax]
inc rbx
cmp byte [rbx], 0
jne 0x1400012e0
lea rax, [rsp + 0x30]
sub rbx, rax
mov dword [rsp + 0x50], r12d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
lea rdx, [rbx + 1]
test rdx, rdx
je 0x140001316
lea rcx, [rsp + 0x58]
call fcn.1400020f0
rdtsc
shl rdx, 0x20
or rax, rdx
mov rbp, rax
mov dword [rsp + 0x50], ebp
mov r8, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
sub r8, rsi
xor edx, edx
mov rcx, rsi
call fcn.1400a6950
mov r8d, r12d
test rbx, rbx
je 0x140001371
mov r9, r12
nop dword [rax + rax]
movzx eax, r8b
add al, al
lea edx, [rax + r8]
add dl, bpl
xor dl, byte [rsp + r9 + 0x30]
mov byte [r9 + rsi], dl
inc r8d
movsxd r9, r8d
cmp r9, rbx
jb 0x140001350
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 8]
call fcn.140001fb0
mov eax, dword [rsp + 0x50]
mov dword [r14], eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400013ba
mov rax, qword [rsp + 0x68]
sub rax, rcx
mov rdx, rcx
cmp rax, 0x1000
jb 0x1400013b4
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x140001418
call fcn.14000da60
nop
mov dword [rdi + 0x48], r12d
mov qword [rdi + 0x50], r12
mov qword [rdi + 0x58], r12
mov qword [rdi + 0x60], r12
mov qword [rdi + 0x70], r12
mov qword [rdi + 0x68], r12
mov qword [rdi + 0x80], r12
mov qword [rdi + 0x88], r12
mov qword [rdi + 0x90], r12
mov qword [rdi + 0x98], r12
mov qword [rdi + 0xa0], r12
mov qword [rdi + 0xa8], r12
mov rax, rdi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140087d64
nop
int3
Function at 0x14001bc90
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x228]
sub rsp, 0x310
xor r14d, r14d
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov ecx, 0x7f7fffff
mov qword [rsp + 0x30], r14
xorps xmm7, xmm7
mov qword [rsp + 0x38], r14
movaps xmm6, xmm2
mov dword [rsp + 0x40], r14d
mov rsi, rdx
mov byte [rsp + 0x60], r14b
mov dword [rsp + 0x64], r14d
call fcn.140030720
mov ecx, 0x3f800000
movss dword [rsp + 0x68], xmm0
mov byte [rsp + 0x6c], r14b
mov dword [rsp + 0x70], r14d
call fcn.140030720
mov ecx, 0x3f800000
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x4c], 1
mov dword [rsp + 0x44], 3
mov dword [rsp + 0x48], 1
call fcn.140030720
movss dword [rsp + 0x74], xmm0
lea rcx, [rbp - 0x20]
movabs rax, 0x1c8a56e45a164bf
xor edx, edx
mov qword [rbp - 0x80], rax
mov r8d, 0x200
movabs rax, 0xf39a3f675beeaaa0
mov qword [rbp - 0x78], rax
movabs rax, 0x1a6a50145e764e3
movdqa xmm0, xmmword [rbp - 0x80]
mov qword [rsp + 0x20], rax
movabs rax, 0xf39a3f3b5b9daad4
mov qword [rsp + 0x28], rax
xorps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.1400a6950
lea rax, [rbp - 0x20]
mov rbx, 0xffffffffffffffff
mov qword [rbp + 0x1e0], rax
mov edx, 0x7ffe0030
mov rdi, rbx
inc rdi
cmp word [rdx + rdi*2], r14w
jne 0x14001bda1
add rdi, rdi
lea rcx, [rbp - 0x20]
mov r8, rdi
call fcn.1400a62b0
mov rcx, qword [rbp + 0x1e0]
lea rax, [rsp + 0x20]
add rcx, rdi
mov rdi, rbx
mov qword [rbp + 0x1e0], rcx
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x14001bdd3
add rdi, rdi
lea rdx, [rsp + 0x20]
mov r8, rdi
call fcn.1400a62b0
mov rcx, qword [rbp + 0x1e0]
add rcx, rdi
mov qword [rbp + 0x1e0], rcx
nop
inc rbx
cmp word [rsi + rbx*2], r14w
jne 0x14001be00
add rbx, rbx
mov rdx, rsi
mov r8, rbx
call fcn.1400a62b0
add qword [rbp + 0x1e0], rbx
lea r8, [rbp + 0x238]
mov r9b, 1
mov qword [rbp + 0x230], r14
lea rdx, [rbp + 0x230]
mov qword [rbp + 0x238], r14
lea rcx, [rbp - 0x20]
call fcn.14002e040
mov rdx, qword [rbp + 0x230]
test rdx, rdx
je 0x14001bebe
mov rcx, qword [rbp + 0x238]
test rcx, rcx
je 0x14001bebe
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
mov rax, qword [0x1401c50d0]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [rsp + 0x70]
mov qword [rbp - 0x70], rdx
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x68], ecx
mov rcx, qword [rax + 0x40]
movups xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x40], r14b
movss dword [rbp - 0x60], xmm6
movups xmmword [rbp - 0x50], xmm7
movups xmmword [rbp - 0x30], xmm1
call fcn.140021e00
mov rcx, qword [0x1401c50d0]
cmp qword [rcx + 0x78], r14
jne 0x14001bec1
mov qword [rcx + 0x78], rax
jmp 0x14001bec1
mov rax, r14
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14003c1c0
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x250
mov rsi, rdx
movabs rax, 0x7b08077dbdf1bdd
mov qword [rsp + 0x30], rax
movabs rax, 0xedb2645e90d82e86
mov qword [rsp + 0x38], rax
movabs rax, 0x7de8018db991b81
mov qword [rsp + 0x20], rax
movabs rax, 0xedb2640290ab2ef2
mov qword [rsp + 0x28], rax
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x40]
call fcn.1400a6950
lea rax, [rsp + 0x40]
mov qword [rsp + 0x240], rax
mov edx, 0x7ffe0030
mov rbx, 0xffffffffffffffff
mov rdi, rbx
nop dword [rax + rax]
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x14003c260
add rdi, rdi
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.1400a62b0
mov rcx, qword [rsp + 0x240]
add rcx, rdi
mov qword [rsp + 0x240], rcx
lea rax, [rsp + 0x20]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14003c292
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.1400a62b0
mov rcx, qword [rsp + 0x240]
add rcx, rbx
mov qword [rsp + 0x240], rcx
mov rdx, rsi
lea rdi, [rsi + 0x18]
cmp qword [rdi], 7
jbe 0x14003c2d5
mov rdx, qword [rsi]
lea rbp, [rsi + 0x18]
jmp 0x14003c2d8
mov rbp, rdi
lea r14, [rsi + 0x10]
mov rax, qword [r14]
lea rbx, [rax + rax]
mov r8, rbx
call fcn.1400a62b0
add qword [rsp + 0x240], rbx
xor r15d, r15d
mov qword [rsp + 0x280], r15
mov qword [rsp + 0x290], r15
mov r9b, 1
lea r8, [rsp + 0x290]
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x40]
call fcn.14002e040
test al, al
je 0x14003c335
mov rcx, qword [rsp + 0x280]
call fcn.14000da60
nop
cmp qword [rsp + 0x280], 0
setne bl
mov rax, qword [rdi]
cmp rax, 7
jbe 0x14003c382
mov rcx, qword [rsi]
lea rax, [rax*2 + 2]
mov rdi, rbp
cmp rax, 0x1000
jb 0x14003c37c
mov rdx, qword [rcx - 8]
sub rcx, rdx
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003c3aa
mov rcx, rdx
lea r14, [rsi + 0x10]
lea rdi, [rsi + 0x18]
call fcn.14000da60
nop
mov qword [r14], r15
mov qword [rdi], 7
mov word [rsi], r15w
movzx eax, bl
mov rbx, qword [rsp + 0x298]
add rsp, 0x250
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140087d64
int3
Function at 0x406c50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov ebx, edx
mov rax, qword [rbp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rbp + 0x28]
call fcn.00406fa0
mov esi, eax
test sil, sil
jne 0x406e12
test ebx, ebx
je 0x406e12
xor rdi, rdi
test r13d, r13d
jle 0x406d37
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov dword [rbp + 0x3c], 0
test r13d, r13d
jle 0x406d16
cmp ebx, 0xffffffff
je 0x406cc3
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x406cc3
xor rsi, rsi
jmp 0x406e12
mov rax, qword [rbp + 0x28]
cmp dword [rax], 1
jg 0x406d16
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0
jne 0x406d04
xor eax, eax
mov ecx, 1
mov rdx, qword [rbp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x406d04
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x406e12
lea rcx, [rbp + 0x3c]
call fcn.00406950
sub r13d, 1
test r13d, r13d
jg 0x406caa
nop
cmp ebx, 0xffffffff
je 0x406d37
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jb 0x406d32
xor rsi, rsi
jmp 0x406e12
sub eax, r14d
sub ebx, eax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x406c6d
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x406d37
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rbp + 0x28]
call fcn.00406ec0
xor rcx, rcx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x00447990]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x406da1
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jae 0x406d9e
sub eax, r14d
sub ebx, eax
jmp 0x406da1
xor rbx, rbx
test sil, sil
je 0x406dd3
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x406dd0
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x406da6
mov dil, 1
nop
jmp 0x406df0
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x406dd3
mov dil, 1
test dil, dil
je 0x406d5a
nop
test sil, sil
je 0x406e12
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret
Function at 0x1400026f0
Capabilities:
Create thread
Inject thread
Resume thread
Terminate thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x530
mov rax, qword [0x1400440c0]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov rbp, r8
mov dword [rsp + 0x20], 4
mov r8, rdx
mov r14, r9
mov rbx, rdx
mov r9d, 0x3000
xor edx, edx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x14000291e
lea rax, [rsp + 0x48]
mov r9, rbx
mov r8, rbp
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140002909
cmp qword [rsp + 0x48], rbx
jne 0x140002909
lea rax, [rsp + 0x44]
mov r9d, 0x20
mov r8, rbx
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x140002909
xor ebp, ebp
mov r9, r14
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov dword [rsp + 0x28], 4
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
je 0x140002909
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x4d0
call fcn.14002feb0
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x80], 0x10000b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1400028f5
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x148], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x1400028f5
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x40], 0x103
jne 0x140002842
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, rbx
jmp 0x140002920
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400472f8], eax
jle 0x1400028ad
lea rcx, [0x1400472f8]
call fcn.14000ef34
cmp dword [0x1400472f8], 0xffffffff
jne 0x1400028ad
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002897
lea rdx, str.NtQueueApcThread
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x14000289a
mov rax, rbp
lea rcx, [0x1400472f8]
mov qword [0x1400472e8], rax
call fcn.14000eec8
mov rax, qword [0x1400472e8]
test rax, rax
jne 0x1400028c9
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
jmp 0x140002920
xor r9d, r9d
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call rax
test eax, eax
jns 0x1400028f0
mov ecx, eax
call qword [sym.imp.ADVAPI32.dll_LsaNtStatusToWinError]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
jmp 0x140002920
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.14000ee30
add rsp, 0x530
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140009650
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0xc50
mov rax, qword [0x1400440c0]
xor rax, rsp
mov qword [rsp + 0xc40], rax
xorps xmm0, xmm0
mov rsi, rcx
movups xmmword [rsp + 0x40], xmm0
xor ebp, ebp
movups xmmword [rsp + 0x50], xmm0
mov r8d, ebp
movups xmmword [rsp + 0x60], xmm0
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax]
mov r9, qword [rcx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
mov r10d, dword [r11 + r9 + 0x20]
nop dword [rax]
nop word [rax + rax]
mov eax, r8d
mov edx, 0x9ec26479
lea rcx, [r10 + rax*4]
mov eax, dword [rcx + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1400096ff
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x1400096e0
cmp edx, 0x318f86e
je 0x140009704
inc r8d
jmp 0x1400096c0
mov ecx, dword [r11 + r9 + 0x24]
mov edx, dword [r11 + r9 + 0x1c]
add rcx, r9
mov eax, r8d
add rdx, r9
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
movzx ecx, word [rcx + rax*2]
mov eax, dword [rdx + rcx*4]
xor edx, edx
add rax, r9
mov rcx, rsi
mov r9d, 0x30
call rax
test eax, eax
jne 0x140009867
mov rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x820]
mov r9d, 0x7b0
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140009867
mov rdx, qword [rsp + 0x90]
lea rax, [rsp + 0x820]
mov r9d, 0x410
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x830]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140009867
movaps xmm0, xmmword [rsp + 0x8a0]
movd eax, xmm0
mov qword [rsp + 0xc68], rbx
mov qword [rsp + 0xc70], rdi
movzx ecx, ax
mov eax, 2
shr rcx, 1
inc rcx
mul rcx
movups xmmword [rsp + 0x30], xmm0
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.14000ee94
movups xmm0, xmmword [rsp + 0x30]
mov rbx, rax
mov rcx, rsi
lea rax, [rsp + 0x820]
mov r8, rbx
movd edx, xmm0
psrldq xmm0, 8
mov qword [rsp + 0x20], rax
movzx edi, dx
movq rdx, xmm0
mov r9d, edi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x14000985b
mov rcx, rbx
call fcn.14000ee50
xor eax, eax
mov rbx, qword [rsp + 0xc68]
mov rdi, qword [rsp + 0xc70]
mov rcx, qword [rsp + 0xc40]
xor rcx, rsp
call fcn.14000ee30
mov rbp, qword [rsp + 0xc78]
add rsp, 0xc50
pop rsi
ret
shr rdi, 1
mov rax, rbx
mov word [rbx + rdi*2], bp
jmp 0x14000982a
xor eax, eax
jmp 0x14000983a
Function at 0x14000c2cc
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 rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14000c2fa
xor eax, eax
jmp 0x14000c3e0
cmp qword [rcx + 0x68], 0
je 0x14000c30b
call fcn.14000c3fc
jmp 0x14000c3e0
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000c322
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000c324
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000c356
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14002f810
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14000c3da
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000c38d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14000c3b6
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140018848
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000c3da
cmp rsi, rbx
ja 0x14000c394
test rsi, rsi
je 0x14000c3da
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140018848
sub rsi, rax
sub rbp, rsi
mov rax, rbp
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

Function at 0x14000fd90
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14001752f
call fcn.140019e18
mov dword [rax], 0x16
call fcn.140014de0
xor eax, eax
jmp 0x1400175bd
mov rdx, r9
mov rcx, r8
call fcn.140017494
mov rbx, rax
test rax, rax
je 0x1400175ba
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400173c0]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400175a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140019d8c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14001758e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14001759d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14001f370
jmp 0x1400175ba
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400175b7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14001bcdc
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001bd4b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001bd4b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001bd4b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001bd4b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001bd4b
cmp dword [rcx + 0x84], 0xe
jbe 0x14001bd4b
cmp dword [rcx + 0xf8], 0
je 0x14001bd4b
mov ecx, ebx
call fcn.14001bdfc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001bbd8
nop
cmp dword [rbp + 0x20], 0
je 0x14001bd99
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001bda4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001bcdc

Function at 0x14001bee0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001bcdc
Function at 0x140024050
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14000f570
sub rsp, rax
mov rax, qword [0x1400440c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140020668
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002409f
mov rax, rbp
jmp 0x1400241a7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x46b90]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140025338
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x46b90]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400241a3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400241a3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140025338
test rax, rax
js 0x1400241a3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400241a3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140024195
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140024195
cmp byte [rcx], 0xd
jne 0x14002417b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002418a
cmp byte [rcx + 1], 0xa
jne 0x14002418a
inc rcx
jmp 0x14002418a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x44500]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14002415d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400241a7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000ee30
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400244c4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400244da
mov al, 1
jmp 0x14002453a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400244eb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140024538
mov ecx, dword [rcx + 0x18]
nop
call fcn.140028104
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140024538
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140024538
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140024538
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14002453a
xor al, al
add rsp, 0x20
pop rbx
ret