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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x290
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbp, rcx
mov qword [rsp + 0x68], rcx
xor edi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.140098980
mov dword [rsp + 0x68], 0x104
call fcn.140027440
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea ecx, [rdi + 0x20]
call fcn.14006c698
mov rbx, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], 0x1a
mov qword [rsp + 0x60], 0x1f
movups xmm0, xmmword [str.QueryFullProcessImageNameW]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400b4ce0]
movsd qword [rax + 0x10], xmm0
movzx eax, word [0x1400b4ce8]
mov word [rbx + 0x18], ax
mov byte [rbx + 0x1a], dil
call fcn.140048a20
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movabs r9, 0xcbf29ce484222325
mov ecx, edi
movabs rdx, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rbx]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, 0x1a
jb 0x140028050
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.1400288c0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140028089
cmp rdx, qword [r14 + 8]
je 0x140028089
mov rdi, qword [rdx + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov edx, 0x20
mov rcx, rbx
call fcn.14006c690
test rdi, rdi
je 0x1400280bf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x70]
xor edx, edx
call rdi
jmp 0x1400280d1
mov r8d, dword [rsp + 0x68]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400280f0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.140008f40
nop
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.140027ce0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x140028157
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028152
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028182
call fcn.14006c690
mov rax, rbp
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14006c670
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.14007da9c
int3

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

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 7
jbe 0x14002863e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret
Function at 0x140033f10
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov dword [rsp + 0x20], 1
xor edx, edx
lea ecx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
setg al
test rbx, rbx
jg 0x140033f8d
test al, al
je 0x140034022
jmp 0x140034018
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x44]
call fcn.140098980
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140034018
nop dword [rax]
cmp qword [rsi + 0x10], 0
je 0x140033fe2
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140033fd4
mov rdx, qword [rsi]
lea rcx, [rsp + 0x6c]
call fcn.14007f8ec
test eax, eax
jne 0x140034006
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140033ff9
mov eax, dword [rsp + 0x48]
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x140034006
lea r8, [rsp + 0x48]
mov rcx, rdi
call fcn.1400346f0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140033fc0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14006c670
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140035880
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rdx
mov rbp, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor esi, esi
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
mov dword [rsp + 0x20], 1
xor edx, edx
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jg 0x1400358f0
jmp 0x140035a26
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x4c], xmm0
mov qword [rsp + 0x5c], rsi
mov dword [rsp + 0x48], 0x1c
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x140035a1c
lea r12, vtable.std::_Ref_count_obj2_class_blackbone::Thread_.0
mov rsi, qword [rbp]
mov eax, dword [rsi + 8]
cmp dword [rsp + 0x54], eax
jne 0x140035a06
mov ecx, 0x28
call fcn.14006c698
mov r14, rax
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
mov qword [rax], r12
lea r15, [rax + 0x10]
mov r8d, dword [rsp + 0x50]
mov qword [r15], rsi
mov dword [r15 + 8], r8d
xor edx, edx
mov ecx, 0x10005b
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [r15 + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
or dword [rsp + 0x20], 2
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], r14
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400359b3
mov qword [rdx], r15
mov qword [rdx + 8], r14
movdqu xmmword [rsp + 0x28], xmm0
add qword [rdi + 8], 0x10
jmp 0x1400359c1
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.140035da0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140035a06
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140035a01
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140035a01
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140035923
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14006c670
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400367e0
Capabilities:
Encode data using xor
Hash data using fnv

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, 0x30
mov r15d, edx
mov rbp, rcx
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax + 0x10]
movzx r12d, byte [rcx + 0x15]
xor eax, eax
test r12b, r12b
sete al
mov dword [rsp + 0x20], eax
lea rbx, [rbp + 0x58]
mov qword [rsp + 0x28], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r9, qword [rbp + 0x20]
mov rdx, qword [r9]
cmp rdx, r9
je 0x140036900
movabs rcx, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
mov rsi, qword [rdx]
mov rax, qword [rdx + 0x38]
cmp byte [rax + 0x58], 0
jne 0x1400368ec
mov r11, qword [rdx + 0x20]
lea r10, [rdx + 0x10]
cmp qword [rdx + 0x28], 7
jbe 0x140036876
mov r10, qword [rdx + 0x10]
mov r8, rcx
xor eax, eax
add r11, r11
je 0x140036898
movzx ecx, byte [rax + r10]
xor r8, rcx
imul r8, rbx
inc rax
cmp rax, r11
jb 0x140036880
mov r9, qword [rbp + 0x20]
movsxd rcx, dword [rdx + 0x30]
xor rcx, r8
and rcx, qword [rbp + 0x48]
add rcx, rcx
mov rax, qword [rbp + 0x30]
mov r8, qword [rax + rcx*8]
cmp qword [rax + rcx*8 + 8], rdx
jne 0x1400368d0
cmp r8, rdx
jne 0x1400368c5
mov qword [rax + rcx*8], r9
mov qword [rax + rcx*8 + 8], r9
jmp 0x1400368d9
mov r9, qword [rdx + 8]
mov qword [rax + rcx*8 + 8], r9
jmp 0x1400368d9
cmp r8, rdx
jne 0x1400368d9
mov qword [rax + rcx*8], rsi
lea rcx, [rbp + 0x20]
call fcn.14003cfc0
movabs rcx, 0xcbf29ce484222325
mov r9, qword [rbp + 0x20]
mov rdx, rsi
cmp rsi, r9
jne 0x140036852
lea rbx, [rbp + 0x58]
mov r8d, dword [rsp + 0x20]
mov edx, r15d
mov rcx, rbp
call fcn.140039c70
test r15d, r15d
jne 0x140036929
test r12b, r12b
je 0x140036929
xor edx, edx
lea r8d, [r15 + 1]
mov rcx, rbp
call fcn.140039c70
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rax, [rbp + 0x18]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140039200
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rsp + 0x190], rax
xorps xmm0, xmm0
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x108
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.140098980
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x1400392ee
mov rax, qword [rax + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
mov r9d, 0x40
mov rdx, rbx
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x1400392ee
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x1400392ee
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x1400392ee
mov rax, qword [rax + 0x70]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rsp + 0x80]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x1400392ee
cmp dword [rsp + 0x80], 0x4550
sete al
jmp 0x1400392f0
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14006c670
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x1400399d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rdi
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov r14, rcx
movsxd r15, r8d
lea rcx, [rsp + 0x70]
call fcn.140027a30
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140028400
xor edi, edi
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x20], xmm1
movups xmmword [rsp + 0xa0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x58]
mov dword [rsp + 0xb0], r15d
cmp rdx, 7
jbe 0x140039a92
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039a83
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039c62
call fcn.14006c690
movups xmm1, xmmword [rsp + 0x20]
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x110], rbx
lea r8, [rsp + 0x90]
mov qword [rsp + 0xd8], rbp
movq rax, xmm1
movq rbp, xmm0
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xc8], r12
movdqa xmm0, xmm1
psrldq xmm0, 8
movabs rbx, 0xcbf29ce484222325
movq r12, xmm0
mov qword [rsp + 0xc0], r13
cmp r12, 7
lea rsi, [rax + rax]
mov rcx, rbx
mov rdx, rdi
cmova r8, rbp
movabs r13, 0x100000001b3
test rsi, rsi
je 0x140039b24
nop word [rax + rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, rsi
jb 0x140039b10
mov r9, r15
lea r8, [rsp + 0x90]
xor r9, rcx
lea rdx, [rsp + 0x30]
lea rcx, [r14 + 0x18]
call fcn.140026ac0
cmp qword [rax + 8], rdi
je 0x140039be0
cmp r12, 7
lea rcx, [rsp + 0x90]
cmova rcx, rbp
test rsi, rsi
je 0x140039b73
nop
movzx eax, byte [rdi + rcx]
inc rdi
xor rbx, rax
imul rbx, r13
cmp rdi, rsi
jb 0x140039b60
xor r15, rbx
lea r8, [rsp + 0x90]
mov r9, r15
lea rdx, [rsp + 0x60]
lea rcx, [r14 + 0x18]
call fcn.140026ac0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140039be0
mov r8, qword [r14 + 0x48]
and r8, r15
shl r8, 4
add r8, qword [r14 + 0x30]
mov rax, qword [r8]
cmp qword [r8 + 8], rdx
jne 0x140039bcc
cmp rax, rdx
jne 0x140039bc2
mov rax, qword [r14 + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], rax
jmp 0x140039bd7
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
jmp 0x140039bd7
cmp rax, rdx
jne 0x140039bd7
mov rax, qword [rdx]
mov qword [r8], rax
lea rcx, [r14 + 0x20]
call fcn.14003cfc0
mov r13, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x110]
cmp r12, 7
jbe 0x140039c2f
lea rdx, [r12*2 + 2]
mov rax, rbp
cmp rdx, 0x1000
jb 0x140039c27
mov rbp, qword [rbp - 8]
add rdx, 0x27
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140039c5c
mov rcx, rbp
call fcn.14006c690
mov rbp, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14006c670
add rsp, 0xe0
pop r15
pop r14
pop rdi
ret
call fcn.14007da9c
int3
call fcn.14007da9c
int3
Function at 0x14003c400
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 7
mov rbx, rcx
mov rcx, qword [rdx + 0x10]
mov r10, rdx
jbe 0x14003c41e
mov r10, qword [rdx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
add rcx, rcx
je 0x14003c454
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, r11
cmp r8, rcx
jb 0x14003c440
movsxd rdi, dword [rdx + 0x20]
mov r8, rdx
xor rdi, r9
lea rdx, [rsp + 0x20]
mov r9, rdi
mov rcx, rbx
call fcn.140026ac0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14003c4cf
mov r8, qword [rbx + 0x30]
and r8, rdi
shl r8, 4
add r8, qword [rbx + 0x18]
mov rax, qword [r8]
cmp qword [r8 + 8], rdx
jne 0x14003c4ab
cmp rax, rdx
jne 0x14003c4a1
mov rax, qword [rbx + 8]
mov qword [r8], rax
mov qword [r8 + 8], rax
jmp 0x14003c4b6
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
jmp 0x14003c4b6
cmp rax, rdx
jne 0x14003c4b6
mov rax, qword [rdx]
mov qword [r8], rax
lea rcx, [rbx + 8]
call fcn.14003cfc0
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x14003f320
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
movzx edi, dl
test rcx, rcx
je 0x14003f34c
jle 0x14003f348
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003f361
jle 0x14003f35d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003f374
jle 0x14003f371
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14003f389
jle 0x14003f385
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test dil, dil
jne 0x14003f3f5
cmp qword [rbx + 0x110], 7
lea rcx, [rbx + 0xf8]
jbe 0x14003f3ae
mov rcx, qword [rbx + 0xf8]
mov qword [rbx + 0x108], rsi
mov word [rcx], si
cmp byte [rbx + 0x1c], sil
je 0x14003f3da
add rbx, 0x118
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14003f3d2
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14003f3e1
add rbx, 0x118
cmp qword [rbx + 0x18], 7
mov rax, rbx
jbe 0x14003f3ee
mov rax, qword [rbx]
mov qword [rbx + 0x10], rsi
mov word [rax], si
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14003f410
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x14003f43d
mov rcx, qword [rcx + 0x10]
cmp rdx, rcx
je 0x14003f43d
test rcx, rcx
jle 0x14003f439
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rdi
mov rdx, qword [rbx + 0x10]
test rdx, rdx
jne 0x14003f456
mov eax, 0xc0000141
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14003f61a
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
cmp dword [rcx], 0x4550
jne 0x14003f61a
mov eax, 0x20b
mov qword [rsp + 0x50], rsi
mov r10, rcx
cmp word [rcx + 0x18], ax
jne 0x14003f4a6
mov byte [rbx + 0x19], 1
lea rdi, [rcx + 0x108]
mov rax, qword [rcx + 0x30]
mov r9b, 1
jmp 0x14003f4b7
mov byte [rbx + 0x19], 0
lea rdi, [rcx + 0xf8]
mov eax, dword [rcx + 0x34]
xor r9b, r9b
mov qword [rbx + 0x30], rax
mov eax, dword [rcx + 0x50]
mov dword [rbx + 0x38], eax
mov eax, dword [rcx + 0x54]
mov dword [rbx + 0x40], eax
mov eax, dword [rcx + 0x28]
mov dword [rbx + 0x3c], eax
mov eax, 0x5e
movzx r11d, word [rcx + 0x5c]
mov dword [rbx + 0x54], r11d
movzx eax, word [rax + r10]
mov dword [rbx + 0x5c], eax
movzx eax, word [rcx + 0x16]
shr ax, 0xd
not al
and al, 1
mov byte [rbx + 0x1a], al
test r9b, r9b
je 0x14003f500
add rcx, 0xf8
jmp 0x14003f507
add rcx, 0xe8
mov eax, dword [rcx]
test eax, eax
je 0x14003f542
cmp byte [rbx + 0x18], 0
mov r8d, eax
je 0x14003f598
mov rcx, qword [rbx + 0x60]
mov r9, qword [rbx + 0x68]
cmp rcx, r9
je 0x14003f542
mov edx, dword [rcx + 0xc]
cmp r8, rdx
jb 0x14003f539
mov eax, dword [rcx + 8]
add eax, edx
cmp r8, rax
jb 0x14003f589
add rcx, 0x28
cmp rcx, r9
jne 0x14003f527
mov byte [rbx + 0x1b], 0
mov rax, qword [rbx + 0x20]
xor esi, esi
cmp si, word [rax + 6]
jae 0x14003f608
mov qword [rsp + 0x48], rbp
nop dword [rax + rax]
mov rdx, qword [rbx + 0x68]
cmp rdx, qword [rbx + 0x70]
je 0x14003f5e1
movups xmm0, xmmword [rdi]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rdx + 0x10], xmm1
movsd xmm0, qword [rdi + 0x20]
movsd qword [rdx + 0x20], xmm0
add qword [rbx + 0x68], 0x28
jmp 0x14003f5ed
mov eax, dword [rcx + 0x14]
sub rax, rdx
add rax, qword [rbx + 0x10]
add rax, r8
jmp 0x14003f59b
add rax, rdx
test rax, rax
je 0x14003f542
test byte [rax + 0x10], 1
je 0x14003f542
sub eax, dword [rbx + 0x10]
lea rdx, [rbx + 0xf8]
add eax, 0x10
mov byte [rbx + 0x1b], 1
lea rcx, [rbx + 0x138]
mov dword [rbx + 0x58], eax
call fcn.140046ef0
test al, al
je 0x14003f546
xor edx, edx
lea rcx, [rbx + 0x138]
call fcn.140047030
jmp 0x14003f546
mov r8, rdi
lea rcx, [rbx + 0x60]
call fcn.140040e80
mov rax, qword [rbx + 0x20]
inc esi
add rdi, 0x28
movzx ecx, word [rax + 6]
cmp esi, ecx
jl 0x14003f560
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x58]
mov eax, 0xc000007b
add rsp, 0x30
pop rdi
ret
Function at 0x1400455f0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor esi, esi
lea r9, [rsp + 0x50]
mov rbx, rcx
mov qword [rsp + 0x50], rsi
add rcx, 0x78
lea edx, [rsi + 0x18]
lea r8d, [rsi + 8]
call fcn.140042980
cmp qword [rsp + 0x50], rsi
je 0x1400456ed
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rbx]
lea r9, [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov r8, rax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov rcx, qword [rcx]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004567c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x78]
mov qword [rsp + 0x40], rsi
test rdx, rdx
je 0x1400456b3
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x40]
mov rdx, qword [rdx]
mov r9d, 8
add rdx, 0x18
mov qword [rsp + 0x20], rsi
mov rcx, qword [rax + 0x70]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdx, qword [rbx + 0x88]
mov qword [rsp + 0x48], rsi
test rdx, rdx
je 0x1400456ed
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x48]
mov rdx, qword [rdx]
mov r9d, 8
add rdx, 0x18
mov qword [rsp + 0x20], rsi
mov rcx, qword [rax + 0x70]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x140045700
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400457a4
call fcn.140042b80
test al, al
je 0x1400457a4
mov rcx, qword [rbx + 0x20]
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x20]
mov edx, 0xffffffff
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rbx + 0x20]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140045756
jle 0x140045752
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], rsi
mov dword [rdi + 8], esi
mov rdi, qword [rbx + 0x28]
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test rdi, rdi
je 0x140045796
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140045796
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x140045796
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400457a4
call fcn.140042850
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14006c670
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14004a610
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x1400cb368], 0
jne 0x14004a681
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x24]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov qword [0x1400cb358], rax
mov eax, dword [rsp + 0x48]
mov qword [0x1400cb360], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x1400cb368], rax
lea rax, [0x1400cb358]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14006c670
add rsp, 0x68
ret
Function at 0x140057aa0
Capabilities:
Terminate thread

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov byte [rcx + 0x60], 0
mov rcx, qword [rcx + 0x48]
xor ebp, ebp
test rcx, rcx
je 0x140057ad5
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0x48], rbp
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140057aea
jle 0x140057ae6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rbp
mov edi, ebp
nop dword [rax]
mov edx, edi
mov rcx, rbx
call fcn.1400577e0
inc edi
cmp edi, 4
jl 0x140057af0
cmp qword [rbx + 0x10], rbp
je 0x140057bdf
call fcn.140014078
mov rcx, qword [rbx]
mov dword [rsp + 0x40], ebp
mov edx, dword [rcx + 8]
mov rcx, qword [rax]
mov dword [rsp + 0x44], edx
cmp rcx, 0xffffffffffffffff
je 0x140057b75
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x44]
mov dword [rsp + 0x28], ebp
mov r9d, 4
mov edx, 0x8005e020
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140057b6a
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], ebp
jl 0x140057b75
lea rcx, [rbx + 8]
call fcn.140057c00
jmp 0x140057bd3
mov qword [rsp + 0x78], rsi
mov rsi, qword [rbx + 8]
mov qword [rsp + 0x80], r14
mov rdi, qword [rsi + 8]
cmp byte [rdi + 0x19], bpl
jne 0x140057bb7
mov r8, qword [rdi + 0x10]
lea rdx, [rbx + 8]
lea rcx, [rbx + 8]
call fcn.140057c70
mov rcx, rdi
mov edx, 0x38
mov rdi, qword [rdi]
call fcn.14006c690
cmp byte [rdi + 0x19], bpl
je 0x140057b90
mov r14, qword [rsp + 0x80]
mov qword [rsi + 8], rsi
mov qword [rsi], rsi
mov qword [rsi + 0x10], rsi
mov rsi, qword [rsp + 0x78]
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x40], rbp
mov qword [rbx + 0x58], rbp
mov qword [rbx + 0x50], rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006c670
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret