joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008e6b0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x1f0
mov rax, qword [0x1401210c0]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
lea rcx, [rsp + 0x40]
call fcn.14008d5a0
cmp qword [rax + 0x18], 0xf
jbe 0x14008e6e4
mov rax, qword [rax]
xor r14d, r14d
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov rcx, rax
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdx, qword [rsp + 0x58]
mov rdi, rax
cmp rdx, 0xf
jbe 0x14008e754
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008e74f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008e74f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400eb23c
movdqa xmm0, xmmword [0x14010d7d0]
mov qword [rsp + 0x200], rbx
mov qword [rsp + 0x208], rbp
mov qword [rsp + 0x210], rsi
mov byte [rsp + 0x40], r14b
movdqu xmmword [rsp + 0x50], xmm0
cmp rdi, 0xffffffffffffffff
je 0x14008e87f
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], r14
mov r8d, 0x40
lea rdx, [rsp + 0x90]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, 0x5a4d
cmp word [rsp + 0x90], ax
jne 0x14008e876
mov edx, dword [rsp + 0xcc]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], r14
mov r8d, 0x108
lea rdx, [rsp + 0xd0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0xd0], 0x4550
jne 0x14008e876
movzx esi, word [rsp + 0xd6]
mov ebx, r14d
test esi, esi
je 0x14008e869
lea rbp, [0x1400f6194]
nop word [rax + rax]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], r14
mov r8d, Ordinal_45
lea rdx, [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rax, r14
lea rdx, [rsp + 0x68]
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [rax + rbp - 1]
jne 0x14008e876
cmp rax, 6
jne 0x14008e850
inc ebx
cmp ebx, esi
jl 0x14008e820
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14008e881
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rbp, qword [rsp + 0x208]
mov rbx, qword [rsp + 0x200]
mov rsi, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1400eaeb0
mov rdi, qword [rsp + 0x218]
add rsp, 0x1f0
pop r14
ret

Function at 0x14008e8c0
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140128630]
call fcn.14008e920
test al, al
jne 0x14008e916
mov ecx, dword [0x140128634]
call fcn.14008e920
test al, al
jne 0x14008e916
mov ecx, dword [0x140128638]
call fcn.14008e920
test al, al
jne 0x14008e916
mov ecx, dword [0x14012863c]
call fcn.14008e920
test al, al
jne 0x14008e916
xor edx, edx
lea rcx, [0x14008b390]
call qword [sym.imp.USER32.dll_EnumWindows]
xor al, al
add rsp, 0x28
ret
mov al, 1
add rsp, 0x28
ret
Function at 0x14008edd0
Capabilities:
Get file size
Parse pe header
Read file on windows
Write file on windows

Disassembly:
push rbp
push r12
push r14
sub rsp, 0x80
mov rax, qword [0x1401210c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, rcx
lea rcx, [rsp + 0x40]
call fcn.14008d5a0
cmp qword [rax + 0x18], 0xf
jbe 0x14008ee03
mov rax, qword [rax]
xor r14d, r14d
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov rcx, rax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdx, qword [rsp + 0x58]
mov rbp, rax
cmp rdx, 0xf
jbe 0x14008ee72
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ee6d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008ee6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400eb23c
movdqa xmm0, xmmword [0x14010d7d0]
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0x78], r13
mov byte [rsp + 0x40], r14b
movdqu xmmword [rsp + 0x50], xmm0
cmp rbp, 0xffffffffffffffff
je 0x14008ef9e
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov r13d, eax
call fcn.1400eb684
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], r14
mov r8d, r13d
mov rdx, rax
mov rcx, rbp
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, 0x5a4d
cmp word [rsi], ax
jne 0x14008ef9e
movsxd rbx, dword [rsi + 0x3c]
add rbx, rsi
cmp dword [rbx], 0x4550
jne 0x14008ef9e
mov qword [rsp + 0xb8], rdi
mov edi, r14d
mov qword [rsp + 0x70], r15
movzx r15d, word [rbx + 0x14]
add r15, 0x18
add r15, rbx
cmp r14w, word [rbx + 6]
jae 0x14008ef52
lea r14, [r15 + 7]
nop dword [rax]
movsxd rax, edi
mov rdx, r12
lea rcx, [rax + rax*4]
xor eax, eax
lea rcx, [r15 + rcx*8]
mov qword [rcx], rax
lea r8d, [rax + 7]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [r14], 0
lea r14, [r14 + 0x28]
movzx eax, word [rbx + 6]
inc edi
cmp edi, eax
jl 0x14008ef20
xor r14d, r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], r14
mov r8d, r13d
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call fcn.1400eb23c
mov r15, qword [rsp + 0x70]
mov al, 1
mov rdi, qword [rsp + 0xb8]
jmp 0x14008efa0
xor al, al
mov rsi, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400eaeb0
add rsp, 0x80
pop r14
pop r12
pop rbp
ret
Function at 0x14008efe0
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x58
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r8, qword [rax + 0x30]
mov qword [rsp + 0x30], r8
movsxd rcx, dword [r8 + 0x3c]
mov rdx, qword [rcx + r8 + 0x88]
mov qword [rsp + 0x60], rdx
mov r11d, edx
add r11, r8
mov qword [rsp + 0x38], r11
shr rdx, 0x20
mov dword [rsp + 0x40], edx
cmp r11, r8
je 0x14008f0b9
mov r10d, dword [r11 + 0x18]
mov dword [rsp + 0x20], r10d
nop
mov ecx, r10d
dec r10d
mov dword [rsp + 0x20], r10d
test ecx, ecx
je 0x14008f0b9
mov ecx, dword [r11 + 0x20]
add rcx, r8
mov ecx, dword [rcx + r10*4]
add rcx, r8
mov qword [rsp + 0x28], rcx
mov r9d, 0x2bfbf104
nop dword [rax + rax]
movsx edx, byte [rcx]
inc rcx
mov qword [rsp + 0x28], rcx
test dl, dl
jne 0x14008f0ad
cmp r9d, 0xf4565a36
jne 0x14008f0ab
mov edx, dword [r11 + 0x1c]
add rdx, r8
mov ecx, dword [r11 + 0x24]
add rcx, r8
movzx ecx, word [rcx + r10*2]
mov eax, dword [rdx + rcx*4]
add rax, r8
call rax
nop
mov al, 1
add rsp, 0x58
ret
jmp 0x14008f040
xor edx, r9d
imul r9d, edx, 0x1000193
jmp 0x14008f070
mov rax, qword [rax]
jmp 0x14008f000

Function at 0x14008f0d0
Capabilities:
Access peb ldr_data
Encode data using xor
Enumerate gui resources
Get ntdll base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140128630]
call fcn.14008e920
test al, al
jne 0x14008f135
mov ecx, dword [0x140128634]
call fcn.14008e920
test al, al
jne 0x14008f135
mov ecx, dword [0x140128638]
call fcn.14008e920
test al, al
jne 0x14008f135
mov ecx, dword [0x14012863c]
call fcn.14008e920
test al, al
jne 0x14008f135
xor edx, edx
lea rcx, [0x14008b390]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, rsi
call fcn.140091c30
mov rax, rsi
add rsp, 0x20
pop rsi
ret
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14008f1c7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14008f1c7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x7eb8f75a
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14008f1c2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14008f1a0
cmp r8d, 0xaf9b0fd2
je 0x14008f1cc
test r9d, r9d
jne 0x14008f180
mov rax, qword [rax]
jmp 0x14008f150
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 rdi, qword [rsp + 0x38]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
call fcn.140091c30
mov rax, rsi
add rsp, 0x20
pop rsi
ret
Function at 0x14008f210
Capabilities:
Access peb ldr_data
Encode data using xor
Enumerate gui resources
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov qword [rsp + 0x30], rbx
mov ecx, dword [0x140128630]
mov qword [rsp + 0x38], rdi
call fcn.14008e920
test al, al
jne 0x14008f273
mov ecx, dword [0x140128634]
call fcn.14008e920
test al, al
jne 0x14008f273
mov ecx, dword [0x140128638]
call fcn.14008e920
test al, al
jne 0x14008f273
mov ecx, dword [0x14012863c]
call fcn.14008e920
test al, al
jne 0x14008f273
xor edx, edx
lea rcx, [0x14008b390]
call qword [sym.imp.USER32.dll_EnumWindows]
jmp 0x14008f327
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
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 0x14008f307
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14008f307
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x7eb8f75a
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14008f302
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14008f2e0
cmp r8d, 0xaf9b0fd2
je 0x14008f30c
test r9d, r9d
jne 0x14008f2c0
mov rax, qword [rax]
jmp 0x14008f290
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 ecx, dword [0x140128630]
call fcn.14008e920
test al, al
jne 0x14008f377
mov ecx, dword [0x140128634]
call fcn.14008e920
test al, al
jne 0x14008f377
mov ecx, dword [0x140128638]
call fcn.14008e920
test al, al
jne 0x14008f377
mov ecx, dword [0x14012863c]
call fcn.14008e920
test al, al
jne 0x14008f377
xor edx, edx
lea rcx, [0x14008b390]
call qword [sym.imp.USER32.dll_EnumWindows]
jmp 0x14008f427
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 0x14008f407
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14008f407
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xdee28306
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14008f402
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14008f3e0
cmp r8d, 0xc30fcb6e
je 0x14008f40c
test r9d, r9d
jne 0x14008f3c0
mov rax, qword [rax]
jmp 0x14008f390
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
cmp byte [rsi + 0x136], 0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
je 0x14008f459
xor ecx, ecx
nop dword [rax]
lea eax, [rcx - 0x12]
xor byte [rcx + rsi], al
inc rcx
cmp rcx, 0x135
jb 0x14008f440
mov byte [rsi + 0x136], 0
mov rax, rsi
add rsp, 0x20
pop rsi
ret
Function at 0x14008f470
Capabilities:
Access peb ldr_data
Encode data using xor
Enumerate gui resources
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov qword [rsp + 0x30], rbx
mov ecx, dword [0x140128630]
mov qword [rsp + 0x38], rdi
call fcn.14008e920
test al, al
jne 0x14008f4d3
mov ecx, dword [0x140128634]
call fcn.14008e920
test al, al
jne 0x14008f4d3
mov ecx, dword [0x140128638]
call fcn.14008e920
test al, al
jne 0x14008f4d3
mov ecx, dword [0x14012863c]
call fcn.14008e920
test al, al
jne 0x14008f4d3
xor edx, edx
lea rcx, [0x14008b390]
call qword [sym.imp.USER32.dll_EnumWindows]
jmp 0x14008f587
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
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 0x14008f567
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14008f567
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x7eb8f75a
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14008f562
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14008f540
cmp r8d, 0xaf9b0fd2
je 0x14008f56c
test r9d, r9d
jne 0x14008f520
mov rax, qword [rax]
jmp 0x14008f4f0
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 ecx, dword [0x140128630]
call fcn.14008e920
test al, al
jne 0x14008f5d7
mov ecx, dword [0x140128634]
call fcn.14008e920
test al, al
jne 0x14008f5d7
mov ecx, dword [0x140128638]
call fcn.14008e920
test al, al
jne 0x14008f5d7
mov ecx, dword [0x14012863c]
call fcn.14008e920
test al, al
jne 0x14008f5d7
xor edx, edx
lea rcx, [0x14008b390]
call qword [sym.imp.USER32.dll_EnumWindows]
jmp 0x14008f687
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 0x14008f667
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14008f667
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xdee28306
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14008f662
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14008f640
cmp r8d, 0xc30fcb6e
je 0x14008f66c
test r9d, r9d
jne 0x14008f620
mov rax, qword [rax]
jmp 0x14008f5f0
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
cmp byte [rsi + 0x25], 0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
je 0x14008f6b3
xor ecx, ecx
nop dword [rax]
lea eax, [rcx - 0x12]
xor byte [rcx + rsi], al
inc rcx
cmp rcx, 0x24
jb 0x14008f6a0
mov byte [rsi + 0x25], 0
mov rax, rsi
add rsp, 0x20
pop rsi
ret
Function at 0x14008f6c0
Capabilities:
Access peb ldr_data
Encode data using xor
Enumerate gui resources
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov qword [rsp + 0x30], rbx
mov ecx, dword [0x140128630]
mov qword [rsp + 0x38], rdi
call fcn.14008e920
test al, al
jne 0x14008f723
mov ecx, dword [0x140128634]
call fcn.14008e920
test al, al
jne 0x14008f723
mov ecx, dword [0x140128638]
call fcn.14008e920
test al, al
jne 0x14008f723
mov ecx, dword [0x14012863c]
call fcn.14008e920
test al, al
jne 0x14008f723
xor edx, edx
lea rcx, [0x14008b390]
call qword [sym.imp.USER32.dll_EnumWindows]
jmp 0x14008f7d7
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
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 0x14008f7b7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14008f7b7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x7eb8f75a
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14008f7b2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14008f790
cmp r8d, 0xaf9b0fd2
je 0x14008f7bc
test r9d, r9d
jne 0x14008f770
mov rax, qword [rax]
jmp 0x14008f740
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 ecx, dword [0x140128630]
call fcn.14008e920
test al, al
jne 0x14008f827
mov ecx, dword [0x140128634]
call fcn.14008e920
test al, al
jne 0x14008f827
mov ecx, dword [0x140128638]
call fcn.14008e920
test al, al
jne 0x14008f827
mov ecx, dword [0x14012863c]
call fcn.14008e920
test al, al
jne 0x14008f827
xor edx, edx
lea rcx, [0x14008b390]
call qword [sym.imp.USER32.dll_EnumWindows]
jmp 0x14008f8d7
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 0x14008f8b7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14008f8b7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xdee28306
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14008f8b2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14008f890
cmp r8d, 0xc30fcb6e
je 0x14008f8bc
test r9d, r9d
jne 0x14008f870
mov rax, qword [rax]
jmp 0x14008f840
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
cmp byte [rsi + 0x41], 0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
je 0x14008f903
xor ecx, ecx
nop dword [rax]
lea eax, [rcx - 0x12]
xor byte [rcx + rsi], al
inc rcx
cmp rcx, 0x40
jb 0x14008f8f0
mov byte [rsi + 0x41], 0
mov rax, rsi
add rsp, 0x20
pop rsi
ret
Function at 0x14008f910
Capabilities:
Access peb ldr_data
Encode data using xor
Enumerate gui resources
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov qword [rsp + 0x30], rbx
mov ecx, dword [0x140128630]
mov qword [rsp + 0x38], rdi
call fcn.14008e920
test al, al
jne 0x14008f973
mov ecx, dword [0x140128634]
call fcn.14008e920
test al, al
jne 0x14008f973
mov ecx, dword [0x140128638]
call fcn.14008e920
test al, al
jne 0x14008f973
mov ecx, dword [0x14012863c]
call fcn.14008e920
test al, al
jne 0x14008f973
xor edx, edx
lea rcx, [0x14008b390]
call qword [sym.imp.USER32.dll_EnumWindows]
jmp 0x14008fa27
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
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 0x14008fa07
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14008fa07
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x7eb8f75a
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14008fa02
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14008f9e0
cmp r8d, 0xaf9b0fd2
je 0x14008fa0c
test r9d, r9d
jne 0x14008f9c0
mov rax, qword [rax]
jmp 0x14008f990
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 ecx, dword [0x140128630]
call fcn.14008e920
test al, al
jne 0x14008fa77
mov ecx, dword [0x140128634]
call fcn.14008e920
test al, al
jne 0x14008fa77
mov ecx, dword [0x140128638]
call fcn.14008e920
test al, al
jne 0x14008fa77
mov ecx, dword [0x14012863c]
call fcn.14008e920
test al, al
jne 0x14008fa77
xor edx, edx
lea rcx, [0x14008b390]
call qword [sym.imp.USER32.dll_EnumWindows]
jmp 0x14008fb27
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 0x14008fb07
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14008fb07
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xdee28306
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14008fb02
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14008fae0
cmp r8d, 0xc30fcb6e
je 0x14008fb0c
test r9d, r9d
jne 0x14008fac0
mov rax, qword [rax]
jmp 0x14008fa90
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
cmp byte [rsi + 0x44], 0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
je 0x14008fb53
xor ecx, ecx
nop dword [rax]
lea eax, [rcx - 0x12]
xor byte [rcx + rsi], al
inc rcx
cmp rcx, 0x43
jb 0x14008fb40
mov byte [rsi + 0x44], 0
mov rax, rsi
add rsp, 0x20
pop rsi
ret