joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800aa43c
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r8, qword [rcx]
mov rbx, rcx
test r8, r8
je 0x1800aa4a2
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x1800aa493
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800aa489
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 0x1800aa45d
mov r8, qword [rbx]
mov rcx, qword [0x1803b0d20]
xor edx, edx
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 0x1800aa7f0
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x1800aa807
cmp r8b, 0x90
je 0x1800aa807
cmp r8b, 0xcc
jne 0x1800aa829
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x1800aa825
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x1800aa829
add edx, r10d
cmp edx, r9d
jb 0x1800aa815
mov eax, r10d
ret
xor eax, eax
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
xor r12d, r12d
mov r14, rcx
mov esi, r12d
cmp dword [rcx + 0x18], r12d
jbe 0x1800b1a9c
lea r15, [rcx + 0x20]
mov r13d, 0x80
test r15, r15
je 0x1800b1a90
mov eax, esi
mov rdi, qword [r15 + rax*8]
test rdi, rdi
je 0x1800b1a90
mov rcx, rdi
call fcn.1800ab60c
test al, al
je 0x1800b1a90
mov rcx, rdi
call fcn.1800becdc
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x1800b192b
mov rcx, rdi
call fcn.1800becdc
or r8d, 0xffffffff
test ebx, ebx
je 0x1800b196d
mov r9d, ebx
movzx edx, word [rax]
mov ecx, r8d
xor rdx, rcx
shr r8d, 8
movzx ecx, dl
lea rax, [rax + 2]
lea rdx, [0x180161810]
xor r8d, dword [rdx + rcx*4]
sub r9, 1
jne 0x1800b1948
not r8d
cmp r8d, 0x99e8fe2a
jne 0x1800b1a90
movabs rax, 0x75d4b7e5b381f167
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
movabs rax, 0xdfc42302fb9f75c2
mov qword [rsp + 0x28], rax
movabs rax, 0x75bdb783b3e4f115
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0xdfc42302fbf375ae
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x20]
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x20], xmm0
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x1800b19d4
cmp rcx, r13
mov rax, r13
cmovb rax, rcx
mov ecx, r12d
mov dword [rsp + 0x50], eax
test eax, eax
jle 0x1800b1a0e
mov rdx, r12
movzx eax, word [rsp + rdx + 0x20]
inc ecx
mov word [rsp + rdx + 0x54], ax
lea rdx, [rdx + 2]
mov eax, dword [rsp + 0x50]
cmp ecx, eax
jl 0x1800b19f6
cdqe
mov rcx, rdi
mov word [rsp + rax*2 + 0x54], r12w
call fcn.1800e8fa8
lea rdx, [rbp + 0x60]
mov r8d, 2
mov ecx, dword [rax]
lea rax, [rsp + 0x40]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, r13
movups xmmword [rdx + 0x60], xmm0
add rdx, r13
movups xmmword [rdx - 0x10], xmm1
sub r8, 1
jne 0x1800b1a2f
movups xmm0, xmmword [rax]
mov rax, qword [rax + 0x10]
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
lea rdx, [rbp + 0x60]
call fcn.1800ce274
inc esi
cmp esi, dword [r14 + 0x18]
jb 0x1800b18f7
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1800e96c8
Capabilities:
Resolve function by parsing pe exports

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, 0x130
xor r12d, r12d
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
je 0x1800e9838
movsxd rax, dword [rcx + 0x3c]
mov r9d, dword [rax + rcx + 0x88]
mov r11d, dword [rax + rcx + 0x8c]
lea r8, [rcx + r9]
test r11d, r11d
je 0x1800e9838
lea r13d, [r12 + 1]
cmp rdx, 0xffff
ja 0x1800e97e7
mov ecx, dword [r8 + 0x1c]
movzx eax, bp
sub ax, word [r8 + 0x10]
add rcx, rbx
add ax, r13w
movzx edx, ax
mov edi, dword [rcx + rdx*4]
cmp edi, r9d
jb 0x1800e97e7
lea eax, [r9 + r11]
cmp edi, eax
jae 0x1800e97e7
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbx + rdi]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x1800e9774
test r8, r8
je 0x1800e9838
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov edx, 0x2e
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_strchr
lea rdi, [rax + r13]
mov byte [rax], r12b
cmp byte [rdi], 0x23
jne 0x1800e97b8
lea rcx, [rdi + 1]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
movzx edi, ax
lea rcx, [rsp + 0x20]
call fcn.1800e9934
mov rsi, rax
cmp rax, rbx
jne 0x1800e97da
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1800e9838
mov rdx, rdi
mov rcx, rsi
call fcn.1800e96c8
jmp 0x1800e983a
mov ecx, dword [r8 + 0x18]
mov edi, r12d
mov r15d, dword [r8 + 0x20]
sub ecx, r13d
lea r10d, [rdi + rcx]
mov rsi, rbp
shr r10d, 1
lea rax, [r15 + r10*4]
mov edx, dword [rax + rbx]
add rdx, rbx
sub rsi, rdx
mov al, byte [rdx]
cmp al, byte [rdx + rsi]
jne 0x1800e981f
add rdx, r13
test al, al
jne 0x1800e980c
mov eax, r12d
jmp 0x1800e9824
sbb eax, eax
or eax, r13d
test eax, eax
jns 0x1800e982e
lea edi, [r10 + 1]
jmp 0x1800e9834
jle 0x1800e985b
lea ecx, [r10 - 1]
cmp edi, ecx
jbe 0x1800e97f5
xor eax, eax
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, dword [r8 + 0x24]
add rcx, rbx
cmp word [rcx + r10*2], r12w
je 0x1800e9838
movzx edx, word [rcx + r10*2]
mov ecx, dword [r8 + 0x1c]
add rcx, rbx
mov edi, dword [rcx + rdx*4]
cmp edi, r9d
jb 0x1800e98ad
lea eax, [r9 + r11]
cmp edi, eax
jae 0x1800e98ad
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbx + rdi]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x1800e989f
jmp 0x1800e977d
lea rax, [rbx + rdi]
jmp 0x1800e983a
Function at 0x1800e98b4
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
sub rsp, 0x108
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x64
lea rax, [rsp + 0x30]
mov r8, rcx
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea edx, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
jmp 0x1800e991c
mov rcx, qword [rax + 0x60]
lea r8, [rsp + 0x30]
sub r8, rcx
movzx edx, word [rcx]
movzx r9d, word [rcx + r8]
sub edx, r9d
jne 0x1800e9915
add rcx, 2
test r9d, r9d
jne 0x1800e98ff
test edx, edx
je 0x1800e992d
mov rax, qword [rax]
cmp qword [rax + 0x30], 0
jne 0x1800e98f3
xor eax, eax
add rsp, 0x108
ret
mov rax, qword [rax + 0x30]
jmp 0x1800e9925

Function at 0x1800e9934
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rbx, rcx
mov dword [rbp - 0x20], 0x64616f4c
lea rcx, [rbp - 0x10]
mov dword [rbp - 0x1c], 0x7262694c
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x18], 0x41797261
mov byte [rbp - 0x14], 0
mov dword [rbp - 0x10], 0x4e52454b
mov dword [rbp - 0xc], 0x41424c45
mov dword [rbp - 8], 0x642e4553
mov word [rbp - 4], 0x6c6c
mov byte [rbp - 2], 0
call fcn.1800e9684
mov rcx, rbx
call rax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
Function at 0x1800f3a20
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1800f3a3c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1800f3a90
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800f3bb5
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1800f3bb5
test rax, rax
je 0x1800f3bb5
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1800f3bb5
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1800f3b2a
lea rax, [0x1800f3c10]
jmp 0x1800f3b83
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1800f3bb5
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800f3ba3
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1800f3b50
lea rax, [0x1800f3be0]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1800f3bca
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1800fb0a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.1800e9f30
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1800fb0f6
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x1800fb14d
mov ebp, 0x4b0000
jmp 0x1800fb15b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.1800ec370
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x1800fb171
mov eax, r12d
jmp 0x1800fb17a
mov edx, edi
mov ecx, ebp
call fcn.1800ec370
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x1800fb196
shl esi, 0x10
mov ecx, esi
jmp 0x1800fb285
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x1800fb1f4
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.1800e9f30
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x1800fb1e4
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.1800ec240
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.1800e9f30
add ebx, eax
jmp 0x1800fb28e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x1800fb201
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1800fb240
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.1800e9f30
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x1800fb245
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.1800ec240
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.1800e9f30
add ebx, eax
jmp 0x1800fb28e
cmp eax, r12d
jge 0x1800fb27e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.1800e9f30
sub ebp, eax
sub r15d, esi
je 0x1800fb27e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.1800ec240
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.1800e9f30
add ebx, eax
jmp 0x1800fb28e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.1800e9f30
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.1800e9f30
Function at 0x1801472d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x1803ad708]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x18014746c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x18014746c
cmp r10d, r14d
jne 0x180147370
sub rbx, 0x10
jmp 0x1801474b4
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1801473e2
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x1801473a4
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x1801473ac
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1801473cb
movzx edx, r11b
mov rcx, rsi
call fcn.180148480
test al, al
jne 0x1801474c5
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.180148af0
test al, al
jne 0x1801474c5
mov edx, dword [rsi + 0x64]
lea r9, [0x180148e50]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x18014740e
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.180147150
jmp 0x180147462
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.180147150
test dil, dil
je 0x18014745a
cmp byte [rsi + 0x6a], 0
jne 0x18014745a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x1801474c5
sub rbx, 0x10
jmp 0x1801474b4
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x1801474c9
mov ebp, dword [rbx]
jmp 0x180147330
mov al, 1
jmp 0x1801474d2
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180152c80
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x18014e4f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x18014e4fb
xor eax, eax
ret
lea r11, [0x180180170]
not ecx
cmp r8d, 8
jb 0x18014e5d1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x18014e520
test r8d, r8d
je 0x18014e5fd
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x18014e5e0
not ecx
mov eax, ecx
ret
Function at 0x7503f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x7503fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x75040d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x7503f5
lea eax, [rcx + 1]
jmp 0x75041b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x75042e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x750414
sub eax, 3
jb 0x75044e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x75049d
sar eax, 1
movsxd rbp, eax
jb 0x750484
jmp 0x75045c
add ebx, ebx
jne 0x75045a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x750484
inc ecx
add ebx, ebx
jne 0x75046a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x750484
call r11
adc ecx, ecx
add ebx, ebx
jne 0x75047d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x75046c
add ecx, 2
jmp 0x750489
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.007503b2
jmp 0x7503fd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x77400
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x7504e9
cmp rsi, rcx
jae 0x7504f1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x7504d0
cmp al, 0x8f
ja 0x7504d0
cmp byte [rsi - 2], 0xf
je 0x7504d6
sub al, 0xe8
cmp al, 1
ja 0x7504ba
cmp rsi, rcx
jae 0x7504f1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x7504c0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x7504f1
lodsb al, byte [rsi]
jmp 0x7504d0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x34c000]
mov eax, dword [rdi]
or eax, eax
je 0x75055a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x376cf0]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x7504fe
jns 0x750533
movzx rdx, word [rdi]
add rdi, 2
jmp 0x75053d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x750554
mov qword [rbx], rax
add rbx, 8
jmp 0x75051e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x750594
cmp al, 0xef
ja 0x750586
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x750566
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x750575
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x247]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x7505e8
sub rsp, 0xffffffffffffff80
jmp 0x421f30
Function at 0x1801a39d7
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x18032d8a0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x18060f2ee]
call fcn.1801ab3da
nop
mov qword [rbp + 8], 0
jmp 0x18032d8df
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x18032d935
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x18032d8d4
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1801a61c3
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1804f9680
mov rax, rcx
neg rcx
test rax, 7
je 0x1804f969d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1804f96f8
test al, 7
jne 0x1804f9690
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1804f96b1
mov rdx, qword [rax - 8]
test dl, dl
je 0x1804f9722
test dh, dh
je 0x1804f971c
shr rdx, 0x10
test dl, dl
je 0x1804f9716
test dh, dh
je 0x1804f9710
shr rdx, 0x10
test dl, dl
je 0x1804f970a
test dh, dh
je 0x1804f9704
shr edx, 0x10
test dl, dl
je 0x1804f96fe
test dh, dh
jne 0x1804f96b1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1801a6227
Capabilities:
Query environment variable

Disassembly:
jmp 0x1804c9eb0
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1804c9a30
lea rcx, [rsp + 0x20]
call fcn.1804c9a80
movzx eax, al
test eax, eax
jne 0x1804c9ef5
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.1804c9a60
mov rax, qword [rsp + 0x40]
jmp 0x1804c9fef
lea rcx, [rsp + 0x20]
call fcn.1804c9b80
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1804c9b20
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.1801a683a
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1801a5633
lea rcx, [rsp + 0x28]
call fcn.1801a712c
movzx eax, al
test eax, eax
jne 0x1804c9f8f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1801a963e
lea rcx, [rsp + 0x20]
call fcn.1804c9a60
mov rax, qword [rsp + 0x50]
jmp 0x1804c9fef
lea rcx, [rsp + 0x20]
call fcn.1804c9b80
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1801ab22c
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1801a66fa
lea rcx, [rsp + 0x28]
call fcn.1801ac2ee
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1801a963e
lea rcx, [rsp + 0x20]
call fcn.1804c9a60
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret