joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003e7e8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rsi, rdx
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r14, rax
movabs rdx, 0x100000001b3
imul r14, rdx
inc rcx
cmp rcx, 4
jb 0x18003e802
mov rax, qword [0x18006a180]
and rax, r14
add rax, rax
mov rcx, qword [0x18006a168]
mov rbx, qword [rcx + rax*8 + 8]
mov rbp, qword [0x18006a158]
cmp rbx, rbp
jne 0x18003e86d
mov rbx, rbp
mov rdi, rbp
movabs rax, 0x2e8ba2e8ba2e8ba
cmp qword [0x18006a160], rax
jne 0x18003e8ab
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x18003e87f
cmp rbx, rdx
je 0x18003e8a1
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x18003e876
mov rbp, qword [rbx]
mov rdi, rbp
mov rax, rbx
mov rbx, rbp
test rax, rax
je 0x18003e84c
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x18003ea25
mov rbp, rbx
xor eax, eax
mov rdi, rbx
jmp 0x18003e890
lea rdx, [0x18006a158]
lea rcx, [rsp + 0x30]
call fcn.18003f474
nop
mov rdx, qword [0x18006a160]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x18003e8d7
cvtsi2ss xmm0, rcx
jmp 0x18003e8ec
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x18006a188]
xorps xmm1, xmm1
test rcx, rcx
js 0x18003e902
cvtsi2ss xmm1, rcx
jmp 0x18003e917
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x18006a150]
seta al
test al, al
je 0x18003e992
call fcn.18003efa8
mov rcx, qword [rsp + 0x38]
mov rdx, qword [0x18006a180]
and rdx, r14
add rdx, rdx
mov r8, qword [0x18006a168]
mov rax, qword [r8 + rdx*8 + 8]
mov rbx, qword [0x18006a158]
cmp rax, rbx
je 0x18003e975
mov r9, qword [r8 + rdx*8]
mov edx, dword [rcx + 0x10]
jmp 0x18003e96d
mov rbx, rax
cmp rax, r9
je 0x18003e98b
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x18003e961
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rdi, rbx
mov rbp, qword [rsp + 0x20]
mov rdx, qword [0x18006a160]
jmp 0x18003e997
mov qword [rsp + 0x20], rax
jmp 0x18003e97a
mov rcx, qword [rsp + 0x38]
and qword [rsp + 0x38], 0
mov r8, qword [rbx + 8]
inc rdx
mov qword [0x18006a160], rdx
mov qword [rcx], rbp
mov qword [rcx + 8], r8
mov qword [r8], rcx
mov qword [rbx + 8], rcx
mov rax, qword [0x18006a180]
and rax, r14
add rax, rax
mov rdx, qword [0x18006a168]
mov r9, qword [rdx + rax*8]
cmp r9, qword [0x18006a158]
jne 0x18003e9e0
mov qword [rdx + rax*8], rcx
jmp 0x18003e9f2
cmp r9, rdi
jne 0x18003e9eb
mov qword [rdx + rax*8], rcx
jmp 0x18003e9f7
cmp qword [rdx + rax*8 + 8], r8
jne 0x18003e9f7
mov qword [rdx + rax*8 + 8], rcx
mov qword [rsi], rcx
mov byte [rsi + 8], 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18003ea25
add rcx, 0x18
call fcn.18003de30
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18003ea25
mov edx, 0x58
call fcn.18003f88c
mov rax, rsi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18003efa8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rcx, qword [0x18006a160]
xorps xmm0, xmm0
add rcx, 1
js 0x18003efc9
cvtsi2ss xmm0, rcx
jmp 0x18003efde
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x18006a150]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x180061058]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18003f010
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18003f010
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x18006a188]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x18003f045
cmp rdx, 0x200
jae 0x18003f042
shl rdx, 3
cmp rdx, rcx
jae 0x18003f045
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x18003f06e
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [0x18006a158]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18006a168]
lea rdx, [rdi + rdi]
call fcn.18003e2e4
mov rax, qword [0x18006a158]
lea r9, [rdi - 1]
mov qword [0x18006a180], r9
mov qword [0x18006a188], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18003f1bc
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [r8 + rax + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 4
jb 0x18003f0d6
mov rdi, qword [0x18006a168]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x18003f114
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18003f182
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x18003f157
mov r10, qword [r10]
cmp r10, rax
je 0x18003f10d
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18003f10d
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x18003f196
cmp qword [rdi + r11*8], r10
jne 0x18003f14d
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x18003f1bc
mov r9, qword [0x18006a180]
jmp 0x18003f0c6
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18003f182
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.18003f1f4
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x18003f2c8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x38], rcx
mov rbp, r8
mov r13, rdx
cmp rdx, r8
je 0x18003f398
mov rax, qword [rcx + 8]
mov rsi, rdx
mov r14, qword [rdx + 8]
movabs r15, 0xcbf29ce484222325
mov r12, qword [rcx + 0x18]
xor edx, edx
mov qword [rsp + 0x20], rax
movabs r8, 0x100000001b3
movzx eax, byte [rdx + r13 + 0x10]
inc rdx
xor r15, rax
imul r15, r8
cmp rdx, 4
jb 0x18003f322
and r15, qword [rcx + 0x30]
add r15, r15
mov rax, qword [r12 + r15*8]
mov qword [rsp + 0x30], rax
mov rax, qword [r12 + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x18]
call fcn.18003de30
mov edx, 0x58
mov rcx, rbx
call fcn.18003f88c
mov rdx, qword [rsp + 0x38]
dec qword [rdx + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x18003f3b9
cmp rsi, rbp
jne 0x18003f352
cmp qword [rsp + 0x30], r13
jne 0x18003f391
mov qword [r12 + r15*8], rsi
mov qword [r14], rsi
mov qword [rsi + 8], r14
lea r11, [rsp + 0x40]
mov rax, rbp
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp qword [rsp + 0x30], r13
jne 0x18003f3ce
mov r13, qword [rsp + 0x20]
mov qword [r12 + r15*8], r13
mov rax, r13
jmp 0x18003f3d1
mov rax, r14
mov qword [r12 + r15*8 + 8], rax
jmp 0x18003f463
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movabs r13, 0x100000001b3
movzx eax, byte [rsi + r8 + 0x10]
inc r8
xor rcx, rax
imul rcx, r13
cmp r8, 4
jb 0x18003f3f2
mov r15, qword [rdx + 0x30]
mov r13, qword [rsp + 0x20]
and r15, rcx
add r15, r15
mov rax, qword [r12 + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x18]
call fcn.18003de30
mov edx, 0x58
mov rcx, rbx
call fcn.18003f88c
mov rdx, qword [rsp + 0x38]
dec qword [rdx + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x18003f45a
cmp rsi, rbp
jne 0x18003f421
jmp 0x18003f38d
mov qword [r12 + r15*8], r13
mov qword [r12 + r15*8 + 8], r13
cmp rsi, rbp
jne 0x18003f3db
jmp 0x18003f391
Function at 0x14000d9c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1402c4d40]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, rdx
xor ebx, ebx
mov rsi, rcx
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x20]
mov rcx, rdi
lea r8d, [rbx + 4]
call fcn.14000eec0
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
call fcn.14000f060
mov r8, qword [rsp + 0x20]
mov rcx, rdi
mov rdx, qword [rsi]
call fcn.14000eec0
mov r9, qword [rsi + 0x20]
sub r9, qword [rsi + 0x18]
mov r8, qword [rsi]
cmp qword [rsi + 8], r8
je 0x14000da56
nop word [rax + rax]
xor edx, edx
mov rax, rbx
div r9
mov rax, qword [rsi + 0x18]
movzx ecx, byte [rdx + rax]
xor byte [r8 + rbx], cl
inc rbx
mov r8, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, r8
cmp rbx, rax
jb 0x14000da30
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401d4ee0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14000de80
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14000dea2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14000df1c
mov rdi, r14
mov rcx, rbx
call fcn.14000fae0
test rax, rax
jle 0x14000def4
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14020d7d0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000df0c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14000df14
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14000deb6
sub r14, rdi
jmp 0x14000dfff
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14000df33
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000df35
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000df67
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14020d7d0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000dffc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000dfa2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14000dfdd
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1401ea544
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000dffc
cmp rbp, rax
ja 0x14000dfb0
test rbp, rbp
je 0x14000dffc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1401ea544
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140011a10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140011a88
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140011a88
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140011a75
nop
cmp rbx, rcx
jae 0x140011a88
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140011a60
cmp rbx, rcx
jae 0x140011a88
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x140011a8a
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 0x140012bd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
cmp rdx, 0x10000
jae 0x140059cf7
cmp dword [rcx + 0xe8], 0
jne 0x140059cf7
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.14005bc70
mov r8d, 5
mov rdx, rdi
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140059d3b
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140059d3b
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.14005a06c
jmp 0x140059d3d
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 0x14001b400
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rsi
mov rax, qword [rcx + 8]
mov r10, rdx
mov rsi, rcx
test rax, rax
je 0x14001b53e
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rbx, qword [rcx + 0x18]
mov r9d, r8d
mov qword [rsp + 0x28], rdi
add rbx, 0x18
movzx edi, word [rax]
mov eax, r8d
sub edi, 0x18
mov r11d, edi
and edi, 7
shr r11d, 3
test r11d, r11d
je 0x14001b4e8
cmp r11d, 4
jb 0x14001b4c1
mov r8d, r11d
movq xmm3, rdx
and r8d, 0xfffffffc
punpcklqdq xmm3, xmm3
xorps xmm4, xmm4
xorps xmm2, xmm2
nop dword [rax]
mov ecx, r9d
movdqu xmm1, xmmword [rbx + rcx*8]
movdqa xmm0, xmm1
xorps xmm1, xmm3
movdqu xmmword [rbx + rcx*8], xmm1
lea ecx, [r9 + 2]
add r9d, 4
xorps xmm0, xmm4
movdqa xmm4, xmm0
movdqu xmm1, xmmword [rbx + rcx*8]
xorps xmm2, xmm1
xorps xmm1, xmm3
movdqu xmmword [rbx + rcx*8], xmm1
cmp r9d, r8d
jb 0x14001b470
xorps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 8
xorps xmm2, xmm0
movq r8, xmm2
cmp r9d, r11d
jae 0x14001b4e8
mov ecx, r9d
lea rdx, [rbx + rcx*8]
mov ecx, r11d
sub ecx, r9d
mov r9d, ecx
mov rcx, qword [rdx]
lea rdx, [rdx + 8]
xor r8, rcx
xor rcx, r10
mov qword [rdx - 8], rcx
sub r9, 1
jne 0x14001b4d1
lea r9, [rbx + r11*8]
test edi, edi
je 0x14001b52c
lea rbx, [rsp + 0x18]
mov r11d, edi
sub rbx, r9
nop dword [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
sar rax, 4
xor r8, rdx
and eax, 0xffd
movzx ecx, dl
xor cl, byte [rbx + r9 - 1]
xor rax, r10
add r8, rax
mov byte [r9 - 1], cl
sub r11, 1
jne 0x14001b500
mov rax, qword [rsi + 8]
mov rdi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
mov qword [rax + 0x10], r8
pop rsi
ret

Function at 0x14001b7e0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
cmp byte [rcx + 0x50], 0
mov rsi, rdx
mov rbp, rcx
je 0x14001b86f
test rdx, rdx
je 0x14001b86f
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
call fcn.14001b5e0
mov rcx, rsi
call fcn.14001b5a0
mov rcx, rsi
mov rdi, rax
xor ebx, ebx
call fcn.14001b5b0
movzx esi, ax
test esi, esi
je 0x14001b865
nop word [rax + rax]
mov rcx, qword [rbp + 0x48]
mov r8d, esi
sub r8d, ebx
xor r9d, r9d
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x14001b854
add ebx, eax
cdqe
add rdi, rax
jmp 0x14001b861
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x14001b865
cmp ebx, esi
jl 0x14001b830
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x140037850
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 8]
xor esi, esi
mov rbp, r8
mov ebx, esi
mov r11, qword [rax]
mov rdi, qword [rax + 8]
sub rdi, r11
sar rdi, 4
test rdi, rdi
je 0x1400378d1
mov r9d, esi
lea r10, [r11 + 8]
nop dword [rax]
cmp rdi, r9
jbe 0x14003793e
mov r8, qword [r11]
mov rax, rbp
sub r8, rbp
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400378b5
inc rax
test ecx, ecx
jne 0x1400378a2
test edx, edx
jne 0x1400378bc
mov esi, dword [r10]
inc ebx
inc r9
movsxd rax, ebx
add r11, 0x10
add r10, 0x10
cmp rax, rdi
jb 0x140037890
movzx edx, si
lea r8, str.SHADER
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140037924
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140037910
mov rax, qword [rsp + 0x58]
mov dword [rax], ecx
xor eax, eax
jmp 0x140037929
mov eax, 0x80004005
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
call fcn.140038660
int3
Function at 0x140041730
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rax, qword [rcx]
mov rdi, rcx
call qword [rax + 0x328]
lea rcx, [rdi + 0xad8]
mov dword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rdi + 0xad8]
mov byte [rdi + 0x11f8], 1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rax, [rsp + 0x40]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x140041cf0]
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x11e0], rax
test rax, rax
je 0x1400417c9
mov rcx, qword [rdi + 0x11f0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp qword [rdi + 0xb20], 0
jne 0x1400417d6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x328]
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
mov eax, 1
mov byte [rdi + 0xb00], 1
add rsp, 0x30
pop rdi
ret
Function at 0x140044be0
Capabilities:
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x60
mov eax, dword [rsp + 0x90]
mov rsi, rdx
xor ebx, ebx
mov dword [r11 + 0x28], eax
mov rdi, r8
mov qword [r11 - 0x20], rbx
mov ebp, ecx
mov qword [r11 - 0x28], rbx
mov r8d, eax
mov qword [r11 - 0x18], rbx
mov rcx, rsi
mov rdx, r9
call fcn.14020d7d0
lea r9d, [rbx + 1]
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x140044dd7
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8003
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x140044dac
mov r8d, dword [rsp + 0xa0]
xor r9d, r9d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140044d76
mov r8, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
lea r9d, [rbx + 1]
mov edx, ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x140044d67
mov eax, dword [rdi]
lea r8d, [rbx + 1]
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x30], eax
xor edx, edx
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x140044d23
mov eax, dword [rsp + 0x90]
mov ebx, 1
mov rcx, qword [rsp + 0x50]
mov dword [rdi], eax
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x140044df3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x1402266a8]
lea rcx, str.Crypt
call fcn.140044e10
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x140044df3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x1402266c0]
jmp 0x140044d83
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x1402266d0]
mov r8d, eax
lea rcx, str.Crypt
call fcn.140044e10
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x140044df3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x1402266e0]
lea rcx, str.Crypt
call fcn.140044e10
mov rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x140044df3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.CryptAcquireContext
lea rcx, str.Crypt
call fcn.140044e10
mov rbp, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140044e10
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x78], 0
call fcn.14004ed68
mov rcx, rax
test rax, rax
je 0x140044ee9
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x400
mov r8d, ebx
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rsi
lea rdx, str.__s___s:__s_n
lea rcx, [rsp + 0x40]
call fcn.1400114f0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140044ed9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov ecx, 0x80004005
call fcn.140011290
int3
Function at 0x14004b260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
xor r8b, r8b
lea rax, [rdx - 1]
mov r14, rcx
cmp rax, 0xfffe
ja 0x14004b3c7
movzx edi, dx
mov ecx, edi
call fcn.14004eb20
mov rsi, rax
test rax, rax
je 0x14004b3c4
mov edx, edi
mov r8d, 6
shr rdx, 4
mov rcx, rax
inc rdx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x14004b3c4
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14004b3c4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14004b3c4
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14004b329
nop word [rax + rax]
cmp rbx, rcx
jae 0x14004b3c4
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14004b310
cmp rbx, rcx
jae 0x14004b3c4
cmp word [rbx], 0
je 0x14004b3c4
movzx r9d, word [rbx]
lea r8, [rbx + 2]
xor ebp, ebp
xor edx, edx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
lea ecx, [rbp + 3]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
test eax, eax
js 0x14004b3e6
mov rax, qword [r14]
mov edx, 1
mov ecx, dword [rax - 0xc]
sub edx, dword [rax - 8]
sub ecx, edi
or edx, ecx
jge 0x14004b389
mov edx, edi
mov rcx, r14
call fcn.140011830
mov rax, qword [r14]
lea r8, [rbx + 2]
movzx r9d, word [rbx]
xor edx, edx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], edi
lea ecx, [rdx + 3]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rax, qword [r14]
cmp edi, dword [rax - 0xc]
jg 0x14004b3e6
mov dword [rax - 0x10], edi
mov rax, qword [r14]
mov byte [rdi + rax], bpl
mov r8b, 1
mov rbx, qword [rsp + 0x50]
movzx eax, r8b
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
mov ecx, 0x80070057
call fcn.140011290
int3