joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006442
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x14018aea0
sub rsp, 0x28
xor edx, edx
lea rcx, [0x140006ed3]
call qword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [0x1403a3168]
call fcn.1400065aa
movzx eax, al
test eax, eax
je 0x14018aec9
mov al, 1
jmp 0x14018af37
mov ecx, dword [0x1403a316c]
call fcn.1400065aa
movzx eax, al
test eax, eax
je 0x14018aedf
mov al, 1
jmp 0x14018af37
mov ecx, dword [0x1403a3170]
call fcn.1400065aa
movzx eax, al
test eax, eax
je 0x14018aef5
mov al, 1
jmp 0x14018af37
mov ecx, dword [0x1403a3174]
call fcn.1400065aa
movzx eax, al
test eax, eax
je 0x14018af0b
mov al, 1
jmp 0x14018af37
mov ecx, dword [0x1403a3178]
call fcn.1400065aa
movzx eax, al
test eax, eax
je 0x14018af21
mov al, 1
jmp 0x14018af37
call fcn.140002568
xor edx, edx
lea rcx, [0x140006ed3]
call qword [sym.imp.USER32.dll_EnumWindows]
xor al, al
add rsp, 0x28
ret
Function at 0x1400068f7
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14022d540
mov r10, rcx
test rdx, rdx
je 0x14022d5a9
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
and r9b, 2
movzx ecx, r8b
cmp r9b, 2
cmovb ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x14022d550
ret
Function at 0x140006f78
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
jmp 0x14018cdb0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x308
mov rax, qword [0x14039ae00]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
lea r8, [0x1402a0208]
mov rdx, qword [rsp + 0x310]
lea rcx, [rsp + 0x60]
call fcn.140007513
nop
lea rcx, [rsp + 0x60]
call fcn.140003800
lea rdx, [rsp + 0xa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x14018cfa2
mov eax, dword [rsp + 0xa0]
and eax, 0x10
test eax, eax
je 0x14018cf34
lea rax, [rsp + 0xcc]
lea rcx, [0x1402a0214]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x14018ce53
add rax, 2
test dx, dx
jne 0x14018ce3d
xor eax, eax
jmp 0x14018ce58
sbb eax, eax
or eax, 1
test eax, eax
je 0x14018cf32
lea rax, [rsp + 0xcc]
lea rcx, [0x1402a0218]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x14018ce88
add rax, 2
test dx, dx
jne 0x14018ce72
xor eax, eax
jmp 0x14018ce8d
sbb eax, eax
or eax, 1
test eax, eax
je 0x14018cf32
lea r8, [0x1402a0220]
mov rdx, qword [rsp + 0x310]
lea rcx, [rsp + 0x40]
call fcn.140007513
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0xcc]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x80]
call fcn.1400055d8
nop
lea rcx, [rsp + 0x40]
call fcn.140007333
mov rdx, qword [rsp + 0x318]
lea rcx, [rsp + 0x80]
call fcn.140006f78
movzx eax, al
test eax, eax
je 0x14018cf25
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x80]
call fcn.140007333
nop
lea rcx, [rsp + 0x60]
call fcn.140007333
movzx eax, byte [rsp + 0x20]
jmp 0x14018cfb6
lea rcx, [rsp + 0x80]
call fcn.140007333
jmp 0x14018cf7c
lea rax, [rsp + 0xcc]
mov rcx, qword [rsp + 0x318]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x14018cf5d
add rax, 2
test dx, dx
jne 0x14018cf47
xor eax, eax
jmp 0x14018cf62
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14018cf7c
mov byte [rsp + 0x21], 1
lea rcx, [rsp + 0x60]
call fcn.140007333
movzx eax, byte [rsp + 0x21]
jmp 0x14018cfb6
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14018ce19
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [rsp + 0x22], 0
lea rcx, [rsp + 0x60]
call fcn.140007333
movzx eax, byte [rsp + 0x22]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400048e5
add rsp, 0x308
ret

