joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800ddb90
Capabilities:
Get file size

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

Function at 0x1800de420
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, r8d
mov rbp, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ebx, eax
test eax, eax
je 0x1800de468
test rdi, rdi
je 0x1800de457
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.1800d9b2c
cmp eax, 1
je 0x1800de468
mov eax, 4
jmp 0x1800de4ad
call fcn.1800d9ab8
cmp eax, 2
jne 0x1800de4a4
call fcn.1800dc608
test al, al
je 0x1800de4a4
call fcn.1800dc754
test al, al
jne 0x1800de49a
bts esi, 0x15
xor ecx, ecx
mov rdx, rdi
mov r8, rbp
mov r9d, esi
call fcn.1800dc588
jmp 0x1800de4ad
call fcn.1800dc68c
mov rcx, rax
jmp 0x1800de48a
neg ebx
sbb eax, eax
neg eax
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800e05d8
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 0x1800e0608
xor eax, eax
jmp 0x1800e06cb
mov rbp, rbx
cmp word [rax], si
je 0x1800e062d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800e0614
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800e0610
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.1800e04f8
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x1800e066e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800e0601
call fcn.1800d9e30
mov rdi, rax
test rax, rax
jne 0x1800e0684
xor ecx, ecx
call fcn.1800d9dd0
jmp 0x1800e0663
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.1800e04f8
test eax, eax
jne 0x1800e06b5
mov rcx, rdi
call fcn.1800d9dd0
jmp 0x1800e06bf
xor ecx, ecx
call fcn.1800d9dd0
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 0x1800e4c60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800e4c88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800e4c88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1337c0e57570
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0x7ffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1337c0e5771f
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.1337c0e55d60
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1337c0e576e4
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
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, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1337c0e5765d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1337c0e576d3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1337c0e5769a
mov r10, qword [rdx]
cmp r10, rax
je 0x1337c0e57694
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 0x1337c0e576d3
cmp r9, rdx
je 0x1337c0e576af
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1337c0e576f9
cmp r9, rdx
jne 0x1337c0e576a0
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
jne 0x1337c0e57610
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 [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 0x1337c0e576d3
lea rcx, str.invalid_hash_bucket_count
call fcn.1337c1027fd4
int3
Function at 0x1337c0e7c3d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0x7ffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1337c0e7c581
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.1337c0e7bb70
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1337c0e7c546
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1337c0e7c4c0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1337c0e7c535
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1337c0e7c4fd
mov r10, qword [rdx]
cmp r10, rax
je 0x1337c0e7c4f7
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 0x1337c0e7c535
cmp r9, rdx
je 0x1337c0e7c511
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1337c0e7c55b
cmp r9, rdx
jne 0x1337c0e7c502
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
jne 0x1337c0e7c470
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 [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 0x1337c0e7c535
lea rcx, str.invalid_hash_bucket_count
call fcn.1337c1027fd4
int3

Function at 0x1337c0e7df40
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, r8
mov rbx, rcx
mov r8d, 0x7ffe0030
xor edi, edi
mov r9, 0xffffffffffffffff
nop
inc r9
cmp word [r8 + r9*2], di
jne 0x1337c0e7df60
xor edx, edx
mov rcx, rax
call fcn.1337c0e73b50
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1337c0e81a60
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1337c0e7b840
mov r8, rax
mov r9d, dword [rbx]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
xor rdx, rcx
imul rdx, r10
mov eax, r9d
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r10
mov eax, r9d
shr rax, 0x18
xor rdx, rax
imul rdx, r10
mov rcx, qword [r8 + 0x30]
and rcx, rdx
shl rcx, 4
add rcx, qword [r8 + 0x18]
mov rax, qword [rcx + 8]
mov rdx, qword [r8 + 8]
cmp rax, rdx
je 0x1337c0e81af7
mov rcx, qword [rcx]
cmp r9d, dword [rax + 0x10]
je 0x1337c0e81af9
cmp rax, rcx
je 0x1337c0e81af7
mov rax, qword [rax + 8]
cmp r9d, dword [rax + 0x10]
jne 0x1337c0e81ae6
jmp 0x1337c0e81af9
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
jne 0x1337c0e81b10
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
mov eax, dword [rax + 0x14]
add rsp, 0x20
pop rbx
ret
Function at 0x1337c0e8be50
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
movabs rax, 0x7ffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x1337c0e8c02f
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x40], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.1337c0e55d60
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x1337c0e8bff4
mov qword [rsp + 0x30], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x1337c0e8bf6c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1337c0e8bfe3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1337c0e8bfa9
mov r10, qword [rdx]
cmp r10, rax
je 0x1337c0e8bfa3
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 0x1337c0e8bfe3
cmp r9, rdx
je 0x1337c0e8bfbf
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1337c0e8c009
cmp r9, rdx
jne 0x1337c0e8bfb0
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, rdi
jne 0x1337c0e8bef0
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
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 0x1337c0e8bfe3
lea rcx, str.invalid_hash_bucket_count
call fcn.1337c1027fd4
int3
Function at 0x1337c0e8c040
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0x7ffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1337c0e8c21f
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.1337c0e55d60
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1337c0e8c1e4
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1337c0e8c15c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1337c0e8c1d3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1337c0e8c199
mov r10, qword [rdx]
cmp r10, rax
je 0x1337c0e8c193
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 0x1337c0e8c1d3
cmp r9, rdx
je 0x1337c0e8c1af
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1337c0e8c1f9
cmp r9, rdx
jne 0x1337c0e8c1a0
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
jne 0x1337c0e8c0e0
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 [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 0x1337c0e8c1d3
lea rcx, str.invalid_hash_bucket_count
call fcn.1337c1027fd4
int3
Function at 0x1337c0e92030
Capabilities:
Access peb ldr_data

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, 0x70
mov rdi, r8
mov r13, rcx
lea rbp, [rcx + 0x30]
mov qword [rsp + 0x20], rbp
mov byte [rsp + 0x28], 0
mov rcx, rbp
call fcn.1337c1029e60
test eax, eax
jne 0x1337c0e921e6
mov eax, dword [rbp + 0x4c]
cmp eax, 0x7fffffff
je 0x1337c0e921f1
mov byte [rsp + 0x28], 1
mov rsi, qword [rdi]
add rsi, 0x20
mov r12, qword [rdi + 0x18]
mov rbx, qword [rdi + 8]
mov qword [rsp + 0x58], rbx
mov rdi, qword [rdi + 0x10]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r12
mov r15, qword [rsi]
mov qword [rsp + 0x30], rsi
mov rax, qword gs:[0x58]
mov r14, qword [rax]
mov eax, setsockopt
cmp byte [rax + r14], 0
jne 0x1337c0e920ca
call fcn.1337c102ac48
mov eax, 0x138
mov r14, qword [rax + r14]
mov rcx, qword [r14 + 0x40]
mov r8, qword [rcx + 0x10]
test r8, r8
jne 0x1337c0e9210a
xor r9d, r9d
mov edx, 0x38
mov rcx, r14
call fcn.1337c0f32b20
mov r8, rax
test rax, rax
jne 0x1337c0e92114
mov edx, 0x38
mov rcx, r14
call fcn.1337c0f319a0
mov r8, rax
jmp 0x1337c0e92114
inc dword [rcx + 0x18]
mov rax, qword [r8]
mov qword [rcx + 0x10], rax
mov qword [rsp + 0x38], r8
mov qword [r8 + 0x20], rbx
mov qword [r8 + 0x28], rdi
xor r9d, r9d
mov qword [rsp + 0x68], r9
mov qword [r8 + 0x30], r12
mov qword [r8], r15
mov qword [r8 + 8], r15
mov qword [r8 + 0x10], r15
mov word [r8 + 0x18], r9w
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], r9d
cmp byte [rcx + 0x19], r9b
jne 0x1337c0e9217b
mov qword [rsp + 0x40], rcx
cmp rbx, qword [rcx + 0x20]
jge 0x1337c0e9216c
mov dword [rsp + 0x48], 1
mov rcx, qword [rcx]
jmp 0x1337c0e92175
mov dword [rsp + 0x48], r9d
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x19], 0
je 0x1337c0e92154
movabs rax, 0x249249249249249
cmp qword [rsi + 8], rax
je 0x1337c0e921e0
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1337c0e91690
nop
mov dword [r13], 1
lea rcx, [r13 + 0x80]
call fcn.1337c1029e04
nop
mov rcx, rbp
call fcn.1337c1029e68
mov al, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1337c0e90cf0
nop
mov ecx, 5
call fcn.1337c1029c2c
int3
dec eax
mov dword [rbp + 0x4c], eax
mov ecx, 6
call fcn.1337c1029c2c
int3
Function at 0x1337c0e96c20
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov r8, qword [rcx]
test r8, r8
je 0x1337c0e96ce5
mov r10, qword [rcx + 8]
cmp r10, 0x40
jb 0x1337c0e96ce5
mov eax, 0x5a4d
cmp word [r8], ax
jne 0x1337c0e96ce5
movsxd rcx, dword [r8 + 0x3c]
lea r11d, [rcx + 0x18]
mov eax, r11d
cmp r10, rax
jb 0x1337c0e96ce5
cmp dword [r8 + rcx], 0x4550
lea rdx, [r8 + rcx]
jne 0x1337c0e96ce5
movzx eax, word [rdx + 0x18]
mov ecx, 0x10b
sub ax, cx
mov ecx, 0xfeff
test cx, ax
jne 0x1337c0e96ce5
movzx r9d, word [rdx + 6]
movzx r8d, word [rdx + 0x14]
lea ecx, [r9 + r9*4]
lea eax, [r11 + r8]
lea eax, [rax + rcx*8]
cmp r10, rax
jb 0x1337c0e96ce5
mov eax, r8d
xor r8d, r8d
test r9d, r9d
je 0x1337c0e96cdd
lea r11, [rax + rdx]
lea rbx, [rax + rdx]
nop dword [rax]
nop word [rax + rax]
lea rcx, [r8 + r8*4]
mov edx, dword [rbx + rcx*8 + 0x28]
mov eax, dword [r11 + rcx*8 + 0x2c]
add rdx, rax
cmp rdx, r10
ja 0x1337c0e96ce5
inc r8d
cmp r8d, r9d
jb 0x1337c0e96cc0
mov al, 1
mov rbx, qword [rsp + 8]
ret
mov rbx, qword [rsp + 8]
xor al, al
ret

Function at 0x1337c0e97670
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
sub rsp, 0x20
mov r11, qword [rcx]
mov rbp, rdx
movsxd rax, dword [r11 + 0x3c]
mov ecx, dword [rax + r11 + 0x88]
test ecx, ecx
je 0x1337c0e97785
mov eax, ecx
add rax, r11
je 0x1337c0e97785
mov qword [rsp + 0x30], rbx
xor ebx, ebx
mov qword [rsp + 0x38], rsi
mov r10d, ebx
mov esi, dword [rax + 0x18]
mov qword [rsp + 0x18], r12
mov r12d, dword [rax + 0x1c]
mov qword [rsp + 8], r14
add r12, r11
mov r14d, dword [rax + 0x20]
mov qword [rsp], r15
add r14, r11
mov r15d, dword [rax + 0x24]
add r15, r11
test esi, esi
je 0x1337c0e9775c
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x10], r13
mov r13d, dword [rdx + 4]
nop word [rax + rax]
mov edi, r10d
mov rax, 0xffffffffffffffff
mov edx, dword [r14 + rdi*4]
add rdx, r11
inc rax
cmp byte [rdx + rax], bl
jne 0x1337c0e97701
cmp r13, rax
jne 0x1337c0e9773f
mov r9d, 0xbf41bdf
mov r8d, ebx
test eax, eax
je 0x1337c0e97739
nop dword [rax + rax]
movsx ecx, byte [rdx]
lea rdx, [rdx + 1]
xor ecx, r9d
inc r8d
imul r9d, ecx, 0x1000193
cmp r8d, eax
jb 0x1337c0e97720
cmp dword [rbp], r9d
je 0x1337c0e97749
inc r10d
cmp r10d, esi
jb 0x1337c0e976f0
jmp 0x1337c0e97752
movzx eax, word [r15 + rdi*2]
mov ebx, dword [r12 + rax*4]
mov rdi, qword [rsp + 0x40]
mov r13, qword [rsp + 0x10]
mov r15, qword [rsp]
lea rax, [r11 + rbx]
mov r14, qword [rsp + 8]
test rbx, rbx
mov r12, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x38]
cmove rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rbp
ret
xor eax, eax
add rsp, 0x20
pop rbp
ret
Function at 0x1337c0e97790
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rax, qword gs:[0x60]
mov rbp, rdx
mov rdi, rcx
mov rsi, qword [rax + 0x18]
add rsi, 0x10
mov r9, qword [rsi]
cmp r9, rsi
je 0x1337c0e9782d
mov r14d, dword [rdx + 4]
nop dword [rax]
movzx eax, word [r9 + 0x58]
mov r10, qword [r9 + 0x60]
shr rax, 1
cmp r14, rax
jne 0x1337c0e97825
xor r11d, r11d
mov ebx, 0xbf41bdf
test eax, eax
je 0x1337c0e97820
nop dword [rax]
movzx r8d, word [r10]
lea r10, [r10 + 2]
movzx edx, r8w
or dx, 0x20
lea ecx, [r8 - 0x41]
cmp cx, 0x19
cmova dx, r8w
inc r11d
movzx ecx, dx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp r11d, eax
jb 0x1337c0e977f0
cmp dword [rbp], ebx
je 0x1337c0e9784b
mov r9, qword [r9]
cmp r9, rsi
jne 0x1337c0e977d0
mov byte [rdi + 0x10], 0
mov rbx, qword [rsp + 0x10]
mov rax, rdi
mov rdi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
pop r14
ret
mov qword [rdi], 0
mov qword [rdi + 8], r9
mov rax, qword [r9 + 0x30]
mov qword [rdi], rax
mov byte [rdi + 0x10], 1
jmp 0x1337c0e97831
Function at 0x1337c0e97c20
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx]
xor r11d, r11d
movzx ebp, r9b
mov edi, r8d
mov rsi, rdx
mov ebx, r11d
mov r15d, r11d
movsxd r13, dword [rax + 0x3c]
add r13, rax
movzx eax, word [r13 + 0x14]
lea r14, [r13 + 0x18]
add r14, rax
cmp r11w, word [r13 + 6]
jae 0x1337c0e97d58
mov qword [rsp + 0x58], r12
mov r12, qword [rsp + 0x70]
nop dword [rax]
mov eax, dword [r14 + 0x24]
bt eax, 0x19
jb 0x1337c0e97d1c
and eax, 0x60000000
cmp eax, 0x60000000
jne 0x1337c0e97d1c
test r12, r12
je 0x1337c0e97cca
mov edx, 8
mov rcx, r14
call fcn.1337c1034c90
mov r8, rax
mov rdx, r14
mov rcx, r12
call fcn.1337c1034fd0
xor r11d, r11d
test eax, eax
jne 0x1337c0e97d1c
mov rcx, qword [rsp + 0x50]
mov ebx, dword [r14 + 0xc]
add rbx, qword [rcx]
mov r10d, dword [r14 + 0x10]
sub r10, rdi
add r10, rbx
cmp rbx, r10
jae 0x1337c0e97d19
mov eax, r11d
cmp eax, edi
jae 0x1337c0e97d51
mov ecx, eax
movzx r8d, byte [rcx + rbx]
lea r9, [rcx + rbx]
movzx edx, byte [rcx + rsi]
cmp r8b, dl
je 0x1337c0e97d00
cmp dl, bpl
jne 0x1337c0e97d04
inc eax
jmp 0x1337c0e97ce3
cmp r8b, byte [rsi]
jne 0x1337c0e97d0e
mov rbx, r9
jmp 0x1337c0e97d14
lea ecx, [rax + 1]
add rbx, rcx
cmp rbx, r10
jb 0x1337c0e97ce0
mov rbx, r11
movzx eax, word [r13 + 6]
inc r15d
mov rcx, qword [rsp + 0x50]
add r14, 0x28
cmp r15d, eax
jb 0x1337c0e97c80
mov r12, qword [rsp + 0x58]
test rbx, rbx
je 0x1337c0e97d58
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + 8]
sub rax, qword [rcx]
add rax, rbx
jmp 0x1337c0e97d5a
test rbx, rbx
jne 0x1337c0e97d36
jmp 0x1337c0e97d1c
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret