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

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rdx]
mov rbx, rcx
movabs rcx, 0x100000001b3
movabs r8, 0xcbf29ce484222325
mov r9, qword [rax + 0x28]
nop dword [rax]
nop dword [rax + rax]
movsx rdx, byte [r9]
lea r9, [r9 + 1]
xor r8, rdx
imul r8, rcx
test dl, dl
jne 0x180016eb0
mov rcx, qword [0x180064bf8]
mov rax, qword [0x180064c00]
mov qword [rsp + 0x50], r8
cmp rcx, rax
je 0x180016f10
nop dword [rax + rax]
cmp qword [rcx], r8
jne 0x180016eeb
cmp qword [rcx + 8], rbx
je 0x180016ef4
add rcx, 0x18
cmp rcx, rax
jne 0x180016ee0
cmp rcx, rax
je 0x180016f10
lea rdx, [rcx + 0x18]
sub rax, rdx
mov r8, rax
call sub.VCRUNTIME140.dll_memmove
sub qword [0x180064c00], 0x18
lea rdx, [rsp + 0x50]
lea rcx, [0x180064c10]
call fcn.180017cc0
mov rcx, qword [rax + 8]
cmp qword [rax], rcx
je 0x180016f8f
mov rax, qword [rsp + 0x50]
mov rdx, qword [0x180064c00]
cmp rdx, qword [0x180064c08]
mov qword [rsp + 0x20], rax
movabs rax, 0x1419defe0
mov qword [rsp + 0x28], rbx
movss xmm0, dword [rax]
movss dword [rsp + 0x30], xmm0
je 0x180016f7e
movups xmm0, xmmword [rsp + 0x20]
movsd xmm1, qword [rsp + 0x30]
movups xmmword [rdx], xmm0
movsd qword [rdx + 0x10], xmm1
add qword [0x180064c00], 0x18
add rsp, 0x40
pop rbx
ret
lea r8, [rsp + 0x20]
lea rcx, [0x180064bf8]
call fcn.180017f90
add rsp, 0x40
pop rbx
ret
Function at 0x180017a20
Capabilities:
Hide thread from debugger

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180017a66
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
mov rcx, rbx
call rax
test eax, eax
jne 0x180017a62
mov al, 1
jmp 0x180017a66
jmp 0x180017a66
add rsp, 0x20
pop rbx
ret

Function at 0x180017bd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp ebx, 1
je 0x180017bf7
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.180017a20
lea rdx, str..utf8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
xor eax, eax
lea r8, [0x180017a70]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x18001d270
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd r12, edx
mov r15d, r9d
mov rbp, r8
mov r14, rcx
test rcx, rcx
je 0x18001d3d0
test r8, r8
je 0x18001d3d0
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x18001d3d0
mov qword [rsp + 0x40], rbx
mov ecx, 0x100
mov qword [rsp + 0x48], rsi
call fcn.18004cd0c
xor ecx, ecx
mov r10, rax
mov edx, ecx
mov r8, rax
nop
mov byte [r8], dl
lea r8, [r8 + 1]
inc edx
cmp edx, 0x100
jl 0x18001d2d0
mov r9d, ecx
mov r11d, ecx
mov rbx, r10
nop word [rax + rax]
movzx esi, byte [rbx]
mov eax, r11d
cdq
idiv r15d
movsxd rax, edx
movzx edx, byte [rax + rbp]
add r9d, edx
add r9d, esi
and r9d, 0x800000ff
jge 0x18001d31d
dec r9d
or r9d, 0xffffff00
inc r9d
movsxd rdx, r9d
inc r11d
movzx eax, byte [rdx + r10]
mov byte [rbx], al
inc rbx
mov byte [rdx + r10], sil
cmp r11d, 0x100
jl 0x18001d2f0
mov rsi, qword [rsp + 0x48]
mov r8d, ecx
mov rbx, r12
test r12d, r12d
jle 0x18001d3b4
sub r14, rdi
nop dword [rax]
inc ecx
and ecx, 0x800000ff
jge 0x18001d364
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd r9, ecx
movzx r11d, byte [r9 + r10]
add r8d, r11d
and r8d, 0x800000ff
jge 0x18001d385
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rdx, r8d
movzx eax, byte [rdx + r10]
mov byte [r9 + r10], al
mov byte [rdx + r10], r11b
movzx eax, byte [r9 + r10]
add eax, r11d
movzx edx, al
movzx eax, byte [rdx + r10]
xor al, byte [r14 + rdi]
mov byte [rdi], al
inc rdi
sub rbx, 1
jne 0x18001d350
mov rax, qword [rsp + 0x68]
mov rcx, r10
mov dword [rax], r12d
call fcn.18004cc08
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
jmp 0x18001d3d2
xor eax, eax
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180020450
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 0x1800204ad
lea rbx, [0x1800540e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180020494
cmp r10, 2
jb 0x180020494
cmp byte [r9], r8b
jne 0x180020494
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 0x180020470
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800204ef
lea rbx, [0x1800540e0]
cmp r8b, 0x23
jne 0x1800204d3
cmp byte [r9], r8b
jne 0x1800204d3
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 0x1800204c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180020650
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18002066a
mov qword [r8], 0
lea rdx, [0x180059aa0]
call fcn.180020500
mov rbx, rax
test rax, rax
jne 0x18002068a
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 0x180020775
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 0x180020775
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180020775
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 0x180020775
cmp rdi, 0xffffffffffffffff
je 0x180020775
mov rax, qword [0x1800649a8]
test rax, rax
je 0x180020706
inc dword [rax + 0xf4]
mov rdx, qword [0x1800649a0]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x180020775
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 0x180020762
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800649a8]
test rax, rax
je 0x180020751
dec dword [rax + 0xf4]
mov rdx, qword [0x1800649a0]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x18002077e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180020770
mov qword [r14], rdi
mov rax, rsi
jmp 0x180020780
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 0x180022310
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x1800540e0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x18002239b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.180034530
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x18002df30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1800649a8]
mov edi, ecx
cmp byte [rbx + 0x4a55], 0
jne 0x18002df82
cmp byte [rbx + 0x4a56], 0
jne 0x18002df82
movsx r9d, word [rbx + 0x5b7a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180020340
test dil, 1
je 0x18002e0af
jmp 0x18002e00b
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b7a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x18005a7ac]
mulss xmm1, dword [0x18005a79c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x18005a734]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
call fcn.180020340
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18002e060
lea r11, [0x1800540e0]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x18002e043
cmp byte [r8], r9b
jne 0x18002e043
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 0x18002e030
not ecx
call fcn.180025a00
test rax, rax
je 0x18002e0af
cmp byte [rax + 0xb6], 0
je 0x18002e0af
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5b7a]
movsx r9d, word [rbx + 0x5b7a]
call fcn.180020340
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180028050
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x180032e30
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 + 0x5c60], 0
lea rbx, [rcx + 0x5c68]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180032ed7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x180032e8a
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.180035100
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180020ad0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c60]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c70]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180064991]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x180032edf
mov rcx, rbx
call fcn.180020ad0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180033380
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800649a8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1800333e3
mov qword [rsp], rbx
lea rbx, [0x1800540e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800333c3
cmp byte [r8], r9b
jne 0x1800333c3
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 0x1800333b0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bd8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180033417
mov r10, qword [r10 + 0x5be0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18003341e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180033404
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 0x1800336a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1800649a8]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5bc4], ecx
test rbx, rbx
je 0x18003370f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.180033720
lea rdx, [0x180059aa4]
mov rcx, rbx
mov rdi, rax
call fcn.180020500
mov rbx, rax
test rax, rax
je 0x18003370a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x180045c20
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1800649a8]
mov edx, 0x210
call fcn.18002adc0
cmp byte [rax], 0
je 0x180045c96
xor edx, edx
mov ecx, 0x210
call fcn.18002d2f0
test al, al
je 0x180045c96
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180045c96
mov rbx, qword [0x1800649a8]
cmp byte [rbx + 0x37b9], 0
je 0x180045c82
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.18001fdf0
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov rcx, qword [0x1800649a8]
mov edx, 0x214
call fcn.18002adc0
cmp byte [rax], 0
je 0x180045d06
xor edx, edx
mov ecx, 0x214
call fcn.18002d2f0
test al, al
je 0x180045d06
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180045d06
mov rbx, qword [0x1800649a8]
cmp byte [rbx + 0x37b9], 0
je 0x180045cf2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.18001fdf0
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov rcx, qword [0x1800649a8]
mov edx, 0x212
call fcn.18002adc0
cmp byte [rax], 0
je 0x180045d76
xor edx, edx
mov ecx, 0x212
call fcn.18002d2f0
test al, al
je 0x180045d76
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180045d76
mov rbx, qword [0x1800649a8]
cmp byte [rbx + 0x37b9], 0
je 0x180045d62
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.18001fdf0
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov rcx, qword [0x1800649a8]
mov edx, 0x216
call fcn.18002adc0
cmp byte [rax], 0
je 0x180045de6
xor edx, edx
mov ecx, 0x216
call fcn.18002d2f0
test al, al
je 0x180045de6
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180045de6
mov rbx, qword [0x1800649a8]
cmp byte [rbx + 0x37b9], 0
je 0x180045dd2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.18001fdf0
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x18004c490
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x90
mov r11, rdx
mov r9, rcx
lea r10, [rcx + 0x4030]
cmp byte [rcx + 0x1340], 0
jne 0x18004c507
mov word [rcx + 0x1341], 1
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0xa0], rax
mov byte [rcx + 0x132c], al
movzx eax, byte [rsp + 0xa1]
mov byte [rcx + 0x132d], al
movzx eax, byte [rsp + 0xa2]
mov byte [rcx + 0x132e], al
movzx eax, byte [rsp + 0xa3]
mov byte [rcx + 0x132f], al
mov byte [rcx + 0x1343], 0
mov byte [rcx + 0x1340], 1
mov dword [rsp + 0xb0], r8d
mov eax, dword [rcx + 0x132c]
mov dword [rsp + 0xa0], eax
movzx eax, byte [rcx + 0x1341]
test al, al
je 0x18004c54a
xor ecx, ecx
mov edx, eax
nop dword [rax + rax]
mov eax, dword [rsp + rcx + 0xa0]
not eax
xor dword [rsp + rcx + 0xb0], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x18004c530
movzx eax, byte [r9 + 0x1342]
mov ecx, 4
sub rcx, rax
cmp rcx, 4
jae 0x18004c57a
movzx eax, byte [rsp + rcx + 0xa0]
not al
xor byte [rsp + rcx + 0xb0], al
inc rcx
cmp rcx, 4
jb 0x18004c560
movzx eax, byte [r9 + 0x1343]
inc al
and eax, 3
mov ecx, eax
mov eax, dword [rsp + 0xb0]
mov dword [r9 + rcx*4 + 0x1330], eax
mov byte [r9 + 0x1343], cl
mov dword [r10 + 0x38], r8d
mov r9, qword [r10 + 0x18]
movabs rdx, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movsx rcx, byte [r9]
lea r9, [r9 + 1]
xor rdx, rcx
imul rdx, rbx
test cl, cl
jne 0x18004c5c0
movabs rax, 0x2374c594f5e76f06
cmp rdx, rax
jne 0x18004c5fb
lea eax, [r8 - 0x1d]
cmp eax, 7
ja 0x18004c672
mov byte [r10 + 0x9c], cl
jmp 0x18004c6a7
movabs rax, 0xf9bdf861cccd5fd1
cmp rdx, rax
jne 0x18004c620
lea eax, [r8 - 0x1a]
cmp eax, 6
ja 0x18004c672
mov byte [r10 + 0x9c], 0
jmp 0x18004c6a7
movabs rax, 0xb4d052affec8dc8e
cmp rdx, rax
jne 0x18004c635
cmp r8d, 0x10
jmp 0x18004c648
movabs rax, 0x311a797a90e58f21
cmp rdx, rax
jne 0x18004c654
cmp r8d, 6
jne 0x18004c672
mov byte [r10 + 0x9c], 0
jmp 0x18004c6a7
movabs rcx, 0x2f2959b508f215d2
movabs rax, 0xecc3c7c77aebb7ea
cmp rdx, rcx
je 0x18004c695
cmp rdx, rax
je 0x18004c695
cmp byte [r10 + 0x9c], 0xff
je 0x18004c6a7
movabs rax, 0xeb5bc0df5355fba6
cmp rdx, rax
je 0x18004c6a7
mov byte [r10 + 0x9c], 0xff
jmp 0x18004c6a7
cmp r8d, 7
jne 0x18004c6c2
cmp rdx, rcx
je 0x18004c6cd
mov rax, qword [r10]
mov qword [r10 + 8], rax
mov dl, 1
mov rcx, r10
movabs rax, 0x1401aae90
call rax
nop
add rsp, 0x90
pop rbx
ret
cmp r8d, 6
jne 0x18004c6a0
cmp rdx, rax
jne 0x18004c6a0
mov rax, qword [r10]
mov qword [r10 + 8], rax
mov dword [rsp + 0x80], 1
mov byte [rsp + 0x78], 0
mov dword [rsp + 0x70], 0
lea rax, [0x18005a488]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x50], 0xff
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x40], 1
mov byte [rsp + 0x38], 0
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
xor r9d, r9d
mov rdx, r11
mov rcx, r10
movabs rax, 0x1401c1240
call rax
nop
add rsp, 0x90
pop rbx
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400c23d0]
mov dword [rax], 1
mov rax, qword [0x1400c23e0]
mov dword [rax], 1
mov rax, qword [0x1400c23f0]
mov dword [rax], 1
mov rax, qword [0x1400c2370]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001700
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x598
xor edx, edx
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140001809
lea rdi, [rsp + 0x150]
mov rcx, rax
mov dword [rsp + 0x150], 0x438
mov rdx, rdi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x140001800
lea r12, [rsp + 0x180]
lea rbx, [rsp + 0x40]
lea rbp, str.ollydbg.exe
lea r13, str.x64dbg.exe
lea r14, str.windbg.exe
lea r15, str.ida.exe
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x104
mov r8, r12
mov qword [rsp + 0x38], 0
mov r9d, 0xffffffff
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rdx, rbp
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001820
mov rdx, r13
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001820
mov rdx, r14
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001820
mov rdx, r15
mov rcx, rbx
call sub.msvcrt.dll_strstr
test rax, rax
jne 0x140001820
mov rdx, rdi
mov rcx, rsi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x14000177b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x598
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x14000180b
Function at 0x140001950
Capabilities:
Create thread

Disassembly:
push rsi
push rbx
sub rsp, 0x48
xor edx, edx
mov r8d, ecx
mov ecx, 0x800
call qword [0x1400ea038]
mov rbx, rax
test rax, rax
je 0x1400019c0
mov dword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x30], 0
mov r9, qword [0x1400ea030]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
test rax, rax
je 0x1400019ae
mov rcx, rax
call rsi
mov rcx, rbx
mov rax, rsi
add rsp, 0x48
pop rbx
pop rsi
jmp rax
add rsp, 0x48
pop rbx
pop rsi
ret
Function at 0x140001a40
Capabilities:
Create thread
Enumerate processes

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x2a8
mov rdi, qword [sym.imp.msvcrt.dll__wcsicmp]
lea r14, [rsp + 0x60]
lea r12, [rsp + 0x50]
lea r13, [rsp + 0x8c]
nop dword [rax]
xor edx, edx
mov ecx, 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140001b68
mov rdx, r14
mov rcx, rax
mov dword [rsp + 0x60], 0x238
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140001b5f
nop dword [rax]
mov rcx, r13
mov qword [rsp + 0x40], r12
call sub.msvcrt.dll_wcslen
lea rsi, [rax + rax]
mov rbx, rax
mov r15, rsi
sar r15, 1
cmp rsi, 0xe
ja 0x140001bb0
mov rcx, qword [rsp + 0x40]
cmp r15, 1
jne 0x140001b90
movzx eax, word [rsp + 0x8c]
mov word [rcx], ax
xor eax, eax
mov qword [rsp + 0x48], r15
mov rsi, qword [0x1400ea048]
mov word [rcx + rbx*2], ax
mov rbx, qword [0x1400ea040]
cmp rbx, rsi
jne 0x140001b19
jmp 0x140001c70
add rbx, 0x20
cmp rsi, rbx
je 0x140001b80
mov rdx, qword [rbx]
call rdi
mov rcx, qword [rsp + 0x40]
test eax, eax
jne 0x140001b10
cmp rcx, r12
je 0x140001c08
mov ebx, 1
mov rax, qword [rsp + 0x50]
lea rdx, [rax + rax + 2]
call sym.operator_delete_void__unsigned_long_long_
test ebx, ebx
jne 0x140001c08
mov rdx, r14
mov rcx, rbp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140001aa8
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001a70
cmp rcx, r12
je 0x140001b4c
xor ebx, ebx
jmp 0x140001b35
test r15, r15
je 0x140001ae6
mov r8, rsi
mov rdx, r13
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x40]
jmp 0x140001ae6
movabs rax, 0x7ffffffffffffffe
cmp rax, rsi
jb 0x140001c92
movabs rax, 0x3fffffffffffffff
cmp r15, rax
je 0x140001c8d
lea rcx, [rsi + 2]
call sym.operator_new_unsigned_long_long_
mov r8, rsi
mov rdx, r13
mov qword [rsp + 0x50], r15
mov rcx, rax
mov qword [rsp + 0x40], rax
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x40]
jmp 0x140001ae6
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x800
call qword [0x1400ea038]
mov rbx, rax
test rax, rax
je 0x140001b4c
mov dword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x30], 0
mov r9, qword [0x1400ea030]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
test rax, rax
je 0x140001c66
mov rcx, rax
call rsi
mov rcx, rbx
call rsi
jmp 0x140001b4c
cmp rcx, r12
je 0x140001b4c
mov rax, qword [rsp + 0x50]
lea rdx, [rax + rax + 2]
call sym.operator_delete_void__unsigned_long_long_
jmp 0x140001b4c
call sym.unk_1754
lea rcx, [0x1400bc056]
call sym.unk_1761
mov rbx, rax
lea rcx, [rsp + 0x40]
call sym.unk_22
mov rcx, rbx
call fcn.14000e3d0
nop
nop word cs:[rax + rax]
nop