Function at 0x14000703b
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x140189530
sub rsp, 0x88
xor edx, edx
lea rcx, [0x140006ed3]
call qword [sym.imp.USER32.dll_EnumWindows]
call fcn.140005f24
lea rdx, str.C:WindowsSystem32driversHyperHideDrv.sys
lea rcx, [rsp + 0x50]
call fcn.140008abc
mov rcx, rax
call fcn.140002298
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140008198
nop
lea rcx, [rsp + 0x30]
call fcn.140004557
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x30]
call fcn.140007a86
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1401895a2
call fcn.140008df0
add rsp, 0x88
ret
Function at 0x14000769e
Capabilities:
Read file on windows

Disassembly:
jmp 0x1401395d0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x80], 0
jg 0x1401395f5
xor eax, eax
jmp 0x1401397bb
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x14013961e
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x1401397bb
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x1401396bd
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.1400015aa
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140007d6f
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x1401397ab
mov rcx, qword [rsp + 0x70]
call fcn.14000865c
mov qword [rsp + 0x58], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x14013975e
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x30], 0xfff
je 0x14013975c
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x1401397bb
jmp 0x1401396e3
cmp qword [rsp + 0x20], 0
jbe 0x1401397ab
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
add rsp, 0x68
ret
Function at 0x140007720
Capabilities:
Write file on windows

Disassembly:
jmp 0x1401db570
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x718], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x1401db5ce
mov dl, 1
call fcn.140006fe1
mov rax, qword [rdi + 0x670]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.140006fe1
mov eax, ebx
jmp 0x1401db612
cmp ebx, 2
ja 0x1401db610
mov r9, qword [rdi + 0x668]
lea rdx, [0x1402a6e90]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14000774d
Capabilities:
Parse pe header

Disassembly:
jmp 0x140152b10
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x20]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140152b34
xor eax, eax
jmp 0x140152b62
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x140152b5d
xor eax, eax
jmp 0x140152b62
mov rax, qword [rsp + 8]
add rsp, 0x18
ret
Function at 0x140007815
Capabilities:
Get common file path

Disassembly:
jmp 0x1401df3e0
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1401df40a
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, str.LoadLibraryExA
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1402a740c]
mov rcx, rbx
mov r14, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
test rax, rax
je 0x1401df46e
mov rcx, rbx
test r14, r14
je 0x1401df458
xor edx, edx
lea r8d, [rdx + 8]
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
test r14, r14
je 0x1401df4a6
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401df4a6
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r15d, eax
test eax, eax
je 0x1401df568
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x1401df4d0
lea ecx, [rax + 1]
add rcx, rdx
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1401df55a
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1401df55a
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x1401df500
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x1401df514
mov rcx, rdi
sub rcx, rbx
add rcx, rsi
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1401df530
mov rcx, rdi
test r14, r14
je 0x1401df551
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x1401df557
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [fcn.14023972b]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
Function at 0x140007a5e
Capabilities:
Write file on windows

Disassembly:
jmp 0x1401db840
test rcx, rcx
je 0x1401db9a6
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x14039ae00]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
je 0x1401db98e
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1400039d1
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x1401db901
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1401db8c0
cmp byte [rax + rcx - 1], 0xa
jne 0x1401db8e8
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x1401db8fc
lea r8, [0x1402a6eb4]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.140003035
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1401db906
cmp qword [rdi + 0x718], 0
je 0x1401db94e
mov dl, 1
mov rcx, rdi
call fcn.140006fe1
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.140006fe1
jmp 0x1401db986
mov r9, qword [rdi + 0x668]
lea rcx, [0x1402a6e90]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400048e5
add rsp, 0x860
pop rdi
ret

Function at 0x140007c25
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x140041af0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x14025d980]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x140041b7e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x140041b22
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret
Function at 0x140007c5c
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401dd540
push rbx
sub rsp, 0x30
mov eax, dword [0x1403a365c]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x1401dd59d
xor edx, edx
lea r9d, [rax + 3]
lea r8d, [rax + 2]
lea ecx, [rax + 6]
call fcn.140006703
test al, al
je 0x1401dd591
mov dword [0x1403a365c], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x1403a365c], 1
jmp 0x1401dd5a2
cmp eax, 2
je 0x1401dd5f4
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1401dd5d3
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x1401dd5f4
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret
Function at 0x140007de2
Capabilities:
Read file on windows

Disassembly:
jmp 0x1401bf270
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cdqe
add rsp, 0x28
ret

Function at 0x140007fbd
Capabilities:
Execute shellcode via indirect call

Disassembly:
jmp 0x14019a550
push rdi
sub rsp, 0x80
mov rax, qword [0x14039ae00]
xor rax, rsp
mov qword [rsp + 0x70], rax
call fcn.140008b9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.1401874e0
mov rcx, rax
call fcn.1400065a0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14019a5b9
xor eax, eax
jmp 0x14019a62d
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x21]
call fcn.140187b50
mov rcx, rax
call fcn.140003206
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14019a600
xor eax, eax
jmp 0x14019a62d
lea r9, [rsp + 0x68]
mov r8d, 0x40
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14019a623
xor eax, eax
jmp 0x14019a62d
mov rax, qword [rsp + 0x28]
mov byte [rax], 0xc3
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400048e5
add rsp, 0x80
pop rdi
ret

Function at 0x140007fc7
Capabilities:
Hash data using sha256

Disassembly:
jmp 0x1401e1130
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov dword [rax + 0x28], 0
mov rax, qword [rsp + 8]
mov qword [rax], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x5be0cd19
ret
Function at 0x140008116
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
jmp 0x140118fb0
sub rsp, 0x58
lea rcx, [rsp + 0x28]
call fcn.14000545c
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14000882d
lea rcx, [rsp + 0x38]
call fcn.14000798c
movzx eax, al
test eax, eax
je 0x140119038
lea rcx, [rsp + 0x38]
call fcn.14000385a
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x140119038
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140008404
mov rcx, rax
call fcn.140006c49
cmp eax, 0xf8f45725
jne 0x140119036
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140007167
jmp 0x14011904f
jmp 0x140118ff0
lea rcx, [rsp + 0x28]
call fcn.1400071da
movzx eax, al
test eax, eax
jne 0x140118fbe
xor eax, eax
add rsp, 0x58
ret
Function at 0x140008350
Capabilities:
Write file on windows

Disassembly:
jmp 0x14012bdb0
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14012bddb
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14012bde2
mov al, 1
jmp 0x14012bf3a
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140003030
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140003030
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.140006c4e
movzx eax, al
test eax, eax
je 0x14012be37
xor al, al
jmp 0x14012bf3a
mov qword [rsp + 0x68], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14012bea7
cmp dword [rsp + 0x30], 1
je 0x14012beb3
cmp dword [rsp + 0x30], 3
je 0x14012bf28
jmp 0x14012bf38
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x14012beff
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x14012beff
xor al, al
jmp 0x14012bf3a
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14012bf19
mov dword [rsp + 0x34], 1
jmp 0x14012bf21
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14012bf3a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14012bf3a
xor al, al
add rsp, 0xa8
ret
Function at 0x140008472
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1401abfd0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov edx, Ordinal_26
mov rcx, qword [rsp + 0x88]
call fcn.14000191f
mov rcx, qword [rsp + 0x88]
call fcn.140001258
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x80]
call fcn.14000526d
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140008ce7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x28], rax
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x1401ac060
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x1401ac108
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
and eax, 0x80000000
test eax, eax
jne 0x1401ac103
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.140005d49
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1401ac103
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.140008913
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
call fcn.1400019c9
jmp 0x1401ac045
mov rax, qword [rsp + 0x88]
add rsp, 0x78
ret
Function at 0x1400088b9
Capabilities:
Print debug messages

Disassembly:
jmp 0x140238e98
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call sub.VCRUNTIME140.dll_memset
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x1402b2af8]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.14000478c
test eax, eax
jne 0x140238f2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140238f2f
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140238f28
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x1403a3308], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret