joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003e990
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [reloc.WS2_32.dll_gethostname], 0
mov rbx, rcx
movzx eax, word [0x140104900]
mov word [rsp + 0x38], ax
je 0x14003e9bc
xor byte [rsp + 0x39], 0x39
mov byte [rsp + 0x38], reloc.WLDAP32.dll_Ordinal_32
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x38]
call fcn.140085060
mov rcx, rax
mov rdx, rbx
call fcn.140085060
lea rdx, [0x140085230]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14003ea77
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14003ea77
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14003ea72
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14003ea50
cmp r8d, 0x2fa62ca8
je 0x14003ea7c
test r9d, r9d
jne 0x14003ea30
mov rax, qword [rax]
jmp 0x14003ea00
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov ecx, 0xbb8
add rax, r10
call rax
mov rbx, qword [rsp + 0x30]
mov qword [0], 1
add rsp, 0x20
pop rdi
ret
Function at 0x14003eac0
Capabilities:
Access peb ldr_data
Encode data using xor
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov eax, dword [0x14011ffa8]
mov dword [0x14011ff90], eax
mov rax, qword [0x14011f348]
test rax, rax
jne 0x14003ecd4
mov rax, qword gs:[0x60]
xor r8d, r8d
mov qword [rsp + 0x48], rbx
mov ebx, 0xf4d8b55
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov rdi, rbp
nop dword [rax]
mov eax, dword [rdi + 0x58]
sub ax, 8
test r8d, r8d
je 0x14003eb6d
mov rcx, qword [rdi + 0x60]
mov edx, 0x811c9dc5
movzx eax, ax
shr rax, 1
lea r9, [rcx + rax*2]
cmp rcx, r9
je 0x14003eb64
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r9
jne 0x14003eb50
cmp edx, r8d
jne 0x14003ec97
mov r10, qword [rdi + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rcx, qword [rax + r10 + 0x88]
mov r15, rcx
mov r11d, ecx
shr r15, 0x20
add r11, r10
cmp r11, r10
je 0x14003ec97
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x14003ec97
mov r14d, dword [r11 + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov edx, 0x811c9dc5
lea rax, [r14 + r9*4]
mov ecx, dword [rax + r10]
add rcx, r10
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14003ebe7
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x14003ebd0
cmp edx, ebx
je 0x14003ebf5
test r9d, r9d
jne 0x14003ebb0
jmp 0x14003ec97
mov ecx, dword [r11 + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
cmp rax, r11
jbe 0x14003ecaf
lea rcx, [r15 + r11]
cmp rax, rcx
jae 0x14003ecaf
movzx ecx, byte [rax]
mov r8d, 0x811c9dc5
mov dword [rsp + 0x40], r8d
mov edx, r8d
mov dword [rsp + 0x44], edx
cmp cl, 0x2e
je 0x14003ec5d
nop
movsx ecx, cl
inc rax
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x14003ec40
mov dword [rsp + 0x40], r8d
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x14003ec8a
nop dword [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x14003ec70
mov dword [rsp + 0x44], edx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rbp]
shr rbx, 0x20
mov rax, qword [rdi]
mov rdi, rax
cmp rax, rbp
je 0x14003ecad
cmp qword [rax + 0x30], 0
jne 0x14003eb20
xor eax, eax
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov qword [0x14011f348], rax
call rax
mov ecx, dword [0x14011ff90]
mov dword [0x14011ffa8], eax
test ecx, ecx
je 0x14003ed24
sub eax, ecx
cmp eax, 0x1770
jbe 0x14003ed24
cmp byte [reloc.WS2_32.dll_gethostname], 0
movzx eax, word [0x140104900]
mov word [rsp + 0x40], ax
je 0x14003ed0e
xor byte [rsp + 0x41], 0x39
mov byte [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rsp + 0x40]
call fcn.14003e990
mov qword [0], 1
xor eax, eax
add rsp, 0x38
ret
Function at 0x1400409c0
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14011ff48]
test rax, rax
jne 0x140040be8
xor r9d, r9d
mov dword [rsp + 0x28], r9d
mov eax, 0xfaba0065
mov dword [rsp + 0x24], eax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rcx + 0x10]
mov r11, qword [rdx]
mov qword [rsp + 0x48], r11
mov r15, r11
mov qword [rsp + 0x50], r11
mov rcx, r11
nop dword [rax + rax]
movups xmm0, xmmword [rcx + 0x58]
movups xmmword [rsp + 0x58], xmm0
movd ecx, xmm0
sub cx, 8
mov word [rsp + 0x58], cx
test r9d, r9d
je 0x140040a76
mov rdx, qword [rsp + 0x60]
movzx ecx, cx
shr rcx, 1
lea r10, [rdx + rcx*2]
mov r8d, 0x811c9dc5
mov qword [rsp + 0x38], rdx
cmp rdx, r10
je 0x140040a6d
movsx ecx, byte [rdx]
xor ecx, r8d
imul r8d, ecx, 0x1000193
add rdx, 2
jmp 0x140040a50
cmp r8d, r9d
jne 0x140040bc1
mov rbx, qword [r11 + 0x30]
mov qword [rsp + 0x68], rbx
movsxd rcx, dword [rbx + 0x3c]
mov r14, qword [rcx + rbx + 0x88]
mov qword [rsp + 0xa8], r14
mov r10d, r14d
add r10, rbx
mov qword [rsp + 0x70], r10
shr r14, 0x20
mov dword [rsp + 0x78], r14d
cmp r10, rbx
je 0x140040bc1
mov edi, dword [r10 + 0x18]
mov dword [rsp + 0x20], edi
nop dword [rax + rax]
mov ecx, edi
dec edi
mov dword [rsp + 0x20], edi
test ecx, ecx
je 0x140040bc1
mov edx, dword [r10 + 0x20]
add rdx, rbx
mov r8d, dword [rdx + rdi*4]
add r8, rbx
mov qword [rsp + 0x40], r8
mov edx, 0x811c9dc5
nop dword [rax + rax]
movsx ecx, byte [r8]
inc r8
mov qword [rsp + 0x40], r8
test cl, cl
jne 0x140040bb4
cmp edx, eax
jne 0x140040baf
mov ecx, dword [r10 + 0x1c]
add rcx, rbx
mov eax, dword [r10 + 0x24]
add rax, rbx
movzx eax, word [rax + rdi*2]
mov edx, dword [rcx + rax*4]
add rdx, rbx
cmp rdx, r10
jbe 0x140040bde
lea rax, [r10 + r14]
cmp rdx, rax
jae 0x140040bde
mov r9d, 0x811c9dc5
mov dword [rsp + 0xa0], r9d
mov eax, r9d
mov dword [rsp + 0xa4], eax
mov r8d, eax
mov qword [rsp + 0x30], rdx
movsx ecx, byte [rdx]
cmp cl, 0x2e
je 0x140040b7c
xor ecx, r8d
imul r9d, ecx, 0x1000193
mov r8d, r9d
mov dword [rsp + 0xa0], r9d
inc rdx
jmp 0x140040b55
inc rdx
mov qword [rsp + 0x30], rdx
movsx ecx, byte [rdx]
test cl, cl
je 0x140040b9c
xor ecx, eax
imul eax, ecx, 0x1000193
mov dword [rsp + 0xa4], eax
jmp 0x140040b7c
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], r9d
mov r11, qword [r15]
mov qword [rsp + 0x48], r11
jmp 0x140040bc1
jmp 0x140040ac0
xor ecx, edx
imul edx, ecx, 0x1000193
jmp 0x140040af0
mov r11, qword [r11]
mov rcx, r11
mov qword [rsp + 0x48], r11
cmp r11, r15
je 0x140040bdc
cmp qword [r11 + 0x30], 0
jne 0x140040a20
xor edx, edx
mov qword [0x14011ff48], rdx
mov rax, rdx
mov ecx, 0x13333337
call rax
jmp 0x140040bf3
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140041570
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140041607
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140041607
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140041602
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x1400415e0
cmp r8d, 0xcded1a85
je 0x14004160c
test r9d, r9d
jne 0x1400415c0
mov rax, qword [rax]
jmp 0x140041590
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor ecx, ecx
add rax, r10
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400416b7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400416b7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400416b2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140041690
cmp r8d, 0xe80fd3a
je 0x1400416bc
test r9d, r9d
jne 0x140041670
mov rax, qword [rax]
jmp 0x140041640
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor ecx, ecx
add rax, r10
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140041767
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140041767
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140041762
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140041740
cmp r8d, 0xa52bcaf9
je 0x14004176c
test r9d, r9d
jne 0x140041720
mov rax, qword [rax]
jmp 0x1400416f0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
Function at 0x140041a70
Capabilities:
Enumerate pe sections
Parse pe header
Read file via mapping

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, 0x170
mov rax, qword [0x14011e098]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r15, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
je 0x140041b72
mov r12d, 0x5a4d
cmp word [rax], r12w
jne 0x140041b72
movsxd rdi, dword [rax + 0x3c]
add rdi, rax
cmp dword [rdi], 0x4550
jne 0x140041b72
movzx ebx, word [rdi + 0x14]
add rbx, 0x18
mov dword [rsp + 0x40], 0x104
add rbx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x40]
xor edx, edx
mov rcx, rax
lea r8, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameA]
xor esi, esi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
mov r13d, 1
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov r8d, r13d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140041b72
mov qword [rsp + 0x28], rsi
lea r8d, [rsi + 2]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test rax, rax
jne 0x140041ba5
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400f0970
lea r11, [rsp + 0x170]
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
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r9, rax
test rax, rax
je 0x140041b72
cmp word [rax], r12w
jne 0x140041cb6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140041cb6
mov eax, dword [rdi + 8]
cmp dword [rcx + 8], eax
jne 0x140041cb6
movzx edx, word [rcx + 6]
cmp dx, word [rdi + 6]
jne 0x140041cb6
movzx r10d, word [rcx + 0x14]
xor dil, dil
add r10, 0x18
mov r11d, edx
add r10, rcx
test edx, edx
je 0x140041c9b
nop word [rax + rax]
mov r8, r15
mov rax, rbx
sub r8, rbx
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140041c43
inc rax
test ecx, ecx
jne 0x140041c30
test edx, edx
jne 0x140041c50
test dword [rbx + 0x24], 0x20000000
jne 0x140041c61
inc esi
add rbx, 0x28
add r10, 0x28
cmp esi, r11d
jl 0x140041c20
jmp 0x140041c9b
mov eax, dword [rbx + 0x10]
test eax, eax
je 0x140041c9b
mov r8d, dword [r10 + 0x14]
mov r10d, eax
mov edx, dword [rbx + 0xc]
add rdx, r14
add r8, r9
nop dword [rax + rax]
movzx eax, byte [r8]
lea r8, [r8 + 1]
cmp byte [rdx], al
lea rdx, [rdx + 1]
movzx edi, dil
cmovne edi, r13d
sub r10, r13
jne 0x140041c80
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, dil
jmp 0x140041b74
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, r13b
jmp 0x140041b74
Function at 0x140044a70
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ecx, 0xbeef
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140044a8e
test ebx, ebx
je 0x140044ca9
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140044b26
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140044b26
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x811c9dc5
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140044b18
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140044b00
cmp r8d, 0xcded1a85
je 0x140044b2b
test r9d, r9d
jne 0x140044ae0
mov rax, qword [rax]
jmp 0x140044ab0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
xor ecx, ecx
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140044bd6
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140044bd6
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x811c9dc5
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140044bc8
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140044bb0
cmp r8d, 0xe80fd3a
je 0x140044bdb
test r9d, r9d
jne 0x140044b90
mov rax, qword [rax]
jmp 0x140044b60
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
xor ecx, ecx
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140044c86
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140044c86
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x811c9dc5
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140044c78
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140044c60
cmp r8d, 0xa52bcaf9
je 0x140044c8b
test r9d, r9d
jne 0x140044c40
mov rax, qword [rax]
jmp 0x140044c10
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
call rax
call fcn.140041e80
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140046850
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140046a84
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400468f7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400468f7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400468f2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x1400468d0
cmp r8d, 0xcded1a85
je 0x1400468fc
test r9d, r9d
jne 0x1400468b0
mov rax, qword [rax]
jmp 0x140046880
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor ecx, ecx
add rax, r10
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400469a7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400469a7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400469a2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140046980
cmp r8d, 0xe80fd3a
je 0x1400469ac
test r9d, r9d
jne 0x140046960
mov rax, qword [rax]
jmp 0x140046930
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor ecx, ecx
add rax, r10
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140046a57
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140046a57
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140046a52
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140046a30
cmp r8d, 0xa52bcaf9
je 0x140046a5c
test r9d, r9d
jne 0x140046a10
mov rax, qword [rax]
jmp 0x1400469e0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
call rax
call fcn.140041e80
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x140048920
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14011e098]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor sil, sil
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov edi, eax
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
test rax, rax
je 0x1400489ac
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400489a3
nop dword [rax]
cmp dword [rsp + 0x28], edi
je 0x14004899a
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140048980
jmp 0x1400489a3
cmp dword [rsp + 0x40], 0
sete sil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400f0970
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14004fc40
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14011e098]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, Ordinal_41
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea r8, [rsp + 0x38]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x44], rax
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
lea r9d, [rax + 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400f0970
add rsp, 0x68
ret
Function at 0x140050020
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14011e098]
xor rax, rsp
mov qword [rsp + 0x30], rax
call fcn.1400480f0
call fcn.140046850
call fcn.140044fb0
call fcn.140046a90
call fcn.140045bd0
call fcn.140045230
call fcn.14004a5f0
call fcn.140046fc0
call fcn.140044cc0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
sub rax, qword [rsp + 0x28]
cmp rax, 0x1e
jg 0x1400500ac
call fcn.1400479c0
call fcn.140044a70
call fcn.140047c10
call fcn.1400366e0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400f0970
add rsp, 0x48
ret
cmp byte [0x14011f371], 0
jne 0x1400500bc
mov byte [0x14011f371], 1
call fcn.140044fa0
int3