joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140171af0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140171b32
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140171b79
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140171bd2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140171b90
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140171c13
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1401bdd4b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1401bdd4c]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140171be0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140173260
Capabilities:
Parse pe header

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

Function at 0x140a5d000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x140a5d00a
jmp 0x140a5f00f
jmp fcn.140709058
Function at 0x140002d80
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140003e90
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140003e90
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002df0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400090a4]
mov rbx, rcx
test esi, esi
jle 0x140002f20
mov rax, qword [0x1400090a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002e3b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002ec5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002e20
mov rcx, rbx
call fcn.140003840
mov rdi, rax
test rax, rax
je 0x140002f42
mov rax, qword [0x1400090a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003980
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400090a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002f27
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002ebe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002ed0
add dword [0x1400090a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400090a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002ebe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002d80
nop dword [rax]
xor esi, esi
jmp 0x140002e48
mov rax, qword [0x1400090a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002d80
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002d80
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400034b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x14000350c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003503
test rsi, rsi
je 0x140003503
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400034e8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003840
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400069b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003860
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003868
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003860
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400038bd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400038b4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003860
add rax, 0x28
cmp rax, r9
jne 0x1400038a0
xor eax, eax
ret

Function at 0x1400038c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400069b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400038df
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400038e8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400038df
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140003980
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400069b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000399f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400039a8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140ef9e50
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140ef9e5a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140ef9e83
pop rbp
sub rbp, 0x33
sub rbp, 0xef9e50
sub rsp, 0x20
jmp 0x140ef9ea2
mov rax, 0xef9e50
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
or eax, dword [rsi]
add byte [rax], al
mov rdx, 0x767be8d7
xor byte [rax], dl
inc rax
dec rcx
jne 0x140ef9ec1
jmp 0x140ef9ed8
lahf
pop rsi
pop rsp
pop rsi
jmp 0x140ef9eb6
Function at 0x140002988
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x1400029e2
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x1400b3fc0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x1400029cc
cmp rdx, 2
jb 0x1400029cc
cmp byte [r10], r11b
jne 0x1400029cc
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x1400029aa
jmp 0x140002a23
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x140002a23
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x1400b3fc0]
cmp dl, r11b
jne 0x140002a07
cmp byte [r10], r11b
jne 0x140002a07
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x1400029f5
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x140002b58
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x140002b78
and qword [r8], 0
lea rdx, [0x1400b3a20]
call fcn.140002a34
mov rbx, rax
test rax, rax
je 0x140002c69
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140002c60
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002c60
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002c60
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002c60
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x140002c60
mov rax, qword [0x140148900]
test rax, rax
je 0x140002bfd
inc dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140002c60
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x140002c4d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140148900]
test rax, rax
je 0x140002c42
dec dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002c69
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140002c5b
mov qword [rsi], rbp
mov rax, rdi
jmp 0x140002c6b
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140004a00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x28
movsxd rdx, dword [rcx + 0x108]
mov r9d, 4
mov rax, qword [rcx + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x1400b3fc0]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x140004a29
not r8d
mov ecx, r8d
call fcn.140004b60
mov eax, r8d
add rsp, 0x28
ret

Function at 0x14000e5a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14012f0c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [0x140148900]
mov r10d, 4
mov dword [rsp + 0x20], ecx
mov r9, qword [rax + 0x1b90]
movsxd rcx, dword [r9 + 0x108]
mov rax, qword [r9 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x20]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x1400b3fc0]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x14000e5e6
not r8d
lea rdx, [rsp + 0x20]
lea rcx, [r9 + 0x108]
mov dword [rsp + 0x20], r8d
call fcn.14001c4ec
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a1580
add rsp, 0x38
ret

Function at 0x140013090
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x140148900]
cmp byte [rbx + 0x3000], 0
je 0x140013151
cmp qword [rbx + 0x3008], 0
lea rbp, [rax + 0x10]
lea rdi, [rbx + 0x3010]
je 0x140013143
mov r9d, dword [rdi + 4]
test r9d, r9d
jns 0x1400130fb
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001c82c
mov rcx, qword [rsp + 0x40]
and dword [rdi], 0
mov rdx, rcx
mov rcx, rdi
mov r8, rbp
call fcn.140003298
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3008]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1401488f8]
movsxd r8, eax
mov rax, qword [rbx + 0x3018]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140013151
mov rdx, rcx
mov r8, rbp
mov rcx, rdi
call fcn.140003298
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret

Function at 0x1400137a4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140148900]
mov rbx, rcx
and dword [rax + 0x2fbc], 0
test rcx, rcx
je 0x14001380d
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140013818
lea rdx, [0x1400b3a24]
mov rcx, rbx
mov rdi, rax
call fcn.140002a34
mov rbx, rax
test rax, rax
je 0x14001380d
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400376c4
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r11, qword [rax]
mov rdx, r11
mov r8, qword [rdx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x14003775c
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x14003775c
mov esi, dword [r9 + 0x20]
dec r10d
mov ebx, 0x811c9dc5
lea rax, [rsi + r10*4]
mov ecx, dword [rax + r8]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x140037757
movsx eax, al
xor eax, ebx
imul ebx, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x140037737
cmp ebx, 0x53b2070f
je 0x1400378a0
test r10d, r10d
jne 0x14003771b
mov rax, qword [rdx]
mov rdx, rax
cmp rax, r11
je 0x14003776e
cmp qword [rax + 0x30], 0
jne 0x1400376f6
xor r9d, r9d
mov dword [rbp - 0x30], 0x61687f64
xor ecx, ecx
mov dword [rbp - 0x2c], 0x7d742162
mov word [rbp - 0x28], 0x7e
mov byte [rbp - 0x26], 1
lea eax, [rcx + 0xa]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 9
jb 0x14003778b
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x26], 0
call r9
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400378dd
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r11, qword [rax]
mov rdx, r11
mov r8, qword [rdx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x140037834
mov ecx, dword [r9 + 0x18]
test ecx, ecx
je 0x140037834
mov r14d, dword [r9 + 0x20]
dec ecx
mov ebx, 0x811c9dc5
mov esi, ecx
lea rax, [r14 + rcx*4]
mov r10d, dword [rax + r8]
add r10, r8
mov al, byte [r10]
inc r10
test al, al
je 0x140037830
movsx eax, al
xor eax, ebx
imul ebx, eax, 0x1000193
mov al, byte [r10]
inc r10
test al, al
jne 0x14003780f
cmp ebx, 0xf8f45725
je 0x1400378bf
test ecx, ecx
jne 0x1400377f1
mov rax, qword [rdx]
mov rdx, rax
cmp rax, r11
je 0x140037846
cmp qword [rax + 0x30], 0
jne 0x1400377cd
xor r9d, r9d
movdqa xmm0, xmmword [0x140121560]
xor ecx, ecx
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], 0x6f4c7575
mov dword [rbp - 0xc], 0x52457c71
mov word [rbp - 8], 0x51
mov byte [rbp - 6], 1
lea eax, [rcx + 0xa]
xor byte [rbp + rcx - 0x20], al
inc rcx
cmp rcx, 0x19
jb 0x140037870
lea rdx, [rbp - 0x20]
mov byte [rbp - 6], 0
mov rcx, rdi
call r9
test rax, rax
je 0x1400378dd
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov eax, 1
jmp 0x1400378df
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov r9d, dword [rcx + rdx*4]
add r9, r8
jmp 0x140037771
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rsi*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov r9d, dword [rcx + rdx*4]
add r9, r8
jmp 0x140037849
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x1400378fc
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x30
mov rax, qword [0x14012f0c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [r11 - 0x18], r8d
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbx, qword [rax]
mov rdx, rbx
mov r9, qword [rdx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r10d, dword [rax + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x1400379a9
mov ecx, dword [r10 + 0x18]
test ecx, ecx
je 0x1400379a9
mov r14d, dword [r10 + 0x20]
dec ecx
mov edi, 0x811c9dc5
mov esi, ecx
lea rax, [r14 + rcx*4]
mov r11d, dword [rax + r9]
add r11, r9
mov al, byte [r11]
inc r11
test al, al
je 0x1400379a5
movsx eax, al
xor eax, edi
imul edi, eax, 0x1000193
mov al, byte [r11]
inc r11
test al, al
jne 0x140037984
cmp edi, 0x4cfe97c1
je 0x140037a4a
test ecx, ecx
jne 0x140037966
mov rax, qword [rdx]
mov rdx, rax
cmp rax, rbx
je 0x1400379ba
cmp qword [rax + 0x30], r8
jne 0x140037942
mov rbx, r8
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rdi, qword [rax]
mov rdx, rdi
mov r9, qword [rdx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r10d, dword [rax + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x140037a37
mov ecx, dword [r10 + 0x18]
test ecx, ecx
je 0x140037a37
mov r14d, dword [r10 + 0x20]
dec ecx
mov esi, 0x811c9dc5
mov ebp, ecx
lea rax, [r14 + rcx*4]
mov r11d, dword [rax + r9]
add r11, r9
mov al, byte [r11]
inc r11
test al, al
je 0x140037a33
movsx eax, al
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [r11]
inc r11
test al, al
jne 0x140037a16
cmp esi, 0x6dd8a845
je 0x140037a67
test ecx, ecx
jne 0x1400379f8
mov rax, qword [rdx]
mov rdx, rax
cmp rax, rdi
je 0x140037a80
cmp qword [rax + 0x30], r8
jne 0x1400379d4
jmp 0x140037a80
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + rsi*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov ebx, dword [rcx + rdx*4]
add rbx, r9
jmp 0x1400379bd
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + rbp*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov r8d, dword [rcx + rdx*4]
add r8, r9
call r8
lea rdx, [rsp + 0x20]
mov rcx, rax
call rbx
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a1580
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140037abc
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, 0x500
mov rax, qword [0x14012f0c0]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
xor ebx, ebx
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rdi, qword [rax]
mov rdx, rdi
mov r8, qword [rdx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x140037b7f
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x140037b7f
mov r14d, dword [r9 + 0x20]
dec r10d
mov r11d, 0x811c9dc5
lea rax, [r14 + r10*4]
mov ecx, dword [rax + r8]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x140037b7a
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x140037b57
cmp r11d, 0x9bc5a608
je 0x140037cac
test r10d, r10d
jne 0x140037b3a
mov rax, qword [rdx]
mov rdx, rax
cmp rax, rdi
je 0x140037b90
cmp qword [rax + 0x30], rbx
jne 0x140037b15
mov rax, rbx
call rax
mov dword [rsp + 0x50], 0x100010
mov rbp, rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rdi, qword [rax]
mov rdx, rdi
mov r8, qword [rdx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x140037c22
mov ecx, dword [r9 + 0x18]
test ecx, ecx
je 0x140037c22
mov r14d, dword [r9 + 0x20]
dec ecx
mov r11d, 0x811c9dc5
mov esi, ecx
lea rax, [r14 + rcx*4]
mov r10d, dword [rax + r8]
add r10, r8
mov al, byte [r10]
inc r10
test al, al
je 0x140037c1e
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [r10]
inc r10
test al, al
jne 0x140037bfa
cmp r11d, 0x85cca27e
je 0x140037cca
test ecx, ecx
jne 0x140037bdb
mov rax, qword [rdx]
mov rdx, rax
cmp rax, rdi
je 0x140037c33
cmp qword [rax + 0x30], rbx
jne 0x140037bb7
mov rax, rbx
lea rdx, [rsp + 0x20]
mov rcx, rbp
call rax
test eax, eax
je 0x140037c7c
cmp qword [rsp + 0x68], rbx
jne 0x140037c77
cmp qword [rsp + 0x70], rbx
jne 0x140037c77
cmp qword [rsp + 0x78], rbx
jne 0x140037c77
cmp qword [rsp + 0x80], rbx
jne 0x140037c77
cmp qword [rsp + 0x88], rbx
jne 0x140037c77
cmp qword [rsp + 0x90], rbx
je 0x140037c7c
mov ebx, 1
mov eax, ebx
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.1400a1580
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
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]
add rax, r8
jmp 0x140037b93
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rsi*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x140037c36