joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005eb28
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword [rsp + 0xd8]
call fcn.18005f750
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x84], 0xec00
mov eax, dword [rsp + 0x84]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
sal byte [rbx], 1
leave
call qword [rsp + 0xe0]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x18005eaf3
invalid
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x20], eax
jae 0x18005eb84
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x238]
add byte [rdi], cl
mov dh, 4
add dword [rcx + 0x1102484], ecx
add byte [rax], al
movsxd rcx, dword [rsp + 0x20]
xor edx, edx
mov rax, rcx
mov ecx, 0x1b
add byte [rax], al
add byte [rax - 9], cl
int1
mov rax, rdx
mov ecx, 1
imul rcx, rcx, 0
movsx ecx, byte [rsp + rcx + 0x1b0]
imul ecx, ecx, 0x2a2
mov edx, 1
imul rdx, rdx, 0x2a
movsx edx, byte [rsp + rdx + 0x1b0]
imul ecx, edx
movsxd rcx, ecx
sub rax, rcx
movzx eax, byte [rsp + rax + 0x60]
mov ecx, dword [rsp + 0x110]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov byte [rdx + rcx], al
jmp 0x18005eae9
mov rcx, qword [rsp + 0x48]
call fcn.18005f3e0
mov qword [rsp + 0x150], rax
mov eax, 1
imul rax, rax, 8
movsx eax, byte [rsp + rax + 0x1b0]
shl eax, 3
mov r9d, eax
mov r8d, 0x3000
mov rdx, qword [rsp + 0x150]
add dword [rax], eax
add byte [rbx], dh
leave
call qword [rsp + 0xe0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
and al, 0x28
add byte [rbp + 7], dh
xor eax, eax
jmp 0x18005f1e8
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x54]
mov r8d, eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.18005f490
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0xe8], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0xf8], 0
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax - 0x39], cl
test byte [rax + riz], ah
add dword [rax], eax
add byte [rax], al
add byte [rax], al
add bh, al
and al, 0x50
add byte [rax], al
add byte [rax], al
jmp 0x18005eccb
Function at 0x18005eb88
Capabilities:
Enumerate pe sections

Disassembly:
mov rcx, qword [rsp + 0xd8]
call fcn.18005f750
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x84], 0xec00
mov eax, dword [rsp + 0x84]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
sal byte [rbx], 1
leave
call qword [rsp + 0xe0]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x18005eaf3
invalid
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x20], eax
jae 0x18005eb84
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x238]
add byte [rdi], cl
mov dh, 4
add dword [rcx + 0x1102484], ecx
add byte [rax], al
movsxd rcx, dword [rsp + 0x20]
xor edx, edx
mov rax, rcx
mov ecx, 0x1b
add byte [rax], al
add byte [rax - 9], cl
int1
mov rax, rdx
mov ecx, 1
imul rcx, rcx, 0
movsx ecx, byte [rsp + rcx + 0x1b0]
imul ecx, ecx, 0x2a2
mov edx, 1
imul rdx, rdx, 0x2a
movsx edx, byte [rsp + rdx + 0x1b0]
imul ecx, edx
movsxd rcx, ecx
sub rax, rcx
movzx eax, byte [rsp + rax + 0x60]
mov ecx, dword [rsp + 0x110]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov byte [rdx + rcx], al
jmp 0x18005eae9
mov rcx, qword [rsp + 0x48]
call fcn.18005f3e0
mov qword [rsp + 0x150], rax
mov eax, 1
imul rax, rax, 8
movsx eax, byte [rsp + rax + 0x1b0]
shl eax, 3
mov r9d, eax
mov r8d, 0x3000
mov rdx, qword [rsp + 0x150]
add dword [rax], eax
add byte [rbx], dh
leave
call qword [rsp + 0xe0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
and al, 0x28
add byte [rbp + 7], dh
xor eax, eax
jmp 0x18005f1e8
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x54]
mov r8d, eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.18005f490
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0xe8], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0xf8], 0
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax - 0x39], cl
test byte [rax + riz], ah
add dword [rax], eax
add byte [rax], al
add byte [rax], al
add bh, al
and al, 0x50
add byte [rax], al
add byte [rax], al
jmp 0x18005eccb
Function at 0x18005f2b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + rax + 0x88], 0
jne 0x18005f300
xor eax, eax
jmp 0x18005f3d8
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x24], 0
jmp 0x18005f346

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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0
jmp 0x18005f801
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x18005f85f
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.18005f670
cmp eax, dword [rsp + 0x78]
jne 0x18005f85d
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
jmp 0x18005f7f7
xor eax, eax
Function at 0x140009038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rbx + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000905c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x1400090b3
cmp qword [rcx + rdx*8], rbx
jne 0x1400090a8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400090ac
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400090c0
cmp qword [rcx + rdx*8], rbx
jne 0x1400090c0
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x1400090f5
mov rcx, qword [rbx + 0x18]
inc rdx
mov r8d, 2
call fcn.1400020a4
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x37]
call fcn.1400020a4
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b51c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400148a0], eax
call fcn.14000b2a4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_UnhandledExceptionFilter]
cmp dword [0x1400148a0], 0
jne case.default.0x14000b572
mov ecx, 1
call fcn.14000b2a4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
pop rsp
in eax, dx
in eax, dx
jg 0x140020a05
mov bh, 0xb4
mov byte [rdx - 0x56ca40d9], bh
cmp byte [rbp + 0x2dbb1154], ah
or dword [rbp - 0x3409e2cb], edi
sbb eax, 0x60e1fba9
test byte [0x13e7ef28b], bl
imul eax, edx, 0x65
mov ebx, 0xff46fdfd
invalid
test byte ds:[rdi - 0x4e6b8278], dh
and dword [rsi - 0x77b5a02d], ecx
outsd dx, dword [rsi]
fldcw word [rax + 0x2f79c388]
int3
Function at 0x14000e1fc
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x140222820]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov rcx, rdx
mov rbx, r8
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x410
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rbx]
cmp dword [r8 + 4], 0
je 0x14000e277
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov r9, rdi
lea r8, str.__s___s
lea rcx, [rbp]
mov qword [rsp + 0x20], rax
mov edx, 0x410
call fcn.1400040e8
and qword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000e3a7
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
and qword [rsp + 0x68], 0
mov r9d, 2
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 0x20f01ff
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
and qword [rsp + 0x70], 0
xor r8d, r8d
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
xor eax, eax
lea rcx, [rbp - 0x70]
xorps xmm0, xmm0
mov qword [rbp - 0x78], rax
xor edx, edx
movups xmmword [rsp + 0x78], xmm0
lea ebx, [rax + 0x70]
mov r8d, ebx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x68]
lea rax, str.winsta0default
mov qword [rbp - 0x60], rax
lea r8, [rbp]
lea rax, [rsp + 0x78]
mov dword [rbp - 0x70], ebx
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rbp - 0x70]
mov rdx, rdi
mov qword [rsp + 0x48], rax
and qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x628
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
setne bl
test eax, eax
je 0x14000e37e
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test bl, bl
je 0x14000e3a7
mov al, 1
jmp 0x14000e3a9
xor al, al
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.14001af60
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140010c64
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
mov rdx, rcx
je 0x140010c97
xor r8d, r8d
mov cl, r8b
movabs rax, 0x51533f1509c71599
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 9
jb 0x140010c70
mov byte [rdx + 9], 0
mov rax, rdx
ret
Function at 0x140010c9c
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x25], 0
mov rdx, rcx
je 0x140010ccf
xor r8d, r8d
mov cl, r8b
movabs rax, 0x61a7ddf587214d1b
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0x25
jb 0x140010ca8
mov byte [rdx + 0x25], 0
mov rax, rdx
ret

Function at 0x140010cd4
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
mov rdx, rcx
je 0x140010d07
xor r8d, r8d
mov cl, r8b
movabs rax, 0x33936bbb8fbf972b
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0xa
jb 0x140010ce0
mov byte [rdx + 0xa], 0
mov rax, rdx
ret

Function at 0x140010d0c
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
mov rdx, rcx
je 0x140010d3f
xor r8d, r8d
mov cl, r8b
movabs rax, 0xb5e3ff6f79e787bf
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0xa
jb 0x140010d18
mov byte [rdx + 0xa], 0
mov rax, rdx
ret

