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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140152080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140468338]
mov rbx, r8
lea rsi, [rdi + 0x164]
lea rcx, [rdi + 0x16c]
mov dword [rsi], 1
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + 0x168], ebx
add rbx, 8
je 0x140003e27
mov rax, qword [rdi]
test rax, rax
je 0x140003de5
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x140003de5
test rsi, rsi
je 0x140003de5
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov r8d, ebx
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x140003de5
cmp dword [rsp + 0x30], ebx
je 0x140003e27
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x140003e04
mov eax, dword [rdi + 8]
dec eax
test eax, 0xfffffffd
jne 0x140003e04
mov ecx, dword [rdi + 0x60]
lea rdx, [rdi + 0x64]
call r8
mov rbx, qword [rdi]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
xor al, al
mov byte [rbx], 0
mov dword [rdi + 8], 0
jmp 0x140003e29
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400bc610
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140008a10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140008a6d
lea rbx, [0x1400d0880]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140008a54
cmp r10, 2
jb 0x140008a54
cmp byte [r9], r8b
jne 0x140008a54
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140008a30
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140008aaf
lea rbx, [0x1400d0880]
cmp r8b, 0x23
jne 0x140008a93
cmp byte [r9], r8b
jne 0x140008a93
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140008a80
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140008bf0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140008c0a
mov qword [r8], 0
lea rdx, [0x140139db0]
call fcn.140008ac0
mov rbx, rax
test rax, rax
jne 0x140008c2a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140008d15
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140008d15
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140008d15
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140008d15
cmp rdi, 0xffffffffffffffff
je 0x140008d15
mov rax, qword [0x140432558]
test rax, rax
je 0x140008ca6
inc dword [rax + 0x3b0]
mov rdx, qword [0x140432560]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x140008d15
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140008d02
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140432558]
test rax, rax
je 0x140008cf1
dec dword [rax + 0x3b0]
mov rdx, qword [0x140432560]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x140008d1e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140008d10
mov qword [r14], rdi
mov rax, rsi
jmp 0x140008d20
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140016a70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x140432558]
mov r8d, ecx
mov rbx, qword [rax + 0x1b90]
add rbx, 0x108
movzx eax, r8b
lea r8, [0x1400d0880]
movsxd rdx, dword [rbx]
mov r9, qword [rbx + 8]
mov edi, dword [r9 + rdx*4 - 4]
not edi
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x140016b30
lea ecx, [rdx + 1]
test r8d, r8d
je 0x140016b16
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140016b1b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140027da0
mov edx, dword [rbx]
mov r9, qword [rbx + 8]
movsxd rax, edx
mov dword [r9 + rax*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140017a80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140152080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140432558]
mov edi, edx
cmp byte [rbx + 0x1ef5], 0
jne 0x140017ae0
cmp byte [rbx + 0x1ef6], 0
jne 0x140017ae0
mov r9d, dword [rbx + 0x2f38]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140008900
test dil, 1
je 0x140017c17
jmp 0x140017b6f
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2f38]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14013f2f8]
mulss xmm1, dword [0x14013f2e8]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1c5c], rax
mov dword [rbx + 0x1c44], 1
movss dword [rbx + 0x1c54], xmm0
mov byte [rbx + 0x1c7c], 1
movss dword [rbx + 0x1c58], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x14013f22c]
or dword [rbx + 0x1c40], 0x41
movss dword [rbx + 0x1ca0], xmm0
call fcn.140008900
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140017bc0
lea r11, [0x1400d0880]
nop
cmp r9b, 0x23
jne 0x140017ba3
cmp byte [r8], r9b
jne 0x140017ba3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140017b90
mov rcx, qword [0x140432558]
not edx
add rcx, 0x1b78
call fcn.140009070
test rax, rax
je 0x140017c17
cmp byte [rax + 0xbf], 0
je 0x140017c17
mov byte [rax + 0xc6], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0xdc], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2f38]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x2f38]
call fcn.140008900
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.1400131b0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400bc610
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001c980
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x140432558]
cmp byte [rbx + 0x3000], 0
je 0x14001ca6c
cmp qword [rbx + 0x3008], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3010]
je 0x14001ca54
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x14001c9fb
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140027c70
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.140009450
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3008]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x3018]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x140432550]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.140009450
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret

Function at 0x14001ce10
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 0x14001ce62
lea r11, [0x1400d0880]
cmp r9b, 0x23
jne 0x14001ce45
cmp byte [r8], r9b
jne 0x14001ce45
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 0x14001ce32
mov r11, qword [0x140432558]
mov r10, qword [r11 + 0x2fe8]
test r10, r10
je 0x14001cea9
lea r9, [r10 + 4]
test r9, r9
je 0x14001cea9
not eax
cmp dword [r9], eax
je 0x14001ceb2
movsxd r8, dword [r9 - 4]
lea rdx, [r10 + 4]
movsxd rcx, dword [r11 + 0x2fe0]
add r8, r9
xor r9d, r9d
add rdx, rcx
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x14001ce80
mov rcx, rbx
pop rbx
jmp fcn.14001cd20
mov rax, r9
pop rbx
ret
Function at 0x140020310
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140020509
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140152080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400d0880]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x1400204d1
mov rcx, rbp
call fcn.14001fa00
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x14002038e
lea rcx, [rbp + 0x2f80]
call fcn.140009070
mov rcx, rax
jmp 0x140020390
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
and dword [rbx + 0xb0], 0xfffffe49
or dword [rbx + 0xb0], 0x49
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x140020421
cmp qword [rcx + 0x18], 0
jne 0x140020416
mov qword [rcx + 0x18], rbx
jmp 0x140020421
cmp qword [rcx + 0x20], 0
jne 0x140020421
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xc]
mov rcx, rbx
mov dword [rbx + 0xa8], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 4]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14002045c
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140020450
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, reloc.WS2_32.dll_sendto
call fcn.140008900
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x1400204b8
cmp r9b, 0x23
jne 0x14002049b
cmp byte [r8], r9b
jne 0x14002049b
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x140020488
mov rcx, qword [0x140432558]
not edx
add rcx, 0x1b78
call fcn.140009070
mov qword [rbx + 0x78], rax
add rdi, 0x24
sub rsi, 1
jne 0x140020360
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.1400bc610
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140020fd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rbx, rcx
mov rbp, qword [0x140432558]
test rax, rax
je 0x140020ff8
mov eax, dword [rax + 4]
mov dword [rcx + 4], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x140021006
call fcn.140020fd0
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140021014
call fcn.140020fd0
mov r9d, dword [rbx + 0x28]
xor esi, esi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r14
test r9d, r9d
jle 0x1400210f6
mov r14d, esi
mov rax, qword [rbx + 0x30]
mov r8d, dword [rbx + 0x9c]
mov ecx, dword [rbp + 0x1b18]
inc r8d
mov rdi, qword [r14 + rax]
cmp r8d, ecx
jne 0x14002105d
mov eax, dword [rdi + 0x2d8]
inc eax
cmp eax, ecx
jge 0x14002105d
mov dl, 1
jmp 0x140021064
xor dl, dl
cmp r8d, ecx
jne 0x14002108c
test byte [rbx + 0xb4], 0x20
jne 0x140021078
mov eax, dword [rdi + 8]
cmp dword [rbx + 0xac], eax
jne 0x14002108c
cmp byte [rdi + 0xc8], 0
je 0x14002108c
test dword [rdi + 0xc], 0x100000
jne 0x14002108c
mov dl, 1
movzx ecx, byte [rdi + 0x472]
movzx eax, cl
shr al, 2
and al, 1
or al, dl
je 0x1400210d6
and cl, 0xfb
mov byte [rdi + 0x472], cl
cmp dword [rbx + 0x28], 1
jne 0x1400210bc
mov eax, dword [rbx + 8]
shr eax, 0xb
test al, 1
je 0x14002115c
mov r8d, dword [rbx]
mov rdx, rdi
mov rcx, rbx
call fcn.140020b90
mov r9d, dword [rbx + 0x28]
dec esi
sub r14, 8
jmp 0x1400210e7
mov eax, dword [rdi + 0x28]
not eax
and dword [rbx + 8], eax
mov eax, dword [rbx + 8]
or eax, dword [rdi + 0x24]
mov dword [rbx + 8], eax
inc esi
add r14, 8
cmp esi, r9d
jl 0x140021030
movzx edx, byte [rbx + 0xb5]
movzx ecx, dl
test dl, 1
je 0x140021125
cmp r9d, 1
jne 0x140021125
mov r8d, dword [rbx + 8]
mov eax, r8d
or eax, dword [rbx + 4]
test al, 0x40
je 0x140021125
shr r8d, 0xd
test r9b, r8b
jne 0x140021125
or cl, 2
and cl, 0xfe
mov byte [rbx + 0xb5], cl
movzx eax, cl
test cl, 2
je 0x14002114d
mov rdx, qword [rbx + 0x80]
test rdx, rdx
je 0x14002114d
test dword [rdx + 0x24], 0x2000
je 0x14002114d
and al, 0xfd
cmp r9d, 1
jle 0x14002117b
and dword [rbx + 8], 0xffffdfff
jmp 0x140021186
mov rcx, rbx
call fcn.140020ef0
mov r8d, dword [rbx]
mov rdx, rdi
mov rcx, rbx
mov dword [rbx + 0xc], 1
call fcn.140020b90
jmp 0x1400211ec
test al, 2
je 0x140021186
xor dword [rbx + 8], 0x2000
mov ecx, dword [rbx + 8]
and al, 0xfd
mov byte [rbx + 0xb5], al
mov eax, ecx
shr eax, 0xb
shr ecx, 0xa
cmp qword [rbx + 0x10], 0
movzx eax, al
movzx edx, cl
cmovne edx, eax
test r9d, r9d
setg al
or dl, al
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x1400211c3
test byte [rax + 0xb4], 1
je 0x1400211c3
mov dl, 1
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x1400211d9
test byte [rax + 0xb4], 1
je 0x1400211d9
mov al, 1
jmp 0x1400211db
xor al, al
and byte [rbx + 0xb4], 0xfe
or al, dl
and al, 1
or byte [rbx + 0xb4], al
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x140046e00
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov r10, rdx
test r8, r8
je 0x140046e8b
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140046e60
lea r10, [0x1400d0880]
nop dword [rax]
cmp r9b, 0x23
jne 0x140046e43
cmp byte [r8], r9b
jne 0x140046e43
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 [r10 + rdx*4]
test r9b, r9b
jne 0x140046e30
mov rcx, qword [0x140432558]
not eax
cmp dword [rcx + 0x1be8], eax
jne 0x140046e77
mov dword [rcx + 0x1bec], eax
cmp dword [rcx + 0x1c28], eax
jne 0x140046edd
mov byte [rcx + 0x1c2c], 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
xor edx, edx
mov rbx, qword [0x140432558]
mov rax, qword [rbx + 0x1b90]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, r10
call fcn.140008a10
cmp dword [rbx + 0x1be8], eax
jne 0x140046ec9
mov dword [rbx + 0x1bec], eax
cmp dword [rbx + 0x1c28], eax
jne 0x140046ed8
mov byte [rbx + 0x1c2c], 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x14004cc30
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140152080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov rcx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 3
jb 0x14004cd97
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14004cc7c
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 3
lea r9, [0x14013b5f0]
mov r8, rbx
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14005a480
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
xor edi, edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
lea r8, str.cmd.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14004cd1a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cd15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cd15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bcb68
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], dil
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14004cd63
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14004cd5e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004cd90
mov rcx, r8
call fcn.1400bcb68
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400bc610
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14004a5f0
nop
int3
Function at 0x14004cf70
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x140152080]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, rcx
mov qword [rsp + 0x90], rcx
call fcn.140057ec0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSASetLastError
mov dword [rsp + 0x24], 0x40
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rsi
lea rax, str.cmd.exe
mov qword [rsp + 0x38], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14004d002
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x14004d065
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14004d05e
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14004d059
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004d10f
mov rcx, r8
call fcn.1400bcb68
mov eax, 0xffffffff
jmp 0x14004d0db
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0x98]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14004d0d9
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14004d0d4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004d10f
mov rcx, r8
call fcn.1400bcb68
mov eax, edi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400bc610
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14004e690
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
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r14, rcx
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov eax, reloc.WS2_32.dll_recv
xor ebp, ebp
mov eax, dword [rax + rbx]
cmp dword [0x14046a588], eax
jle 0x14004e72b
lea rcx, [0x14046a588]
call fcn.1400bc7b8
cmp dword [0x14046a588], 0xffffffff
jne 0x14004e72b
mov qword [0x14046a470], rbp
mov qword [0x14046a480], rbp
mov qword [0x14046a488], 0xf
lea r8d, [rbp + 0x1a]
lea rdx, str.mnpqrABCDFGHJKLMNPQRSTVWXZ
lea rcx, [0x14046a470]
call fcn.140058b00
lea rcx, [0x1400bf8f0]
call fcn.1400bcb50
nop
lea rcx, [0x14046a588]
call fcn.1400bc758
mov esi, 0x13a8
mov eax, dword [rsi + rbx]
mov r15d, reloc.WLDAP32.dll_Ordinal_32
test al, 1
jne 0x14004e79b
or eax, 1
mov dword [rsi + rbx], eax
mov edi, r15d
add rdi, rbx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rdi + 0x1384], 0xffffffff
mov dword [rdi + 4], eax
mov edx, 1
lea r8, [rdi + 8]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [r8], eax
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x14004e770
mov dword [rdi], 0x270
mov eax, dword [rsi + rbx]
mov edi, Ordinal_26
test al, 2
jne 0x14004e7b9
or eax, 2
mov dword [rsi + rbx], eax
mov dword [rdi + rbx], ebp
mov eax, dword [0x14046a480]
dec eax
mov dword [rdi + rbx + 4], eax
mov qword [r14], rbp
mov qword [r14 + 0x10], rbp
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, r14
call fcn.1400589a0
cmp qword [r14 + 0x18], 0x10
jb 0x14004e7eb
mov rcx, qword [r14]
mov rdx, rcx
mov r12, rcx
jmp 0x14004e7f4
mov r12, r14
mov rdx, r14
mov rcx, r14
mov r13, qword [r14 + 0x10]
add r13, rdx
cmp rcx, r13
je 0x14004e8e1
mov ebp, edi
add rbp, rbx
mov esi, r15d
add rsi, rbx
mov r8d, 0x80000000
nop word [rax + rax]
mov ebx, dword [rbp + 4]
mov ecx, dword [rbp]
lea eax, [rcx - 0x80000000]
lea r15d, [rcx + r8]
cmp ecx, r8d
cmovae r15d, eax
cmp ebx, r8d
jae 0x14004e841
add ebx, r8d
jmp 0x14004e847
add ebx, 0x80000000
sub ebx, r15d
cmp ebx, 0xffffffff
jne 0x14004e85b
mov rcx, rsi
call fcn.14005a850
mov edx, eax
jmp 0x14004e899
lea edi, [rbx + 1]
nop
xor r8d, r8d
xor eax, eax
test ebx, ebx
je 0x14004e879
mov rcx, rsi
call fcn.14005a850
mov r8d, eax
mov eax, 0xffffffff
xor edx, edx
div edi
mov r9d, edx
mov ecx, eax
xor edx, edx
mov eax, r8d
div edi
cmp eax, ecx
jb 0x14004e892
cmp r9d, ebx
jne 0x14004e860
xor edx, edx
mov eax, r8d
div edi
lea ecx, [r15 + rdx]
lea eax, [rcx - 0x80000000]
mov r8d, 0x80000000
lea edx, [rcx + r8]
cmp ecx, r8d
cmovae edx, eax
lea rcx, [0x14046a470]
cmp qword [0x14046a488], 0x10
cmovae rcx, qword [0x14046a470]
movsxd rax, edx
movzx ecx, byte [rax + rcx]
mov byte [r12], cl
inc r12
cmp r12, r13
jne 0x14004e820
mov rax, r14
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret