joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009d30
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
mov rax, qword [rcx + 0x110]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1400e2c60]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x14016e000]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ffc], ebx
jne 0x140009dc6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14002a7b0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140009dd0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x110]
lea r9, [0x1400e2c60]
movss xmm2, dword [rcx + 0x128]
movss xmm3, dword [rcx + 0x12c]
movsxd rcx, dword [rcx + 0x108]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x1400189e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14016d080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14016e000]
mov edi, ecx
cmp byte [rbx + 0x43e5], 0
jne 0x140018a41
cmp byte [rbx + 0x43e6], 0
jne 0x140018a41
movsx r9d, word [rbx + 0x54da]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140006450
test dil, 1
je 0x140018b69
jmp 0x140018ad1
movss xmm1, dword [rbx + 0x39a8]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x54da]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14015a760]
mulss xmm1, dword [0x14015a74c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe04]
addss xmm1, dword [rbx + 0xe08]
mov qword [rbx + 0x40e4], rax
mov dword [rbx + 0x40cc], 1
movss dword [rbx + 0x40dc], xmm0
mov byte [rbx + 0x4104], 1
movss dword [rbx + 0x40e0], xmm1
movss xmm0, dword [rbx + 0x3a04]
mulss xmm0, dword [0x14015a694]
or dword [rbx + 0x40c8], 0x41
movss dword [rbx + 0x4128], xmm0
call fcn.140006450
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140018b21
lea r11, [0x1400e2c60]
cmp r9b, 0x23
jne 0x140018b04
cmp byte [r8], r9b
jne 0x140018b04
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140018af1
not ecx
call fcn.1400102e0
test rax, rax
je 0x140018b69
cmp byte [rax + 0xcb], 0
je 0x140018b69
mov byte [rax + 0xd2], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x54da]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x54da]
call fcn.140006450
lea r9, [0x140156f64]
xor edx, edx
mov r8d, 0x22c0347
lea rcx, [rsp + 0x20]
call fcn.140012f60
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400d00f0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001e0a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x55c8], 0
lea rbx, [rcx + 0x55d0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001e147
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001e0fa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14002bb20
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140007160
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x55c8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x55d8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14016dff8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001e14f
mov rcx, rbx
call fcn.140007160
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001e590
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x14001e5e2
lea r11, [0x1400e2c60]
cmp r9b, 0x23
jne 0x14001e5c5
cmp byte [r8], r9b
jne 0x14001e5c5
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001e5b2
mov r11, qword [0x14016e000]
mov r10, qword [r11 + 0x5590]
test r10, r10
je 0x14001e629
lea r9, [r10 + 4]
test r9, r9
je 0x14001e629
not eax
cmp dword [r9], eax
je 0x14001e632
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x5588]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x14001e600
mov rcx, rbx
pop rbx
jmp fcn.14001e4a0
mov rax, r9
pop rbx
ret

Function at 0x14001e640
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14016e000]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001e6a3
mov qword [rsp], rbx
lea rbx, [0x1400e2c60]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001e683
cmp byte [r8], r9b
jne 0x14001e683
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001e670
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5578]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001e6d7
mov r10, qword [r10 + 0x5580]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001e6de
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001e6c4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140022240
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14002248e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14016d080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400e2c60]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x140022456
mov rcx, rbp
call fcn.1400218a0
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x140022311
movsxd rdx, dword [rbp + 0x5528]
mov r8, qword [rbp + 0x5530]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x140022301
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x1400222f9
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x1400222fc
mov rdx, rcx
test rdx, rdx
jne 0x1400222d0
cmp r8, r10
je 0x140022311
cmp dword [r8], r9d
jne 0x140022311
mov rcx, qword [r8 + 8]
jmp 0x140022313
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xc4]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xc4], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x1400223a7
cmp qword [rcx + 0x20], 0
jne 0x14002239c
mov qword [rcx + 0x20], rbx
jmp 0x1400223a7
cmp qword [rcx + 0x28], 0
jne 0x1400223a7
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 6]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x1400223ec
nop word [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1400223e0
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x20]
call fcn.140006450
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x140022448
cmp r9b, 0x23
jne 0x14002242b
cmp byte [r8], r9b
jne 0x14002242b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x140022418
not ecx
call fcn.1400102e0
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x140022290
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d00f0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140029f20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x140029f6d
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x140029f72
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x140029f9d
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140029f9d
mov rax, qword [rax + 0x390]
test rax, rax
je 0x140029f9d
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
jmp 0x140029fa2
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x140029fbc
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x140029fc1
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x14002a043
inc ecx
test r8d, r8d
je 0x14002a02e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14002a033
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.14002b4c0
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x14002a082
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.140029f20
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x14002a092
inc esi
jmp 0x140029f50
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x14005e330
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14016d080]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov dword [rsp + 0x20], 0x130
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005e3c2
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_Process32First]
test eax, eax
je 0x14005e3b9
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14005e3a3
inc rax
test ecx, ecx
jne 0x14005e390
mov rcx, rbx
test edx, edx
je 0x14005e3e5
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_Process32Next]
test eax, eax
jne 0x14005e380
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400d00f0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x14005e3c4

Function at 0x14005e400
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x14016d080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
mov ecx, 8
call qword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov dword [rsp + 0x20], 0x238
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14005e442
xor eax, eax
jmp 0x14005e492
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_Module32First]
test eax, eax
je 0x14005e484
nop dword [rax]
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x14005e484
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_Module32Next]
test eax, eax
jne 0x14005e460
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400d00f0
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
Function at 0x14005e6b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov r11, rsp
push rbp
sub rsp, 0x90
mov rax, qword [0x14016d080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [r11 - 0x10], rbx
mov rbp, rdx
mov qword [r11 - 0x18], rsi
mov esi, dword [rdx + 0x20]
mov qword [r11 - 0x20], rdi
mov rdi, r9
mov qword [r11 - 0x28], r12
xor r12d, r12d
mov qword [r11 - 0x30], r14
mov eax, r12d
mov qword [r11 - 0x58], rax
mov r14, rcx
mov qword [r11 - 0x60], r12
mov r8d, r12d
mov qword [r11 - 0x50], r12
test rsi, rsi
je 0x14005e72f
mov edx, esi
lea rcx, [r11 - 0x60]
call fcn.14006cbe0
mov rbx, qword [rsp + 0x38]
mov r8d, esi
mov rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rsp + 0x38]
lea rax, [rbx + rsi]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x60], r15
mov rbx, r12
cmp rax, r8
je 0x14005e7e2
mov r15, qword [rbp + 0x18]
mov rsi, r12
nop word [rax + rax]
mov rbp, r15
mov qword [rsp + 0x20], r12
sub rbp, rsi
lea r8, [rsp + 0x30]
sub rbp, 0x10000
mov r9d, 1
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
jne 0x14005e7c2
mov r8, qword [rsp + 0x38]
mov r9, rdi
mov rdx, rbp
mov qword [rsp + 0x20], r12
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test rdi, rdi
je 0x14005e7c2
mov r8, qword [rsp + 0x38]
mov eax, 1
mov rcx, rax
cmp byte [r8 + rax - 1], r12b
jne 0x14005e7c7
cmp rax, rdi
je 0x14005e84a
inc rax
cmp rcx, rdi
jb 0x14005e7a5
jmp 0x14005e7c7
mov r8, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
inc rbx
sub rax, r8
add rsi, 0x10000
cmp rbx, rax
jb 0x14005e750
mov rbp, r12
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
test r8, r8
je 0x14005e8f3
mov rdx, qword [rsp + 0x48]
mov rax, r8
sub rdx, r8
cmp rdx, 0x1000
jb 0x14005e8eb
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e8eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movsxd rbx, dword [rsp + 0xc0]
cmp ebx, 1
jle 0x14005e89c
lea rsi, [rbx*4 + 0xffc]
add rsi, rbp
nop dword [rax]
nop word [rax + rax]
sub rsi, 4
mov dword [rsp + 0x20], 0x40
mov rdx, rsi
mov r9d, 0x3000
mov r8d, 4
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
dec ebx
test ebx, ebx
jg 0x14005e870
jmp 0x14005e8c4
test ebx, ebx
je 0x14005e8c4
lea rdx, [rbp + 0x1000]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 4
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov r8, rdi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
mov r8, qword [rsp + 0x38]
jmp 0x14005e7e5
mov rcx, r8
call fcn.1400d03f0
mov rax, rbp
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400d00f0
add rsp, 0x90
pop rbp
ret
Function at 0x140061d80
Capabilities:
Allocate or change rwx memory

Disassembly:
mov r11, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14016d080]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp byte [0x14016dff9], 0
movss xmm0, dword [0x14016d204]
movss dword [rbp - 0x18], xmm0
je 0x140061f5f
movdqa xmm1, xmmword [0x14015ae30]
mov r10b, 0x79
movd ecx, xmm1
movdqa xmm0, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov qword [r11 + 8], rbx
mov dl, 0x6b
xor byte [rbp - 0x3e], cl
movzx ebx, r10b
xor byte [rbp - 0x3d], cl
xor dl, cl
xor byte [rbp - 0x3c], cl
xor r10b, cl
xor byte [rbp - 0x3b], cl
xor bl, cl
xor byte [rbp - 0x3a], cl
mov r8b, reloc.WS2_32.dll_WSAGetLastError
xor byte [rbp - 0x39], cl
xor r8b, cl
xor byte [rbp - 0x38], cl
mov r9b, reloc.WLDAP32.dll_Ordinal_50
xor byte [rbp - 0x37], cl
xor r9b, cl
xor byte [rbp - 0x36], cl
xor byte [rbp - 0x35], cl
xor byte [rbp - 0x34], cl
xor byte [rbp - 0x33], cl
xor byte [rbp - 0x32], cl
xor byte [rbp - 0x31], cl
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov r11b, 0x64
xor r11b, cl
psrldq xmm0, 1
movd eax, xmm0
mov byte [rbp - 0x30], dl
mov byte [rbp - 0x2f], r8b
xor al, cl
mov byte [rbp - 0x2e], r9b
lea rcx, [rbp - 0x3f]
mov byte [rbp - 0x3f], al
mov byte [rbp - 0x2d], r10b
mov byte [rbp - 0x2c], r11b
mov byte [rbp - 0x2b], bl
mov byte [rbp - 0x2a], 0
call fcn.14005e330
mov edx, eax
lea rcx, [rbp - 0x3f]
mov ebx, eax
call fcn.14005e400
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
mov rdi, rax
call qword [sym.imp.KERNEL32.DLL_OpenProcess]
mov rbx, qword [0x14016e260]
mov r9d, 0x40
mov rsi, rax
mov word [rbp - 0x28], 0x9090
lea rax, [rbp - 0x24]
add rbx, rdi
mov rdx, rbx
mov qword [rsp + 0x20], rax
lea r8d, [r9 - 0x3c]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
mov rdx, qword [0x14016e038]
lea rax, [rbp - 0x20]
mov r9d, 0x40
mov qword [rsp + 0x20], rax
add rdx, rdi
mov rcx, rsi
lea r8d, [r9 - 0x3e]
call qword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
mov rdx, qword [0x14016e038]
lea r8, [rbp - 0x28]
add rdx, rdi
mov rcx, rsi
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 2]
call qword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
lea r9d, [rdi + 4]
mov qword [rsp + 0x20], rdi
lea r8, [rbp - 0x18]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
mov r9d, dword [rbp - 0x24]
lea rax, [rbp - 0x24]
lea r8d, [rdi + 4]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
mov r9d, dword [rbp - 0x20]
lea rax, [rbp - 0x20]
lea r8d, [rdi + 4]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400d00f0
add rsp, 0x70
pop rbp
ret
Function at 0x1400620f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13c0
call fcn.1400d0bd0
sub rsp, rax
mov rax, qword [0x14016d080]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov edi, edx
mov ebx, ecx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov r9d, 1
mov dword [rsp + 0x24], eax
mov r10d, 0x270
mov r8d, eax
shr r8d, 0x1e
xor r8d, eax
imul eax, r8d, 0x6c078965
add eax, r9d
mov dword [rsp + r9*4 + 0x24], eax
inc r9
cmp r9, r10
jb 0x140062144
lea eax, [rbx - 0x80000000]
mov dword [rsp + 0x20], r10d
mov ebp, 0x80000000
cmp ebx, ebp
lea esi, [rbx + rbp]
cmovae esi, eax
lea ebx, [rdi + rbp]
cmp edi, ebp
lea eax, [rdi - 0x80000000]
cmovae ebx, eax
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x140062210
lea r8, [rsp + 0x28]
nop word [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 0x1400621a0
mov eax, dword [rsp + 0x20]
mov edx, dword [rsp + rax*4 + 0x24]
mov eax, edx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
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 ecx, edx
shr ecx, 0x12
xor ecx, edx
jmp 0x14006224e
lea rcx, [rsp + 0x20]
inc ebx
call fcn.140074290
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x14006224a
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x14006224a
lea rcx, [rsp + 0x20]
call fcn.140074290
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x140062236
shr rcx, 0x20
lea edx, [rsi + rcx]
cmp edx, ebp
lea ecx, [rdx - 0x80000000]
lea eax, [rdx + rbp]
cmovae eax, ecx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400d00f0
lea r11, [rsp + 0x13c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret