joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3bbf51910
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x3bbf5c064]
mov rbx, rcx
test esi, esi
jle 0x3bbf51a40
mov rax, qword [0x3bbf5c068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x3bbf5195b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x3bbf519e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x3bbf51940
mov rcx, rbx
call sym.unk_27
mov rdi, rax
test rax, rax
je 0x3bbf51a62
mov rax, qword [0x3bbf5c068]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym.unk_30
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x3bbf5c068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x3bbf51a47
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x3bbf519de
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x3bbf519f0
add dword [0x3bbf5c064], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x3bbf5c068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x3bbf519de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.unk_17
nop dword [rax]
xor esi, esi
jmp 0x3bbf51968
mov rax, qword [0x3bbf5c068]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call sym.unk_17
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call sym.unk_17
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x3bbf51de0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x3bbf5c0a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x3bbf5c080]
test rbx, rbx
je 0x3bbf51e3c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x3bbf51e33
test rsi, rsi
je 0x3bbf51e33
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x3bbf51e18
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x3bbf52050
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x3bbf52068
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x3bbf52070
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x3bbf52080
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x3bbf520cd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x3bbf520c4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x3bbf520cf
add rax, 0x28
cmp rax, r9
jne 0x3bbf520b0
xor eax, eax
ret

Function at 0x3bbf520d0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sub.msvcrt.dll_strlen
cmp rax, 8
ja 0x3bbf52160
mov rdx, qword [0x3bbf596f0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x3bbf5214e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x3bbf5214e
cmp word [rax + 0x18], 0x20b
jne 0x3bbf5214e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x3bbf52160
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x3bbf52139
add rbx, 0x28
cmp rbx, rdi
je 0x3bbf52160
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x3bbf52130
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x3bbf52170
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x3bbf596f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x3bbf52190
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x3bbf52198
ret
cmp word [r8 + 0x18], 0x20b
jne 0x3bbf52190
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x3bbf521ed
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x3bbf521e4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x3bbf52190
add rax, 0x28
cmp rax, r9
jne 0x3bbf521d0
xor eax, eax
ret

Function at 0x3bbf521f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x3bbf596f0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x3bbf5220f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x3bbf52218
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x3bbf5220f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x3bbf52230
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x3bbf596f0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x3bbf52250
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x3bbf52258
ret
cmp word [rdx + 0x18], 0x20b
jne 0x3bbf52250
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x3bbf522a0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x3bbf52297
test rcx, rcx
je 0x3bbf52250
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x3bbf52288
xor eax, eax
ret
Function at 0x3bbf522b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x3bbf596f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x3bbf522cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x3bbf522d8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x3bbf522f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x3bbf596f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x3bbf52310
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x3bbf52318
ret
cmp word [r8 + 0x18], 0x20b
jne 0x3bbf52310
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x3bbf52310
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x3bbf52364
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x3bbf52370
add rdx, 0x28
cmp r9, rdx
jne 0x3bbf52350
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x3bbf52380
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x3bbf596f0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x3bbf523a2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x3bbf523b0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x3bbf523a2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x3bbf523a2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x3bbf523a2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x3bbf52405
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x3bbf52418
add rdx, 0x28
cmp rdx, r10
jne 0x3bbf523f0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x3bbf52427
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x3bbf52437
mov edx, dword [rax + 0xc]
test edx, edx
je 0x3bbf5240e
test ecx, ecx
jg 0x3bbf52420
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x18000660c
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [rcx]
lea r8, [0x180107310]
lea rdx, [0x18004fe58]
mov rbx, rcx
call qword [rax + 0x38]
test eax, eax
js 0x1800067ae
mov rcx, qword [0x180107310]
lea rdx, [0x180107338]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov rax, qword [rbx]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [rax + 0x60]
mov rax, qword [rsp + 0x60]
lea r9, [rsp + 0x20]
mov qword [0x180107328], rax
lea r8, [0x18004fe70]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0x48]
mov rcx, qword [0x180107310]
lea r9, [0x180107320]
mov rdx, qword [rsp + 0x20]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1801073c8]
test rax, rax
jne 0x180006763
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbx, qword [rax]
mov r10, rbx
mov r8, qword [r10 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180006748
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x180006748
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rax, [rsi + rdx*4]
mov ecx, dword [rax + r8]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x180006744
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x180006725
cmp r11d, 0xb652e838
je 0x180006794
test edx, edx
jne 0x180006709
mov rax, qword [r10]
mov r10, rax
cmp rax, rbx
je 0x18000675a
cmp qword [rax + 0x30], 0
jne 0x1800066e5
xor eax, eax
mov qword [0x1801073c8], rax
mov rcx, qword [0x180107328]
lea r8, [0x1800064d4]
mov edx, 0xfffffffc
call rax
mov qword [0x180107318], rax
call fcn.18000615c
mov byte [0x180106372], 0
call fcn.1800460b0
mov al, 1
jmp 0x1800067b0
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x18000675c
xor al, al
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18004c450
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18000c4d8
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x18000c532
mov r11b, 0x23
lea rdi, [0x1800c2410]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x18000c51c
cmp rdx, 2
jb 0x18000c51c
cmp byte [r10], r11b
jne 0x18000c51c
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x18000c4fa
jmp 0x18000c573
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18000c573
mov r11b, 0x23
lea rdi, [0x1800c2410]
cmp dl, r11b
jne 0x18000c557
cmp byte [r10], r11b
jne 0x18000c557
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x18000c545
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x18000c728
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x18000c761
mov r8d, 0x647
lea rdx, str.C:UsersWyckoDownloadsTDInternal2TDInternal2imguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x18000c76a
and qword [rdi], 0
lea rdx, [0x1800fc098]
mov rcx, rbx
call fcn.18000c584
mov rbx, rax
test rax, rax
je 0x18000c85e
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x18000c855
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 0x18000c855
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x18000c855
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18000c855
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x18000c855
mov rax, qword [0x180106ec8]
test rax, rax
je 0x18000c7f2
inc dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18000c855
mov r9, rbx
mov r8, rbp
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, rbp
je 0x18000c842
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180106ec8]
test rax, rax
je 0x18000c837
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000c85e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x18000c850
mov qword [rdi], rbp
mov rax, rsi
jmp 0x18000c860
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18000e338
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
cmp dword [rcx + 0xc8], 0
mov rbx, rcx
jg 0x18000e367
mov r8d, 0x6c1
lea rdx, str.C:UsersWyckoDownloadsTDInternal2TDInternal2imguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdx, dword [rbx + 0xc8]
mov r9d, 4
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x1800c2410]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x18000e388
not r8d
mov ecx, r8d
call fcn.18000e68c
mov eax, r8d
add rsp, 0x20
pop rbx
ret

Function at 0x18000e3c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc8], 0
mov rdi, rdx
mov rbx, rcx
jg 0x18000e3f3
mov r8d, 0x6c1
lea rdx, str.C:UsersWyckoDownloadsTDInternal2TDInternal2imguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [rbx + 0xc8]
xor edx, edx
mov r8, qword [rbx + 0xd0]
mov rcx, rdi
mov r8d, dword [r8 + rax*4 - 4]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18000c4d8

Function at 0x18000e41c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp dword [rcx + 0xc8], 0
mov rdi, rdx
mov rbx, rcx
jg 0x18000e45e
mov r8d, 0x6c1
lea rdx, str.C:UsersWyckoDownloadsTDInternal2TDInternal2imguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rdi]
lea r8, [rsp + 0x20]
subss xmm0, dword [rbx + 0x10]
movss xmm1, dword [rdi + 8]
mov r9d, 0x10
subss xmm1, dword [rbx + 0x10]
movsxd rcx, dword [rbx + 0xc8]
cvttss2si eax, xmm0
movss xmm0, dword [rdi + 4]
subss xmm0, dword [rbx + 0x14]
mov dword [rsp + 0x20], eax
cvttss2si eax, xmm0
movss xmm0, dword [rdi + 0xc]
subss xmm0, dword [rbx + 0x14]
mov dword [rsp + 0x24], eax
cvttss2si eax, xmm1
mov dword [rsp + 0x28], eax
cvttss2si eax, xmm0
mov dword [rsp + 0x2c], eax
mov rax, qword [rbx + 0xd0]
mov edx, dword [rax + rcx*4 - 4]
not edx
movzx eax, byte [r8]
inc r8
movzx ecx, dl
xor rcx, rax
shr edx, 8
lea rax, [0x1800c2410]
xor edx, dword [rax + rcx*4]
sub r9, 1
jne 0x18000e4c4
not edx
mov ecx, edx
call fcn.18000e68c
mov eax, edx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18004c450
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180018890
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [0x180106ec8]
mov dword [rsp + 0x20], ecx
mov rbx, qword [rax + 0x1c10]
cmp dword [rbx + 0xc8], 0
jg 0x1800188da
mov r8d, 0x6c1
lea rdx, str.C:UsersWyckoDownloadsTDInternal2TDInternal2imguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rbx + 0xc8]
mov r9d, 4
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x20]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x1800c2410]
xor r8d, dword [rax + rdx*4]
sub r9, 1
jne 0x1800188fb
not r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0xc8]
mov dword [rsp + 0x20], r8d
call fcn.180020ad0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004c450
add rsp, 0x30
pop rbx
ret

