joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013310
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1400133b0
jmp 0x14001339f
jae 0x14001346f
cmp r8, 0x201
jae 0x1400133b0
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x140013407
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x1400133df
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.14002c350
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x140013430
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400134d3
mov r8d, r13d
cmp r12, r8
jne 0x140013390
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140013505
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14001339f
jmp 0x1400133b0
cmp r14, r8
jb 0x14001351f
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140013d40
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rax, qword [rbp + 0x3d0]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
cmp qword [rbp + 0x3d8], 0
je 0x1400134be
mov rcx, qword [rbp + 0x3e0]
mov edx, 2
call fcn.140005190
nop
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp + 0x3d0]
mov qword [rcx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rcx], rax
cmp qword [rbp + 0x3d8], 0
jne 0x1400134ad
jmp 0x1400134be
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14002b840
jmp 0x140013534
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.14002b830
ud2
Function at 0x1400172f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
sub esp, 0xa8
Function at 0x140020440
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.140015940
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
movabs rbx, 0x8000000000000000
cmp rcx, rbx
jne 0x14002047e
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], rbx
jmp 0x1400204a4
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rdx
lea rcx, [rbp - 0x10]
lea rdx, [rbp - 0x40]
call fcn.140020360
mov r14, qword [rbp - 0x10]
cmp r14, rbx
jne 0x1400204bd
lea rcx, [rbp - 8]
call fcn.140010700
mov qword [rsi], rbx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov rdi, qword [rbp - 8]
mov r15, qword [rbp]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400204e0
mov qword [rsi], r14
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r15
jmp 0x1400204b0
mov qword [rsi], rbx
test r14, r14
je 0x1400204b0
mov edx, 2
mov rcx, rdi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
jmp fcn.140005190
Function at 0x140025ed0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov rdi, rdx
cmp qword [rdx], 0
jne 0x140026038
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx]
test rax, rax
jne 0x140025f0d
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x140026022
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x140026005
sub rax, rdx
add rdx, qword [rbx + 8]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rbp + 4], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rbp + 4]
mov r8d, eax
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x140025f6c
mov eax, dword [rbp + 4]
mov ecx, 2
test rax, rax
je 0x140025faf
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x140025fb3
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x40], rax
movabs rcx, 0xffffffff00000000
and rcx, rax
movabs rdx, 0x6d00000000
cmp rcx, rdx
je 0x140025fb7
movabs rdx, 0x3e500000000
cmp rcx, rdx
jne 0x140025fe1
lea rax, [rbp - 8]
jmp 0x140025fc3
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x140025fe7
mov qword [rbp - 8], 1
lea rax, [rbp - 0x10]
mov qword [rax], 0
lea rcx, [rbp - 0x40]
call fcn.140010700
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x10]
cmp rcx, 2
jne 0x140025ff2
mov qword [rsi + 8], rax
mov al, 1
mov byte [rsi], al
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop rbp
ret
test rcx, rcx
jne 0x140025f55
mov ecx, 1
jmp 0x140025f5f
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.14002c2b0
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x140025f1a
mov r8d, 0x10
mov rcx, rbx
call fcn.14002c2b0
mov rax, qword [rbx]
jmp 0x140025f0d
mov qword [rbp - 0x40], 0
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.14002c590
int3

Function at 0x14002b0d4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14002b11e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002b11e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002b11e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002b11e
cmp dword [rcx + 0x84], 0xe
jbe 0x14002b11e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002b120
xor al, al
add rsp, 0x28
ret
Function at 0x180007c80
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
mov eax, dword [rsp + 0x38]
mov r10, r8
mov rbx, rdx
test eax, eax
je 0x180007d30
mov r11, qword [rsp + 0x40]
mov ebp, eax
movzx edi, word [rsp + 0x30]
sub r10, r11
movzx esi, r9w
mov r14d, 0xff00ff
mov r9d, dword [rbx]
lea rbx, [rbx + 4]
mov edx, dword [r10 + r11]
mov r8d, r9d
shr r8d, 8
mov ecx, r9d
and r8d, 0xffff00ff
shr r9d, 8
imul r8d, esi
mov eax, edx
shr eax, 8
and ecx, r14d
and eax, 0xffff00ff
imul ecx, esi
imul eax, edi
and r9d, r14d
imul r9d, esi
add r8d, eax
mov eax, edx
shr edx, 8
and eax, r14d
imul eax, edi
and edx, r14d
imul edx, edi
add ecx, eax
shr ecx, 8
add r9d, edx
xor r8d, ecx
and r8d, r14d
xor r8d, r9d
mov dword [r11], r8d
lea r11, [r11 + 4]
sub rbp, 1
jne 0x180007cc0
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret

Function at 0x18000b080
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x54]
mov edi, edx
mov rbx, rcx
cmp eax, 0xcf
jne 0x1800b6668
mov rax, qword [rbx + 0x2b8]
test edi, edi
mov ecx, 1
cmovg ecx, edi
cmp dword [rax + 0x24], 0
jne 0x1800b6696
mov dword [rbx + 0xec], ecx
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1800409a4
cmp eax, 0xcc
je 0x18000b09d
mov dword [rcx], 0x14
mov rdx, rbx
and dword [rcx + 8], 0
and dword [rcx + 0xc], 0
and dword [rcx + 0x10], 0
mov dword [rcx + 4], eax
call fcn.18012e668
nop
jmp 0x18000b09d
mov eax, dword [rbx + 0xe4]
cmp ecx, eax
cmovg ecx, eax
jmp 0x18000b0b8
Function at 0x18002dc30
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x10
mov ecx, dword [rsp + 0x50]
mov rbx, rdx
movsx edx, word [rsp + 0x40]
xorps xmm4, xmm4
mov r11, qword [rsp + 0x48]
movaps xmmword [rsp], xmm6
movsx eax, r9w
movd xmm6, edx
punpcklwd xmm6, xmm6
pshufd xmm6, xmm6, 0
movd xmm5, eax
mov eax, ecx
shr eax, 2
and ecx, 3
punpcklwd xmm5, xmm5
pshufd xmm5, xmm5, 0
test eax, eax
je 0x18002dcde
nop dword [rax + rax]
movdqu xmm1, xmmword [rbx]
add rbx, 0x10
movdqu xmm2, xmmword [r8]
movdqa xmm0, xmm1
movdqa xmm3, xmm2
punpcklbw xmm0, xmm4
punpcklbw xmm3, xmm4
add r8, 0x10
punpckhbw xmm2, xmm4
pmullw xmm3, xmm6
pmullw xmm2, xmm6
punpckhbw xmm1, xmm4
pmullw xmm0, xmm5
pmullw xmm1, xmm5
paddw xmm3, xmm0
paddw xmm2, xmm1
psrlw xmm3, 8
psrlw xmm2, 8
packuswb xmm3, xmm2
movdqu xmmword [r11], xmm3
add r11, 0x10
sub rax, 1
jne 0x18002dc80
movaps xmm6, xmmword [rsp]
test ecx, ecx
jne 0x18002dcec
add rsp, 0x10
pop rbx
ret
mov qword [rsp + 0x20], rbp
sub rbx, r8
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rdi
movzx edi, dx
movzx esi, r9w
mov ebp, ecx
mov r10d, dword [rbx + r8]
lea r11, [r11 + 4]
mov edx, dword [r8]
lea r8, [r8 + 4]
mov r9d, r10d
mov ecx, r10d
shr r9d, 8
mov eax, edx
shr eax, 8
and r9d, 0xffff00ff
and eax, 0xffff00ff
imul r9d, esi
imul eax, edi
and ecx, 0xff00ff
shr r10d, 8
imul ecx, esi
and r10d, 0xff00ff
imul r10d, esi
add r9d, eax
mov eax, edx
shr edx, 8
and eax, 0xff00ff
imul eax, edi
and edx, 0xff00ff
imul edx, edi
add ecx, eax
shr ecx, 8
add r10d, edx
xor r9d, ecx
and r9d, 0xff00ff
xor r9d, r10d
mov dword [r11 - 4], r9d
sub rbp, 1
jne 0x18002dd07
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x20]
jmp 0x18002dce6
Function at 0x180033d60
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
lea rbx, [rcx + 0x10]
mov rdi, rcx
mov rax, qword [rbx]
mov rcx, rbx
mov esi, r8d
mov rbp, rdx
mov rax, qword [rax + 0x70]
call qword [case.0x18000989a.0]
xor r14d, r14d
test rbp, rbp
je 0x1800acd10
mov rcx, rdi
call fcn.180033fc4
mov edx, 0xc0000000
mov eax, 0x40000000
and esi, edx
cmp esi, eax
je 0x180033e64
mov eax, 0x80000000
cmp esi, eax
jne 0x180033eb9
and qword [rsp + 0x30], r14
lea r8d, [r14 + 1]
and dword [rdi + 0xa8], r14d
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, eax
mov rcx, rbp
mov dword [rsp + 0x20], 3
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov qword [rdi + 0x78], rax
mov r14d, 1
cmp qword [rdi + 0x78], 0xffffffffffffffff
je 0x1800acd47
mov byte [rdi + 0x70], 1
mov dword [rdi + 0x98], r14d
xor edx, edx
mov rcx, rdi
call fcn.180033f00
mov ebp, eax
test eax, eax
js 0x1800acd6d
mov esi, ebp
test ebp, ebp
js 0x1800acd25
mov rcx, qword [rbx]
mov rax, qword [rcx + 0x78]
mov rcx, rbx
call qword [case.0x18000989a.0]
mov rbx, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
and qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, eax
mov rcx, rbp
mov dword [rdi + 0xa8], 1
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 3]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov qword [rdi + 0x78], rax
cmp rax, 0xffffffffffffffff
je 0x180033e03
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetEndOfFile]
test eax, eax
jne 0x180033e03
jmp 0x1800acd33
cmp esi, edx
jne 0x180033e03
and qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov rcx, rbp
mov dword [rdi + 0xa8], 2
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 3]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov qword [rdi + 0x78], rax
jmp 0x180033e03
cmp dword [0x18019cca4], r14d
mov esi, 0x80070057
je 0x1800acd25
mov ecx, esi
call fcn.180096ba4
mov rcx, rdi
call fcn.180033fc4
nop
jmp 0x180033e37
mov rcx, qword [rdi + 0x78]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
or qword [rdi + 0x78], 0xffffffffffffffff
jmp 0x180033e03
call fcn.1800f042c
mov ebp, eax
test eax, eax
jns 0x1800acd62
cmp dword [0x18019cca4], 0
je 0x1800acd62
mov ecx, eax
call fcn.180096ba4
mov esi, ebp
test ebp, ebp
js 0x1800acd25
jmp 0x180033e19
cmp dword [0x18019cca4], 0
je 0x180033e2d
mov ecx, ebp
call fcn.180096ba4
nop
jmp 0x180033e2d
Function at 0x18003784c
Capabilities:
Compute adler32 checksum

Disassembly:
push rbx
sub rsp, 0x20
mov r11d, r8d
mov rbx, rdx
cmp r8d, 0x20
jbe 0x180037889
mov dword [rsp + 0x40], ecx
test rdx, rdx
je 0x1800378ce
mov rax, qword [0x18019d5a8]
lea r8, [rsp + 0x40]
mov edx, r11d
mov rcx, rbx
call qword [case.0x18000989a.0]
mov eax, dword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
mov r9d, ecx
movzx r10d, cx
shr r9d, 0x10
cmp r11d, 1
jne 0x1800378c9
movzx ecx, byte [rdx]
mov r11d, 0xfff1
add ecx, r10d
cmp ecx, r11d
lea edx, [rcx - 0xfff1]
cmovb edx, ecx
lea ecx, [rdx + r9]
cmp ecx, r11d
lea eax, [rcx - 0xfff1]
cmovb eax, ecx
shl eax, 0x10
or eax, edx
jmp 0x180037883
test rbx, rbx
jne 0x1800378d5
mov eax, 1
jmp 0x180037883
cmp r11d, 0x10
jb 0x1800379ee
test r8d, r8d
je 0x1800379df
mov rcx, r11
shr rcx, 4
movzx eax, byte [rbx]
add r11d, 0xfffffff0
add r10d, eax
movzx eax, byte [rbx + 1]
add r9d, r10d
add r10d, eax
movzx eax, byte [rbx + 2]
add r9d, r10d
add r10d, eax
movzx eax, byte [rbx + 3]
add r9d, r10d
add r10d, eax
movzx eax, byte [rbx + 4]
add r9d, r10d
add r10d, eax
movzx eax, byte [rbx + 5]
add r9d, r10d
add r10d, eax
movzx eax, byte [rbx + 6]
add r9d, r10d
add r10d, eax
movzx eax, byte [rbx + 7]
add r9d, r10d
add r10d, eax
movzx eax, byte [rbx + 8]
add r9d, r10d
add r10d, eax
movzx eax, byte [rbx + 9]
add r9d, r10d
add r10d, eax
movzx eax, byte [rbx + 0xa]
add r9d, r10d
add r10d, eax
movzx eax, byte [rbx + 0xb]
add r9d, r10d
add r10d, eax
movzx eax, byte [rbx + 0xc]
add r9d, r10d
add r10d, eax
movzx eax, byte [rbx + 0xd]
add r9d, r10d
add r10d, eax
movzx eax, byte [rbx + 0xe]
add r9d, r10d
add r10d, eax
movzx eax, byte [rbx + 0xf]
add r9d, r10d
add rbx, 0x10
add r10d, eax
add r9d, r10d
sub rcx, 1
jne 0x1800378ef
test r11d, r11d
je 0x1800379b7
movzx eax, byte [rbx]
inc rbx
add r10d, eax
add r9d, r10d
add r11d, 0xffffffff
jne 0x1800379a5
mov eax, 0x80078071
mul r10d
mov eax, 0x80078071
shr edx, 0xf
imul ecx, edx, 0xffff000f
mul r9d
add r10d, ecx
shr edx, 0xf
imul ecx, edx, 0xffff000f
add r9d, ecx
shl r9d, 0x10
or r9d, r10d
mov eax, r9d
jmp 0x180037883
test r8d, r8d
je 0x180037a05
movzx eax, byte [rbx]
inc rbx
add r10d, eax
add r9d, r10d
add r11d, 0xffffffff
jne 0x1800379f3
mov r11d, 0xfff1
lea r8d, [r10 - 0xfff1]
cmp r10d, r11d
mov eax, 0x80078071
cmovb r8d, r10d
mul r9d
shr edx, 0xf
imul eax, edx, 0xf
add eax, r9d
shl eax, 0x10
or eax, r8d
jmp 0x180037883
Function at 0x180038608
Capabilities:
Enumerate pe sections

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
xor edi, edi
mov ebp, r8d
mov esi, edx
mov rbx, rcx
cmp byte [rcx + 0x178], dil
jne 0x1800387f9
mov rcx, rbx
call fcn.180038a48
test al, al
je 0x1800ae5e7
cmp qword [rbx + 0xd0], rdi
je 0x1800ae5f1
mov r8d, 8
mov byte [rbx + 0x17a], dil
mov edx, esi
lea rcx, [rbx + 0x10]
call fcn.180021214
test al, al
je 0x1800ae5fb
mov rdx, qword [rbx + 0x18]
lea rcx, [rbx + 0x10]
add ebp, 0x14
mov dword [rbx + 0x174], edi
mov dword [rbx + 0x170], ebp
mov eax, 0x1400
cmp ebp, eax
mov r9d, ebp
movzx r8d, byte [rdx + 5]
cmova r9d, eax
movzx eax, byte [rdx + 6]
shl eax, 8
shl r8d, 0x10
add r8d, eax
movzx eax, byte [rdx + 4]
shl eax, 0x18
add r8d, eax
movzx eax, byte [rdx + 7]
add r8d, eax
mov edx, esi
cmp r8d, 0x49444154
cmove ebp, r9d
mov r8d, ebp
call fcn.180021214
test al, al
je 0x1800ae5fb
mov rdx, qword [rbx + 0x18]
lea r14, [rbx + 0x118]
mov qword [rbx + 0x128], rdi
mov dword [rbx + 0x130], edi
mov dword [rbx + 0xf0], esi
lea rax, [rdx + 8]
mov qword [r14], rax
movzx ecx, byte [rdx + 1]
movzx eax, byte [rdx + 2]
shl eax, 8
shl ecx, 0x10
add ecx, eax
movzx eax, byte [rdx]
movzx edx, byte [rdx + 3]
shl eax, 0x18
add ecx, eax
lea eax, [rsi + 8]
add edx, ecx
mov ecx, dword [rbx + 0xc8]
add eax, edx
mov dword [rbx + 0x120], edx
cmp eax, ecx
ja 0x1800ae60a
lea ecx, [rdx + 8]
lea eax, [rbp - 8]
cmp eax, edx
cmovbe ecx, ebp
sub ecx, 8
add dword [rbx + 0x174], ecx
sub edx, ecx
mov dword [rbx + 0x120], ecx
mov dword [rbx + 0x170], edx
cmp ecx, 1
jb 0x1800ae5ce
lea rbp, [rbx + 0xf8]
mov rcx, rbp
call fcn.1800389bc
test eax, eax
je 0x1800387e6
mov r8d, 1
mov qword [rbx + 0x110], rdi
mov rcx, r14
call fcn.180038840
mov edx, eax
mov rcx, rbx
mov esi, eax
call fcn.180038824
test al, al
mov byte [rbx + 0x178], al
sete cl
mov byte [rbx + 0x179], cl
test al, al
je 0x1800ae61a
cmp esi, 0xfffffffa
jl 0x180038811
cmp esi, 0xfffffffb
jle 0x18003880a
cmp esi, 0xfffffffc
je 0x180038803
jle 0x180038811
test esi, esi
js 0x18003880a
cmp esi, 2
jg 0x180038811
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov rcx, rbp
call fcn.18006eef0
test eax, eax
jne 0x180038775
mov eax, 0x8007000e
jmp 0x1800387cb
call fcn.180038dac
jmp 0x180038638
mov edi, 0x8007000e
jmp 0x1800387c9
mov edi, 0x88982f60
jmp 0x1800387c9
test esi, esi
mov eax, 0x88982f60
cmovs edi, eax
jmp 0x1800387c9
mov word [rbx + 0x179], 0x101
mov byte [rbx + 0x178], dil
mov qword [r14], rdi
mov dword [rbx + 0x120], edi
mov eax, 0x88982f60
jmp 0x1800387cb
mov eax, 0x8000ffff
jmp 0x1800387cb
mov eax, dword [rbx + 0x30]
mov byte [rbx + 0x17a], 1
jmp 0x1800387cb
sub ecx, esi
lea edx, [rcx - 8]
mov dword [rbx + 0x120], edx
jmp 0x180038737
mov rcx, rbp
call fcn.180038dec
nop
jmp 0x1800387af
Function at 0x18003df28
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x54]
mov rbx, rcx
cmp eax, 0xca
jne 0x18003df55
call fcn.18003dfa4
cmp dword [rbx + 0x88], 0
jne 0x18003df8b
mov dword [rbx + 0x54], 0xcb
mov eax, 0xcb
cmp eax, 0xcb
jne 0x1800af939
mov rax, qword [rbx + 0x2b8]
cmp dword [rax + 0x20], 0
jne 0x1800af8be
mov eax, dword [rbx + 0xe4]
mov dword [rbx + 0xec], eax
mov rcx, rbx
call fcn.1800409a4
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x54], 0xcf
mov eax, 1
add rsp, 0x20
pop rbx
ret
cmp dword [rbx + 0x8c], 3
je 0x18003df71
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x1800af8e0
mov rax, qword [rax]
mov rcx, rbx
call qword [case.0x18000989a.0]
mov rax, qword [rbx + 0x2b8]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x18000989a.0]
test eax, eax
je 0x1800af932
cmp eax, 2
je 0x18003df71
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1800af8cb
cmp eax, 3
je 0x1800af913
cmp eax, 1
jne 0x1800af8cb
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x48]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x1800af8cb
mov ecx, dword [rbx + 0x1dc]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x1800af8cb
xor eax, eax
jmp 0x18003df85
cmp eax, 0xcc
je 0x18003df7d
mov dword [rbx], 0x14
mov rdx, rbx
and dword [rbx + 8], 0
and dword [rbx + 0xc], 0
and dword [rbx + 0x10], 0
mov dword [rbx + 4], eax
call fcn.18012e668
nop
jmp 0x18003df7d
Function at 0x18003f2fc
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx], 3
mov rbx, rdx
jne 0x1800afef4
mov eax, dword [rdx + 0x28c]
xor esi, esi
lea edi, [rsi + 1]
test eax, eax
jne 0x18003f346
mov rax, qword [rbx + 0x2c0]
mov rcx, rbx
cmp dword [rax + 4], esi
je 0x18003f4e7
call fcn.18003f5b8
test eax, eax
je 0x18003f580
mov rcx, rbx
call fcn.18003f590
mov ecx, dword [rbx + 0x28c]
cmp ecx, 0xcf
jle 0x18003f3ba
cmp ecx, 0xdb
jg 0x18003f43f
je 0x18003f4c1
cmp ecx, 0xd0
jl 0x18003f575
cmp ecx, 0xd7
jle 0x1800aff51
cmp ecx, 0xda
jne 0x18003f4ce
mov rcx, rbx
call fcn.18003f930
test eax, eax
je 0x18003f580
mov dword [rbx + 0x28c], esi
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0xcd
jge 0x1800aff33
cmp ecx, 0xc8
jg 0x1800afefb
cmp ecx, 0xc5
jge 0x1800aff33
cmp ecx, edi
je 0x1800aff51
cmp ecx, 0xbf
jle 0x18003f575
cmp ecx, 0xc1
jle 0x18003f4f1
cmp ecx, 0xc2
je 0x18003f510
cmp ecx, 0xc3
je 0x1800aff33
cmp ecx, 0xc4
jne 0x18003f575
mov rcx, rbx
call fcn.18003fbc0
test eax, eax
je 0x18003f580
mov dword [rbx + 0x28c], esi
mov eax, esi
jmp 0x18003f322
cmp ecx, 0xdd
je 0x18003f503
cmp ecx, 0xdc
je 0x1800aff15
cmp ecx, 0xdf
jle 0x18003f575
cmp ecx, 0xef
jg 0x18003f517
mov rax, qword [rbx + 0x2c0]
mov r8, qword [rax + 0xf8]
test r8, r8
je 0x18003f49d
mov rax, qword [r8]
mov edx, ecx
mov rcx, r8
mov rax, qword [rax]
call qword [case.0x18000989a.0]
test eax, eax
js 0x18003f580
jg 0x18003f432
movsxd rcx, dword [rbx + 0x28c]
mov rax, qword [rbx + 0x2c0]
mov rax, qword [rax + rcx*8 - 0x6e0]
mov rcx, rbx
call qword [case.0x18000989a.0]
jmp 0x18003f42a
mov rcx, rbx
call fcn.18003fe58
jmp 0x18003f42a
cmp ecx, 0xd8
jne 0x18003f55d
mov rcx, rbx
call fcn.18004018c
jmp 0x18003f42a
call fcn.180040230
jmp 0x18003f33e
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.18003f678
jmp 0x18003f42a
mov rcx, rbx
call fcn.180040b30
jmp 0x18003f42a
xor r8d, r8d
mov edx, edi
jmp 0x18003f4f6
cmp ecx, 0xfe
jne 0x18003f575
mov rax, qword [rbx + 0x2c0]
mov r8, qword [rax + 0xf8]
test r8, r8
je 0x18003f54d
mov rax, qword [r8]
mov edx, ecx
mov rcx, r8
mov rax, qword [rax]
call qword [case.0x18000989a.0]
test eax, eax
js 0x18003f580
jg 0x18003f432
mov rax, qword [rbx + 0x2c0]
mov rax, qword [rax + 0x18]
jmp 0x18003f4b3
cmp ecx, 0xd9
jne 0x18003f575
mov qword [rbx], rdi
mov edi, 2
mov dword [rbx + 8], esi
jmp 0x18003f3a2
mov dword [rbx], 0x3c
jmp 0x1800aff39
xor eax, eax
jmp 0x18003f3aa
mov eax, dword [rcx]
jmp 0x18003f3aa
mov edx, ecx
sub edx, 0xc9
je 0x1800aff2b
sub edx, edi
je 0x1800aff23
sub edx, edi
je 0x1800aff33
cmp edx, edi
jne 0x18003f575
mov rcx, rbx
call fcn.180069400
nop
jmp 0x18003f42a
mov r8d, edi
jmp 0x18003f513
mov r8d, edi
jmp 0x18003f4f4
mov dword [rbx], 0x38
mov rdx, rbx
mov dword [rbx + 4], ecx
mov qword [rbx + 8], rsi
mov dword [rbx + 0x10], esi
call fcn.18012e668
nop
jmp 0x18003f432
mov dword [rbx], edi
mov dword [rbx + 4], ecx
mov dword [rbx + 8], esi
jmp 0x18003f432
Function at 0x1800409a4
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x54], 0xcc
mov rbx, rcx
je 0x1800409d4
mov rax, qword [rcx + 0x298]
mov rax, qword [rax]
call qword [case.0x18000989a.0]
and dword [rbx + 0xe0], 0
mov dword [rbx + 0x54], 0xcc
mov rax, qword [rbx + 0x298]
cmp dword [rax + 0x10], 0
jne 0x1800b0970
mov ecx, dword [rbx + 0x8c]
sub ecx, 1
jne 0x180040a02
mov dword [rbx + 0x54], 0xce
mov eax, 1
add rsp, 0x20
pop rbx
ret
sub ecx, 1
je 0x180040a1e
cmp ecx, 1
je 0x180040a15
mov dword [rbx + 0x54], 0xcd
jmp 0x1800409f7
mov dword [rbx + 0x54], 0xd2
jmp 0x1800409f7
mov dword [rbx + 0x54], 0xd1
jmp 0x1800409f7
mov rdx, rbx
mov dword [rbx], 0x2d
call fcn.18012e668
nop
jmp 0x1800409d4
Function at 0x1800540c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov eax, dword [r8]
mov rdi, r8
lea rsi, [0x180000000]
not eax
mov ebx, edx
mov r10, rcx
cmp edx, 0xf
jl 0x1800541c6
mov r9d, ecx
and r9d, 7
je 0x180054123
neg r9d
and r9d, 7
sub ebx, r9d
nop
movzx edx, byte [r10]
mov ecx, eax
xor rdx, rcx
inc r10
shr ecx, 8
movzx r8d, dl
mov eax, dword [rsi + r8*4 + 0x177400]
xor eax, ecx
sub r9d, 1
jne 0x180054100
mov r11d, ebx
sar r11d, 3
and ebx, 7
nop dword [rax]
mov rcx, qword [r10]
add r10, 8
mov r8, rcx
mov r9d, ecx
mov ecx, eax
xor r9, rcx
shr r8, 0x20
mov rax, r8
shr rax, 0x10
movzx edx, al
mov rax, r8
shr rax, 8
movzx ecx, al
mov eax, dword [rsi + rdx*4 + 0x177800]
xor eax, dword [rsi + rcx*4 + 0x178000]
mov rcx, r9
shr rcx, 0x10
movzx edx, cl
mov rcx, r9
shr rcx, 8
xor eax, dword [rsi + rdx*4 + 0x178c00]
movzx edx, cl
mov rcx, r8
shr rcx, 0x18
xor eax, dword [rsi + rdx*4 + 0x178800]
xor eax, dword [rsi + rcx*4 + 0x177400]
mov rcx, r9
shr rcx, 0x18
xor eax, dword [rsi + rcx*4 + 0x177000]
movzx ecx, r8b
xor eax, dword [rsi + rcx*4 + 0x178400]
movzx ecx, r9b
xor eax, dword [rsi + rcx*4 + 0x177c00]
sub r11d, 1
jne 0x180054130
test ebx, ebx
je 0x1800541f3
nop word [rax + rax]
movzx edx, byte [r10]
lea r10, [r10 + 1]
mov ecx, eax
xor rdx, rcx
shr ecx, 8
movzx r8d, dl
mov eax, dword [rsi + r8*4 + 0x177400]
xor eax, ecx
sub ebx, 1
jne 0x1800541d0
mov rbx, qword [rsp + 8]
not eax
mov rsi, qword [rsp + 0x10]
mov dword [rdi], eax
mov rdi, qword [rsp + 0x18]
ret