joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002f1e
Capabilities:
Set socket configuration

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov eax, dword [rbp + 0x18]
mov dword [rbp - 8], eax
mov dword [rbp - 4], 0
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x40]
lea rdx, [rbp - 8]
mov dword [rsp + 0x20], 8
mov r9, rdx
mov r8d, 0x1006
mov edx, 0xffff
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_setsockopt]
call rax
shr eax, 0x1f
test al, al
je 0x140002f76
mov eax, 9
jmp 0x140002fb7
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x40]
lea rdx, [rbp - 8]
mov dword [rsp + 0x20], 8
mov r9, rdx
mov r8d, 0x1005
mov edx, 0xffff
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_setsockopt]
call rax
shr eax, 0x1f
test al, al
je 0x140002fb2
mov eax, 0xa
jmp 0x140002fb7
mov eax, 0
add rsp, 0x40
pop rbp
ret

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::length___const
mov dword [rbp - 0xc], eax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x40]
mov ecx, dword [rbp - 0xc]
mov rdx, qword [rbp - 8]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov dword [rbp - 0x10], eax
cmp dword [rbp - 0x10], 0xffffffff
jne 0x140003021
mov eax, 6
jmp 0x140003026
mov eax, 0
add rsp, 0x30
pop rbp
ret

Function at 0x14000302c
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov rax, qword [rbp + 0x20]
mov rcx, rax
call method.receivedataevent.receivedataevent__
lea rax, [rbp - 0xd]
mov rcx, rax
call fcn.1400036b8
lea rdx, [rbp - 0xd]
lea rax, [rbp - 0x30]
mov r8, rdx
lea rdx, [0x140008280]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 0xd]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov qword [rbp - 8], 0
mov rax, qword [rbp + 0x28]
lea rdx, [rax + 0x48]
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x40]
mov r9d, 0
mov r8d, 1
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
jne 0x1400030c3
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 7
jmp 0x1400030cf
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 8
nop
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x140003114
mov rax, qword [rbp + 0x20]
add rsp, 0x58
pop rbx
pop rbp
ret
Function at 0x1400032c5
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov dword [rbp + 0x30], r8d
mov qword [rbp + 0x38], r9
lea rdx, [rbp - 8]
mov rax, qword [rbp + 0x20]
mov r8, rdx
mov rdx, rax
mov rcx, 0xffffffff80000002
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
call rax
mov rax, qword [rbp + 0x38]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::length___const
mov ebx, eax
mov rax, qword [rbp + 0x38]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rcx, rax
mov rax, qword [rbp - 8]
mov r8d, dword [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
mov r9d, r8d
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call rax
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
nop
add rsp, 0x48
pop rbx
pop rbp
ret

Function at 0x1400039c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140003a30
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000c0d4]
mov rbx, rcx
test esi, esi
jle 0x140003b60
mov rax, qword [0x14000c0d8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140003a7b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140003b05
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140003a60
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140003b82
mov rax, qword [0x14000c0d8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000c0d8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003b67
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140003afe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140003b10
add dword [0x14000c0d4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000c0d8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140003afe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140003a88
mov rax, qword [0x14000c0d8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400040f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000c140]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000c120]
test rbx, rbx
je 0x14000414c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140004143
test rsi, rsi
je 0x140004143
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140004128
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140004360
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004378
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140004380
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140004390
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400043dd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400043d4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400043df
add rax, 0x28
cmp rax, r9
jne 0x1400043c0
xor eax, eax
ret

Function at 0x1400043e0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140004470
mov rdx, qword [0x1400086d0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000445e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000445e
cmp word [rax + 0x18], 0x20b
jne 0x14000445e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140004470
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140004449
add rbx, 0x28
cmp rbx, rdi
je 0x140004470
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140004440
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140004480
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140004500
Capabilities:
Parse pe header

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

Function at 0x140004540
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400086d0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140004560
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140004568
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140004560
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400045b0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400045a7
test rcx, rcx
je 0x140004560
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140004598
xor eax, eax
ret
Function at 0x1400045c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400086d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400045df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400045e8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140004600
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400086d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140004620
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140004628
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140004620
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140004620
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140004674
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140004680
add rdx, 0x28
cmp r9, rdx
jne 0x140004660
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140004690
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400086d0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400046b2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400046c0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400046b2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400046b2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400046b2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140004715
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140004728
add rdx, 0x28
cmp rdx, r10
jne 0x140004700
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140004737
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140004747
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000471e
test ecx, ecx
jg 0x140004730
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140007050
Capabilities:
Get file system object information

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x320
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov r15, rdx
mov r14, rcx
mov ecx, 0x88
call fcn.1402b968c
mov rsi, rax
xor ebp, ebp
test rax, rax
je 0x1400070c0
lea rax, [0x140348ca0]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x20], rbp
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x30], rbp
jmp 0x1400070c3
mov rsi, rbp
mov dword [rsp + 0x20], 0x101
mov r9d, 0x2b8
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [r15 + 0x18]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov r12, rbp
test rax, rax
cmovne r12, qword [rsp + 0x50]
mov edx, dword [r15 + 0x24]
lea rcx, [rsi + 0x18]
call fcn.1401ff260
movsxd r9, dword [r15 + 0x24]
mov eax, dword [rsi + 0x20]
inc eax
movsxd rdx, eax
mov r8, qword [r15 + 0x18]
mov rcx, qword [rsi + 0x18]
call fcn.1402bd21c
mov edx, dword [r15 + 0x24]
lea rcx, [rsi + 0x18]
call fcn.140200570
lea rdx, [r15 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1400075d0
mov rdi, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsi + 0x28]
call fcn.1401ff260
movsxd r9, dword [rdi + 0xc]
mov eax, dword [rsi + 0x30]
inc eax
movsxd rdx, eax
mov r8, qword [rdi]
mov rcx, qword [rsi + 0x28]
call fcn.1402bd21c
mov edx, dword [rdi + 0xc]
lea rcx, [rsi + 0x28]
call fcn.140200570
nop
cmp dword [rsp + 0x38], 0
jle 0x140007174
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov qword [rsi + 0x80], r12
mov dword [rsi], ebp
mov r8, rsi
lea rdx, [r15 + 0x18]
mov rcx, r14
call fcn.140007240
test al, al
je 0x1400071d1
mov rcx, qword [r14 + 0xa8]
mov rbx, qword [rcx + 0x4e0]
lea r8, [rsi + 0x3c]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14011b1e0
mov rcx, qword [rbx]
cmp qword [rsp + 0x30], rcx
je 0x140007211
mov dword [rsi], 2
lea rcx, [rsi + 8]
lea rdx, [0x14030c560]
call fcn.1401fd6c0
jmp 0x140007211
mov dword [rsi], 0xffffffff
mov edx, 2
lea rcx, [rsi + 8]
call fcn.1401ff260
mov eax, dword [rsi + 0x10]
inc eax
movsxd rdx, eax
mov r9d, 2
lea r8, [0x14030c568]
mov rcx, qword [rsi + 8]
call fcn.1402bd21c
mov edx, 2
lea rcx, [rsi + 8]
call fcn.140200570
mov rax, rsi
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1402b9610
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400075d0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov r14, rdx
mov rdi, rcx
xor r13d, r13d
mov dword [rbp - 0x38], r13d
lea rax, [0x140348ca0]
mov qword [rcx], rax
mov qword [rcx + 8], r13
mov dword [rbp - 0x38], 1
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], r13
mov qword [rbp + 0x60], r13
mov dword [rbp + 0x50], r13d
mov r15d, 0x409
mov r12d, 0x4e4
lea rdx, [rbp + 0x58]
mov rcx, qword [r14]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test eax, eax
je 0x14000774e
mov ecx, ebx
call fcn.1402b9c60
mov rsi, rax
test rax, rax
je 0x14000774e
mov r9, rax
mov r8d, ebx
mov edx, dword [rbp + 0x58]
mov rcx, qword [r14]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140007745
lea r9, [rbp + 0x50]
lea r8, [rbp + 0x60]
lea rdx, str.VarFileInfoTranslation
mov rcx, rsi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400076a6
mov rax, qword [rbp + 0x60]
test rax, rax
je 0x1400076a6
cmp dword [rbp + 0x50], r13d
je 0x1400076a6
movzx r15d, word [rax]
movzx r12d, word [rax + 2]
movzx r9d, r12w
movzx r8d, r15w
lea rax, [0x14030c5a8]
mov qword [rsp + 0x20], rax
lea rdx, str.StringFileInfo_04x_04x_s
lea rcx, [rbp - 0x18]
call fcn.1401ff700
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rbp - 0x28]
call fcn.1401ff260
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rbp - 0x20]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rbp - 0x28]
call fcn.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x28]
call fcn.140200570
nop
cmp dword [rbp - 0x10], 0
jle 0x14000770d
mov rcx, qword [rbp - 0x18]
call fcn.1402b9c20
mov qword [rbp + 0x60], r13
mov dword [rbp + 0x50], r13d
lea r9, [rbp + 0x50]
lea r8, [rbp + 0x60]
mov rdx, qword [rbp - 0x28]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140007745
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x140007745
cmp dword [rbp + 0x50], 0
je 0x140007745
mov rcx, rdi
call fcn.1401fd6c0
mov rcx, rsi
call fcn.1402b9c20
nop
cmp dword [rbp - 0x20], 0
jle 0x14000775d
mov rcx, qword [rbp - 0x28]
call fcn.1402b9c20
mov rax, rdi
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000bc50
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x28]
lea rax, vtable.HitmanPro35::AuthenticodeClassifier.0
xor esi, esi
mov rbx, rcx
mov qword [rcx], rax
test rdx, rdx
je 0x14000bcac
mov rcx, qword [rcx + 0x18]
xor r9d, r9d
mov r8d, 0x3a98
call qword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
cmp eax, 0x102
jne 0x14000bc9e
mov rcx, qword [rbx + 0x28]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x28], rsi
lea rax, vtable.HitmanPro35::SignedFilesCollection.0
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 0xd8]
mov qword [rbx + 0xa0], rax
mov r8, qword [rbx + 0xd8]
mov r9, r8
mov r8, qword [r8]
call fcn.14012ba40
mov rcx, qword [rbx + 0xd8]
call fcn.1402177e0
lea rdi, vtable.Core::Mutex.0
lea rcx, [rbx + 0xb0]
mov qword [rbx + 0xa8], rdi
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rbx + 0x90]
lea rax, vtable.Core::Queue_class_HitmanPro35::File____ptr64_.0
mov qword [rbx + 0x80], rax
test rcx, rcx
je 0x14000bd4a
nop dword [rax]
mov rax, qword [rcx]
mov qword [rbx + 0x90], rax
test rax, rax
je 0x14000bd33
mov qword [rax + 8], rsi
call fcn.1402177e0
mov rcx, qword [rbx + 0x90]
dec dword [rbx + 0x88]
test rcx, rcx
jne 0x14000bd20
mov qword [rbx + 0x90], rsi
mov qword [rbx + 0x98], rsi
lea rcx, [rbx + 0x58]
mov qword [rbx + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rbx + 0x48]
lea rsi, vtable.Core::EventWaitHandle.0
mov qword [rbx + 0x40], rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdi, vtable.Core::WaitHandle.0
mov qword [rbx + 0x40], rdi
mov rcx, qword [rbx + 0x38]
mov qword [rbx + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x30], rdi
mov rcx, qword [rbx + 0x18]
mov qword [rbx + 0x10], rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000bdc0
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, qword [rcx + 0x28]
mov rbx, rcx
test rdx, rdx
je 0x14000be0b
mov rcx, qword [rcx + 0x18]
xor r9d, r9d
mov r8d, 0x3a98
call qword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
cmp eax, 0x102
jne 0x14000bdf9
mov rcx, qword [rbx + 0x28]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x28], 0
add rsp, 0x20
pop rbx
ret
Function at 0x14001b050
Capabilities:
Encode data using xor