Function at 0x140010d44
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
mov rdx, rcx
je 0x140010d77
xor r8d, r8d
mov cl, r8b
movabs rax, 0x717f5d0f8b9d9be7
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 9
jb 0x140010d50
mov byte [rdx + 9], 0
mov rax, rdx
ret
Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x140013110
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011280
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014450
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014470
xor al, al
jmp 0x1400144f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014483
xor al, al
jmp 0x1400144f1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400144ad
xor al, al
jmp 0x1400144f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400144c1
xor al, al
jmp 0x1400144f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400144d3
xor al, al
jmp 0x1400144f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400144ef
xor al, al
jmp 0x1400144f1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001b94
Capabilities:
Hash data with md5

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x47]
sub rsp, 0x100
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rdi, r9
mov rbx, r8
mov rsi, rcx
mov qword [rbp - 0x79], 7
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
lea rcx, [rsp + 0x30]
call fcn.1400023d0
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400023d0
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400023d0
mov rdx, qword [rbp + 0x6f]
lea rcx, [rsp + 0x30]
call fcn.1400023d0
mov rdx, qword [rbp + 0x77]
lea rcx, [rsp + 0x30]
call fcn.1400023d0
mov rdx, qword [rbp + 0x7f]
lea rcx, [rsp + 0x30]
call fcn.1400023d0
lea rdx, [rsp + 0x30]
cmp qword [rbp - 0x79], 8
cmovae rdx, qword [rsp + 0x30]
mov byte [rbp + 0x2f], r12b
mov qword [rbp - 0x29], r12
mov dword [rbp - 0x39], 0x67452301
mov dword [rbp - 0x35], 0xefcdab89
mov dword [rbp - 0x31], 0x98badcfe
mov dword [rbp - 0x2d], 0x10325476
mov r8, qword [rsp + 0x40]
lea r8, [r8 + r8 + 2]
lea rcx, [rbp - 0x39]
call fcn.140002d84
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x39]
call fcn.140003810
lea r8, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae r8, qword [rbp - 0x69]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
or ebx, 0xffffffff
mov r9d, ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae r8, qword [rbp - 0x69]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp qword [rbp - 0x51], 0x10
jb 0x140001cd8
mov rcx, qword [rbp - 0x69]
call fcn.140020ec0
mov qword [rbp - 0x51], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x59], r12
mov byte [rbp - 0x69], r12b
cmp qword [rbp - 0x79], 8
jb 0x140001cf9
mov rcx, qword [rsp + 0x30]
call fcn.140020ec0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140003dc4
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, rcx
cmp qword [rcx + 0x80], 0
je 0x140003f55
cmp byte [rcx + 0x89], 0
je 0x140003f55
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x140003e15
xor al, al
jmp 0x140003f57
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x10], rdx
and qword [rbp - 0x18], 0
mov byte [rbp - 0x28], 0
lea r13d, [rdx - 7]
cmp r13b, 0xfe
jbe 0x140003e3e
lea rcx, str.string_too_long
call fcn.14003a1f8
int3
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x18], r13
lea rax, [rbp - 0x28]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], cl
mov r9, qword [rbp - 0x28]
mov r10, qword [rbp - 0x10]
lea rdx, [rbp - 0x28]
cmp r10, 0x10
cmovae rdx, r9
lea r8, [rbp - 0x28]
cmovae r8, r9
mov rcx, qword [rbx + 0x80]
mov r10, qword [rcx]
mov rax, qword [rbp - 0x18]
lea r9, [rdx + rax]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbx + 0x8c]
call qword [r10 + 0x30]
test eax, eax
je 0x140003ea3
dec eax
jne 0x140003f1a
jmp 0x140003eaa
mov byte [rbx + 0x89], 0
lea rax, [rbp - 0x28]
mov r9, qword [rbp - 0x28]
mov r10, qword [rbp - 0x10]
cmp r10, 0x10
cmovae rax, r9
mov rdi, qword [rbp + 0x20]
sub rdi, rax
je 0x140003ef4
lea rcx, [rbp - 0x28]
cmp r10, 0x10
cmovae rcx, r9
mov r9, qword [rbx + 0x98]
mov r8, rdi
mov edx, 1
call fcn.140021934
cmp rdi, rax
jne 0x140003f2e
mov r10, qword [rbp - 0x10]
mov r9, qword [rbp - 0x28]
cmp byte [rbx + 0x89], 0
je 0x140003f47
test rdi, rdi
jne 0x140003e5f
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp - 0x28]
call fcn.1400038e4
jmp 0x140003e57
sub eax, 2
je 0x140003f21
jmp 0x140003f2e
cmp qword [rbp - 0x10], 0x10
jb 0x140003f55
mov rcx, qword [rbp - 0x28]
jmp 0x140003f50
cmp qword [rbp - 0x10], 0x10
jb 0x140003e0e
mov rcx, qword [rbp - 0x28]
call fcn.140020ec0
jmp 0x140003e0e
cmp r10, 0x10
jb 0x140003f55
mov rcx, r9
call fcn.140020ec0
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop rdi
pop rbp
ret
Function at 0x1400045b8
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov r12, rcx
mov rcx, qword [rcx + 0x148]
mov rbx, r9
mov esi, r8d
mov rbp, rdx
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rcx, [r12 + 0x138]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [r12 + 0x160]
mov r8, rbx
mov edx, 0xff
call fcn.1400215c0
lea rcx, [r12 + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [r12 + 0x160]
lea rcx, [r12 + 0x160]
lea eax, [rax + rax + 2]
movsxd r8, eax
mov dword [r12 + 0x360], eax
call fcn.140020ee0
mov r11d, dword [r12 + 0x360]
mov rcx, qword [r12 + 0x378]
add r11d, 8
add rcx, 8
xor ebx, ebx
mov dword [r12 + 0x364], r11d
mov rax, qword [rcx]
xor r9d, r9d
movzx r8d, si
mov rdx, rbp
mov word [rsp + 0x28], bx
mov qword [rsp + 0x20], rbx
call qword [rax]
test eax, eax
je 0x1400046cc
lea rcx, [r12 + 0x140]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r12 + 0x140]
sub rax, qword [r12 + 0x138]
pxor xmm0, xmm0
pxor xmm1, xmm1
cvtsi2sd xmm0, qword [r12 + 0x130]
cvtsi2sd xmm1, rax
divsd xmm0, qword [0x14004bce0]
mov al, 1
divsd xmm1, xmm0
movsd qword [r12 + 0x128], xmm1
jmp 0x1400046ce
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x140004e2c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, dword [0x14005b1e4]
mov qword [rcx + 8], rdx
mov rsi, rdx
lea rax, vtable.CManager.0
mov rbp, rcx
mov edi, r8d
mov qword [rcx], rax
mov rax, qword [rdx]
mov rdx, rcx
mov rcx, rsi
call qword [rax + 0x18]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
and dword [rbp + 0x230], 0
lea r8, [0x14005b430]
mov qword [rbp + 0x10], rax
lea rax, vtable.CKernelManager.0
lea rcx, [0x14005be50]
mov edx, 0x208
mov qword [rbp], rax
call fcn.1400215c0
lea r8, [0x14005b1f0]
lea rcx, [0x14005c260]
mov edx, 0x208
call fcn.1400215c0
and dword [rbp + 0x238], 0
and dword [rbp + 0x234], 0
lea rcx, [0x14004a9e0]
mov dword [0x140058bac], edi
mov dword [0x140058bb4], ebx
mov qword [rbp + 0x228], rsi
mov qword [0x14005b1d8], rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.RegCreateKeyExW
mov rcx, rax
mov qword [rbp + 0x240], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x240]
lea rdx, [0x14004aa10]
mov qword [rbp + 0x248], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x240]
lea rdx, str.RegDeleteKeyW
mov qword [rbp + 0x288], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x240]
lea rdx, [0x14004aa30]
mov qword [rbp + 0x258], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x240]
lea rdx, [0x14004aa40]
mov qword [rbp + 0x260], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x240]
lea rdx, [0x14004aa58]
mov qword [rbp + 0x250], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x240]
lea rdx, str.RegEnumValueW
mov qword [rbp + 0x268], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x240]
lea rdx, str.RegEnumKeyExW
mov qword [rbp + 0x270], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x240]
lea rdx, [0x14004aa88]
mov qword [rbp + 0x278], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov qword [rbp + 0x280], rax
mov rax, rbp
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret