joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180046098
Capabilities:
Access peb ldr_data
Encode data using xor
Get number of processors
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [rcx + 0x10]
mov rsi, rcx
sub rax, qword [rcx + 8]
mov r14, rdx
mov rcx, qword [rcx + 0xa8]
sar rax, 3
mov byte [rbp + 0x20], 2
mov dword [rbp + 0x30], eax
test rcx, rcx
je 0x180046243
mov rax, qword [rcx]
lea r9, [rsi + 0xb8]
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x30]
call qword [rax + 0x10]
lea rdx, [rbp - 0x20]
mov byte [rbp + 0x20], al
lea rcx, [rsi + 0x20]
call fcn.180042e20
mov r9d, 1
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x10]
lea rcx, [rsi + 0x20]
movups xmm0, xmmword [rax]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp - 0x30], xmm0
call fcn.180040bd4
mov r9b, 1
mov byte [rbp + 0x20], 2
lea r8, [rbp + 0x20]
mov rcx, rsi
lea rdx, [rbp - 0x30]
call fcn.18001ed78
mov rdx, qword [rsi + 0x10]
cmp rdx, qword [rsi + 0x18]
je 0x180046152
mov rax, qword [rbp - 0x28]
mov qword [rdx], rax
add qword [rsi + 0x10], 8
jmp 0x18004615f
lea r8, [rbp - 0x28]
lea rcx, [rsi + 8]
call fcn.18001ac64
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax - 8]
test rcx, rcx
je 0x18004622c
cmp r14, 0xffffffffffffffff
je 0x18004622c
call fcn.18004412c
cmp r14, rax
jbe 0x18004622c
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r10d, dword [rcx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x18004620b
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x18004620b
mov r14d, dword [r10 + 0x20]
dec r11d
mov edi, 0xa01adf47
lea rcx, [r14 + r11*4]
mov r8d, dword [rcx + r9]
add r8, r9
mov bl, byte [r8]
inc r8
test bl, bl
je 0x180046206
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r8]
cmova edx, ecx
inc r8
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x1800461db
cmp edi, 0x558b75bb
je 0x180046210
test r11d, r11d
jne 0x1800461be
mov rax, qword [rax]
jmp 0x180046199
mov edx, dword [r10 + 0x24]
add rdx, r9
movzx r8d, word [rdx + r11*2]
mov edx, dword [r10 + 0x1c]
add rdx, r9
mov ecx, dword [rdx + r8*4]
add rcx, r9
call rcx
lea r11, [rsp + 0x60]
mov al, 1
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800406c8
int3
Function at 0x18004624c
Capabilities:
Access peb ldr_data
Encode data using xor
Get number of processors
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [rcx + 0x10]
mov rsi, rcx
sub rax, qword [rcx + 8]
mov r14, rdx
mov rcx, qword [rcx + 0xa8]
sar rax, 3
mov byte [rbp + 0x20], 0
mov dword [rbp + 0x30], eax
test rcx, rcx
je 0x1800463f7
mov rax, qword [rcx]
lea r9, [rsi + 0xb8]
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x30]
call qword [rax + 0x10]
lea rdx, [rbp - 0x20]
mov byte [rbp + 0x20], al
lea rcx, [rsi + 0x20]
call fcn.180042e20
mov r9d, 1
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x10]
lea rcx, [rsi + 0x20]
movups xmm0, xmmword [rax]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp - 0x30], xmm0
call fcn.180040bd4
mov r9b, 1
mov byte [rbp + 0x20], 1
lea r8, [rbp + 0x20]
mov rcx, rsi
lea rdx, [rbp - 0x30]
call fcn.18001ed78
mov rdx, qword [rsi + 0x10]
cmp rdx, qword [rsi + 0x18]
je 0x180046306
mov rax, qword [rbp - 0x28]
mov qword [rdx], rax
add qword [rsi + 0x10], 8
jmp 0x180046313
lea r8, [rbp - 0x28]
lea rcx, [rsi + 8]
call fcn.18001ac64
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax - 8]
test rcx, rcx
je 0x1800463e0
cmp r14, 0xffffffffffffffff
je 0x1800463e0
call fcn.18004412c
cmp r14, rax
jbe 0x1800463e0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r10d, dword [rcx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x1800463bf
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x1800463bf
mov r14d, dword [r10 + 0x20]
dec r11d
mov edi, 0x1a6c497e
lea rcx, [r14 + r11*4]
mov r8d, dword [rcx + r9]
add r8, r9
mov bl, byte [r8]
inc r8
test bl, bl
je 0x1800463ba
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r8]
cmova edx, ecx
inc r8
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x18004638f
cmp edi, 0x65e45408
je 0x1800463c4
test r11d, r11d
jne 0x180046372
mov rax, qword [rax]
jmp 0x18004634d
mov edx, dword [r10 + 0x24]
add rdx, r9
movzx r8d, word [rdx + r11*2]
mov edx, dword [r10 + 0x1c]
add rdx, r9
mov ecx, dword [rdx + r8*4]
add rcx, r9
call rcx
lea r11, [rsp + 0x60]
mov al, 1
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800406c8
int3

Function at 0x18004661c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor r8d, r8d
movzx eax, byte [r8 + rdx]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 8
jb 0x1800465f7
mov rax, rcx
ret
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x1800465f4
Function at 0x180047354
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x48
xor r11d, r11d
mov r8, rcx
mov edx, r11d
cmp word [rcx], r11w
je 0x180047371
inc rdx
cmp word [rcx + rdx*2], r11w
jne 0x180047367
movabs r9, 0xcbf29ce484222325
mov r10, r11
test rdx, rdx
je 0x1800473bb
movzx eax, word [r8 + r10*2]
movzx ecx, word [r8 + r10*2]
sub ax, 0x41
add cx, 0x20
cmp ax, 0x19
cmova cx, word [r8 + r10*2]
inc r10
movzx eax, cx
movabs rcx, 0x100000001b3
imul r9, rcx
xor r9, rax
cmp r10, rdx
jb 0x180047383
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], r11
lea rcx, [0x180047344]
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x20], r9
call fcn.18004748c
neg al
sbb rax, rax
and rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x18004c0d4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
xor r10d, r10d
mov rsi, r8
mov rbx, rdx
test rdx, rdx
je 0x18004c160
mov rdi, qword [rsp + 0x28]
mov r11d, r10d
cmp byte [rdi], r10b
je 0x18004c107
inc r11
cmp byte [r11 + rdi], r10b
jne 0x18004c0fe
movabs r8, 0xcbf29ce484222325
test r11, r11
je 0x18004c14e
mov dl, byte [r10 + rdi]
mov al, byte [r10 + rdi]
sub dl, 0x41
add al, 0x20
movzx ecx, al
cmp dl, 0x19
movzx eax, byte [r10 + rdi]
cmova ecx, eax
inc r10
movsx rdx, cl
movabs rcx, 0x100000001b3
imul r8, rcx
xor r8, rdx
cmp r10, r11
jb 0x18004c116
cmp r8, qword [rbx]
jne 0x18004c160
mov qword [rbx + 0x10], rsi
mov al, 1
mov word [rbx + 8], r9w
jmp 0x18004c162
xor al, al
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x18004c1c8
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, rdx
mov r13, r8
xor edx, edx
mov rdi, rcx
test r12, r12
je 0x18004c291
test rcx, rcx
je 0x18004c291
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18004c291
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x18004c291
test rax, rax
je 0x18004c291
add rax, 0x88
je 0x18004c291
mov ebx, dword [rax]
add rbx, rcx
je 0x18004c291
cmp dword [rbx + 0x1c], edx
je 0x18004c291
cmp dword [rbx + 0x20], edx
je 0x18004c291
cmp dword [rbx + 0x24], edx
je 0x18004c291
mov r14d, dword [rbx + 0x1c]
mov esi, edx
mov ebp, dword [rbx + 0x20]
add r14, rcx
mov r15d, dword [rbx + 0x24]
add rbp, rcx
add r15, rcx
cmp dword [rbx + 0x18], edx
jbe 0x18004c291
mov ecx, esi
movzx r8d, word [r15 + rcx*2]
cmp dword [r14 + r8*4], edx
je 0x18004c28a
cmp dword [rbp + rcx*4], edx
je 0x18004c28a
mov r9d, dword [rbp + rcx*4]
mov rcx, r13
mov edx, dword [r14 + r8*4]
add r9, rdi
add rdx, rdi
call r12
xor edx, edx
test al, al
jne 0x18004c2b0
inc esi
cmp esi, dword [rbx + 0x18]
jb 0x18004c25c
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov al, 1
jmp 0x18004c293
Function at 0x1800589a8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor r10d, r10d
mov r11, rcx
test r9b, r9b
je 0x1800589f2
test r8, r8
je 0x180058a15
movabs r9, 0x100000001b3
movzx eax, word [rdx + r10*2]
movzx ecx, word [rdx + r10*2]
sub ax, 0x41
add cx, 0x20
cmp ax, 0x19
cmova cx, word [rdx + r10*2]
inc r10
imul r11, r9
movzx eax, cx
xor r11, rax
cmp r10, r8
jb 0x1800589c2
jmp 0x180058a15
test r8, r8
je 0x180058a15
movabs r9, 0x100000001b3
movzx ecx, word [rdx + r10*2]
inc r10
imul r11, r9
xor r11, rcx
cmp r10, r8
jb 0x180058a01
mov rax, r11
ret
Function at 0x18007bf08
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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 rax, qword gs:[0x60]
mov r15, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov ebx, dword [rcx + r8 + 0x88]
add rbx, r8
cmp rbx, r8
je 0x18007bfaf
mov r10d, dword [rbx + 0x18]
test r10d, r10d
je 0x18007bfaf
mov esi, dword [rbx + 0x20]
dec r10d
mov edi, 0x7de1557e
lea rcx, [rsi + r10*4]
mov r9d, dword [rcx + r8]
add r9, r8
mov r11b, byte [r9]
inc r9
test r11b, r11b
je 0x18007bfaa
movsx ecx, r11b
sub r11b, 0x41
mov edx, ecx
or edx, 0x20
cmp r11b, 0x19
mov r11b, byte [r9]
cmova edx, ecx
inc r9
xor edx, edi
imul edi, edx, 0x1000193
test r11b, r11b
jne 0x18007bf7b
cmp edi, 0xf58c71a2
je 0x18007bfb4
test r10d, r10d
jne 0x18007bf5d
mov rax, qword [rax]
jmp 0x18007bf39
mov ecx, dword [rbx + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rdx, r15
add rax, r8
xor ecx, ecx
xor r8d, r8d
call rax
mov rcx, 0xffffffffffffffff
lea r12, [rax + 1]
mov eax, 2
mul r12
cmovo rax, rcx
mov rcx, rax
call fcn.180047834
mov rcx, qword gs:[0x60]
mov rbp, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov r9, qword [rcx + 0x30]
movsxd rdx, dword [r9 + 0x3c]
mov r10d, dword [rdx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x18007c07a
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x18007c07a
mov r14d, dword [r10 + 0x20]
dec r11d
mov edi, 0x1a975df9
lea rax, [r14 + r11*4]
mov r8d, dword [rax + r9]
add r8, r9
mov bl, byte [r8]
inc r8
test bl, bl
je 0x18007c075
movsx eax, bl
sub bl, 0x41
mov edx, eax
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r8]
cmova edx, eax
inc r8
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x18007c04a
cmp edi, 0xfd62c889
je 0x18007c07f
test r11d, r11d
jne 0x18007c02d
mov rcx, qword [rcx]
jmp 0x18007c008
mov ecx, dword [r10 + 0x24]
mov r8, r12
add rcx, r9
movzx edx, word [rcx + r11*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
mov rdx, r15
add rax, r9
mov rcx, rbp
call rax
mov rbx, qword [rsp + 0x40]
mov rax, rbp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180096d60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
lea rax, [rcx - 0x10000]
mov rsi, rcx
movabs rcx, 0x7ffffffeffff
mov rbx, rdx
cmp rax, rcx
ja 0x180096e7c
movabs rax, 0x7287f63461834edd
xor r9d, r9d
mov qword [r11 - 0x28], rax
movabs rax, 0x81bc4023a4c35ef5
mov qword [r11 - 0x20], rax
movabs rax, 0x5f5997218e7219f
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0x81bc4023a4a72c94
mov qword [rsp + 0x38], rax
pxor xmm0, xmmword [rsp + 0x30]
movq rax, xmm0
movdqa xmmword [rsp + 0x20], xmm0
test al, al
je 0x180096df3
inc r9
cmp byte [rsp + r9 + 0x20], 0
jne 0x180096de8
xor r10d, r10d
movabs rdi, 0xcbf29ce484222325
test r9, r9
je 0x180096e39
movzx edx, byte [rsp + r10 + 0x20]
lea eax, [rdx + 0x20]
movzx ecx, al
lea r8d, [rdx - 0x41]
cmp r8b, 0x19
cmova ecx, edx
inc r10
movsx rax, cl
movabs rcx, 0x100000001b3
imul rdi, rcx
xor rdi, rax
cmp r10, r9
jb 0x180096e05
mov rax, qword [0x1800bd508]
test rax, rax
jne 0x180096e60
call fcn.1800472c8
mov rcx, rax
lea rdx, str.PlayerEyes
call fcn.180022fa0
mov qword [0x1800bd508], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.180046780
mov rdx, rsi
mov rcx, rbx
mov r8, qword [rax]
call r8
jmp 0x180096e8d
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, rbx
call fcn.18009a6d8
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x180096ea0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
lea rax, [rcx - 0x10000]
mov rsi, rcx
movabs rcx, 0x7ffffffeffff
mov rbx, rdx
cmp rax, rcx
ja 0x180096fbc
movabs rax, 0x6d92f02061834edd
xor r9d, r9d
mov qword [r11 - 0x28], rax
movabs rax, 0x81bc4023a4a72ce0
mov qword [r11 - 0x20], rax
movabs rax, 0x5f5997218e7219f
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0x81bc4023a4a72c94
mov qword [rsp + 0x38], rax
pxor xmm0, xmmword [rsp + 0x30]
movq rax, xmm0
movdqa xmmword [rsp + 0x20], xmm0
test al, al
je 0x180096f33
inc r9
cmp byte [rsp + r9 + 0x20], 0
jne 0x180096f28
xor r10d, r10d
movabs rdi, 0xcbf29ce484222325
test r9, r9
je 0x180096f79
movzx edx, byte [rsp + r10 + 0x20]
lea eax, [rdx + 0x20]
movzx ecx, al
lea r8d, [rdx - 0x41]
cmp r8b, 0x19
cmova ecx, edx
inc r10
movsx rax, cl
movabs rcx, 0x100000001b3
imul rdi, rcx
xor rdi, rax
cmp r10, r9
jb 0x180096f45
mov rax, qword [0x1800bd508]
test rax, rax
jne 0x180096fa0
call fcn.1800472c8
mov rcx, rax
lea rdx, str.PlayerEyes
call fcn.180022fa0
mov qword [0x1800bd508], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.180046780
mov rdx, rsi
mov rcx, rbx
mov r8, qword [rax]
call r8
jmp 0x180096fcd
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, rbx
call fcn.18009a6d8
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180097fe0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
lea rax, [rcx - 0x10000]
mov rsi, rcx
movabs rcx, 0x7ffffffeffff
mov rbx, rdx
cmp rax, rcx
ja 0x1800980fc
movabs rax, 0x7287f6347c8644d7
xor r9d, r9d
mov qword [r11 - 0x28], rax
movabs rax, 0x81bc4023a4c35ef5
mov qword [r11 - 0x20], rax
movabs rax, 0x5f5997218e7219f
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0x81bc4023a4a72c94
mov qword [rsp + 0x38], rax
pxor xmm0, xmmword [rsp + 0x30]
movq rax, xmm0
movdqa xmmword [rsp + 0x20], xmm0
test al, al
je 0x180098073
inc r9
cmp byte [rsp + r9 + 0x20], 0
jne 0x180098068
xor r10d, r10d
movabs rdi, 0xcbf29ce484222325
test r9, r9
je 0x1800980b9
movzx edx, byte [rsp + r10 + 0x20]
lea eax, [rdx + 0x20]
movzx ecx, al
lea r8d, [rdx - 0x41]
cmp r8b, 0x19
cmova ecx, edx
inc r10
movsx rax, cl
movabs rcx, 0x100000001b3
imul rdi, rcx
xor rdi, rax
cmp r10, r9
jb 0x180098085
mov rax, qword [0x1800bd508]
test rax, rax
jne 0x1800980e0
call fcn.1800472c8
mov rcx, rax
lea rdx, str.PlayerEyes
call fcn.180022fa0
mov qword [0x1800bd508], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.180046780
mov rdx, rsi
mov rcx, rbx
mov r8, qword [rax]
call r8
jmp 0x18009810d
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, rbx
call fcn.18009a6d8
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x18009c59c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
lea rax, [rcx - 0x10000]
movabs rdx, 0x7ffffffeffff
cmp rax, rdx
ja 0x18009c625
mov rax, qword [rcx]
xor r9d, r9d
test rax, rax
je 0x18009c625
mov rbx, qword [rax + 0x10]
mov r10d, r9d
cmp byte [rbx], r9b
je 0x18009c5d7
inc r10
cmp byte [r10 + rbx], r9b
jne 0x18009c5ce
movabs r11, 0xcbf29ce484222325
test r10, r10
je 0x18009c620
mov al, byte [r9 + rbx]
movzx ecx, byte [r9 + rbx]
add al, 0x20
mov r8b, byte [r9 + rbx]
sub r8b, 0x41
movzx edx, al
cmp r8b, 0x19
movabs rax, 0x100000001b3
cmova edx, ecx
inc r9
imul r11, rax
movsx rcx, dl
xor r11, rcx
cmp r9, r10
jb 0x18009c5e6
mov rax, r11
jmp 0x18009c627
xor eax, eax
mov rbx, qword [rsp + 8]
ret
Function at 0x18009cddc
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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, 0x30
mov rbp, rcx
cmp edx, 1
jne 0x18009cf7a
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18009ce84
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x18009ce84
mov r14d, dword [r9 + 0x20]
dec r10d
mov edi, 0x7eeba458
lea rcx, [r14 + r10*4]
mov r11d, dword [rcx + r8]
add r11, r8
mov bl, byte [r11]
inc r11
test bl, bl
je 0x18009ce7f
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r11]
cmova edx, ecx
inc r11
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x18009ce54
cmp edi, 0x3fe20e2c
je 0x18009ce89
test r10d, r10d
jne 0x18009ce37
mov rax, qword [rax]
jmp 0x18009ce12
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r8
call rax
mov rax, qword [0x1800bda70]
test rax, rax
jne 0x18009cf5f
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18009cf3a
mov r11d, dword [r9 + 0x18]
test r11d, r11d
je 0x18009cf3a
mov r14d, dword [r9 + 0x20]
dec r11d
mov esi, 0x7c861107
lea rcx, [r14 + r11*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov bl, byte [r10]
inc r10
test bl, bl
je 0x18009cf35
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r10]
cmova edx, ecx
inc r10
xor edx, esi
imul esi, edx, 0x1000193
test bl, bl
jne 0x18009cf0a
cmp esi, 0x4efff77f
je 0x18009cf3f
test r11d, r11d
jne 0x18009ceed
mov rax, qword [rax]
jmp 0x18009cec8
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r11*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
mov qword [0x1800bda70], rax
and qword [rsp + 0x28], 0
lea r8, [0x18009cd8c]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
out dx, al
ret 0xbb8b
Function at 0x14001125d
Capabilities:
Terminate process

Disassembly:
jmp 0x140013df0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112fd
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015140
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015160
xor al, al
jmp 0x1400151e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015173
xor al, al
jmp 0x1400151e1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001519d
xor al, al
jmp 0x1400151e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400151b1
xor al, al
jmp 0x1400151e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400151c3
xor al, al
jmp 0x1400151e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400151df
xor al, al
jmp 0x1400151e1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001050
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x14002a040]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov rsi, rcx
test rcx, rcx
jne 0x140001085
xor eax, eax
jmp 0x140001255
xorps xmm0, xmm0
mov qword [rsp + 0x428], rbx
xor ebx, ebx
mov qword [rsp + 0x430], rdi
xorps xmm1, xmm1
mov qword [rsp + 0x78], rbx
xor eax, eax
mov qword [rbp - 0x70], rbx
xor edx, edx
mov qword [rbp - 0x68], rbx
mov r8d, 0x104
mov qword [rbp - 0x60], rbx
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x58], rbx
mov dword [rbp - 0x50], ebx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x30], rbx
mov dword [rsp + 0x70], 0x68
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmmword [rbp - 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x60], rax
call fcn.14001cb50
xor edx, edx
lea rcx, [rbp + 0xf0]
mov r8d, 0x208
call fcn.14001cb50
xor eax, eax
lea rdi, [rsp + 0x50]
mov ecx, 0x18
lea rdx, [rbp - 0x20]
rep stosb byte [rdi], al
xor ecx, ecx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, 0xffffffff
jne 0x14000113e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____GetModuleFileNameA_Failed_with_Error:__d__n
call fcn.140001bf0
jmp 0x140001223
lea r9, [rbp - 0x20]
mov qword [rsp + 0x20], rsi
lea r8, str._s__s
mov edx, 0x208
lea rcx, [rbp + 0xf0]
call fcn.140001c50
lea rcx, [rbp + 0xf0]
call fcn.140006320
mov rdi, rax
test rax, rax
jne 0x14000118f
lea r8d, [rax + 0x44]
lea rdx, [rbp + 0xf0]
lea rcx, str.____Failed_To_Duplicate___s_____d_n
call fcn.140001bf0
jmp 0x140001223
mov edx, 0x5c
mov rcx, rdi
call fcn.140002a70
test rax, rax
je 0x1400011a3
mov byte [rax], bl
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0xf0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001206
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x4c
lea rcx, str.____CreateProcessA___d__Failed_with_Error:__d__n
mov r8d, eax
call fcn.140001bf0
jmp 0x14000121b
mov rcx, qword [rsp + 0x50]
mov edx, 0x1f4
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, 1
mov rcx, rdi
call fcn.140006398
mov rcx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x430]
test rcx, rcx
je 0x14000123b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000124b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x428]
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.140001da0
mov rsi, qword [rsp + 0x438]
add rsp, 0x410
pop rbp
ret