joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402fa918
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1402e7d10
sub rsp, rax
mov rax, qword [0x14042a140]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1402f4ccc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1402fa967
mov rax, rbp
jmp 0x1402faa6f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x6ba580]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140303c2c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x6ba580]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1402faa6b
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1402faa6b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140303c2c
test rax, rax
js 0x1402faa6b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1402faa6b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1402faa5d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1402faa5d
cmp byte [rcx], 0xd
jne 0x1402faa43
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1402faa52
cmp byte [rcx + 1], 0xa
jne 0x1402faa52
inc rcx
jmp 0x1402faa52
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x42a3a0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1402faa25
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1402faa6f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1402e72b0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140301014
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140300e10

Function at 0x14030222c
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14030224c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1402f5150
or eax, 0xffffffff
jmp 0x14030224e
xor eax, eax
add rsp, 0x28
ret
Function at 0x1403022f0
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, [0x1406ba580]
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 0x140302347
cmp word [rdx], r13w
jne 0x140302347
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14030234c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140302471
mov r11d, recv
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140302492
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140302385
mov rdx, r9
mov word [rbx], cx
jmp 0x1403023ac
cmp r9, r8
jae 0x1403023bc
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 0x140302366
jmp 0x140302471
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 0x140302466
cmp dword [rsp + 0x80], esi
je 0x140302466
lea r8, [0x1406ba580]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14030243e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14030240e
mov word [rbx], r13w
jmp 0x14030246e
mov ecx, recv
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 0x14030241b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14030246e
cmp word [rsp + 0x70], r13w
jne 0x14030244b
cmp rbx, r14
je 0x140302408
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140303c34
cmp word [rsp + 0x70], r13w
je 0x140302471
mov ecx, recv
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, [0x1406ba580]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14030246b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140302471
Function at 0x140309ad0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140309ae6
mov al, 1
jmp 0x140309b46
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140309af7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140309b44
mov ecx, dword [rcx + 0x18]
nop
call fcn.1402ef064
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140309b44
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140309b44
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140309b44
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140309b46
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14030f9bc
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.140303c34
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140303c34
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14030fb0c
cmp rax, 0xffffffffffffffff
je 0x14030fb0c
xor edi, edi
test rbp, rbp
jle 0x14030fab7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140309e8c
mov rbx, rax
test rax, rax
jne 0x14030fa44
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14030faad
mov edx, 0x8000
mov ecx, r14d
call fcn.1402fadbc
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.1403036bc
cmp eax, 0xffffffff
je 0x14030fa8d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14030fa54
mov edx, r15d
mov ecx, r14d
call fcn.1402fadbc
jmp 0x14030faad
cmp byte [rsi + 0x38], dil
je 0x14030faa4
cmp dword [rsi + 0x34], 5
jne 0x14030faa4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], recv
cmp byte [rsi + 0x30], dil
je 0x14030faad
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140309f04
jmp 0x14030fb20
jns 0x14030fb20
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140303c34
cmp rax, 0xffffffffffffffff
jne 0x14030fad8
cmp byte [rsi + 0x30], dil
je 0x14030fb20
mov edi, dword [rsi + 0x2c]
jmp 0x14030fb20
mov ecx, r14d
call fcn.1402ef064
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14030fb20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, recv
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], recv
jmp 0x14030fb20
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14030fb19
mov eax, dword [rsi + 0x2c]
jmp 0x14030fb1e
mov eax, reloc.WS2_32.dll_shutdown
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140303c34
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 0x1403115c4
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 0x1403115f4
xor eax, eax
jmp 0x1403116b7
mov rbp, rbx
cmp word [rax], si
je 0x140311619
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140311600
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1403115fc
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.14030f3d8
movsxd r14, eax
test eax, eax
jne 0x140311657
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1403115ed
mov rcx, r14
call fcn.14030acdc
mov rdi, rax
test rax, rax
jne 0x140311670
xor ecx, ecx
call fcn.140309f04
jmp 0x14031164c
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.14030f3d8
test eax, eax
jne 0x1403116a1
mov rcx, rdi
call fcn.140309f04
jmp 0x1403116ab
xor ecx, ecx
call fcn.140309f04
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 0x1403116d4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14031175b
mov rsi, rbx
cmp word [rax], bp
je 0x14031171a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140311704
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140311700
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14030acdc
mov rdi, rax
test rax, rax
je 0x140311748
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140318780
mov rbp, rdi
xor ecx, ecx
call fcn.140309f04
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1403147b0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140309678
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140314851
cmp ebx, dword [rsp + 0x30]
je 0x14031484a
test esi, esi
je 0x14031484a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140314825
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140314832
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14031480f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140314836
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140314853
mov eax, 1
jmp 0x140314853
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140316b3c
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14042a140]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x140316b86
call fcn.1402f51bc
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.1402f51dc
mov dword [rax], recv
call fcn.1402ee8cc
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1402e72b0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x140316b91
lea eax, [rbx + 1]
jmp 0x140316b73
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x140316b71
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x140316b73
Function at 0x14031753c
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.1402f53bc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1403175c6
cmp byte [rbp - 0x21], r15b
je 0x1403175c1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1403175fc
call fcn.14030a260
test eax, eax
jne 0x1403175e8
cmp byte [rbp - 0x21], r15b
je 0x1403175e0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1403175fc
cmp byte [rbp - 0x21], r15b
je 0x1403175f9
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.1402f9814
test eax, eax
jne 0x14031769c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1402f53bc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14031763b
cmp byte [rbp - 0x21], r15b
je 0x140317670
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140317670
call fcn.14030a260
test eax, eax
jne 0x14031765c
cmp byte [rbp - 0x21], r15b
je 0x140317655
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140317670
cmp byte [rbp - 0x21], r15b
je 0x14031766d
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.1402f9814
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14031769c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14031769f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1403176ad
mov rcx, rdi
call fcn.140309f04
cmp byte [rbp + 0x3f], r15b
je 0x1403176bc
mov rcx, qword [rbp + 0x27]
call fcn.140309f04
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 0x140318480
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1403184a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1403184a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400011c0
Capabilities:
Create process on windows
Create process suspended
Resume thread
Terminate process

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x14000a200]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
xor edx, edx
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x70], 0x68
lea r8d, [rdx + 0x60]
call fcn.1400051d0
mov eax, dword [0x140008484]
mov r11d, 1
lea rcx, [rsp + 0x150]
lea r8d, [r11 + 0x71]
xor edx, edx
mov dword [rcx], eax
movzx eax, word [0x140008488]
mov dword [rsp + 0xac], r11d
mov word [rcx + 4], ax
lea rcx, [rsp + 0x156]
mov word [rsp + 0xb0], r11w
call fcn.1400051d0
lea r8, str.Honda_Flash_Tool.exe
lea rcx, [rsp + 0x150]
mov edx, 0x3c
call fcn.140001584
lea rcx, str.Honda_Flash_Tool.exe
call fcn.140001620
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov rdx, rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [0x140008484]
lea r11, [rsp + 0xe0]
xor edx, edx
lea rcx, [rsp + 0xe6]
mov dword [r11], eax
movzx eax, word [0x140008488]
lea r8d, [rdx + 0x5e]
mov word [r11 + 4], ax
call fcn.1400051d0
lea r8, str.PYG64.dll
lea rcx, [rsp + 0xe0]
mov edx, 0x32
call fcn.140001584
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0xe0]
call fcn.140001000
mov ecx, 0x320
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140001a44
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400018ac
Function at 0x18000a970
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov r9, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x18000a9b7
mov r15d, 8
sub r15, r11
cmp r8, r15
mov rax, r15
cmovb rax, r8
cmp rax, 3
jbe 0x18000a9bf
mov r14d, dword [rdx]
mov r10d, 4
mov rcx, r10
or rcx, 1
cmp rcx, rax
jb 0x18000a9d1
jmp 0x18000a9e8
xor r15d, r15d
jmp 0x18000aa73
xor r10d, r10d
xor r14d, r14d
mov rcx, r10
or rcx, 1
cmp rcx, rax
jae 0x18000a9e8
movzx edi, word [rdx + r10]
lea ecx, [r10*8]
shl rdi, cl
or r14, rdi
or r10, 2
cmp r10, rax
jae 0x18000a9ff
movzx eax, byte [rdx + r10]
shl r10d, 3
mov ecx, r10d
shl rax, cl
or r14, rax
lea ecx, [r11*8]
shl r14, cl
or r14, qword [r9 + 0x38]
mov qword [r9 + 0x38], r14
cmp r15, r8
jbe 0x18000aa1f
add r11, r8
jmp 0x18000ab59
mov rdi, qword [r9 + 0x18]
mov rcx, qword [r9 + 0x10]
mov rax, qword [r9]
add rax, rcx
rol rcx, 0xd
xor rdi, r14
xor rcx, rax
rol rax, 0x20
mov rsi, qword [r9 + 8]
add rsi, rdi
rol rdi, 0x10
xor rdi, rsi
add rax, rdi
rol rdi, 0x15
xor rdi, rax
add rsi, rcx
rol rcx, 0x11
mov qword [r9 + 0x18], rdi
xor rcx, rsi
rol rsi, 0x20
mov qword [r9 + 0x10], rcx
mov qword [r9 + 8], rsi
xor rax, r14
mov qword [r9], rax
sub r8, r15
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r15, r8
jae 0x18000aaf2
mov rax, qword [r9 + 0x18]
mov rsi, qword [r9]
mov rcx, qword [r9 + 8]
mov rdi, qword [r9 + 0x10]
nop word cs:[rax + rax]
add rsi, rdi
rol rdi, 0xd
mov rbx, qword [rdx + r15]
xor rdi, rsi
rol rsi, 0x20
xor rax, rbx
add rcx, rax
rol rax, 0x10
xor rax, rcx
add rsi, rax
rol rax, 0x15
add rcx, rdi
rol rdi, 0x11
xor rdi, rcx
rol rcx, 0x20
xor rax, rsi
xor rsi, rbx
add r15, 8
cmp r15, r8
jb 0x18000aaa0
mov qword [r9 + 0x18], rax
mov qword [r9], rsi
mov qword [r9 + 0x10], rdi
mov qword [r9 + 8], rcx
cmp r11d, 3
jbe 0x18000ab10
mov esi, dword [rdx + r15]
mov r8d, 4
mov rax, r8
or rax, 1
cmp rax, r11
jb 0x18000ab21
jmp 0x18000ab3b
xor r8d, r8d
xor esi, esi
mov rax, r8
or rax, 1
cmp rax, r11
jae 0x18000ab3b
lea rax, [r8 + r15]
movzx eax, word [rdx + rax]
lea ecx, [r8*8]
shl rax, cl
or rsi, rax
or r8, 2
cmp r8, r11
jae 0x18000ab55
add r15, r8
movzx eax, byte [rdx + r15]
shl r8d, 3
mov ecx, r8d
shl rax, cl
or rsi, rax
mov qword [r9 + 0x38], rsi
mov qword [r9 + 0x40], r11
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x18000b180
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rdx
mov rbx, rcx
test r8, r8
mov edi, 0x30
cmovne rdi, r9
mov qword [rbp - 0x28], rdi
xor eax, eax
movzx ecx, byte [rsi + rax]
cmp ecx, 0xc3
je 0x18000b1e0
nop
cmp ecx, 0xcc
je 0x18000b1e0
cmp rdi, rax
je 0x18000b2b2
inc rax
movzx ecx, byte [rsi + rax]
cmp ecx, 0xc3
jne 0x18000b1c0
mov qword [rbp - 8], rax
mov rcx, qword [0x1800f39c8]
mov rcx, qword [rcx]
cmp rcx, 4
jbe 0x18000b24e
lea rax, [rbp - 8]
mov qword [rbp - 0x20], rax
lea rax, [fcn.18008d600]
mov qword [rbp - 0x18], rax
lea rax, str.Found_end_of_function_after__bytes
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x58], 0
lea rax, [rbp - 0x20]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea r8, str.broadsword_lib::core::logging::disassemblerbroadsword_lib_srccoreloggingdisassembler.rs
lea rcx, [rbp - 0x58]
mov edx, 5
xor r9d, r9d
call fcn.18006c0e0
mov rax, qword [rbp - 8]
inc rax
mov qword [rbp - 8], rax
mov rdi, rax
mov qword [rbx], 0
mov qword [rbx + 8], 1
mov qword [rbx + 0x10], 0
test rdi, rdi
je 0x18000b28f
mov rcx, rbx
xor edx, edx
mov r8, rdi
mov qword [rbp - 0x10], rbx
call fcn.180090eb0
mov rbx, qword [rbp - 0x10]
mov rcx, qword [rbx + 8]
jmp 0x18000b294
mov ecx, 1
mov rdx, rsi
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbx + 0x10], rdi
mov rax, rbx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 8], rdi
mov rax, qword [0x1800f39c8]
mov rax, qword [rax]
cmp rax, 5
jb 0x18000b258
lea rax, [rbp - 0x28]
mov qword [rbp - 0x20], rax
lea rax, [fcn.18008d600]
mov qword [rbp - 0x18], rax
lea rax, str.Hit_length_guard_of
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x58], 0
lea rax, [rbp - 0x20]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea r8, str.broadsword_lib::core::logging::disassemblerbroadsword_lib_srccoreloggingdisassembler.rs
lea rcx, [rbp - 0x58]
mov edx, 5
xor r9d, r9d
call fcn.18006c0e0
jmp 0x18000b258
Function at 0x1800117b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rsi
sub rsp, 0x70
mov qword [rsp + 0x28], r9
cmp r9, 0xf
jae 0x180011820
mov eax, 0x5545
bt eax, r9d
jae 0x180011820
mov rsi, rcx
lea rax, [0x18009e568]
mov eax, dword [rax + r9*4]
mov dword [rsp + 0x40], 0
lea r9, [rsp + 0x40]
mov rcx, rdx
mov rdx, r8
mov r8d, eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x180011800
mov dword [rsi], 5
jmp 0x180011817
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov dword [rsi], 3
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0x70
pop rsi
ret
lea rax, [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [0x180011a60]
mov qword [rsp + 0x38], rax
lea rax, str.internal_error:_entered_unreachable_code:_Protection:
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rdx, str.C:UsersVincent.cargo_registry_srcgithub.com_1ecc6299db9ec823_region_3.0.0_srcoswindows.rs
lea rcx, [rsp + 0x40]
call fcn.180096270
ud2