joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001810
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov byte [rsp + 0x28], 0x4d
mov byte [rsp + 0x29], 0xd9
mov byte [rsp + 0x2a], 0x2d
mov byte [rsp + 0x2b], 0x96
mov byte [rsp + 0x2c], 0x6c
mov byte [rsp + 0x2d], 8
mov byte [rsp + 0x2e], 0x38
mov byte [rsp + 0x2f], 0x82
mov byte [rsp + 0x30], 0x19
mov byte [rsp + 0x31], 0x87
mov dword [rsp + 0x24], 0x1d244e3b
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x48], rax
movsxd rax, dword [rsp + 0x20]
cmp rax, 0xa
jae 0x1400018be
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x60], rcx
movzx ecx, byte [rsp + 0x24]
mov rdx, qword [rsp + 0x60]
movzx eax, byte [rdx + rax]
ror al, cl
movzx eax, al
sub eax, dword [rsp + 0x24]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov byte [rdx + rcx], al
imul eax, dword [rsp + 0x24], 0x565
rol eax, 0x17
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x140001865
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400018dd
xor eax, eax
jmp 0x140001a32
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400018fd
xor eax, eax
jmp 0x140001a32
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0x4550
je 0x14000192a
xor eax, eax
jmp 0x140001a32
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000195e
xor eax, eax
jmp 0x140001a32
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x18]
mov dword [rax + 0x18], ecx
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x20], 0
je 0x140001a27
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x18], 0
je 0x140001a27
mov rax, qword [rsp + 0x80]
cmp qword [rax + 8], 0
je 0x140001a27
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x140001a27
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x10], 0
jne 0x140001a2d
xor eax, eax
jmp 0x140001a32
mov eax, 1
add rsp, 0x78
ret
Function at 0x1401fe5a0
Capabilities:
Get disk information

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x108
mov byte [rsp + 0x20], 6
movabs rax, 0x3d97784bc21ca09f
mov qword [rsp + 0x28], rax
movabs rax, 0x7a95d51b6a8ad804
cmp qword [rsp + 0x28], rax
jg 0x1401fe5f4
movsx eax, byte [rsp + 0x20]
imul eax, eax, 0x14
mov byte [rsp + 0x20], al
lea rax, [rsp + 0x28]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x60], rax
movabs rax, 0x513e69a7ed627b54
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
movabs rcx, 0x2dd30c42298fed19
cmp rax, rcx
jl 0x1401fe673
movabs rax, 0x28e05b73a8e60d6c
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov edx, dword [rsp + 0x110]
mov ecx, dword [rsp + 0x118]
call fcn.1401fe5a0
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov dword [rsp + 0x34], eax
movabs rax, 0x47e11feebcbe3d42
mov rcx, qword [rsp + 0x28]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov r8, qword [rsp + 0x68]
mov edx, 0xac
mov ecx, 0xca
call qword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
mov dword [rsp + 0x38], eax
call fcn.1401fe730
nop
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x98041de1
je 0x1401fe6b3
cmp dword [rsp + 0x30], 0xbfc45992
je 0x1401fe6f4
jmp 0x1401fe710
mov edx, dword [rsp + 0x110]
mov ecx, dword [rsp + 0x110]
call fcn.1401fe5a0
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x118], eax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x28]
mov edx, 0x4f
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetTapeParameters]
mov dword [rsp + 0x3c], eax
jmp 0x1401fe710
mov r8d, reloc.COMCTL32.dll_DrawInsert
lea rdx, [rsp + 0x70]
lea rcx, str.simmers_aggressorsMailmen_soapEvergreen
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [rsp + 0x40], eax
mov eax, 0x76
add rsp, 0x108
ret
Function at 0x1402317d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14023181a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14023181a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14023181a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14023181a
cmp dword [rcx + 0x84], 0xe
jbe 0x14023181a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14023181c
xor al, al
add rsp, 0x28
ret

Function at 0x140234c40
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140234caf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140234caf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140234caf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140234caf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140234caf
cmp dword [rcx + 0x84], 0xe
jbe 0x140234caf
cmp dword [rcx + 0xf8], 0
je 0x140234caf
mov ecx, ebx
call fcn.140234d60
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140234b3c
nop
cmp dword [rbp + 0x20], 0
je 0x140234cfd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140234d08
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140234c40

Function at 0x140234e44
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140234c40
Function at 0x1402378a0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140237927
mov rsi, rbx
cmp word [rax], bp
je 0x1402378e6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1402378d0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1402378cc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1402382c0
mov rdi, rax
test rax, rax
je 0x140237914
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14023d210
mov rbp, rdi
xor ecx, ecx
call fcn.140236568
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14023ca70
Capabilities:
Parse pe header

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

Disassembly:
shl rcx, 4
mov r10, rdx
xor eax, eax
and ecx, 0xff0
add rcx, r8
lea r9, [r10 + rax]
lea r8, [rax + rcx]
xor edx, edx
mov r11b, byte [r8 + rdx]
inc rdx
xor byte [r9], r11b
inc r9
cmp rdx, 4
jne 0x1ccb3106c
add rax, 4
cmp rax, 0x10
jne 0x1ccb31062
ret

Function at 0x1ccb310d0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
lea rax, [rdx + r8]
mov rbp, rsp
push r15
push r14
push r13
push r12
lea r12, str.cw
push rdi
mov dil, 0x1b
push rsi
mov rsi, rdx
push rbx
mov rbx, rcx
and rsp, 0xfffffffffffffff0
sub rsp, 0x40
mov qword [rsp + 0x28], rax
mov eax, 0x10
cmp qword [rsp + 0x28], rsi
je 0x1ccb312dc
cmp eax, 0x10
jne 0x1ccb312c9
lea rdx, [rsp + 0x30]
mov r8, rbx
xor ecx, ecx
mov r14d, 1
movups xmm0, xmmword [rbx + 0xf0]
lea r13, [rsp + 0x34]
movups xmmword [rsp + 0x30], xmm0
call fcn.1ccb31050
lea rdx, [rsp + 0x30]
mov rcx, rdx
mov rax, rcx
xor r8d, r8d
movzx r9d, byte [rax]
inc r8d
add rax, 4
mov r9b, byte [r12 + r9]
mov byte [rax - 4], r9b
cmp r8b, 4
jne 0x1ccb3114d
inc rcx
cmp r13, rcx
jne 0x1ccb31147
mov cl, byte [rsp + 0x35]
mov al, byte [rsp + 0x31]
mov byte [rsp + 0x31], cl
mov cl, byte [rsp + 0x39]
mov byte [rsp + 0x35], cl
mov cl, byte [rsp + 0x3d]
mov byte [rsp + 0x3d], al
mov al, byte [rsp + 0x32]
mov byte [rsp + 0x39], cl
mov cl, byte [rsp + 0x3a]
mov byte [rsp + 0x3a], al
mov al, byte [rsp + 0x36]
mov byte [rsp + 0x32], cl
mov cl, byte [rsp + 0x3e]
mov byte [rsp + 0x3e], al
mov al, byte [rsp + 0x33]
mov byte [rsp + 0x36], cl
mov cl, byte [rsp + 0x3f]
mov byte [rsp + 0x33], cl
mov cl, byte [rsp + 0x3b]
mov byte [rsp + 0x3f], cl
mov cl, byte [rsp + 0x37]
mov byte [rsp + 0x37], al
mov byte [rsp + 0x3b], cl
cmp r14d, 0xe
je 0x1ccb3128e
lea r15, [rdx + 0x10]
mov cl, byte [rdx]
mov r9b, byte [rdx + 1]
add rdx, 4
mov r10b, byte [rdx - 1]
mov r8b, byte [rdx - 2]
xor r9d, ecx
mov eax, r9d
xor r8d, r10d
shr al, 7
mov r11d, r8d
imul eax, edi
xor r11d, r9d
add r9d, r9d
xor r9d, eax
mov eax, ecx
xor ecx, r10d
xor r10d, r11d
xor eax, r11d
xor r9d, eax
mov byte [rdx - 4], r9b
mov r9b, byte [rdx - 3]
xor r9b, byte [rdx - 2]
mov eax, r9d
add r9d, r9d
shr al, 7
imul eax, edi
xor r9d, eax
mov al, byte [rdx - 3]
xor eax, r11d
xor r9d, eax
mov eax, r8d
add r8d, r8d
shr al, 7
mov byte [rdx - 3], r9b
imul eax, edi
xor r8d, eax
mov al, byte [rdx - 2]
xor eax, r11d
xor r8d, eax
mov eax, ecx
add ecx, ecx
shr al, 7
mov byte [rdx - 2], r8b
imul eax, edi
xor ecx, eax
xor ecx, r10d
mov byte [rdx - 1], cl
cmp r15, rdx
jne 0x1ccb311dc
mov ecx, r14d
lea rdx, [rsp + 0x30]
mov r8, rbx
inc r14d
call fcn.1ccb31050
jmp 0x1ccb3113f
mov r8, rbx
mov ecx, 0xe
call fcn.1ccb31050
mov eax, 0xf
mov dl, byte [rbx + rax + 0xf0]
cmp dl, 0xff
jne 0x1ccb312bc
mov byte [rbx + rax + 0xf0], 0
sub rax, 1
jae 0x1ccb312a0
jmp 0x1ccb312c7
cdqe
inc edx
mov byte [rbx + rax + 0xf0], dl
xor eax, eax
movsxd rdx, eax
inc eax
mov dl, byte [rsp + rdx + 0x30]
xor byte [rsi], dl
inc rsi
jmp 0x1ccb31105
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1ccb32110
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
mov r14, r8
push r13
mov r13, rdx
push r12
push rbp
push rdi
mov rdi, rcx
mov rcx, rdx
push rsi
mov rsi, r9
push rbx
sub rsp, 0x48
call fcn.1ccb40f20
mov rbx, qword [0x1ccb44300]
mov qword [rsp + 0x38], rax
cmp dword [rbx + 0xb6], 0
je 0x1ccb3217c
lea rdx, [0x1ccb41ee0]
mov ecx, 1
call qword [rbx + 0x31a]
mov r12, rax
test rax, rax
jne 0x1ccb3217f
mov rax, qword [rbx + 0x84a]
mov ecx, 1
mov edx, dword [rax + 0x68]
call fcn.1ccb3ea10
jmp 0x1ccb32305
xor r12d, r12d
xor ebp, ebp
mov r15d, 0x40
mov rax, qword [rdi + 8]
cmp word [rax + 2], bp
jbe 0x1ccb3224e
movzx edx, bp
mov rcx, qword [rdi]
imul rax, rdx, 0x28
lea rax, [rcx + rax + 0x14]
cmp dword [rax + 0x10], 0
mov qword [rdi + 0x10], rax
jne 0x1ccb321b2
inc ebp
jmp 0x1ccb32187
mov r8d, dword [rax + 0x24]
mov eax, 1
mov ecx, r8d
and ecx, 0xe0000000
je 0x1ccb32216
mov eax, 0x10
cmp ecx, 0x20000000
je 0x1ccb32216
mov eax, 2
cmp ecx, 0x40000000
je 0x1ccb32216
mov eax, 0x20
cmp ecx, 0x60000000
je 0x1ccb32216
mov eax, 8
cmp ecx, 0x80000000
je 0x1ccb32216
mov eax, pe_nt_image_headers64
cmp ecx, 0xa0000000
je 0x1ccb32216
cmp ecx, 0xc0000000
mov eax, 4
cmovne eax, r15d
bt r8d, 0x1a
jae 0x1ccb32220
or ah, 2
shl rdx, 4
add rdx, qword [rdi + 0x38]
mov ecx, 2
mov r9, qword [rdx + 8]
mov dword [rsp + 0x20], eax
mov r8, qword [rdx]
or rdx, 0xffffffffffffffff
call fcn.1ccb3e2c0
test eax, eax
jne 0x1ccb321ae
jmp 0x1ccb32305
mov r9, qword [rdi + 0x48]
mov r8, qword [rdi + 0x40]
or rdx, 0xffffffffffffffff
xor r15d, r15d
mov dword [rsp + 0x20], 2
mov ecx, 2
call fcn.1ccb3e2c0
test eax, eax
jne 0x1ccb3227b
jmp 0x1ccb32305
inc r15d
mov rax, qword [rdi + 8]
mov eax, dword [rax + 0xc]
cmp eax, r15d
jbe 0x1ccb322d3
mov ebp, r15d
mov rdx, qword [rdi + 0x20]
imul rbp, rbp, 0x12
lea rcx, [rdx + rbp]
cmp dword [rcx], 0
jne 0x1ccb322a8
imul rax, rax, 0x12
mov ecx, dword [rcx + 4]
add rcx, rax
add rcx, rdx
mov r8d, dword [rsp + 0x38]
mov rdx, r13
call fcn.1ccb3e000
test eax, eax
jne 0x1ccb32278
add rbp, qword [rdi + 0x20]
mov rax, qword [rdi + 0x38]
movzx edx, word [rbp + 0xc]
mov ecx, dword [rbp + 8]
shl rdx, 4
add rcx, qword [rax + rdx - 0x10]
jne 0x1ccb32309
mov ecx, 0x14
call fcn.1ccb3e6d0
mov edx, 2
mov r12, rax
mov rcx, rax
call fcn.1ccb3e540
mov rdx, r13
mov rcx, r12
call fcn.1ccb3e670
xor r8d, r8d
xor edx, edx
mov rcx, r12
call fcn.1ccb3e900
xor eax, eax
jmp 0x1ccb3236a
mov rdx, qword [rdi + 8]
mov r9w, word [rdx + 2]
xor edx, edx
jmp 0x1ccb32325
mov r8, qword [rax]
cmp r8, rcx
jbe 0x1ccb3232d
inc rdx
add rax, 0x10
cmp r9w, dx
ja 0x1ccb32316
jmp 0x1ccb32305
add r8, qword [rax + 8]
cmp rcx, r8
jae 0x1ccb3231e
imul rdx, rdx, 0x28
mov rax, qword [rdi]
lea rax, [rax + rdx + 0x14]
mov qword [rdi + 0x10], rax
test byte [rax + 0x27], 0x20
je 0x1ccb32305
mov r8, rsi
mov rdx, r14
call fcn.1ccb32380
test r12, r12
je 0x1ccb32365
mov rcx, r12
call qword [rbx + 0x322]
mov eax, 1
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1ccb3bfa0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
mov r12, rcx
push rbp
mov rdx, r12
push rdi
push rsi
xor esi, esi
push rbx
sub rsp, 0x28
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rcx + rax + 0x88]
call 0x1ccb3ff40
mov rdx, r12
mov ebx, eax
add rbx, r12
mov ecx, dword [rbx + 0x20]
call 0x1ccb3ff40
mov ecx, dword [rbx + 0x24]
mov rdx, r12
mov ebp, eax
call 0x1ccb3ff40
mov r15d, dword [rbx + 0x18]
add rbp, r12
mov edi, eax
add rdi, r12
lea r14, [rsi + rsi]
add r14, rdi
cmp r15, rsi
je 0x1ccb3c061
mov ecx, dword [rbp + rsi*4]
mov rdx, r12
call 0x1ccb3ff40
mov r13d, eax
add r13, r12
mov rcx, r13
call fcn.1ccb3c0e0
cmp eax, 0xa6caa1c5
jne 0x1ccb3c04d
mov ecx, dword [rbx + 0x1c]
mov rdx, r12
call 0x1ccb3ff40
movzx edx, word [r14]
mov eax, eax
add rax, r12
mov ecx, dword [rax + rdx*4]
add rsp, 0x28
mov rdx, r12
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x1ccb3ff40
mov rcx, r13
inc rsi
call fcn.1ccb3c0e0
cmp eax, 0xffe885ef
jne 0x1ccb3bff1
jmp 0x1ccb3c01e
add rsp, 0x28
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, ecx
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
cmp dword [rdx + 0x14], eax
ja 0x1ccb3ff8c
mov r9w, word [rcx + 6]
xor ecx, ecx
cmp r9w, cx
je 0x1ccb3ff8a
mov r8d, dword [rdx + 0xc]
cmp eax, r8d
jb 0x1ccb3ff82
mov r10d, dword [rdx + 0x10]
add r10d, r8d
cmp r10d, eax
jbe 0x1ccb3ff82
mov edx, dword [rdx + 0x14]
sub edx, r8d
add eax, edx
ret
inc ecx
add rdx, 0x28
jmp 0x1ccb3ff5e
xor eax, eax
ret

Function at 0x1ccb3c080
Capabilities:
Hash data using djb2

Disassembly:
mov r9, rcx
mov r10, rdx
xor eax, eax
test rcx, rcx
je 0x1ccb3c0d2
mov edx, 0x1505
mov al, byte [rcx]
test r10, r10
jne 0x1ccb3c09f
test al, al
jne 0x1ccb3c0b0
jmp 0x1ccb3c0d0
mov r11d, ecx
sub r11d, r9d
cmp r10, r11
jbe 0x1ccb3c0d0
cmp al, 1
adc rcx, 0
cmp al, 0x60
jbe 0x1ccb3c0bc
test r8d, r8d
je 0x1ccb3c0bc
sub eax, 0x20
mov r11d, edx
movzx eax, al
inc rcx
shl r11d, 5
add eax, r11d
add edx, eax
jmp 0x1ccb3c092
mov eax, edx
ret

Function at 0x1ccb3c0e0
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
movsx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1ccb3c0fd
mov r8d, eax
shl r8d, 5
add edx, r8d
add eax, edx
jmp 0x1ccb3c0e5
ret
Function at 0x1ccb3d320
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rsi
xor eax, eax
push rbx
mov r8b, byte [rdx + rax]
mov byte [rcx + rax], r8b
mov r8b, byte [rdx + rax + 1]
mov byte [rcx + rax + 1], r8b
mov r8b, byte [rdx + rax + 2]
mov byte [rcx + rax + 2], r8b
mov r8b, byte [rdx + rax + 3]
mov byte [rcx + rax + 3], r8b
add rax, 4
cmp rax, 0x20
jne 0x1ccb3d324
mov r11d, 8
lea r10, str.cw
lea rbx, [0x1ccb441a0]
mov esi, r11d
movzx r9d, byte [rcx + 0x1c]
movzx r8d, byte [rcx + 0x1d]
movzx edx, byte [rcx + 0x1e]
movzx eax, byte [rcx + 0x1f]
and esi, 7
jne 0x1ccb3d3a2
mov sil, byte [r10 + r8]
mov r8b, byte [r10 + rdx]
mov dl, byte [r10 + rax]
mov al, byte [r10 + r9]
mov r9d, r11d
shr r9d, 3
xor sil, byte [rbx + r9]
mov r9d, esi
jmp 0x1ccb3d3b7
cmp esi, 4
jne 0x1ccb3d3b7
mov r9b, byte [r10 + r9]
mov r8b, byte [r10 + r8]
mov dl, byte [r10 + rdx]
mov al, byte [r10 + rax]
xor r9b, byte [rcx]
xor r8b, byte [rcx + 1]
inc r11d
add rcx, 4
xor dl, byte [rcx - 2]
xor al, byte [rcx - 1]
mov byte [rcx + 0x1c], r9b
mov byte [rcx + 0x1d], r8b
mov byte [rcx + 0x1e], dl
mov byte [rcx + 0x1f], al
cmp r11d, 0x3c
jne 0x1ccb3d368
pop rbx
pop rsi
ret

Function at 0x1ccb3d7d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
xor r15d, r15d
push r14
push r13
push r12
mov r12, rcx
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rax, dword [rcx + 0x3c]
mov dword [rsp + 0xa8], edx
mov qword [rsp + 0x38], 0
add rax, rcx
mov qword [rsp + 0x40], 0
mov ebx, dword [rax + 0x88]
mov qword [rsp + 0x48], 0
mov eax, dword [rax + 0x8c]
add rbx, rcx
mov esi, dword [rbx + 0x20]
mov r13d, dword [rbx + 0x1c]
mov dword [rsp + 0x2c], eax
mov r14d, dword [rbx + 0x24]
cmp dword [rbx + 0x18], r15d
jbe 0x1ccb3d8c5
mov edi, r15d
lea rax, [r12 + rdi*4]
mov ebp, dword [rax + rsi]
add rbp, r12
mov rcx, rbp
call fcn.1ccb3c0e0
cmp eax, dword [rsp + 0xa8]
jne 0x1ccb3d8c9
add rdi, rdi
add rdi, r12
movzx eax, word [rdi + r14]
lea rax, [r12 + rax*4]
mov eax, dword [rax + r13]
add rax, r12
mov qword [rsp + 0x38], rax
cmp rax, rbx
jae 0x1ccb3d87c
mov rax, qword [rsp + 0x38]
jmp 0x1ccb3d8d1
mov esi, dword [rsp + 0x2c]
add rsi, r12
add rbx, rsi
cmp rax, rbx
jae 0x1ccb3d875
mov rcx, rbp
call fcn.1ccb40f20
xor r8d, r8d
mov qword [rsp + 0x48], rbp
mov rcx, r12
mov word [rsp + 0x40], ax
inc eax
lea rdx, [rsp + 0x40]
lea r9, [rsp + 0x38]
mov word [rsp + 0x42], ax
mov rax, qword [0x1ccb44300]
call qword [rax + 0x2b2]
test eax, eax
jns 0x1ccb3d875
xor eax, eax
jmp 0x1ccb3d8d1
inc r15d
jmp 0x1ccb3d82d
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1ccb3ff40
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
mov r12, rcx
push rbp
mov rdx, r12
push rdi
push rsi
xor esi, esi
push rbx
sub rsp, 0x28
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rcx + rax + 0x88]
call 0x1ccb3ff40
mov rdx, r12
mov ebx, eax
add rbx, r12
mov ecx, dword [rbx + 0x20]
call 0x1ccb3ff40
mov ecx, dword [rbx + 0x24]
mov rdx, r12
mov ebp, eax
call 0x1ccb3ff40
mov r15d, dword [rbx + 0x18]
add rbp, r12
mov edi, eax
add rdi, r12
lea r14, [rsi + rsi]
add r14, rdi
cmp r15, rsi
je 0x1ccb3c061
mov ecx, dword [rbp + rsi*4]
mov rdx, r12
call 0x1ccb3ff40
mov r13d, eax
add r13, r12
mov rcx, r13
call fcn.1ccb3c0e0
cmp eax, 0xa6caa1c5
jne 0x1ccb3c04d
mov ecx, dword [rbx + 0x1c]
mov rdx, r12
call 0x1ccb3ff40
movzx edx, word [r14]
mov eax, eax
add rax, r12
mov ecx, dword [rax + rdx*4]
add rsp, 0x28
mov rdx, r12
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x1ccb3ff40
mov rcx, r13
inc rsi
call fcn.1ccb3c0e0
cmp eax, 0xffe885ef
jne 0x1ccb3bff1
jmp 0x1ccb3c01e
add rsp, 0x28
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, ecx
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
cmp dword [rdx + 0x14], eax
ja 0x1ccb3ff8c
mov r9w, word [rcx + 6]
xor ecx, ecx
cmp r9w, cx
je 0x1ccb3ff8a
mov r8d, dword [rdx + 0xc]
cmp eax, r8d
jb 0x1ccb3ff82
mov r10d, dword [rdx + 0x10]
add r10d, r8d
cmp r10d, eax
jbe 0x1ccb3ff82
mov edx, dword [rdx + 0x14]
sub edx, r8d
add eax, edx
ret
inc ecx
add rdx, 0x28
jmp 0x1ccb3ff5e
xor eax, eax
ret
Function at 0x140493ef8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140493f42
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140493f42
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140493f42
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140493f42
cmp dword [rcx + 0x84], 0xe
jbe 0x140493f42
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140493f44
xor al, al
add rsp, 0x28
ret

Function at 0x14049f900
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14049f95c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14049f95c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14049f95c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14049f95c
cmp dword [rcx + 0x84], 0xe
jbe 0x14049f95c
cmp dword [rcx + 0xf8], 0
je 0x14049f95c
mov ecx, ebx
call fcn.14049fb70
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x1405b0770]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14049fcf0
cmp dword [rsp + 0x60], 0
jne 0x14049f99f
mov ecx, ebx
call fcn.14049fbf0
int3
add rsp, 0x40
pop rbx
ret

Function at 0x14049f9b0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14049fa12
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14049fa12
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x14049fa12
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x14049fa12
cmp dword [rdx + 0x84], 0xe
jbe 0x14049fa12
cmp dword [rdx + 0xf8], 0
je 0x14049fa12
mov ecx, ebx
call fcn.14049fb70
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x1405b0770]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14049fcf0
cmp dword [rsp + 0x60], 0
jne 0x14049fa55
mov ecx, ebx
call fcn.14049fbf0
int3
add rsp, 0x40
pop rbx
ret