joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180042e10
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180073028]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x180042e5f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18009b220]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x180042e9d
cmp rsi, r14
jb 0x180042e95
cmp rsi, r15
jae 0x180042e95
cmp qword [rsi + 8], 0
jne 0x180043067
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180042e80
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180042f32
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180042f29
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180042f29
cmp dword [rsp + 0x40], 0x10000
je 0x180042fab
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x180042f29
sub rbx, rbp
cmp rbx, r14
jae 0x180042ef0
test rsi, rsi
jne 0x180043010
cmp rdi, r15
ja 0x18004304f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18004304f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004304f
cmp dword [rsp + 0x40], 0x10000
je 0x180042fe1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180042f62
jmp 0x18004304f
test rbx, rbx
je 0x180042f29
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180043010
cmp rbx, r14
jae 0x180042ed0
jmp 0x180042f32
test rdi, rdi
je 0x18004304f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180043010
cmp rdi, r15
jbe 0x180042f40
jmp 0x18004304f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180043020
mov rax, qword [0x18009b220]
mov qword [rsi], rax
mov qword [0x18009b220], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180059910
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x1800439f0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180073028]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180043b1b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180043b12
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180043af4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180043af4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180043af4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180043ab2
mov rcx, qword [0x18009adc8]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180043b12
jmp 0x180043ae7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180043ae7
mov rcx, qword [0x18009adc8]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180043b12
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180043a60
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180043b73
cmp dword [rbx + 0xc], esi
jbe 0x180043b73
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180043b6c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180043840
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180043b30
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180059910
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180043ba0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180073028]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x18009b210]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180043c13
mov eax, 0xa
jmp 0x180043ca6
test esi, esi
je 0x180043c35
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180043c58
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180043c58
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180043c51
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180043c58
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180059910
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180043cd0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x18009b21c]
mov ebx, edi
test ecx, ecx
je 0x180043e0b
mov rax, qword [0x18009b210]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180043d28
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180043d00
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x180043e0b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.1800439f0
mov r8d, dword [0x18009b21c]
cmp ebx, r8d
jae 0x180043d98
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18009b210]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180043d91
mov edx, esi
mov ecx, ebx
call fcn.180043ba0
mov edi, eax
test eax, eax
jne 0x180043d98
mov r8d, dword [0x18009b21c]
inc ebx
cmp ebx, r8d
jb 0x180043d60
cmp qword [rsp + 0x20], 0
je 0x180043e0b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180043df7
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180043de8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180043dc0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18009adc8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180044160
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x18009adc0], ebp
je 0x1800441b7
cmp rbx, 0x20
jae 0x1800441a0
xor ecx, ecx
jmp 0x1800441a2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18009adc0], ebp
jne 0x180044196
cmp qword [0x18009adc8], r15
je 0x1800442b1
test rdi, rdi
jne 0x1800441d7
mov ecx, esi
call fcn.180043cd0
mov ebp, eax
jmp 0x1800442b6
mov ecx, dword [0x18009b21c]
mov ebx, r15d
test ecx, ecx
je 0x1800441ff
mov r8, qword [0x18009b210]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180044209
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800441f0
mov ebp, 4
jmp 0x1800442b6
cmp ebx, 0xffffffff
je 0x1800441ff
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x1800442a8
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800439f0
mov edx, esi
mov ecx, ebx
call fcn.180043ba0
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x1800442b6
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180044292
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180044288
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180044260
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18009adc8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800442b6
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x1800442b6
mov ebp, 2
xchg dword [0x18009adc0], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x1800480f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x180073028]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov rbx, rdx
mov rsi, rcx
call qword [0x18009aca0]
mov rdi, rax
test rax, rax
je 0x180048306
xor edx, edx
mov cl, 0x57
call fcn.180046860
mov edx, 1
mov byte [rbp - 0x60], al
mov cl, 0x6f
call fcn.180046860
mov edx, 2
mov byte [rbp - 0x5f], al
mov cl, 0x72
call fcn.180046860
mov edx, 3
mov byte [rbp - 0x5e], al
mov cl, 0x6c
call fcn.180046860
mov edx, 4
mov byte [rbp - 0x5d], al
mov cl, 0x64
call fcn.180046860
mov edx, 5
mov byte [rbp - 0x5c], al
mov cl, 0x54
call fcn.180046860
mov edx, 6
mov byte [rbp - 0x5b], al
mov cl, 0x6f
call fcn.180046860
mov edx, 7
mov byte [rbp - 0x5a], al
mov cl, 0x53
call fcn.180046860
mov edx, 8
mov byte [rbp - 0x59], al
mov cl, 0x63
call fcn.180046860
mov edx, 9
mov byte [rbp - 0x58], al
mov cl, 0x72
call fcn.180046860
mov edx, 0xa
mov byte [rbp - 0x57], al
mov cl, 0x65
call fcn.180046860
mov edx, 0xb
mov byte [rbp - 0x56], al
call fcn.180046860
mov edx, 0xc
mov byte [rbp - 0x55], al
mov cl, 0x6e
call fcn.180046860
mov edx, 0xd
mov byte [rbp - 0x54], al
mov cl, 0x50
call fcn.180046860
mov edx, 0xe
mov byte [rbp - 0x53], al
mov cl, 0x6f
call fcn.180046860
mov edx, 0xf
mov byte [rbp - 0x52], al
mov cl, 0x69
call fcn.180046860
mov edx, 0x10
mov byte [rbp - 0x51], al
mov cl, 0x6e
call fcn.180046860
mov edx, 0x11
mov byte [rbp - 0x50], al
mov cl, 0x74
call fcn.180046860
mov byte [rbp - 0x4f], al
xor eax, eax
mov byte [rbp - 0x4e], al
xor edx, edx
nop dword [rax]
movsxd rcx, edx
lea eax, [rdx + 0x13]
inc edx
xor byte [rbp + rcx - 0x60], al
cmp edx, 0x12
jb 0x180048240
mov rax, qword [0x18009ac28]
lea rdx, [rbp - 0x60]
mov rcx, qword [rdi]
mov r8d, 0xffffffff
mov byte [rbp - 0x4e], 0
call rax
xorps xmm6, xmm6
test rax, rax
je 0x1800482af
mov r10, qword [rax]
test r10, r10
je 0x1800482af
movsd xmm0, qword [rsi]
lea r8, [rbp - 0x40]
mov eax, dword [rsi + 8]
lea rcx, [rbp - 0x30]
mov r9d, 2
movsd qword [rbp - 0x40], xmm0
mov rdx, rdi
mov dword [rbp - 0x38], eax
call r10
movss xmm3, dword [rbp - 0x28]
movss xmm2, dword [rbp - 0x2c]
movss xmm1, dword [rbp - 0x30]
jmp 0x1800482b8
xorps xmm1, xmm1
xorps xmm2, xmm2
xorps xmm3, xmm3
comiss xmm1, dword [0x18009b0f8]
ja 0x180048306
movss xmm0, dword [0x18009b0fc]
comiss xmm2, xmm0
ja 0x180048306
comiss xmm6, xmm1
ja 0x180048306
comiss xmm6, xmm2
ja 0x180048306
comiss xmm6, xmm3
ja 0x180048306
comiss xmm3, xmm6
jbe 0x1800482ef
subss xmm0, xmm2
movss dword [rbx], xmm1
movss dword [rbx + 4], xmm0
movss xmm0, dword [rbx]
comiss xmm0, xmm6
ja 0x180048302
movss xmm0, dword [rbx + 4]
comiss xmm0, xmm6
jbe 0x180048308
mov al, 1
jmp 0x180048308
xor al, al
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.180059910
mov rbx, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x18004a9e0
Capabilities:
Encode data using xor
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180073028]
xor rax, rsp
mov qword [rbp - 8], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
xor edx, edx
mov cl, 0x49
call fcn.180046860
mov edx, 1
mov byte [rbp - 0x20], al
mov cl, 0x4c
call fcn.180046860
mov edx, 2
mov byte [rbp - 0x1f], al
mov cl, 0x32
call fcn.180046860
mov edx, 3
mov byte [rbp - 0x1e], al
mov cl, 0x43
call fcn.180046860
mov edx, 4
mov byte [rbp - 0x1d], al
mov cl, 0x50
call fcn.180046860
mov edx, 5
mov byte [rbp - 0x1c], al
call fcn.180046860
mov byte [rbp - 0x1b], al
xor eax, eax
xor ebx, ebx
mov byte [rbp - 0x1a], al
mov edx, ebx
nop dword [rax]
movsxd rax, edx
lea rcx, [rbp - 0x20]
add rcx, rax
lea eax, [rdx + 0x13]
inc edx
xor byte [rcx], al
cmp edx, 6
jb 0x18004aa70
lea rcx, [rbp - 0x20]
mov byte [rbp - 0x1a], bl
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor edx, edx
mov cl, 0x77
mov r10, rax
call fcn.180046860
mov byte [rbp - 0x18], al
mov r9d, ebx
xor eax, eax
mov byte [rbp - 0x17], al
nop word [rax + rax]
movsxd rcx, r9d
lea r8, [rbp - 0x18]
add r8, rcx
lea ecx, [r9 + 0x13]
inc r9d
xor byte [r8], cl
cmp r9d, 1
jb 0x18004aac0
mov cl, 0x43
mov byte [rbp - 0x17], al
call fcn.180046860
mov edx, 1
mov byte [rbp - 0x20], al
mov cl, 0x4f
call fcn.180046860
mov edx, 2
mov byte [rbp - 0x1f], al
mov cl, 0x4e
call fcn.180046860
mov edx, 3
mov byte [rbp - 0x1e], al
mov cl, 0x4f
call fcn.180046860
mov edx, 4
mov byte [rbp - 0x1d], al
mov cl, 0x55
call fcn.180046860
mov edx, 5
mov byte [rbp - 0x1c], al
mov cl, 0x54
call fcn.180046860
mov edx, 6
mov byte [rbp - 0x1b], al
mov cl, 0x24
call fcn.180046860
mov byte [rbp - 0x1a], al
xor eax, eax
mov byte [rbp - 0x19], al
nop word [rax + rax]
movsxd rax, ebx
lea rcx, [rbp - 0x20]
add rcx, rax
lea eax, [rbx + 0x13]
inc ebx
xor byte [rcx], al
cmp ebx, 7
jb 0x18004ab50
mov r9, r10
mov byte [rbp - 0x19], 0
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180059910
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
Function at 0x18004bbf0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
mov r9, rdx
mov r8, rcx
xor edx, edx
mov cl, 0x5b
call fcn.180046860
mov edx, 1
mov byte [rsp + 0x20], al
mov cl, 0x20
call fcn.180046860
mov edx, 2
mov byte [rsp + 0x21], al
mov cl, 0x4c
call fcn.180046860
mov edx, 3
mov byte [rsp + 0x22], al
mov cl, 0x4f
call fcn.180046860
mov edx, 4
mov byte [rsp + 0x23], al
mov cl, 0x47
call fcn.180046860
mov edx, 5
mov byte [rsp + 0x24], al
mov cl, 0x20
call fcn.180046860
mov edx, 6
mov byte [rsp + 0x25], al
mov cl, 0x5d
call fcn.180046860
mov edx, 7
mov byte [rsp + 0x26], al
mov cl, 0x20
call fcn.180046860
mov edx, 8
mov byte [rsp + 0x27], al
mov cl, 0x25
call fcn.180046860
mov edx, 9
mov byte [rsp + 0x28], al
mov cl, 0x73
call fcn.180046860
mov edx, 0xa
mov byte [rsp + 0x29], al
mov cl, 0x3a
call fcn.180046860
mov edx, 0xb
mov byte [rsp + 0x2a], al
mov cl, 0x20
call fcn.180046860
mov edx, 0xc
mov byte [rsp + 0x2b], al
mov cl, 0x30
call fcn.180046860
mov edx, 0xd
mov byte [rsp + 0x2c], al
mov cl, 0x78
call fcn.180046860
mov edx, 0xe
mov byte [rsp + 0x2d], al
mov cl, 0x25
call fcn.180046860
mov edx, 0xf
mov byte [rsp + 0x2e], al
mov cl, 0x6c
call fcn.180046860
mov edx, 0x10
mov byte [rsp + 0x2f], al
call fcn.180046860
mov edx, 0x11
mov byte [rsp + 0x30], al
mov cl, 0x58
call fcn.180046860
mov edx, 0x12
mov byte [rsp + 0x31], al
mov cl, 0xa
call fcn.180046860
mov byte [rsp + 0x32], al
xor eax, eax
mov byte [rsp + 0x33], al
nop dword [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x20]
add rdx, rcx
lea ecx, [rax + 0x13]
inc eax
xor byte [rdx], cl
cmp eax, 0x13
jb 0x18004bd30
mov rdx, r9
mov byte [rsp + 0x33], 0
lea rcx, [rsp + 0x20]
call fcn.180002f70
add rsp, 0x48
ret
Function at 0x18004d740
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x40
xor edx, edx
mov cl, 0x46
call fcn.180046860
mov edx, 1
mov byte [rbp + 0x10], al
call fcn.180046860
mov edx, 2
mov byte [rbp + 0x11], al
mov cl, 0x20
call fcn.180046860
mov edx, 3
mov byte [rbp + 0x12], al
mov cl, 0x32
call fcn.180046860
mov edx, 4
mov byte [rbp + 0x13], al
mov cl, 0x33
call fcn.180046860
mov byte [rbp + 0x14], al
xor eax, eax
xor r8d, r8d
mov byte [rbp + 0x15], al
mov r9d, r8d
nop
movsxd rax, r9d
lea rcx, [rbp + 0x10]
add rcx, rax
lea eax, [r9 + 0x13]
inc r9d
xor byte [rcx], al
cmp r9d, 5
jb 0x18004d7a0
xor edx, edx
mov byte [rbp + 0x15], r8b
mov cl, 0x47
call fcn.180046860
mov edx, 1
mov byte [rbp - 0x20], al
mov cl, 0x61
call fcn.180046860
mov edx, 2
mov byte [rbp - 0x1f], al
mov cl, 0x6d
call fcn.180046860
mov edx, 3
mov byte [rbp - 0x1e], al
mov cl, 0x65
call fcn.180046860
mov edx, 4
mov byte [rbp - 0x1d], al
mov cl, 0x41
call fcn.180046860
mov edx, 5
mov byte [rbp - 0x1c], al
mov cl, 0x73
call fcn.180046860
mov edx, 6
mov byte [rbp - 0x1b], al
call fcn.180046860
mov edx, 7
mov byte [rbp - 0x1a], al
mov cl, 0x65
call fcn.180046860
mov edx, 8
mov byte [rbp - 0x19], al
mov cl, 0x6d
call fcn.180046860
mov edx, 9
mov byte [rbp - 0x18], al
mov cl, 0x62
call fcn.180046860
mov edx, 0xa
mov byte [rbp - 0x17], al
mov cl, 0x6c
call fcn.180046860
mov edx, 0xb
mov byte [rbp - 0x16], al
mov cl, 0x79
call fcn.180046860
mov edx, 0xc
mov byte [rbp - 0x15], al
mov cl, 0x2e
call fcn.180046860
mov edx, 0xd
mov byte [rbp - 0x14], al
mov cl, 0x64
call fcn.180046860
mov edx, 0xe
mov byte [rbp - 0x13], al
mov cl, 0x6c
call fcn.180046860
mov edx, 0xf
mov byte [rbp - 0x12], al
call fcn.180046860
mov byte [rbp - 0x11], al
xor eax, eax
mov byte [rbp - 0x10], al
nop dword [rax + rax]
movsxd rax, r8d
lea rcx, [rbp - 0x20]
add rcx, rax
lea eax, [r8 + 0x13]
inc r8d
xor byte [rcx], al
cmp r8d, 0x10
jb 0x18004d8b0
lea rdx, [rbp + 0x10]
mov byte [rbp - 0x10], 0
lea rcx, [rbp - 0x20]
call fcn.18004a7f0
add rsp, 0x40
pop rbp
ret
Function at 0x180050ad0
Capabilities:
Create thread
Execute command

Disassembly:
sub rsp, 0x38
call fcn.18004a9e0
lea rcx, [0x1800686c8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.18004aba0
call fcn.18004bd60
call fcn.180001640
mov rcx, qword [0x18009ae78]
lea r8, [0x18009af60]
lea rdx, [0x180046fb0]
call fcn.180043e20
test eax, eax
jne 0x180050b22
mov rcx, qword [0x18009ae78]
lea edx, [rax + 1]
call fcn.180044160
mov rcx, qword [0x18009ae00]
lea r8, [0x18009af28]
lea rdx, [0x180046900]
call fcn.180043e20
test eax, eax
jne 0x180050b4f
mov rcx, qword [0x18009ae00]
lea edx, [rax + 1]
call fcn.180044160
mov rcx, qword [0x18009ae68]
lea r8, [0x18009af58]
lea rdx, [0x180046870]
call fcn.180043e20
test eax, eax
jne 0x180050b7c
mov rcx, qword [0x18009ae68]
lea edx, [rax + 1]
call fcn.180044160
mov rcx, qword [0x18009ade8]
lea r8, [0x18009af50]
lea rdx, [0x1800468b0]
call fcn.180043e20
test eax, eax
jne 0x180050ba9
mov rcx, qword [0x18009ade8]
lea edx, [rax + 1]
call fcn.180044160
mov rcx, qword [0x18009ae70]
lea r8, [0x18009af40]
lea rdx, [0x1800468e0]
call fcn.180043e20
test eax, eax
jne 0x180050bd6
mov rcx, qword [0x18009ae70]
lea edx, [rax + 1]
call fcn.180044160
mov rcx, qword [0x18009ae20]
lea r8, [0x18009af38]
lea rdx, [0x1800468f0]
call fcn.180043e20
test eax, eax
jne 0x180050c03
mov rcx, qword [0x18009ae20]
lea edx, [rax + 1]
call fcn.180044160
mov rcx, qword [0x18009ae38]
lea r8, [0x18009af30]
lea rdx, [0x180046a00]
call fcn.180043e20
test eax, eax
jne 0x180050c30
mov rcx, qword [0x18009ae38]
lea edx, [rax + 1]
call fcn.180044160
mov rcx, qword [0x18009ae48]
lea r8, [0x18009af70]
lea rdx, [0x180046fc0]
call fcn.180043e20
test eax, eax
jne 0x180050c5d
mov rcx, qword [0x18009ae48]
lea edx, [rax + 1]
call fcn.180044160
mov rcx, qword [0x18009ae88]
lea r8, [0x18009af48]
lea rdx, [0x180047a40]
call fcn.180043e20
test eax, eax
jne 0x180050c8a
mov rcx, qword [0x18009ae88]
lea edx, [rax + 1]
call fcn.180044160
mov rcx, qword [0x18009ae10]
lea r8, [0x18009af68]
lea rdx, [0x180047a90]
call fcn.180043e20
test eax, eax
jne 0x180050cb7
mov rcx, qword [0x18009ae10]
lea edx, [rax + 1]
call fcn.180044160
mov rcx, qword [0x18009ae98]
lea r8, [0x18009af78]
lea rdx, [0x1800480e0]
call fcn.180043e20
test eax, eax
jne 0x180050ce4
mov rcx, qword [0x18009ae98]
lea edx, [rax + 1]
call fcn.180044160
cmp dword [0x18009b0c0], 0
je 0x180050d27
mov rax, qword [0x18009b0b8]
lea r8, [0x18009add0]
mov qword [rsp + 0x30], rbx
lea rdx, [0x18004f7c0]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call fcn.180043e20
test eax, eax
jne 0x180050d22
lea edx, [rax + 1]
mov rcx, rbx
call fcn.180044160
mov rbx, qword [rsp + 0x30]
xor eax, eax
lea r8, [0x18004dbd0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret
Function at 0x180050d80
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x180050db3
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180050d50]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x180051730
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180051764
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180051750
ret