Function at 0x18001ece4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x30f8], 0
lea rbx, [rcx + 0x3100]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001ed7d
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x18001ed35
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180020e44
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.18000d14c
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x30f8]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x180106eb9]
movsxd r8, eax
mov rax, qword [rdi + 0x3108]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x18001ed85
mov rcx, rbx
call fcn.18000d14c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001f608
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x180106ec8]
mov rbx, rcx
and dword [rax + 0x3094], 0
test rcx, rcx
je 0x18001f671
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18001f67c
lea rdx, [0x1800fc09c]
mov rcx, rbx
mov rdi, rax
call fcn.18000c584
mov rbx, rax
test rax, rax
je 0x18001f671
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 rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18004bb10
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x18004bb74
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x18004bb62
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18004bb5b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18004bb2f
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180106ee0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18004bb84
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 [0x180106040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
imul rdi, rax, 0x38
add rdi, qword [0x180107540]
mov rdx, qword [rdi]
mov cl, byte [rdi + 0x20]
mov rsi, rdx
lea rbx, [rdx - 5]
and cl, 1
je 0x18004bbc9
mov rsi, rbx
movzx eax, cl
lea r9, [rsp + 0x20]
test cl, cl
mov r8d, 0x40
cmove rbx, rdx
lea rbp, [rax*2 + 5]
mov rcx, rbx
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18004bbfc
mov eax, 0xa
jmp 0x18004bc49
mov byte [rbx], 0xe9
mov eax, dword [rdi + 8]
sub eax, esi
sub eax, 5
mov dword [rbx + 1], eax
test byte [rdi + 0x20], 1
je 0x18004bc18
mov rax, qword [rdi]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rdi + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004c450
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x18004c05c
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x18004c073
cmp r8b, 0x90
je 0x18004c073
cmp r8b, 0xcc
jne 0x18004c095
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x18004c091
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x18004c095
add edx, r10d
cmp edx, r9d
jb 0x18004c081
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x3da1bac
Capabilities:
Encode data using xor

Disassembly:
jmp 0x3da1bb6
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x3da1bdf
pop rbp
sub rbp, 0x33
sub rbp, 0x3d91bac
sub rsp, 0x20
jmp 0x3da1bfe
mov rax, 0x3d91bac
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x1423a8d3
xor byte [rax], dl
inc rax
dec rcx
jne 0x3da1c1d
jmp 0x3da1c34
wait
pop rdx
cmp bl, byte [rax + 0x5a]
out dx, eax
rcl ebx, cl
rcr dword [rbx - 0x2d24edae], cl
rcl ebx, cl
wait
sar byte [rdx], cl
wait
adc al, 0x13
invalid
Function at 0x140001970
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x470], rbx
mov qword [rbp + 0x480], rsi
mov qword [rbp + 0x488], rdi
mov rax, qword [0x14003b010]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [0x14003b3b0]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400019f0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x140001a6a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140001a1b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14002e710
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x140001a6a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x30]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x140001a6d
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x140001a7a
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140001a92
inc rbx
test eax, eax
jne 0x140001a80
test ecx, ecx
mov rcx, rsi
je 0x140001af2
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400019e0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140001aee
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140001ae9
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001b75
mov rcx, r8
call fcn.14002da2c
xor eax, eax
jmp 0x140001b35
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140001b32
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140001b2d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001b75
mov rcx, r8
call fcn.14002da2c
mov rax, rbx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.14002d780
mov rbx, qword [rbp + 0x470]
mov rsi, qword [rbp + 0x480]
mov rdi, qword [rbp + 0x488]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3