joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001e0c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14001e29f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14001df90
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x14001e264
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x14]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x15]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x16]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x17]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14001e1dc
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x14001e253
mov rax, qword [r11 + 8]
mov r8, qword [rcx + 0x10]
cmp r8, qword [rax + 0x10]
jne 0x14001e219
mov r8, qword [rax]
cmp r8, rcx
je 0x14001e213
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x14001e253
cmp r9, rax
je 0x14001e22f
nop
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
je 0x14001e279
cmp r9, rax
jne 0x14001e220
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x14001e160
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x14001e253
lea rcx, str.invalid_hash_bucket_count
call fcn.14005a060
int3
Function at 0x14001e560
Capabilities:
Parse pe header

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x140121c38]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov rcx, rdi
mov r8d, 0xf8
call fcn.140085ae0
test rbx, rbx
jne 0x14001e5a3
lea ecx, [rbx + 0x57]
jmp 0x14001e654
xorps xmm0, xmm0
lea r8, [rsp + 0x30]
mov r9d, 0x30
mov rdx, rbx
mov rcx, rsi
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call sub.KERNEL32.dll_VirtualQueryEx
test rax, rax
je 0x14001e659
mov r9d, 0x40
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, rsi
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x14001e659
mov eax, 0x5a4d
cmp word [rsp + 0x60], ax
jne 0x14001e64f
movsxd rdx, dword [rsp + 0x9c]
mov eax, edx
cmp rax, qword [rsp + 0x48]
ja 0x14001e64f
cmp edx, 0x40
jb 0x14001e64f
add rdx, rbx
mov qword [rsp + 0x20], 0
mov r9d, 0xf8
mov r8, rdi
mov rcx, rsi
call sub.KERNEL32.dll_ReadProcessMemory
test eax, eax
je 0x14001e659
cmp dword [rdi], 0x4550
jne 0x14001e64f
movsxd rax, dword [rsp + 0x9c]
add rax, rbx
jmp 0x14001e65b
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140056c90
add rsp, 0xb0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400204e0
Capabilities:
Query environment variable
Resume thread
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140121c38]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r15, r8
mov edi, edx
mov r14d, ecx
lea rdx, [rbp - 0x20]
xor ebx, ebx
lea rcx, [0x1400ee9d8]
mov r8d, 0x104
mov qword [rsp + 0x50], rbx
mov r12, r9
call sub.KERNEL32.dll_GetEnvironmentVariableA
lea ecx, [rdi - 1]
mov esi, eax
cmp ecx, 0xfff
ja 0x140020733
mov r9, r15
lea rcx, [rsp + 0x50]
mov r8d, edi
mov edx, r14d
call fcn.14001e310
mov rdi, qword [rsp + 0x50]
test eax, eax
je 0x140020724
lea eax, [rsi - 1]
cmp eax, 0x102
ja 0x140020724
mov ecx, 0x104
lea rax, [rbp - 0x20]
nop dword [rax + rax]
cmp byte [rax], bl
je 0x14002058d
inc rax
sub rcx, 1
jne 0x140020580
mov eax, 0x104
sub rax, rcx
test rcx, rcx
cmove rax, rbx
je 0x140020724
mov r8d, 0x104
lea rcx, [rbp - 0x20]
lea rcx, [rcx + rax]
sub r8, rax
je 0x1400205e0
lea r9, [0x1400ee9e0]
mov eax, 0x7ffffffe
sub r9, rcx
test rax, rax
je 0x1400205e0
movzx edx, byte [r9 + rcx]
test dl, dl
je 0x1400205e0
mov byte [rcx], dl
dec rax
inc rcx
sub r8, 1
jne 0x1400205c4
test r8, r8
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], bl
je 0x140020724
lea r9, [rdi + 0xc]
mov edx, 0x104
lea r8, [0x1400ee9f8]
lea rcx, [rbp + 0xf0]
call fcn.14001e860
test eax, eax
js 0x140020724
xorps xmm1, xmm1
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rdx, [rbp + 0xf0]
mov qword [rsp + 0x68], rax
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x2c], eax
xorps xmm0, xmm0
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], ebx
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x74], xmm1
movups xmmword [rbp - 0x7c], xmm1
movups xmmword [rbp - 0x6c], xmm1
movups xmmword [rbp - 0x5c], xmm1
movups xmmword [rbp - 0x4c], xmm1
movups xmmword [rbp - 0x3c], xmm1
call r12
test eax, eax
je 0x140020724
mov r9d, dword [rdi]
lea rdx, [0x1400ee7e0]
mov rcx, qword [rsp + 0x58]
mov r8, rdi
call fcn.14001f570
test rax, rax
jne 0x1400206d4
mov rcx, qword [rsp + 0x58]
mov edx, 0xffffffff
call sub.KERNEL32.dll_TerminateProcess
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [rsp + 0x60]
call sub.KERNEL32.dll_CloseHandle
jmp 0x140020724
mov rcx, qword [rsp + 0x60]
call sub.KERNEL32.dll_ResumeThread
mov rcx, qword [rsp + 0x58]
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x1f4
call sub.KERNEL32.dll_GetExitCodeProcess
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [rsp + 0x60]
call sub.KERNEL32.dll_CloseHandle
cmp dword [rsp + 0x50], ebx
mov eax, 1
cmove ebx, eax
test rdi, rdi
je 0x14002073d
mov rcx, rdi
call fcn.1400574f0
jmp 0x14002073d
mov ecx, 0x57
call sub.KERNEL32.dll_SetLastError
mov eax, ebx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140056c90
add rsp, 0x310
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140021040
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 0x140021125
nop dword [rax]
cmp rbx, qword [0x1401213f8]
jb 0x14002108e
cmp rbx, qword [0x140121400]
ja 0x14002108e
sub rbx, 0x8000000
jmp 0x14002111c
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 sub.KERNEL32.dll_VirtualQuery
test rax, rax
je 0x140021125
cmp dword [rsp + 0x40], 0x10000
jne 0x140021100
cmp qword [rsp + 0x38], 0x10000
jb 0x140021100
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call sub.KERNEL32.dll_VirtualAlloc
test rax, rax
jne 0x140021127
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
je 0x140021125
sub rbx, 0x10000
jmp 0x14002111c
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 0x140021070
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x140021140
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 0x140021162
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x140021227
nop dword [rax + rax]
cmp rbx, qword [0x1401213f8]
jb 0x14002118e
cmp rbx, qword [0x140121400]
ja 0x14002118e
add rbx, 0x8000000
jmp 0x14002121e
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 sub.KERNEL32.dll_VirtualQuery
test rax, rax
je 0x140021227
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x140021203
cmp rcx, 0x10000
jb 0x140021203
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call sub.KERNEL32.dll_VirtualAlloc
test rax, rax
jne 0x140021229
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
je 0x140021227
add rbx, 0x10000
jmp 0x14002121e
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x14002121e
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x140021170
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140021240
Capabilities:
Hook routines via microsoft detours

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [rcx - 0x7ff80000]
mov r9, rcx
cmp rcx, 0x7ff80000
ja 0x14002125e
mov ebx, 0x80000
mov qword [rsp + 0x30], rdi
lea rdi, [rcx + 0x7ff80000]
cmp r9, 0xffffffff80000000
jb 0x14002127a
mov rdi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x140021291
cmp byte [rcx + 1], 0x25
jne 0x1400212d5
movsxd rax, dword [rcx + 2]
add rcx, 6
jmp 0x14002129d
cmp al, 0xe9
jne 0x1400212d5
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
cmp rcx, r9
jae 0x1400212c0
cmp rcx, 0xffffffff80000000
jae 0x1400212b7
lea rdi, [rcx + 0x7ff80000]
jmp 0x1400212d5
mov rdi, 0xfffffffffff80000
jmp 0x1400212d5
lea rbx, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x1400212d5
mov ebx, 0x80000
mov rax, qword [0x140126fa8]
mov rcx, qword [0x140126fa0]
test rax, rax
jne 0x1400212f7
test rcx, rcx
je 0x14002130e
mov rax, rcx
mov qword [0x140126fa8], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14002130e
cmp rdx, rbx
jb 0x14002130e
cmp rdx, rdi
jbe 0x1400213b9
mov qword [0x140126fa8], rcx
mov rax, rcx
test rcx, rcx
je 0x140021349
test rcx, rcx
je 0x140021339
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x140021339
cmp rcx, rbx
jb 0x140021339
cmp rcx, rdi
jbe 0x1400213b9
mov rax, qword [rax + 8]
mov qword [0x140126fa8], rax
test rax, rax
jne 0x140021322
movzx eax, r9w
mov r8, rdi
sub r9, rax
mov rdx, rbx
mov rcx, r9
call fcn.140021410
test rax, rax
je 0x1400213fc
mov dword [rax], 0x52727464
lea rdx, [rax + 0xffa8]
xor r8d, r8d
mov qword [0x140126fa8], rax
mov qword [rax + 0x10], r8
mov r9d, 0x2a7
mov rcx, qword [0x140126fa0]
mov qword [rax + 8], rcx
lea rcx, [rax + 0xff60]
mov qword [0x140126fa0], rax
mov qword [rdx], r8
lea rdx, [rdx - 0x60]
mov r8, rcx
sub rcx, 0x60
sub r9, 1
jne 0x1400213a1
mov qword [rax + 0x10], r8
mov rdx, qword [rax + 0x10]
cmp rdx, rbx
jb 0x1400213fc
cmp rdx, rdi
ja 0x1400213fc
mov rcx, qword [rdx + 0x48]
movdqa xmm0, xmmword [0x1400eea80]
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 0x140021730
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
cmp dword [0x140126fb8], 0
jne 0x140022185
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x140126fb8], ecx
jne 0x140022185
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x140126fa0]
mov qword [rsp + 0x20], rdi
xor edi, edi
mov qword [0x140126fd0], rdi
mov qword [0x140126fc8], rdi
mov qword [0x140126fc0], rdi
test rbx, rbx
je 0x14002216e
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x140022167
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140022140
jmp 0x14002216e
call sub.KERNEL32.dll_GetLastError
mov edi, eax
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov dword [0x140126fbc], edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 0x10dd
add rsp, 0x28
ret
Function at 0x140022780
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x140126fbc]
mov rdi, rcx
test eax, eax
jne 0x140022820
call sub.KERNEL32.dll_GetCurrentThread
cmp rdi, rax
jne 0x1400227a9
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rbx
call fcn.140057028
mov rbx, rax
test rax, rax
jne 0x1400227c5
lea edi, [rax + 8]
jmp 0x1400227e6
mov rcx, rdi
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x140022804
call sub.KERNEL32.dll_GetLastError
mov edi, eax
mov edx, 0x10
mov rcx, rbx
call fcn.140057064
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x140126fbc], edi
mov qword [0x140126fc0], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x140126fc8]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x140126fc8], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400288e0
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 0x1400289f0
cmp r8d, edi
jbe 0x1400289f0
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov rcx, rbp
call sub.KERNEL32.dll_SetFilePointer
cmp eax, 0xffffffff
jne 0x14002894b
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.14002a4e0
test eax, eax
jne 0x140028977
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.140085ae0
test ebx, ebx
je 0x1400289d7
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 sub.KERNEL32.dll_WriteFile
test eax, eax
je 0x1400289dc
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400289d7
sub ebx, eax
jne 0x1400289a0
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 0x14002be80
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x30
mov r9, rcx
test rcx, rcx
jne 0x14002be96
call sub.KERNEL32.dll_GetModuleHandleW
mov r9, rax
mov eax, 0x5a4d
cmp word [r9], ax
je 0x14002beb2
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002bf88
movsxd r10, dword [r9 + 0x3c]
add r10, r9
cmp dword [r10], 0x4550
je 0x14002bed3
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002bf88
movzx eax, word [r10 + 0x14]
test ax, ax
jne 0x14002beee
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002bf88
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 0x14002bf6e
lea rcx, [r8 + r8*4]
lea rdx, [r11 + rcx*8]
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rbx + rcx - 1]
jne 0x14002bf69
cmp rcx, 8
jne 0x14002bf20
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x14002bf6e
cmp dword [rdx + 0x10], 0
je 0x14002bf6e
lea rbx, [r9 + rax]
mov eax, dword [rbx]
cmp eax, 0x40
jb 0x14002bf6e
cmp dword [rbx + 4], 0x727444
jne 0x14002bf6e
cmp dword [rbx + 8], 0
jne 0x14002bf5d
mov dword [rbx + 8], eax
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rax, rbx
jmp 0x14002bf88
inc r8d
jmp 0x14002beff
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002bf88
add rsp, 0x30
pop rbx
ret
Function at 0x14002c280
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 0x14002c2b2
call sub.KERNEL32.dll_GetModuleHandleW
mov r14, rax
mov eax, 0x5a4d
cmp word [r14], ax
je 0x14002c2ce
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002c44a
movsxd rax, dword [r14 + 0x3c]
cmp dword [rax + r14], 0x4550
je 0x14002c2ed
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002c44a
cmp word [rax + r14 + 0x14], 0
jne 0x14002c307
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002c44a
mov ecx, dword [rax + r14 + 0x90]
test ecx, ecx
je 0x14002c319
lea rdi, [r14 + rcx]
jmp 0x14002c31b
xor edi, edi
mov qword [rsp + 0x28], rdi
test rdi, rdi
jne 0x14002c336
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002c44a
mov ecx, dword [rdi]
test ecx, ecx
je 0x14002c41c
mov eax, dword [rdi + 0xc]
test eax, eax
je 0x14002c40e
mov ebx, eax
add rbx, r14
je 0x14002c40e
lea r12, [r14 + rcx]
mov eax, dword [rdi + 0x10]
test eax, eax
je 0x14002c367
lea r15, [r14 + rax]
jmp 0x14002c36a
xor r15d, r15d
mov rcx, qword [r15]
call fcn.14002cab0
mov r9, qword [rsp + 0x70]
test r9, r9
je 0x14002c390
mov r8, rbx
mov rdx, rax
mov rcx, r13
call r9
test eax, eax
je 0x14002c41c
xor ebx, ebx
mov dword [rsp + 0x24], ebx
test r12, r12
je 0x14002c400
nop dword [rax + rax]
lea r9, [rbx*8]
mov rax, qword [r9 + r12]
test rax, rax
je 0x14002c3ee
xor edx, edx
mov dword [rsp + 0x20], edx
xor r8d, r8d
test rax, rax
jns 0x14002c3c8
movzx edx, ax
mov dword [rsp + 0x20], edx
jmp 0x14002c3d5
lea ecx, [rax + 2]
test ecx, ecx
je 0x14002c3d5
mov r8d, ecx
add r8, r14
test rsi, rsi
je 0x14002c3e6
add r9, r15
mov rcx, r13
call rsi
test eax, eax
je 0x14002c3ee
inc ebx
mov dword [rsp + 0x24], ebx
jmp 0x14002c3a0
test rsi, rsi
je 0x14002c400
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
call rsi
add rdi, 0x14
mov qword [rsp + 0x28], rdi
jmp 0x14002c336
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002c44a
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14002c430
xor r8d, r8d
xor edx, edx
mov rcx, r13
call rax
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov eax, 1
jmp 0x14002c44a
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 0x14002c470
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 sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x14002c4c3
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
cmp dword [rsp + 0x40], 0x1000
jne 0x14002c50d
mov eax, dword [rsp + 0x44]
cmp al, 1
je 0x14002c50d
bt eax, 8
jb 0x14002c50d
cmp word [rbx], di
jne 0x14002c506
mov eax, dword [rbx + 0x3c]
cmp rax, qword [rsp + 0x38]
ja 0x14002c506
cmp eax, 0x40
jb 0x14002c506
cdqe
cmp dword [rax + rbx], 0x4550
jne 0x14002c50d
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rax, rbx
jmp 0x14002c4b8
jmp 0x14002c50d
mov rbx, qword [rsp + 0x38]
add rbx, qword [rsp + 0x20]
jmp 0x14002c4a0

Function at 0x14002cab0
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 sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x14002caee
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002cb7a
cmp dword [rsp + 0x40], 0x1000
jne 0x14002cb60
mov eax, dword [rsp + 0x44]
cmp al, 1
je 0x14002cb60
bt eax, 8
jb 0x14002cb60
mov rbx, qword [rsp + 0x28]
mov eax, 0x5a4d
cmp word [rbx], ax
je 0x14002cb23
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002cb7a
movsxd rax, dword [rbx + 0x3c]
cmp dword [rax + rbx], 0x4550
je 0x14002cb3e
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002cb7a
cmp word [rax + rbx + 0x14], 0
jne 0x14002cb54
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002cb7a
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rax, rbx
jmp 0x14002cb7a
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002cb7a
add rsp, 0x50
pop rbx
ret

Function at 0x14002cca0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rcx
test rcx, rcx
jne 0x14002ccb4
call sub.KERNEL32.dll_GetModuleHandleW
nop
mov ecx, 0x5a4d
cmp word [rax], cx
je 0x14002cccc
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002cd16
movsxd rbx, dword [rax + 0x3c]
add rbx, rax
cmp dword [rbx], 0x4550
je 0x14002cce9
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002cd16
cmp word [rbx + 0x14], 0
jne 0x14002ccfe
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x14002cd16
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov eax, dword [rbx + 0x50]
jmp 0x14002cd16
add rsp, 0x20
pop rbx
ret