joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800ba4fc
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.1800aee28
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x1800ba547
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x1800ba57b
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1800ba57b
call fcn.1800be470
xor ebx, ebx
test eax, eax
jne 0x1800ba569
cmp byte [rbp - 0x48], bl
je 0x1800ba562
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x1800ba57b
cmp byte [rbp - 0x48], bl
je 0x1800ba579
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.1800ba638
mov esi, eax
test eax, eax
je 0x1800ba5b7
call fcn.1800c0544
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x1800ba610
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.1800ba638
mov edi, eax
test eax, eax
je 0x1800ba5f3
call fcn.1800c0544
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x1800ba602
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.1800c67c0
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x1800ba610
mov rcx, qword [rbp - 0x50]
call fcn.1800bff60
cmp byte [rbp - 8], bl
je 0x1800ba61e
mov rcx, qword [rbp - 0x20]
call fcn.1800bff60
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x1800bc9d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800bc9f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800bc9f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800c2ba0
Capabilities:
Query environment variable

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
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1800c2bd0
xor eax, eax
jmp 0x1800c2c93
mov rbp, rbx
cmp word [rax], si
je 0x1800c2bf5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800c2bdc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800c2bd8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800c2ac0
movsxd r14, eax
test eax, eax
jne 0x1800c2c33
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800c2bc9
mov rcx, r14
call fcn.1800c07a8
mov rdi, rax
test rax, rax
jne 0x1800c2c4c
xor ecx, ecx
call fcn.1800bff60
jmp 0x1800c2c28
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800c2ac0
test eax, eax
jne 0x1800c2c7d
mov rcx, rdi
call fcn.1800bff60
jmp 0x1800c2c87
xor ecx, ecx
call fcn.1800bff60
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1800c5c94
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800f85b0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1800c5ceb
cmp word [rdx], r13w
jne 0x1800c5ceb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800c5cf0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800c5e15
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1800c5e36
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800c5d29
mov rdx, r9
mov word [rbx], cx
jmp 0x1800c5d50
cmp r9, r8
jae 0x1800c5d60
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1800c5d0a
jmp 0x1800c5e15
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800c5e0a
cmp dword [rsp + 0x80], esi
je 0x1800c5e0a
lea r8, [0x1800f85b0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800c5de2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800c5db2
mov word [rbx], r13w
jmp 0x1800c5e12
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1800c5dbf
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800c5e12
cmp word [rsp + 0x70], r13w
jne 0x1800c5def
cmp rbx, r14
je 0x1800c5dac
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800c6058
cmp word [rsp + 0x70], r13w
je 0x1800c5e15
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800f85b0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800c5e0f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800c5e15

Function at 0x1800c639c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800c63b2
mov al, 1
jmp 0x1800c6412
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800c63c3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800c6410
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800c91c4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800c6410
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800c6410
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800c6410
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800c6412
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800cc010
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1800aee28
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1800cc09a
cmp byte [rbp - 0x21], r15b
je 0x1800cc095
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1800cc0d0
call fcn.1800be470
test eax, eax
jne 0x1800cc0bc
cmp byte [rbp - 0x21], r15b
je 0x1800cc0b4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1800cc0d0
cmp byte [rbp - 0x21], r15b
je 0x1800cc0cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1800ba638
test eax, eax
jne 0x1800cc170
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1800aee28
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1800cc10f
cmp byte [rbp - 0x21], r15b
je 0x1800cc144
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1800cc144
call fcn.1800be470
test eax, eax
jne 0x1800cc130
cmp byte [rbp - 0x21], r15b
je 0x1800cc129
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1800cc144
cmp byte [rbp - 0x21], r15b
je 0x1800cc141
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1800ba638
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1800cc170
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1800cc173
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1800cc181
mov rcx, rdi
call fcn.1800bff60
cmp byte [rbp + 0x3f], r15b
je 0x1800cc190
mov rcx, qword [rbp + 0x27]
call fcn.1800bff60
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1800ceea4
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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800c6058
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800c6058
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800ceff4
cmp rax, 0xffffffffffffffff
je 0x1800ceff4
xor edi, edi
test rbp, rbp
jle 0x1800cef9f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800c0638
mov rbx, rax
test rax, rax
jne 0x1800cef2c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800cef95
mov edx, 0x8000
mov ecx, r14d
call fcn.1800ced28
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1800c482c
cmp eax, 0xffffffff
je 0x1800cef75
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800cef3c
mov edx, r15d
mov ecx, r14d
call fcn.1800ced28
jmp 0x1800cef95
cmp byte [rsi + 0x38], dil
je 0x1800cef8c
cmp dword [rsi + 0x34], 5
jne 0x1800cef8c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800cef95
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800bff60
jmp 0x1800cf008
jns 0x1800cf008
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800c6058
cmp rax, 0xffffffffffffffff
jne 0x1800cefc0
cmp byte [rsi + 0x30], dil
je 0x1800cf008
mov edi, dword [rsi + 0x2c]
jmp 0x1800cf008
mov ecx, r14d
call fcn.1800c91c4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800cf008
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800cf008
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800cf001
mov eax, dword [rsi + 0x2c]
jmp 0x1800cf006
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800c6058
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1800027e0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002812
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002812
nop word cs:[rax + rax]
jmp 0x180002810
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a74], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x1800028e8
mov rsi, r10
test r8b, r8b
je 0x180002900
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002880
test r9b, r9b
je 0x180002910
sub rsi, rcx
je 0x1800028e4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x1800028e0
test ebp, ebp
jne 0x1800028e0
add rbx, 1
cmp rsi, rbx
jne 0x1800028a0
jmp 0x1800028e4
test ebp, ebp
jne 0x18000286c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002900
jmp 0x180002910
Function at 0x402352
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x0044da18]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov rcx, qword [rbp - 8]
add rcx, 8
mov rdx, qword [rax]
mov rax, qword [rcx]
cmp rdx, rax
jb 0x402442
mov rax, qword [rbp - 8]
add rax, 0x10
mov ecx, dword [rax]
cmp ecx, 0
jl 0x4023e6
mov eax, 0x2000
mov dword [rbp - 0xc], eax
mov rax, qword [rbp - 8]
add rax, 0x10
mov rcx, qword [rbp - 8]
add rcx, 0x44c
mov edx, dword [rbp - 0xc]
mov r8, rdx
mov r11, rcx
mov ecx, dword [rax]
mov r10, rcx
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll__read
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
cmp eax, 0
jge 0x4023e1
mov eax, 0
mov dword [rbp - 0xc], eax
jmp 0x4023ee
mov eax, 0
mov dword [rbp - 0xc], eax
mov eax, dword [0x0044da64]
mov ecx, dword [rbp - 0xc]
add eax, ecx
mov dword [0x0044da64], eax
mov rax, qword [rbp - 8]
mov rcx, qword [rbp - 8]
add rcx, 0x44c
mov qword [rax], rcx
mov rax, qword [rbp - 8]
add rax, 8
mov rcx, qword [rbp - 8]
add rcx, 0x44c
mov edx, dword [rbp - 0xc]
movsxd rdx, edx
add rcx, rdx
mov qword [rax], rcx
mov rax, qword [rbp - 8]
add rax, 8
mov rcx, qword [rax]
mov eax, 0x5c
mov byte [rcx], al
mov rax, qword [rbp - 8]
mov rcx, qword [rbp - 8]
add rcx, 8
mov rdx, qword [rax]
mov rax, qword [rcx]
cmp rdx, rax
jae 0x402471
mov rax, qword [rbp - 8]
mov rcx, qword [rax]
movzx eax, byte [rcx]
jmp 0x40248d
mov rax, qword [rbp - 8]
mov rcx, qword [rbp - 8]
add rcx, 8
mov rdx, qword [rcx]
mov qword [rax], rdx
mov eax, 0xffffffff
jmp 0x40248d
leave
ret

Function at 0x40235d
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x0044da18]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov rcx, qword [rbp - 8]
add rcx, 8
mov rdx, qword [rax]
mov rax, qword [rcx]
cmp rdx, rax
jb 0x402442
mov rax, qword [rbp - 8]
add rax, 0x10
mov ecx, dword [rax]
cmp ecx, 0
jl 0x4023e6
mov eax, 0x2000
mov dword [rbp - 0xc], eax
mov rax, qword [rbp - 8]
add rax, 0x10
mov rcx, qword [rbp - 8]
add rcx, 0x44c
mov edx, dword [rbp - 0xc]
mov r8, rdx
mov r11, rcx
mov ecx, dword [rax]
mov r10, rcx
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll__read
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
cmp eax, 0
jge 0x4023e1
mov eax, 0
mov dword [rbp - 0xc], eax
jmp 0x4023ee
mov eax, 0
mov dword [rbp - 0xc], eax
mov eax, dword [0x0044da64]
mov ecx, dword [rbp - 0xc]
add eax, ecx
mov dword [0x0044da64], eax
mov rax, qword [rbp - 8]
mov rcx, qword [rbp - 8]
add rcx, 0x44c
mov qword [rax], rcx
mov rax, qword [rbp - 8]
add rax, 8
mov rcx, qword [rbp - 8]
add rcx, 0x44c
mov edx, dword [rbp - 0xc]
movsxd rdx, edx
add rcx, rdx
mov qword [rax], rcx
mov rax, qword [rbp - 8]
add rax, 8
mov rcx, qword [rax]
mov eax, 0x5c
mov byte [rcx], al
mov rax, qword [rbp - 8]
mov rcx, qword [rbp - 8]
add rcx, 8
mov rdx, qword [rax]
mov rax, qword [rcx]
cmp rdx, rax
jae 0x402471
mov rax, qword [rbp - 8]
mov rcx, qword [rax]
movzx eax, byte [rcx]
jmp 0x40248d
mov rax, qword [rbp - 8]
mov rcx, qword [rbp - 8]
add rcx, 8
mov rdx, qword [rcx]
mov qword [rax], rdx
mov eax, 0xffffffff
jmp 0x40248d
leave
ret
Function at 0x408f2d
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov eax, 0
mov dword [rbp - 0x14], eax
mov dword [rbp - 0x10], eax
lea rax, [rbp - 0x28]
mov r8, rax
lea rax, [rbp + 0x20]
mov r11, rax
lea rax, [rbp - 0xc]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00441f15
mov eax, dword [rbp - 0xc]
cmp eax, 0
jg 0x408f80
jmp 0x4091dd
mov eax, dword [rbp - 0xc]
cmp eax, 0x100
jl 0x4090c8
mov eax, 0
mov ecx, dword [rbp - 0x14]
cmp eax, ecx
jne 0x4090c8
mov eax, dword [rbp - 0xc]
mov r10, rax
mov rcx, r10
call fcn.00442278
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
cmp rax, 0
jne 0x408fc4
jmp 0x4090fd
mov rax, qword [rbp + 0x18]
mov ecx, dword [rbp - 0xc]
mov r11, rcx
mov rcx, qword [rax]
mov r10, rcx
mov rcx, r10
mov rdx, r11
call fcn.0040b788
cmp rax, 0
je 0x409015
movabs rax, 0
mov r8, rax
mov eax, 0xcc
mov r11, rax
mov rax, qword [rbp + 0x10]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00403790
jmp 0x4090fd
mov rax, qword [rbp + 0x20]
mov qword [rbp - 0x60], rax
mov eax, 2
mov r11, rax
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0040368f
mov eax, dword [rbp - 0xc]
mov dword [0x0044da24], eax
mov rax, qword [rbp - 8]
mov r8, rax
mov rax, qword [rbp + 0x18]
mov r11, rax
mov rax, qword [rbp + 0x10]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0040850b
movsx eax, byte [rbp - 0x30]
cmp eax, 3
jne 0x409072
jmp 0x4091dd
mov rax, qword [0x0044da38]
mov qword [rbp + 0x20], rax
call fcn.00403706
mov rax, qword [rbp + 0x10]
add rax, 8
mov ecx, dword [rax]
cmp ecx, 0
je 0x4090c3
mov rax, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x10]
add rcx, 0xc
mov edx, dword [rcx]
movsxd rdx, edx
shl rdx, 2
mov rcx, qword [rax]
add rcx, rdx
mov eax, dword [rcx]
mov dword [rbp - 0xc], eax
mov r10, rax
mov rcx, r10
call fcn.00441a24
mov dword [rbp - 0x10], eax
jmp 0x4091b2
mov eax, dword [rbp - 0xc]
cmp eax, 0x5c
jne 0x4090fd
mov eax, dword [0x0044da40]
and eax, 0x20
cmp eax, 0
je 0x4090eb
jmp 0x4090fd
lea rax, str.stray__in_program
mov r10, rax
mov rcx, r10
call fcn.0043b310
lea rax, [rbp - 0x10]
mov r11, rax
mov eax, dword [rbp - 0xc]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00441e3d
cmp eax, 0
je 0x409123
jmp 0x409142
lea rax, [rbp - 0x28]
mov r8, rax
mov eax, dword [rbp - 0xc]
mov r11, rax
mov rax, qword [rbp + 0x10]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00403790
mov eax, dword [rbp - 0x14]
cmp eax, 0
je 0x40919b
mov eax, dword [rbp - 0x14]
cmp eax, 1
jle 0x409193
mov eax, dword [rbp - 0x10]
cmp eax, 0
jne 0x40918e
mov eax, dword [rbp - 0x14]
add eax, 1
mov dword [rbp - 0x14], eax
cmp eax, 3
jne 0x409189
mov eax, dword [rbp - 0xc]
cmp eax, 0x28
jne 0x409189
jmp 0x40918e
jmp 0x409193
jmp 0x408f4f
mov eax, 0
mov dword [rbp - 0x14], eax
mov eax, dword [rbp - 0xc]
cmp eax, 0xcc
jne 0x4091b2
mov eax, 1
mov dword [rbp - 0x14], eax
mov eax, dword [rbp - 0xc]
cmp eax, 0x141
jne 0x4091d8
mov eax, dword [0x004711e8]
cmp eax, 0
je 0x4091d8
mov eax, 2
mov dword [rbp - 0x14], eax
jmp 0x408f4f
leave
ret
Function at 0x408f38
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov eax, 0
mov dword [rbp - 0x14], eax
mov dword [rbp - 0x10], eax
lea rax, [rbp - 0x28]
mov r8, rax
lea rax, [rbp + 0x20]
mov r11, rax
lea rax, [rbp - 0xc]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00441f15
mov eax, dword [rbp - 0xc]
cmp eax, 0
jg 0x408f80
jmp 0x4091dd
mov eax, dword [rbp - 0xc]
cmp eax, 0x100
jl 0x4090c8
mov eax, 0
mov ecx, dword [rbp - 0x14]
cmp eax, ecx
jne 0x4090c8
mov eax, dword [rbp - 0xc]
mov r10, rax
mov rcx, r10
call fcn.00442278
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
cmp rax, 0
jne 0x408fc4
jmp 0x4090fd
mov rax, qword [rbp + 0x18]
mov ecx, dword [rbp - 0xc]
mov r11, rcx
mov rcx, qword [rax]
mov r10, rcx
mov rcx, r10
mov rdx, r11
call fcn.0040b788
cmp rax, 0
je 0x409015
movabs rax, 0
mov r8, rax
mov eax, 0xcc
mov r11, rax
mov rax, qword [rbp + 0x10]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00403790
jmp 0x4090fd
mov rax, qword [rbp + 0x20]
mov qword [rbp - 0x60], rax
mov eax, 2
mov r11, rax
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0040368f
mov eax, dword [rbp - 0xc]
mov dword [0x0044da24], eax
mov rax, qword [rbp - 8]
mov r8, rax
mov rax, qword [rbp + 0x18]
mov r11, rax
mov rax, qword [rbp + 0x10]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0040850b
movsx eax, byte [rbp - 0x30]
cmp eax, 3
jne 0x409072
jmp 0x4091dd
mov rax, qword [0x0044da38]
mov qword [rbp + 0x20], rax
call fcn.00403706
mov rax, qword [rbp + 0x10]
add rax, 8
mov ecx, dword [rax]
cmp ecx, 0
je 0x4090c3
mov rax, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x10]
add rcx, 0xc
mov edx, dword [rcx]
movsxd rdx, edx
shl rdx, 2
mov rcx, qword [rax]
add rcx, rdx
mov eax, dword [rcx]
mov dword [rbp - 0xc], eax
mov r10, rax
mov rcx, r10
call fcn.00441a24
mov dword [rbp - 0x10], eax
jmp 0x4091b2
mov eax, dword [rbp - 0xc]
cmp eax, 0x5c
jne 0x4090fd
mov eax, dword [0x0044da40]
and eax, 0x20
cmp eax, 0
je 0x4090eb
jmp 0x4090fd
lea rax, str.stray__in_program
mov r10, rax
mov rcx, r10
call fcn.0043b310
lea rax, [rbp - 0x10]
mov r11, rax
mov eax, dword [rbp - 0xc]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00441e3d
cmp eax, 0
je 0x409123
jmp 0x409142
lea rax, [rbp - 0x28]
mov r8, rax
mov eax, dword [rbp - 0xc]
mov r11, rax
mov rax, qword [rbp + 0x10]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00403790
mov eax, dword [rbp - 0x14]
cmp eax, 0
je 0x40919b
mov eax, dword [rbp - 0x14]
cmp eax, 1
jle 0x409193
mov eax, dword [rbp - 0x10]
cmp eax, 0
jne 0x40918e
mov eax, dword [rbp - 0x14]
add eax, 1
mov dword [rbp - 0x14], eax
cmp eax, 3
jne 0x409189
mov eax, dword [rbp - 0xc]
cmp eax, 0x28
jne 0x409189
jmp 0x40918e
jmp 0x409193
jmp 0x408f4f
mov eax, 0
mov dword [rbp - 0x14], eax
mov eax, dword [rbp - 0xc]
cmp eax, 0xcc
jne 0x4091b2
mov eax, 1
mov dword [rbp - 0x14], eax
mov eax, dword [rbp - 0xc]
cmp eax, 0x141
jne 0x4091d8
mov eax, dword [0x004711e8]
cmp eax, 0
je 0x4091d8
mov eax, 2
mov dword [rbp - 0x14], eax
jmp 0x408f4f
leave
ret
Function at 0x4091df
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x0044da40]
and eax, 0x10
cmp eax, 0
je 0x409206
call fcn.004079c0
jmp 0x40920b
call fcn.00407a56
mov rax, qword [0x0044da38]
cmp rax, 0
je 0x409267
mov eax, dword [0x0044da24]
cmp eax, 0xcc
je 0x409245
mov eax, dword [0x0044da24]
cmp eax, 0xcb
je 0x409245
jmp 0x40924c
jmp 0x4091ea
mov eax, dword [0x0044da24]
cmp eax, 0
jne 0x409262
call fcn.00403706
jmp 0x4091ea
jmp 0x409329
mov eax, dword [0x0044da24]
cmp eax, 0x100
jl 0x409329
mov eax, dword [0x0044da40]
and eax, 1
cmp eax, 0
je 0x409329
mov eax, dword [0x0044da24]
mov r10, rax
mov rcx, r10
call fcn.00442278
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
cmp rax, 0
je 0x409329
movabs rax, 0
mov qword [rbp - 0x10], rax
mov eax, 0
mov dword [0x004710a8], eax
mov rax, qword [rbp - 8]
mov r8, rax
lea rax, [rbp - 0x10]
mov r11, rax
lea rax, [0x004710a0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0040850b
mov eax, 0
mov r11, rax
lea rax, [0x004710a0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00403602
mov eax, 2
mov r11, rax
lea rax, [0x004710a0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0040368f
jmp 0x4091ea
mov eax, dword [0x0044da24]
cmp eax, 0xbe
jne 0x409364
mov eax, dword [0x0044da40]
and eax, 2
cmp eax, 0
je 0x40935f
mov rax, qword [0x0044da30]
mov r10, rax
mov rcx, r10
call fcn.00406c29
jmp 0x4093a9
mov eax, dword [0x0044da24]
cmp eax, 0xbf
jne 0x4093a9
mov eax, dword [0x0044da40]
and eax, 0x40
cmp eax, 0
je 0x4093a9
mov eax, dword [0x0044da28]
sub eax, 1
mov r11, rax
mov rax, qword [0x0044da30]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00406853
leave
ret