Disassembly:
cmp r8, 8
jb 0x14001b084
mov r9, r8
shr r9, 3
imul rax, r9, 0xfffffffffffffff8
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdx]
add rcx, 8
add rdx, 8
xor qword [rcx - 8], rax
dec r9
jne 0x14001b070
xor r9d, r9d
test r8, r8
je 0x14001b130
cmp r8, 0x20
jb 0x14001b105
lea rax, [rdx - 1]
lea r10, [rcx - 1]
add rax, r8
add r10, r8
cmp rcx, rax
ja 0x14001b0ae
cmp r10, rdx
jae 0x14001b105
mov rax, r8
mov r11, r8
mov r10, rdx
and eax, 0x1f
sub r11, rax
mov rax, rcx
sub r10, rcx
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [r10 + rax]
add r9, 0x20
lea rax, [rax + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
movdqu xmm1, xmmword [r10 + rax - 0x10]
movdqu xmm0, xmmword [rax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x10], xmm1
cmp r9, r11
jne 0x14001b0d0
cmp r9, r8
je 0x14001b130
sub rdx, rcx
lea rax, [r9 + rcx]
sub r8, r9
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rax + rdx]
lea rax, [rax + 1]
xor byte [rax - 1], cl
dec r8
jne 0x14001b120
ret

Function at 0x14001b140
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rcx
cmp r9, 8
jb 0x14001b17b
mov rcx, r9
shr rcx, 3
imul rax, rcx, 0xfffffffffffffff8
add r9, rax
nop dword [rax + rax]
mov rax, qword [rdx]
add r10, 8
add rdx, 8
xor rax, qword [r8]
add r8, 8
mov qword [r10 - 8], rax
dec rcx
jne 0x14001b160
xor ecx, ecx
test r9, r9
je 0x14001b255
cmp r9, 0x20
jb 0x14001b221
lea rax, [r8 - 1]
lea r11, [r10 - 1]
add rax, r9
add r11, r9
cmp r10, rax
ja 0x14001b1ac
cmp r11, r8
jae 0x14001b221
lea rax, [rdx - 1]
add rax, r9
cmp r10, rax
ja 0x14001b1bd
cmp r11, rdx
jae 0x14001b221
mov rax, r9
mov qword [rsp + 0x10], rbx
mov qword [rsp], rdi
and eax, 0x1f
mov rdi, r9
mov r11, r10
sub rdi, rax
mov rbx, r8
sub r11, rdx
mov rax, rdx
sub rbx, rdx
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rbx + rax]
add rcx, 0x20
lea rax, [rax + 0x20]
pxor xmm1, xmm0
movdqu xmmword [r11 + rax - 0x20], xmm1
movdqu xmm1, xmmword [rbx + rax - 0x10]
movdqu xmm0, xmmword [rax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [r11 + rax - 0x10], xmm1
cmp rcx, rdi
jne 0x14001b1e1
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp rcx, r9
je 0x14001b255
sub rdx, r8
sub r10, r8
lea rax, [rcx + r8]
sub r9, rcx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
lea rax, [rax + 1]
xor cl, byte [rax - 1]
mov byte [r10 + rax - 1], cl
dec r9
jne 0x14001b240
add rsp, 8
ret
Function at 0x1400226a0
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x140022813
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
push r15
mov rdi, qword [rcx + 8]
mov r14, rdx
mov qword [rsp + 0x18], rbx
sub r14, r8
mov r15, r9
mov r11, r8
mov rbp, rcx
mov qword [rsp + 0x20], rsi
nop dword [rax]
nop dword [rax + rax]
mov ecx, dword [r14 + r11]
mov rsi, qword [rbp + 0x28]
mov eax, ecx
rol ecx, 8
and ecx, 0xff00ff
ror eax, 8
and eax, 0xff00ff00
or eax, ecx
mov ecx, dword [r14 + r11 + 4]
mov r10d, ecx
ror r10d, 8
and r10d, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or r10d, ecx
xor ebx, ebx
nop
xor eax, dword [rbx + rsi]
add rbx, 8
mov ecx, eax
shr ecx, 0x10
movzx r8d, cl
mov ecx, eax
mov r9d, dword [rdi + r8*4 + 0x400]
shr ecx, 0x18
movzx edx, cl
mov ecx, eax
add r9d, dword [rdi + rdx*4]
shr ecx, 8
movzx edx, cl
movzx ecx, al
xor r9d, dword [rdi + rdx*4 + 0x800]
add r9d, dword [rdi + rcx*4 + 0xc00]
xor r9d, dword [rbx + rsi - 4]
xor r10d, r9d
mov ecx, r10d
shr ecx, 0x10
movzx r8d, cl
mov ecx, r10d
mov r9d, dword [rdi + r8*4 + 0x400]
shr ecx, 0x18
movzx edx, cl
mov ecx, r10d
add r9d, dword [rdi + rdx*4]
shr ecx, 8
movzx edx, cl
movzx ecx, r10b
xor r9d, dword [rdi + rdx*4 + 0x800]
add r9d, dword [rdi + rcx*4 + 0xc00]
xor eax, r9d
cmp rbx, 0x40
jne 0x140022720
xor r10d, dword [rsi + 0x44]
xor eax, dword [rsi + 0x40]
add r11, 8
mov ecx, r10d
rol r10d, 8
and r10d, 0xff00ff
ror ecx, 8
and ecx, 0xff00ff00
or ecx, r10d
mov dword [r11 - 8], ecx
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [r11 - 4], ecx
dec r15
jne 0x1400226e0
mov rsi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret