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

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1801b6390]
xorps xmm0, xmm0
add rcx, 1
js 0x1800b53db
cvtsi2ss xmm0, rcx
jmp 0x1800b53f0
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1801b6380]
call fcn.18011e6ec
movss xmm1, dword [0x180195568]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1800b5422
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1800b5422
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x1801b63b8]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x1800b545b
cmp rdx, 0x200
jae 0x1800b5458
lea rdx, [rdx*8]
cmp rdx, rcx
jae 0x1800b545b
mov rdx, rcx
add rsp, 0x28
jmp 0x1800b5490
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800b563e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1801b6388]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1801b6398]
lea rdx, [rdi + rdi]
call fcn.1800a6fc0
mov rax, qword [0x1801b6388]
lea r9, [rdi - 1]
mov qword [0x1801b63b0], r9
mov qword [0x1801b63b8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800b5633
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1801b6398]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800b557f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800b55f4
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800b55bc
mov r10, qword [rdx]
cmp r10, rax
je 0x1800b55b6
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1800b55f4
cmp r9, rdx
je 0x1800b55d0
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1800b5608
cmp r9, rdx
jne 0x1800b55c1
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1800b562e
mov r9, qword [0x1801b63b0]
jmp 0x1800b5530
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800b55f4
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1800c4810
int3
Function at 0x1800b5490
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1801b6390]
xorps xmm0, xmm0
add rcx, 1
js 0x1800b53db
cvtsi2ss xmm0, rcx
jmp 0x1800b53f0
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1801b6380]
call fcn.18011e6ec
movss xmm1, dword [0x180195568]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1800b5422
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1800b5422
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x1801b63b8]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x1800b545b
cmp rdx, 0x200
jae 0x1800b5458
lea rdx, [rdx*8]
cmp rdx, rcx
jae 0x1800b545b
mov rdx, rcx
add rsp, 0x28
jmp 0x1800b5490
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800b563e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1801b6388]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1801b6398]
lea rdx, [rdi + rdi]
call fcn.1800a6fc0
mov rax, qword [0x1801b6388]
lea r9, [rdi - 1]
mov qword [0x1801b63b0], r9
mov qword [0x1801b63b8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800b5633
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1801b6398]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800b557f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800b55f4
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800b55bc
mov r10, qword [rdx]
cmp r10, rax
je 0x1800b55b6
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1800b55f4
cmp r9, rdx
je 0x1800b55d0
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1800b5608
cmp r9, rdx
jne 0x1800b55c1
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1800b562e
mov r9, qword [0x1801b63b0]
jmp 0x1800b5530
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800b55f4
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1800c4810
int3
Function at 0x1800bf5e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800bf830
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800bf6fa
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800bf644
mov rax, qword [0x1801b0008]
cmp qword [rsp + 0x20], rax
ja 0x1800bf644
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800bf606
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1800ee490
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1800bf675
jmp 0x1800bf6fa
cmp dword [rsp + 0x50], 0x10000
jne 0x1800bf6dd
cmp qword [rsp + 0x48], 0x10000
jb 0x1800bf6dd
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800bf6bb
mov rax, qword [rsp + 0x28]
jmp 0x1800bf6fc
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800bf6cb
xor eax, eax
jmp 0x1800bf6fc
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800bf6f5
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800bf830
mov qword [rsp + 0x20], rax
jmp 0x1800bf606
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800bf710
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800bf870
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800bf826
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800bf76b
mov rax, qword [0x1801b0008]
cmp qword [rsp + 0x20], rax
ja 0x1800bf76b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800bf72d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1800ee490
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1800bf79c
jmp 0x1800bf826
cmp dword [rsp + 0x50], 0x10000
jne 0x1800bf804
cmp qword [rsp + 0x48], 0x10000
jb 0x1800bf804
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800bf7e2
mov rax, qword [rsp + 0x28]
jmp 0x1800bf828
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800bf7f2
xor eax, eax
jmp 0x1800bf828
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800bf821
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800bf870
mov qword [rsp + 0x20], rax
jmp 0x1800bf72d
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800bf8c0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800bfe50
mov qword [rsp + 0x28], 0
cmp qword [0x1801b2bb8], 0
jne 0x1800bf908
cmp qword [0x1801b2bb0], 0
je 0x1800bf908
mov rax, qword [0x1801b2bb0]
mov qword [0x1801b2bb8], rax
cmp qword [0x1801b2bb8], 0
je 0x1800bf9ae
mov rax, qword [0x1801b2bb8]
cmp qword [rax + 0x10], 0
je 0x1800bf9ae
mov rax, qword [0x1801b2bb8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800bf9ae
mov rax, qword [0x1801b2bb8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800bf9ae
mov rax, qword [0x1801b2bb8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800bf974
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800bf97b
xor eax, eax
jmp 0x1800bfb25
mov rax, qword [0x1801b2bb8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.1800ee490
mov rax, qword [rsp + 0x28]
jmp 0x1800bfb25
mov rax, qword [0x1801b2bb0]
mov qword [0x1801b2bb8], rax
jmp 0x1800bf9d0
mov rax, qword [0x1801b2bb8]
mov rax, qword [rax + 8]
mov qword [0x1801b2bb8], rax
cmp qword [0x1801b2bb8], 0
je 0x1800bfa1d
cmp qword [0x1801b2bb8], 0
je 0x1800bfa1b
mov rax, qword [0x1801b2bb8]
cmp qword [rax + 0x10], 0
je 0x1800bfa1b
mov rax, qword [0x1801b2bb8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800bfa1b
mov rax, qword [0x1801b2bb8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800bfa1b
jmp 0x1800bf94c
jmp 0x1800bf9be
mov rax, qword [rsp + 0x60]
and rax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800bfb30
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800bfb23
mov rax, qword [rsp + 0x48]
mov qword [0x1801b2bb8], rax
mov rax, qword [0x1801b2bb8]
mov dword [rax], 0x52727464
mov rax, qword [0x1801b2bb8]
mov qword [rax + 0x10], 0
mov rax, qword [0x1801b2bb8]
mov rcx, qword [0x1801b2bb0]
mov qword [rax + 8], rcx
mov rax, qword [0x1801b2bb8]
mov qword [0x1801b2bb0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1801b2bb8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1800bfad4
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800bfb0e
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1800bfaca
mov rax, qword [0x1801b2bb8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800bf94c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800c0840
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800c0887
xor al, al
jmp 0x1800c0929
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x1800c08b1
xor al, al
jmp 0x1800c0929
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x1800c0921
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x1800c0921
mov al, 1
jmp 0x1800c0929
jmp 0x1800c0927
xor al, al
add rsp, 0x78
ret

Function at 0x1800c0c30
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1801b2bb0]
mov qword [rsp + 0x28], rax
jmp 0x1800c0c50
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800c0c7f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1800c0c7d
call sub.KERNEL32.dll_GetLastError
jmp 0x1800c0c81
jmp 0x1800c0c42
xor eax, eax
add rsp, 0x38
ret
Function at 0x1800c1520
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1801b2bc8], eax
je 0x1800c154d
mov eax, 0x10dd
jmp 0x1800c1766
cmp dword [0x1801b2bcc], 0
je 0x1800c1561
mov eax, dword [0x1801b2bcc]
jmp 0x1800c1766
cmp qword [rsp + 0x78], 0
jne 0x1800c1573
mov eax, 0x57
jmp 0x1800c1766
cmp qword [rsp + 0x70], 0
jne 0x1800c1585
mov eax, 6
jmp 0x1800c1766
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x1800c15b7
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x1801b2bcc], eax
mov rax, qword [rsp + 0x70]
mov qword [0x1801b2bd0], rax
mov eax, dword [rsp + 0x20]
jmp 0x1800c1766
mov ecx, 0x30
call fcn.1800eb950
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1800c1629
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x1801b2bcc], eax
cmp qword [rsp + 0x30], 0
je 0x1800c1614
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.1800ebddc
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x1801b2bd0], rax
mov eax, dword [rsp + 0x20]
jmp 0x1800c1766
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.1800c14f0
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.1800c14f0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x1800c1686
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x1800c16a3
mov dword [rsp + 0x20], 9
cmp dword [0x1801b2bc0], 0
je 0x1800c169e
jmp 0x1800c15ea
jmp 0x1800c15e0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x1800c16d0
mov dword [rsp + 0x20], 9
cmp dword [0x1801b2bc0], 0
je 0x1800c16cb
jmp 0x1800c15ea
jmp 0x1800c15e0
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1800c1707
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1800c15e0
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x1801b2be0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x1801b2be0], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800c1770
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1801b2bc8], eax
je 0x1800c178b
mov eax, 0x10dd
jmp 0x1800c18b0
mov rax, qword [0x1801b2be0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800c1835
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x1800c1800
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x1800c1800
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.1800bff90
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.1800ebddc
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1800c1797
mov qword [0x1801b2be0], 0
call fcn.1800c09f0
mov rax, qword [0x1801b2bd8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800c1899
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.1800ebddc
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x1800c1851
mov qword [0x1801b2bd8], 0
mov dword [0x1801b2bc8], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800c1de0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x1801b2bcc], 0
je 0x1800c1dfd
mov eax, dword [0x1801b2bcc]
jmp 0x1800c1ec3
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x1800c1e10
xor eax, eax
jmp 0x1800c1ec3
mov ecx, 0x10
call fcn.1800eb950
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800c1e7e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x1800c1e63
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.1800ebddc
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x1801b2bcc], eax
mov qword [0x1801b2bd0], 0
mov eax, dword [rsp + 0x20]
jmp 0x1800c1ec3
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1800c1e98
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1800c1e39
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1801b2bd8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1801b2bd8], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x1800c1fb0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x80], 0
jne 0x1800c1fdd
xor ecx, ecx
call sub.KERNEL32.dll_GetModuleHandleW
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800c1ffd
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800c2176
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
je 0x1800c2034
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800c2176
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
test eax, eax
jne 0x1800c2052
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800c2176
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x1800c207e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x1800c215a
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
lea rdx, str..detour
mov rcx, rax
call fcn.180104370
test eax, eax
jne 0x1800c2155
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + rax + 0xc], 0
je 0x1800c20e3
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + rax + 0x10], 0
jne 0x1800c20e5
jmp 0x1800c215a
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
cmp rax, 0x40
jb 0x1800c212b
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0x727444
je 0x1800c212d
jmp 0x1800c215a
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x1800c2147
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov dword [rax + 8], ecx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
jmp 0x1800c2176
jmp 0x1800c2074
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x1800c2176
add rsp, 0x78
ret