joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800a2560
Capabilities:
Parse pe header

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x18025ed68]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
jne 0x1800a2593
lea ecx, [rdx + 0x57]
jmp 0x1800a263b
xorps xmm0, xmm0
lea r8, [rsp + 0x30]
mov r9d, 0x30
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1800a2641
mov r9d, 0x40
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1800a2641
mov eax, 0x5a4d
cmp word [rsp + 0x60], ax
jne 0x1800a2636
movsxd rdx, dword [rsp + 0x9c]
mov eax, edx
cmp rax, qword [rsp + 0x48]
ja 0x1800a2636
cmp edx, 0x40
jb 0x1800a2636
add rdx, rbx
mov qword [rsp + 0x20], 0
mov r9d, 0xf8
mov r8, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1800a2641
cmp dword [rdi], 0x4550
jne 0x1800a2636
mov eax, 1
jmp 0x1800a2643
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.18015d5d0
add rsp, 0xb0
pop rdi
pop rsi
pop rbx
ret

Function at 0x1800a3b10
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
cmp dword [0x180265728], 0
jne 0x1800a3bb7
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x180265728], ecx
jne 0x1800a3bb7
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x180265710]
mov qword [rsp + 0x20], rdi
xor edi, edi
mov qword [0x180265740], rdi
mov qword [0x180265738], rdi
mov qword [0x180265730], rdi
test rbx, rbx
je 0x1800a3ba0
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1800a3b98
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1800a3b70
jmp 0x1800a3ba0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov dword [0x18026572c], edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 0x10dd
add rsp, 0x28
ret
Function at 0x1800a4830
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x20
mov rbp, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x180265728], eax
je 0x1800a485e
mov eax, 0x10dd
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov eax, dword [0x18026572c]
test eax, eax
jne 0x1800a4995
test rbp, rbp
jne 0x1800a487f
lea eax, [rbp + 0x57]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
test rsi, rsi
je 0x1800a489b
cmp qword [rsi], 0
jne 0x1800a48ab
mov dword [0x18026572c], 6
mov qword [0x180265730], rsi
mov eax, 6
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbx
mov ecx, 0x30
mov qword [rsp + 0x38], rdi
call fcn.18015ce58
mov rbx, rax
test rax, rax
jne 0x1800a48cf
lea edi, [rax + 8]
jmp 0x1800a496a
mov rcx, qword [rsi]
xor edx, edx
call fcn.1800a4a30
xor edx, edx
mov rcx, rbp
mov rdi, rax
call fcn.1800a4a30
movzx ecx, byte [rdi + 0x3e]
mov rbp, qword [rdi + 0x48]
sub rbp, rcx
test cl, cl
je 0x1800a495c
mov edx, ecx
cmp rcx, 0x1e
ja 0x1800a495c
cmp qword [rdi + 0x50], rax
jne 0x1800a495c
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov r8d, 0x40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800a492d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1800a496a
mov dword [rbx + 8], 1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x18], rbp
mov eax, dword [rsp + 0x40]
mov dword [rbx + 0x28], eax
mov rax, qword [0x180265740]
mov qword [rbx], rax
xor eax, eax
mov qword [0x180265740], rbx
jmp 0x1800a498b
cmp dword [0x180265720], 0
mov edi, 9
jne 0x1800a4975
mov dword [0x18026572c], edi
test rbx, rbx
je 0x1800a4982
mov edx, 0x30
mov rcx, rbx
call fcn.18015ce94
mov qword [0x180265730], rsi
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret

Function at 0x1800a4d40
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x1800a4d6e
xor al, al
jmp 0x1800a4db0
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x1800a4d7f
xor al, al
jmp 0x1800a4db0
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x1800a4da6
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x1800a4da6
mov al, 1
jmp 0x1800a4db0
xor al, al
add rsp, 0x50
pop rbx
ret
add rsp, 0x50
pop rbx
ret
Function at 0x1800a4ed0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x1800a4ef2
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x1800a4fad
nop dword [rax + rax]
cmp rbx, qword [0x18022cb60]
jb 0x1800a4f1e
cmp rbx, qword [0x18022cb68]
ja 0x1800a4f1e
add rbx, 0x8000000
jmp 0x1800a4fa4
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800a4fad
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x1800a4f89
cmp rcx, 0x10000
jb 0x1800a4f89
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1800a4faf
add rbx, 0x10000
jmp 0x1800a4fa4
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x1800a4fa4
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x1800a4f00
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1800a4fc0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
add rdx, 0xffffffffffff0000
mov rdi, rcx
movzx eax, dx
mov rbx, rdx
sub rbx, rax
test rax, rax
cmove rbx, rdx
cmp rbx, rcx
jbe 0x1800a509b
nop dword [rax]
cmp rbx, qword [0x18022cb60]
jb 0x1800a500e
cmp rbx, qword [0x18022cb68]
ja 0x1800a500e
sub rbx, 0x8000000
jmp 0x1800a5092
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800a509b
cmp dword [rsp + 0x40], 0x10000
jne 0x1800a5076
cmp qword [rsp + 0x38], 0x10000
jb 0x1800a5076
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1800a509d
sub rbx, 0x10000
jmp 0x1800a5092
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
cmp rbx, rdi
ja 0x1800a4ff0
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1800a5190
Capabilities:
Hook routines via microsoft detours

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [rcx - 0x7ff80000]
mov r9, rcx
cmp rcx, 0x7ff80000
ja 0x1800a51ae
mov ebx, 0x80000
mov qword [rsp + 0x30], rdi
lea rdi, [rcx + 0x7ff80000]
cmp r9, 0xffffffff80000000
jb 0x1800a51ca
mov rdi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1800a51e1
cmp byte [rcx + 1], 0x25
jne 0x1800a5225
movsxd rax, dword [rcx + 2]
add rcx, 6
jmp 0x1800a51ed
cmp al, 0xe9
jne 0x1800a5225
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
cmp rcx, r9
jae 0x1800a5210
cmp rcx, 0xffffffff80000000
jae 0x1800a5207
lea rdi, [rcx + 0x7ff80000]
jmp 0x1800a5225
mov rdi, 0xfffffffffff80000
jmp 0x1800a5225
lea rbx, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x1800a5225
mov ebx, 0x80000
mov rax, qword [0x180265718]
mov rcx, qword [0x180265710]
test rax, rax
jne 0x1800a5247
test rcx, rcx
je 0x1800a525e
mov rax, rcx
mov qword [0x180265718], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x1800a525e
cmp rdx, rbx
jb 0x1800a525e
cmp rdx, rdi
jbe 0x1800a5309
mov qword [0x180265718], rcx
mov rax, rcx
test rcx, rcx
je 0x1800a5299
test rcx, rcx
je 0x1800a5289
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1800a5289
cmp rcx, rbx
jb 0x1800a5289
cmp rcx, rdi
jbe 0x1800a5309
mov rax, qword [rax + 8]
mov qword [0x180265718], rax
test rax, rax
jne 0x1800a5272
movzx eax, r9w
mov r8, rdi
sub r9, rax
mov rdx, rbx
mov rcx, r9
call fcn.1800a50b0
test rax, rax
je 0x1800a534c
mov dword [rax], 0x52727464
lea rdx, [rax + 0xffa8]
xor r8d, r8d
mov qword [0x180265718], rax
mov qword [rax + 0x10], r8
mov r9d, 0x2a7
mov rcx, qword [0x180265710]
mov qword [rax + 8], rcx
lea rcx, [rax + 0xff60]
mov qword [0x180265710], rax
mov qword [rdx], r8
lea rdx, [rdx - 0x60]
mov r8, rcx
sub rcx, 0x60
sub r9, 1
jne 0x1800a52f1
mov qword [rax + 0x10], r8
mov rdx, qword [rax + 0x10]
cmp rdx, rbx
jb 0x1800a534c
cmp rdx, rdi
ja 0x1800a534c
mov rcx, qword [rdx + 0x48]
movdqa xmm0, xmmword [0x1801d6e70]
mov qword [rax + 0x10], rcx
mov rax, rdx
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm0
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1800ae690
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov edi, dword [rcx + 0x20]
mov rsi, rcx
mov eax, dword [rcx + 0xa4]
mov rbp, rdx
mov edx, dword [rcx + 0xa0]
dec eax
lea r8d, [rdi + rax]
not eax
and r8d, eax
mov dword [rcx + 0x20], r8d
lea ecx, [rdx - 1]
add ecx, dword [rsi + 0x24]
neg edx
and ecx, edx
mov dword [rsi + 0x24], ecx
cmp rbp, 0xffffffffffffffff
je 0x1800ae7a1
cmp r8d, edi
jbe 0x1800ae7a1
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1800ae6fc
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x58], rbx
mov edx, 0x1000
mov ebx, dword [rsi + 0x20]
mov rcx, rsi
sub ebx, edi
call fcn.1800ae7c0
test eax, eax
jne 0x1800ae728
mov rbx, qword [rsp + 0x58]
xor edi, edi
mov eax, edi
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsi + 0x418]
xor edx, edx
mov r8d, 0x1000
mov qword [rsp + 0x60], r14
call fcn.18017baa0
test ebx, ebx
je 0x1800ae788
xor edi, edi
mov r14d, 8
nop dword [rax]
mov rdx, qword [rsi + 0x418]
lea r9, [rsp + 0x50]
mov r8d, ebx
mov dword [rsp + 0x50], edi
cmp ebx, r14d
mov qword [rsp + 0x20], rdi
mov rcx, rbp
cmova r8d, r14d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1800ae78d
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1800ae788
sub ebx, eax
jne 0x1800ae750
mov edi, 1
mov r14, qword [rsp + 0x60]
mov eax, edi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov eax, 1
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800af510
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x50
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800af550
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800af5e2
cmp dword [rsp + 0x40], 0x1000
jne 0x1800af5c6
mov eax, dword [rsp + 0x44]
cmp al, 1
je 0x1800af5c6
bt eax, 8
jb 0x1800af5c6
mov rbx, qword [rsp + 0x28]
mov eax, 0x5a4d
cmp word [rbx], ax
je 0x1800af586
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800af5e2
movsxd rax, dword [rbx + 0x3c]
cmp dword [rax + rbx], 0x4550
je 0x1800af5a2
mov ecx, 0xbf
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800af5e2
cmp word [rax + rbx + 0x14], 0
jne 0x1800af5b9
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800af5e2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
jmp 0x1800af5e2
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800af5e2
add rsp, 0x50
pop rbx
ret
Function at 0x1800af5f0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
lea rbx, [rcx + 0x10000]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
mov edi, 0x5a4d
nop dword [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800af644
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
cmp dword [rsp + 0x40], 0x1000
jne 0x1800af687
mov eax, dword [rsp + 0x44]
cmp al, 1
je 0x1800af687
bt eax, 8
jb 0x1800af687
cmp word [rbx], di
jne 0x1800af680
mov eax, dword [rbx + 0x3c]
cmp rax, qword [rsp + 0x38]
ja 0x1800af680
cmp eax, 0x40
jb 0x1800af680
cdqe
cmp dword [rax + rbx], 0x4550
jne 0x1800af687
mov rax, rbx
jmp 0x1800af639
jmp 0x1800af687
mov rbx, qword [rsp + 0x38]
add rbx, qword [rsp + 0x20]
jmp 0x1800af620

Function at 0x1800af7d0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rcx
test rcx, rcx
jne 0x1800af7e5
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop
mov ecx, 0x5a4d
cmp word [rax], cx
je 0x1800af7fe
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800af84c
movsxd rbx, dword [rax + 0x3c]
add rbx, rax
cmp dword [rbx], 0x4550
je 0x1800af81c
mov ecx, 0xbf
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800af84c
cmp word [rbx + 0x14], 0
jne 0x1800af832
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800af84c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rbx + 0x50]
jmp 0x1800af84c
add rsp, 0x20
pop rbx
ret
Function at 0x1800afa70
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, r9
mov r13, rdx
mov r14, rcx
test rcx, rcx
jne 0x1800afaa3
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r14, rax
mov eax, 0x5a4d
cmp word [r14], ax
je 0x1800afac0
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800afc4d
movsxd rax, dword [r14 + 0x3c]
cmp dword [rax + r14], 0x4550
je 0x1800afae0
mov ecx, 0xbf
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800afc4d
cmp word [rax + r14 + 0x14], 0
jne 0x1800afafb
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800afc4d
mov ecx, dword [rax + r14 + 0x90]
test ecx, ecx
je 0x1800afb0d
lea rdi, [r14 + rcx]
jmp 0x1800afb0f
xor edi, edi
mov qword [rsp + 0x28], rdi
test rdi, rdi
jne 0x1800afb30
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800afc4d
mov ecx, dword [rdi]
test ecx, ecx
je 0x1800afc1d
mov eax, dword [rdi + 0xc]
test eax, eax
je 0x1800afc0e
mov ebx, eax
add rbx, r14
je 0x1800afc0e
lea r12, [r14 + rcx]
mov eax, dword [rdi + 0x10]
test eax, eax
je 0x1800afb61
lea r15, [r14 + rax]
jmp 0x1800afb64
xor r15d, r15d
mov rcx, qword [r15]
call fcn.1800af510
mov r9, qword [rsp + 0x70]
test r9, r9
je 0x1800afb8a
mov r8, rbx
mov rdx, rax
mov rcx, r13
call r9
test eax, eax
je 0x1800afc1d
xor ebx, ebx
mov dword [rsp + 0x24], ebx
test r12, r12
je 0x1800afc00
nop word [rax + rax]
lea r9, [rbx*8]
mov rax, qword [r9 + r12]
test rax, rax
je 0x1800afbee
xor edx, edx
mov dword [rsp + 0x20], edx
xor r8d, r8d
test rax, rax
jns 0x1800afbc8
movzx edx, ax
mov dword [rsp + 0x20], edx
jmp 0x1800afbd5
lea ecx, [rax + 2]
test ecx, ecx
je 0x1800afbd5
mov r8d, ecx
add r8, r14
test rsi, rsi
je 0x1800afbe6
add r9, r15
mov rcx, r13
call rsi
test eax, eax
je 0x1800afbee
inc ebx
mov dword [rsp + 0x24], ebx
jmp 0x1800afba0
test rsi, rsi
je 0x1800afc00
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
call rsi
add rdi, 0x14
mov qword [rsp + 0x28], rdi
jmp 0x1800afb30
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800afc4d
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1800afc31
xor r8d, r8d
xor edx, edx
mov rcx, r13
call rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
jmp 0x1800afc4d
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1800b0470
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x30
mov r9, rcx
test rcx, rcx
jne 0x1800b0487
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9, rax
mov eax, 0x5a4d
cmp word [r9], ax
je 0x1800b04a4
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800b057b
movsxd r10, dword [r9 + 0x3c]
add r10, r9
cmp dword [r10], 0x4550
je 0x1800b04c6
mov ecx, 0xbf
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800b057b
movzx eax, word [r10 + 0x14]
test ax, ax
jne 0x1800b04e2
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800b057b
lea r11, [r10 + 0x18]
add r11, rax
xor r8d, r8d
lea rbx, str..detour
mov dword [rsp + 0x20], r8d
movzx eax, word [r10 + 6]
cmp r8d, eax
jae 0x1800b055f
lea rcx, [r8 + r8*4]
lea rdx, [r11 + rcx*8]
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x1800b055a
cmp rcx, 8
jne 0x1800b0510
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x1800b055f
cmp dword [rdx + 0x10], 0
je 0x1800b055f
lea rbx, [r9 + rax]
mov eax, dword [rbx]
cmp eax, 0x40
jb 0x1800b055f
cmp dword [rbx + 4], 0x727444
jne 0x1800b055f
cmp dword [rbx + 8], 0
jne 0x1800b054d
mov dword [rbx + 8], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
jmp 0x1800b057b
inc r8d
jmp 0x1800b04f3
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800b057b
add rsp, 0x30
pop rbx
ret
Function at 0x1800b6fb0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x180265960]
mov r9, rcx
mov rbx, qword [rax + 0x1a90]
add rbx, 0xc8
movzx eax, r9b
lea r9, [0x1801d71b0]
movsxd r10, dword [rbx]
mov r11, qword [rbx + 8]
mov r8d, dword [r11 + r10*4 - 4]
not r8d
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x31]
mov edx, dword [r9 + rcx*4]
xor edx, r8d
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x32]
mov r8d, dword [r9 + rcx*4]
xor r8d, edx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x33]
mov edx, dword [r9 + rcx*4]
xor edx, r8d
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x34]
mov r8d, dword [r9 + rcx*4]
xor r8d, edx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x35]
mov edx, dword [r9 + rcx*4]
xor edx, r8d
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x36]
mov r8d, dword [r9 + rcx*4]
xor r8d, edx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x37]
mov edx, dword [r9 + rcx*4]
xor edx, r8d
mov r8d, dword [rbx + 4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov edi, dword [r9 + rcx*4]
xor edi, edx
not edi
cmp r10d, r8d
jne 0x1800b70d7
lea ecx, [r10 + 1]
test r8d, r8d
je 0x1800b70bc
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1800b70c1
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.1800d06a0
mov r10d, dword [rbx]
mov r11, qword [rbx + 8]
movsxd rax, r10d
mov dword [r11 + rax*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800b7100
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x180265960]
mov r9d, ecx
mov rbx, qword [rax + 0x1a90]
add rbx, 0xc8
movzx eax, r9b
lea r9, [0x1801d71b0]
movsxd r10, dword [rbx]
mov r11, qword [rbx + 8]
mov r8d, dword [r11 + r10*4 - 4]
not r8d
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x31]
mov edx, dword [r9 + rcx*4]
xor edx, r8d
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x32]
mov r8d, dword [r9 + rcx*4]
xor r8d, edx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x33]
mov edx, dword [r9 + rcx*4]
xor edx, r8d
mov r8d, dword [rbx + 4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov edi, dword [r9 + rcx*4]
xor edi, edx
not edi
cmp r10d, r8d
jne 0x1800b71ce
lea ecx, [r10 + 1]
test r8d, r8d
je 0x1800b71b3
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1800b71b8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.1800d06a0
mov r10d, dword [rbx]
mov r11, qword [rbx + 8]
movsxd rax, r10d
mov dword [r11 + rax*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800b8330
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x180265960]
cmp byte [rbx + 0x3068], 0
je 0x1800b8410
cmp qword [rbx + 0x3070], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3078]
je 0x1800b83f8
mov ecx, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test ecx, ecx
jns 0x1800b839e
mov eax, ecx
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.1800d0560
mov dword [rdi], ebp
mov r8, rsi
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.1800bc520
mov eax, dword [rdi]
lea rcx, [0x180265968]
mov r9, qword [rbx + 0x3070]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rbx + 0x3080]
cmove edx, ebp
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call fcn.180183510
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.1800bc520
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret