joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009b5d0
Capabilities:
Convert ip address from string
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14039bc30]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov esi, 2
mov rdi, rdx
mov rbx, rcx
mov edx, esi
mov ecx, esi
lea r8d, [rsi + 0xf]
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, qword [rbx + 0x38]
mov qword [rbx + 0x38], rax
test rcx, rcx
je 0x14009b624
cmp rcx, 0xffffffffffffffff
je 0x14009b624
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rbx + 0x38]
cmp rax, 0xffffffffffffffff
jne 0x14009b6dc
cmp word [rbx + 8], 0
jne 0x14009b6dc
lea rdx, str.127.0.0.1
mov ecx, esi
lea r8, [rsp + 0x48]
mov qword [rsp + 0x40], rdx
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jne 0x14009b698
lea ecx, [rax + 5]
call fcn.1400b2690
test eax, eax
je 0x14009b6dc
lea rax, [rsp + 0x40]
mov r9d, 0x38
mov qword [rsp + 0x28], rax
lea rax, str.Invalid_IP_Address_Format:__hs
lea r8, str.McAfee::Script::CSimpleIPv4UDPPacketSender::setServerAddr
mov qword [rsp + 0x20], rax
lea rdx, str.E:BT977b7a5a_b5a4_4c2d_972b_02c66493f006ScriptHostJavaScriptScriptablePluginsLoggingPlugin_srcSimpleIPv4UDPPacketSender.cpp
mov ecx, 5
call fcn.140029750
jmp 0x14009b6dc
cmp eax, 0xffffffff
jne 0x14009b6c2
lea ecx, [rax + 6]
call fcn.1400b2690
test eax, eax
je 0x14009b6dc
lea rax, [rsp + 0x40]
mov r9d, 0x3d
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_set_the_server_address_to__hs
jmp 0x14009b679
mov ecx, 0x202
mov word [rbx + 8], si
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbx + 0xa], ax
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0xc], eax
mov r8d, dword [rdi + 8]
lea rax, [rbx + 8]
mov rdx, qword [rdi]
lea rsi, [rdi + 8]
mov rcx, qword [rbx + 0x38]
xor r9d, r9d
mov dword [rsp + 0x28], 0x10
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x14009b757
lea ecx, [rax + 6]
call fcn.1400b2690
test eax, eax
je 0x14009b753
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov r9d, 0x4d
lea r8, str.McAfee::Script::CSimpleIPv4UDPPacketSender::sendBuffer
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.E:BT977b7a5a_b5a4_4c2d_972b_02c66493f006ScriptHostJavaScriptScriptablePluginsLoggingPlugin_srcSimpleIPv4UDPPacketSender.cpp
lea rax, str.Failed_to_send_datagram__Last_Error:_0x_08X
lea ecx, [r9 - 0x48]
mov qword [rsp + 0x20], rax
call fcn.14004a110
xor al, al
jmp 0x14009b79d
mov rbx, qword [rsi]
movsxd rdi, eax
mov qword [rsp + 0x48], rdi
cmp rdi, rbx
jae 0x14009b79b
mov ecx, 1
call fcn.1400b2690
test eax, eax
je 0x14009b79b
lea rax, [rsp + 0x40]
sub rbx, rdi
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x40], rbx
call fcn.14009b7c0
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14013af80
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14009c010
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rcx
cmp qword [rcx + 0x10], rbx
je 0x14009c0f0
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14009c0f0
test rdx, rdx
je 0x14009c0d8
test r8, r8
je 0x14009c0e1
xor r9d, r9d
call sub.bcrypt.dll_BCryptHashData
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x30]
lea rax, vtable.McCryptoLib::CWinError.0
mov qword [rsp + 0x30], rax
mov rax, qword [0x140332720]
call qword [case.0x1400c6d28.0]
test eax, eax
je 0x14009c0e8
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov rax, qword [rax + 8]
call qword [case.0x1400c6d28.0]
mov ecx, eax
call fcn.140053740
mov qword [rsp + 0x28], rax
lea r8, str.E:BT6fe319c2_d716_427d_b487_43780f257bfaCoreTechMcCryptoLib_srcwindowswin_hmac.cpp
lea rax, str.McCryptoLib::CMcCryptoHMACWin::AddToHash
mov r9d, 0x99
lea rdx, str.__S:__d____S___s:_Error_trying_to_encrypt_data
mov qword [rsp + 0x20], rax
mov ecx, 2
call fcn.140053828
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov rax, qword [rax + 8]
call qword [case.0x1400c6d28.0]
mov ebx, eax
jmp 0x14009c0ec
test r8, r8
je 0x14009c048
mov eax, 0x8000000a
jmp 0x14009c0f5
mov byte [rdi + 8], 1
mov eax, ebx
jmp 0x14009c0f5
mov eax, 0x8000000d
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14009d200
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 8], 0
mov rax, rdx
mov rbx, rcx
je 0x14009d21b
xor al, al
add rsp, 0x30
pop rbx
ret
mov dword [rsp + 0x20], r8d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
test rax, rax
mov qword [rbx + 8], rax
setne al
add rsp, 0x30
pop rbx
ret

Function at 0x14009d430
Capabilities:
Prepare http request

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14009d47e
cmp qword [rbx + 0x18], 0
jne 0x14009d47e
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
test rax, rax
mov qword [rbx + 0x18], rax
setne al
add rsp, 0x40
pop rbx
ret
xor al, al
add rsp, 0x40
pop rbx
ret

Function at 0x14009d490
Capabilities:
Set http header

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x14009d4a4
xor al, al
add rsp, 0x28
ret
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp eax, 1
sete al
add rsp, 0x28
ret

Function at 0x14009d510
Capabilities:
Receive http response

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x14009d524
xor al, al
add rsp, 0x28
ret
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
cmp eax, 1
sete al
add rsp, 0x28
ret
Function at 0x14009d540
Capabilities:
Read http header

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x14009d554
xor al, al
add rsp, 0x38
ret
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8, rdx
mov edx, 0xffff
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp eax, 1
sete al
add rsp, 0x38
ret

Function at 0x14009d580
Capabilities:
Read http header

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14009d5ba
test rdx, rdx
je 0x14009d5ba
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea edx, [r9 + 0x16]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
sete al
add rsp, 0x38
ret
xor al, al
add rsp, 0x38
ret

Function at 0x14009d5d0
Capabilities:
Read http header

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14039bc30]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [rcx + 0x18]
mov dword [rsp + 0x30], r8d
test rcx, rcx
je 0x14009d636
test rdx, rdx
je 0x14009d636
test r8d, r8d
je 0x14009d636
xor r8d, r8d
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov r9, rdx
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x16]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp eax, 1
sete al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14013af80
add rsp, 0x48
ret
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14013af80
add rsp, 0x48
ret

Function at 0x14009d650
Capabilities:
Read http header

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x14039bc30]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, qword [rcx + 0x18]
test rbx, rbx
je 0x14009d6c6
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x100
call fcn.14013d7a0
xor r8d, r8d
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0xff
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea edx, [r8 + 0x13]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x14009d6c6
lea rcx, [rsp + 0x40]
call fcn.140152220
jmp 0x14009d6c8
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14013af80
add rsp, 0x150
pop rbx
ret

Function at 0x14009d720
Capabilities:
Read http header

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xd0
mov rax, qword [0x14039bc30]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rcx, qword [rcx + 0x18]
mov rbx, rdx
test rcx, rcx
je 0x14009d7ba
test rdx, rdx
je 0x14009d7ba
xorps xmm0, xmm0
mov qword [rsp + 0x28], 0
movups xmmword [rsp + 0x40], xmm0
xor r8d, r8d
lea rax, [rsp + 0x30]
movups xmmword [rsp + 0x50], xmm0
lea r9, [rsp + 0x40]
mov dword [rsp + 0x30], 0x7f
movups xmmword [rsp + 0x60], xmm0
lea edx, [r8 + 5]
mov qword [rsp + 0x20], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
movups xmmword [r11 - 0x38], xmm0
movups xmmword [r11 - 0x28], xmm0
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x14009d7ba
lea rcx, [rsp + 0x40]
call fcn.140152220
mov dword [rbx], eax
mov al, 1
jmp 0x14009d7bc
xor al, al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14013af80
add rsp, 0xd0
pop rbx
ret
Function at 0x14009d7e0
Capabilities:
Receive http response

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x14009d7f4
xor al, al
add rsp, 0x28
ret
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
cmp eax, 1
sete al
add rsp, 0x28
ret
Function at 0x14009f290
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14039bc30]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, r8
mov rsi, rcx
cmp qword [rdx + 0x10], 0
jne 0x14009f2f5
mov ecx, 5
call fcn.1400b2690
test eax, eax
je 0x14009f3c9
lea rax, str.Invalid__empty__parameter:_ignored
mov qword [rsp + 0x20], rax
mov r9d, 0x147
lea r8, str.Intel::Analytics::CRESTfulSender::SetParameter
lea rdx, str.E:BT00963e81_18e2_43e3_9fe0_5ac3a01b920eClientAnalyticsSDK_srcRESTfulSenderRESTfulSender.cpp
mov ecx, 5
call fcn.1400297c0
jmp 0x14009f3c9
lea rcx, [rsp + 0x40]
call fcn.14005ad90
nop
cmp qword [rbx + 0x10], 0
jne 0x14009f389
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
movabs r9, 0xcbf29ce484222325
mov rax, qword [rsp + 0x50]
lea r8, [rax + rax]
xor ecx, ecx
test r8, r8
je 0x14009f353
movabs r10, 0x100000001b3
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14009f340
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x10]
call fcn.140043100
mov r8, qword [rax + 8]
test r8, r8
jne 0x14009f373
mov r8, qword [rsi + 0x18]
cmp qword [rsi + 0x18], r8
je 0x14009f3bf
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x10]
call fcn.14005a570
jmp 0x14009f3bf
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x10]
call fcn.14004ba90
mov rcx, qword [rax]
add rcx, 0x30
cmp rcx, rbx
je 0x14009f3bf
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14009f3b6
mov rbx, qword [rbx]
mov rdx, rbx
call fcn.140032810
nop
lea rcx, [rsp + 0x40]
call fcn.140033a90
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14013af80
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400a1990
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], rdx
mov rbx, rdx
cmp qword [r8 + 0x18], 8
mov rsi, rcx
mov r10, qword [r8 + 0x10]
mov rdx, r8
jb 0x1400a19b8
mov rdx, qword [r8]
xor ebp, ebp
movabs r9, 0xcbf29ce484222325
mov ecx, ebp
add r10, r10
je 0x1400a19f3
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r11
cmp rcx, r10
jb 0x1400a19e0
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 8]
call fcn.140043100
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x1400a1a0e
mov rdx, qword [rsi + 0x10]
cmp rdx, qword [rsi + 0x10]
je 0x1400a1a30
add rdx, 0x30
mov rcx, rbx
call fcn.1400339b0
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov qword [rbx], rbp
mov rax, rbx
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400a1a60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 8
mov rbx, rdx
mov r10, qword [r8 + 0x10]
mov rdx, r8
mov rsi, rcx
jb 0x1400a1a7f
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
add r10, r10
je 0x1400a1ab3
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r11
cmp rcx, r10
jb 0x1400a1aa0
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0x48]
call fcn.140043100
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x1400a1ace
mov rdx, qword [rsi + 0x50]
mov rax, qword [rsi + 0x50]
mov qword [rbx], 0
mov qword [rbx + 8], 0
cmp rdx, rax
je 0x1400a1b02
mov rax, qword [rdx + 0x38]
test rax, rax
je 0x1400a1af3
lock inc dword [rax + 8]
mov rcx, qword [rdx + 0x30]
mov qword [rbx], rcx
mov rcx, qword [rdx + 0x38]
mov qword [rbx + 8], rcx
mov rax, rbx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400a2db0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x14039bc30]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, r8
mov rsi, rdx
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 7
mov r8d, 0x18
lea rdx, str.__record.created.seconds
lea rcx, [rsp + 0x60]
call fcn.140032810
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
movabs r9, 0xcbf29ce484222325
mov rax, qword [rsp + 0x70]
lea r8, [rax + rax]
xor ecx, ecx
test r8, r8
je 0x1400a2e63
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400a2e50
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x88]
mov rcx, rdi
call fcn.140043100
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x1400a2e85
mov rbx, qword [rdi + 8]
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x60]
call fcn.140033a90
cmp rbx, qword [rdi + 8]
je 0x1400a2f06
cmp qword [rbx + 0x40], 0
je 0x1400a2f06
call fcn.1401484c0
mov rdi, rax
add rbx, 0x30
cmp qword [rbx + 0x18], 8
jb 0x1400a2eb7
mov rbx, qword [rbx]
mov dword [rax], 0
mov r8d, 0xa
lea rdx, [rsp + 0x98]
mov rcx, rbx
call fcn.140149aec
cmp rbx, qword [rsp + 0x98]
je 0x1400a2f80
cmp dword [rdi], 0x22
je 0x1400a2f8c
imul rcx, rax, 0x3b9aca00
mov qword [rsi], rcx
mov rax, rsi
jmp 0x1400a2f5b
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140089320
call fcn.14011ba34
mov rbx, rax
call fcn.14011b934
mov rdi, rax
call fcn.14011b918
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
imul rdx, rcx, 0x3b9aca00
add rdx, rax
mov rax, qword [rsp + 0x50]
sub rax, rbx
imul rcx, rax, 0x64
add rcx, rdx
mov qword [rsi], rcx
mov rax, rsi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14013af80
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rcx, str.invalid_stoull_argument
call fcn.140113790
lea rcx, str.stoull_argument_out_of_range
call fcn.1401137d8
int3
Function at 0x1400aa090
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x14039bc30]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov ecx, 0x80
call fcn.14013afa8
mov rbx, rax
mov qword [rsp + 0x88], rax
xor esi, esi
mov dword [rax + 8], esi
lea rax, vtable.contextsubscriber.0
mov qword [rbx], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x10], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x20], xmm1
lea rcx, [rbx + 0x30]
lea edx, [rsi + 2]
call fcn.14011580c
lea rcx, [rsp + 0x30]
call fcn.140033a90
nop
mov eax, 9
mov word [rdi], ax
mov qword [rdi + 8], rbx
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400c6d28.0]
nop
lea rcx, [rdi + 0x18]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea rbx, [rdi + 0x30]
mov qword [rsp + 0x88], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
je 0x1400aa24b
mov qword [rbx + 8], rax
lea rbx, [rdi + 0x40]
mov qword [rsp + 0x88], rbx
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
je 0x1400aa208
mov qword [rbx + 8], rax
mov byte [rdi + 0x50], sil
lea ecx, [rsi + 8]
call fcn.14013afa8
mov qword [rax], rdi
mov qword [rsp + 0x88], rax
lea rbx, [rdi + 0x60]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1400aa2a0]
xor edx, edx
xor ecx, ecx
call fcn.1401552a8
mov qword [rdi + 0x58], rax
test rax, rax
je 0x1400aa23e
mov rax, rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14013af80
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ebx, eax
call fcn.1400337f0
mov r8, rax
lea r9, str.Failed_to_create_event
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1400aa4a0
lea rdx, [0x140396998]
lea rcx, [rsp + 0x60]
call fcn.14013d01c
nop
mov dword [rbx], esi
mov ecx, 6
call fcn.140115bb0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400337f0
mov r8, rax
lea r9, str.Failed_to_create_event
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1400aa4a0
lea rdx, [0x140396998]
lea rcx, [rsp + 0x30]
call fcn.14013d01c
int3
Function at 0x1400afad0
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rcx
cmp qword [rcx + 0x10], rbx
je 0x1400afba4
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x1400afba4
test rdx, rdx
je 0x1400afb34
test r8, r8
je 0x1400afb39
xor r9d, r9d
call sub.bcrypt.dll_BCryptHashData
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x30]
lea rax, vtable.McCryptoLib::CWinError.0
mov qword [rsp + 0x30], rax
mov rax, qword [0x140332720]
call qword [case.0x1400c6d28.0]
test eax, eax
jne 0x1400afb40
mov byte [rdi + 8], 1
jmp 0x1400afba0
test r8, r8
je 0x1400afb00
mov eax, 0x8000000a
jmp 0x1400afba9
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov rax, qword [rax + 8]
call qword [case.0x1400c6d28.0]
mov ecx, eax
call fcn.140053740
mov qword [rsp + 0x28], rax
lea r8, str.E:BT6fe319c2_d716_427d_b487_43780f257bfaCoreTechMcCryptoLib_srcwindowswin_hash.cpp
lea rax, str.McCryptoLib::CMcCryptoHashWin::AddToHash
mov r9d, 0x90
lea rdx, str.__S:__d____S___s:_Error_trying_to_add_data_for_hashing
mov qword [rsp + 0x20], rax
mov ecx, 2
call fcn.140053828
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov rax, qword [rax + 8]
call qword [case.0x1400c6d28.0]
mov ebx, eax
mov eax, ebx
jmp 0x1400afba9
mov eax, 0x8000000d
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400b2c40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14039bc30]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
mov eax, r8d
mov edi, r8d
xor edi, 8
and al, 8
cmove edi, r8d
test rcx, rcx
jne 0x1400b2c79
xor eax, eax
jmp 0x1400b2d43
xor ebp, ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1402ed040]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rbx
test eax, eax
jns 0x1400b2cab
mov edi, ebp
jmp 0x1400b2d32
mov r9, rsi
mov r8, rbx
lea rdx, [0x1402ecf78]
lea rcx, [rsp + 0x30]
call fcn.14005a410
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov r8d, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400b2d1f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b2d1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b2d60
call fcn.14013afa0
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], bp
test rbx, rbx
je 0x1400b2d40
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14013af80
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
call fcn.1401421d8
nop
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400b2c40
Function at 0x1400b2d70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14039bc30]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
mov eax, r8d
mov edi, r8d
xor edi, 8
and al, 8
cmove edi, r8d
test rcx, rcx
jne 0x1400b2c79
xor eax, eax
jmp 0x1400b2d43
xor ebp, ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1402ed040]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rbx
test eax, eax
jns 0x1400b2cab
mov edi, ebp
jmp 0x1400b2d32
mov r9, rsi
mov r8, rbx
lea rdx, [0x1402ecf78]
lea rcx, [rsp + 0x30]
call fcn.14005a410
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov r8d, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400b2d1f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b2d1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b2d60
call fcn.14013afa0
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], bp
test rbx, rbx
je 0x1400b2d40
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14013af80
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
call fcn.1401421d8
nop
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400b2c40

Function at 0x1400b4010
Capabilities:
Get file version info

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x20
cmp byte [rcx + 0x20], 0
mov rdi, rdx
mov rbp, rcx
jne 0x1400b40eb
cmp qword [rdx + 0x18], 8
mov rcx, rdx
mov dword [rsp + 0x50], 0
jb 0x1400b403e
mov rcx, qword [rdx]
lea rdx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r14d, eax
test eax, eax
je 0x1400b40eb
mov r9, qword [rbp + 0x10]
mov ecx, r14d
mov r8, qword [rbp + 8]
mov rdx, r9
sub rdx, r8
mov qword [rsp + 0x58], rsi
cmp r14, rdx
jae 0x1400b4078
lea rax, [r8 + r14]
mov qword [rbp + 0x10], rax
jmp 0x1400b40b9
jbe 0x1400b40b9
mov rax, qword [rbp + 0x18]
sub rax, r8
cmp rcx, rax
jbe 0x1400b4099
mov rdx, rcx
lea r8, [rsp + 0x40]
lea rcx, [rbp + 8]
call fcn.1400533fc
jmp 0x1400b40b9
sub rcx, rdx
mov qword [rsp + 0x48], rbx
lea rbx, [rcx + r9]
mov rcx, r9
mov rdx, rbx
call fcn.140053670
mov qword [rbp + 0x10], rbx
mov rbx, qword [rsp + 0x48]
cmp qword [rdi + 0x18], 8
jb 0x1400b40c3
mov rdi, qword [rdi]
mov r9, qword [rbp + 8]
mov r8d, r14d
xor edx, edx
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoW
mov rsi, qword [rsp + 0x58]
cmp eax, 1
sete al
mov byte [rbp + 0x20], al
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
xor al, al
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret