joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010d450
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x14010d574
cmp r8d, 0xff
jne 0x14010d4b1
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x14010d49b
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x14d690]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.1400e9ab0
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.1400e9ab0
cmp r8d, 0xfb
jne 0x14010d4c3
lea r9, str.WILL
jmp 0x14010d501
cmp r8d, 0xfc
jne 0x14010d4d5
lea r9, str.WONT
jmp 0x14010d501
cmp r8d, 0xfd
jne 0x14010d4e7
lea r9, [0x14014e0b4]
jmp 0x14010d501
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x14010d55d
cmp r10d, 0x27
jg 0x14010d534
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x14dcb0]
test r8, r8
jne 0x14010d544
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.1400e9ab0
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x14010d51b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.1400e9ab0
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.1400e9ab0
add rsp, 0x38
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14010d91f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400e9930
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.14010d450
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14010dad0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x14010dc78
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x14010db35
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x14010db35
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14010db35
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14010db6c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x14010dbc2
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14010dbc2
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14010dbc2
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14010dbc2
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14010dbc2
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.14010d580
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x14010dc24
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400e9930
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.14010d950
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14010dc70
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400e9930
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14010f3e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14017a080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x14010f475
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x14010f4d6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400e9930
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140123030
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x14010f591
sub ecx, 1
je 0x14010f604
sub ecx, 1
je 0x14010f540
cmp ecx, 1
je 0x14010f523
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140156998]
call fcn.1400e9930
jmp 0x14010f604
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14010f110
test eax, eax
je 0x14010f604
jmp 0x14010f4aa
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14010f604
sub rax, rsi
cmp rax, rbp
jae 0x14010f604
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400e9ab0
jmp 0x14010f604
cmp r8d, 4
jle 0x14010f604
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x14010f604
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400e9850
mov esi, eax
test eax, eax
je 0x14010f5e3
mov edx, 5
mov rcx, rbx
call fcn.1401100d0
mov eax, esi
jmp 0x14010f4aa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400f8330
mov rcx, r14
call fcn.1400f8610
test eax, eax
je 0x14010f4a8
mov edx, 5
mov rcx, rbx
call fcn.1401100d0
mov eax, Ordinal_45
jmp 0x14010f4aa
Function at 0x1401223a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [0x14017a020]
mov rdi, rax
test rax, rax
jne 0x1401223e2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140122429
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140122482
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140122440
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1401224c3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140151262]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140151263]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140122490
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14012366c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401236b6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401236b6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401236b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401236b6
cmp dword [rcx + 0x84], 0xe
jbe 0x1401236b6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401236b8
xor al, al
add rsp, 0x28
ret
Function at 0x140005490
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov edi, r8d
mov rsi, rdx
xor edx, edx
cmp ecx, 0x7b
ja 0x1400054c2
movsxd rax, ecx
lea rdx, [0x1400b5110]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x14005b1e0]
movdqu xmmword [rbp - 0x18], xmm1
mov byte [rbp - 0x28], 0
test rdx, rdx
jne 0x140005532
mov dword [rbp - 0x40], 0xd4dccafd
mov dword [rbp - 0x3c], 0xfe94c7d1
mov dword [rbp - 0x38], 0x100ced3
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx - 0x52]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xa
jb 0x140005500
mov byte [rbp - 0x35], 0
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140005522
lea rdx, [rbp - 0x40]
jmp 0x14000554a
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140005540
lea rcx, [rbp - 0x28]
call fcn.14000c250
cmp edi, 1
jne 0x1400055b9
movdqa xmm0, xmmword [0x14005b3c0]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x30], 0xda
mov byte [rbp - 0x2e], dil
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x52]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x11
jb 0x140005580
mov byte [rbp - 0x2e], 0
lea rax, [rbp - 0x40]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400055a0
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.14000c250
mov dword [rbp + 0x28], 0x42f00000
mov dword [rbp + 0x2c], 0x41a00000
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
lea rdx, [rbp + 0x28]
call fcn.140049f30
test al, al
je 0x140005604
test edi, edi
jne 0x140005604
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140005642
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000563d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000563d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057d8c
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000cad0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
xor r8d, r8d
mov dword [rbp - 0x30], 0xe4f3e4f2
mov eax, r8d
mov dword [rbp - 0x2c], 0xe4ede49e
mov dword [rbp - 0x28], 0xe4dce4fc
mov edx, 0x1b52
mov dword [rbp - 0x24], 0xe4d4e4c2
mov dword [rbp - 0x20], 0xe4c5e4e6
mov dword [rbp - 0x1c], 0xe4d3e4d7
mov dword [rbp - 0x18], 0xe4d8e4df
mov dword [rbp - 0x14], 0xe4eee4c8
mov dword [rbp - 0x10], 0xe4c7e4df
mov dword [rbp - 0xc], 0xe4af
mov byte [rbp - 8], 1
nop
movzx ecx, ax
sub cx, dx
xor word [rbp + rax*2 - 0x30], cx
inc rax
cmp rax, 0x13
jb 0x14000cb30
mov qword [rsp + 0x30], r8
lea rcx, [rbp - 0x30]
mov dword [rsp + 0x28], r8d
xor r9d, r9d
mov byte [rbp - 8], r8b
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1400b5950], rax
test rax, rax
je 0x14000cb89
cmp rax, 0xffffffffffffffff
setne al
add rsp, 0x70
pop rbp
ret
add rsp, 0x70
pop rbp
ret

Function at 0x14000cb90
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000cbf3
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rcx, rbx
test eax, eax
je 0x14000cc0f
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000cbd0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x270]
mov dword [0x1400b5958], eax
add rsp, 0x260
pop rdi
ret
Function at 0x14000cc30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.140058110
sub rsp, rax
mov eax, dword [0x1400b5958]
lea r8, [rsp + 0x48]
xor esi, esi
mov dword [rsp + 0x4c], eax
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 0xfb0]
mov ebx, edx
mov rdi, rcx
mov rcx, qword [0x1400b5950]
mov edx, 0x26ce2c
mov qword [rsp + 0x30], rsi
lea r9d, [rsi + 0x10]
mov dword [rsp + 0x28], esi
mov qword [rbp + 0xfb0], rsi
mov dword [rsp + 0x48], 0x61a5b53
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor edx, edx
lea rcx, [rbp + 0x790]
mov r8d, 0x808
call sub.VCRUNTIME140.dll_memset
mov eax, ebx
mov dword [rsp + 0x79], esi
sar eax, 0x10
mov word [rsp + 0x7d], si
mov byte [rsp + 0x7f], sil
mov dword [rsp + 0x58], 0x61a5b53
lea ecx, [rax*8 + 0x10]
mov rax, qword [rbp + 0xfb0]
add rax, 0xa818740
add rcx, rax
call fcn.140002790
mov qword [rsp + 0x38], rsi
lea r9d, [rsi + 0x28]
movzx ecx, bx
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], rsi
mov edx, 0x26cde8
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x70], 0x808
lea rax, [rax + rcx*4]
mov byte [rsp + 0x78], sil
mov rcx, qword [0x1400b5950]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x790]
mov qword [rsp + 0x68], rax
mov eax, dword [0x1400b5958]
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rcx, [rbp - 0x80]
mov r8d, 0x808
lea rdx, [rbp + 0x790]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x1400b58f8]
call fcn.1400025c0
mov qword [rbp + 0xfb0], rax
movzx r9d, si
movzx eax, word [rbp + 0x794]
shr ax, 1
cmp si, ax
jae 0x14000cdd3
nop dword [rax]
movzx ecx, r9w
lea r8, [rbp - 0x7a]
add r8, rcx
movzx ecx, r9b
and ecx, 3
inc r9w
movzx edx, byte [rbp + rcx + 0xfb0]
xor dl, byte [r8]
xor dl, al
mov byte [r8], dl
movzx eax, word [rbp - 0x7c]
shr ax, 1
cmp r9w, ax
jb 0x14000cda0
xorps xmm0, xmm0
lea rax, [rbp - 0x7a]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x18], rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x14000cdf0
lea rdx, [rbp - 0x7a]
mov rcx, rdi
call fcn.1400016c0
lea r11, [rsp + 0x10a0]
mov rax, rdi
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000ce30
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x10], rdx
push rbp
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rdi, rdx
mov rsi, rcx
xor r15d, r15d
mov edx, pe_nt_image_headers64
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000ce90
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call fcn.1400017d0
nop
mov r14, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r14
cmp rax, 0x1f
jb 0x14000cefb
lea rax, [r14 + 0x1f]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 7
cmova rbx, qword [rsp + 0x30]
lea rcx, [rbx + r14*2]
mov r8d, 0x3e
lea rdx, str.SoftwareDistributionDownload_
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + r14*2 + 0x3e], r15w
lea rax, [rsp + 0x30]
jmp 0x14000cf1c
mov qword [rsp + 0x20], 0x1f
lea r9, str.SoftwareDistributionDownload_
xor r8d, r8d
lea edx, [r8 + 0x1f]
lea rcx, [rsp + 0x30]
call fcn.140001d40
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14000cf93
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cf8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cf8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057d8c
movdqa xmm0, xmmword [0x14005b1d0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r15w
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14000cfb4
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x58]
call fcn.14000c1d0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14000d034
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d02e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d02e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057d8c
nop
mov rcx, rdi
call fcn.14000c090
mov rax, rsi
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400178a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x1400b5cb8]
xor r15d, r15d
mov ebp, ecx
mov r14d, r15d
mov rsi, qword [rdi + 0x3ea8]
test cl, 0x10
jne 0x140017a2f
mov ebx, dword [rdi + 0x3f70]
test ebx, ebx
je 0x140017917
cmp dword [rdi + 0x3ef4], ebx
jne 0x140017a28
mov eax, dword [rdi + 0x3f1c]
cmp eax, 0xffffffff
cmove eax, r15d
movsxd r15, eax
cmp byte [r15 + rdi + 0xd9c], r14b
je 0x140017a28
cmp byte [rsi + 0x9b], r14b
jmp 0x1400179d0
cmp byte [rdi + 0xd9c], r14b
je 0x140017a28
cmp byte [rsi + 0x9b], r14b
jne 0x140017a28
test byte [rdi + 0x3f78], 1
jne 0x140017954
cmp dword [rdi + 0x3ef4], r14d
je 0x140017a28
cmp qword [rdi + 0x3f10], rsi
jne 0x140017a28
test bpl, 8
je 0x140017a28
lea rdx, [rdi + 0x3f7c]
mov rcx, rsi
call fcn.14001c090
mov ebx, eax
mov dword [rdi + 0x3f70], eax
mov rax, qword [0x1400b5cb8]
cmp dword [rax + 0x3ef4], ebx
jne 0x14001798a
mov dword [rax + 0x3ef8], ebx
cmp dword [rax + 0x3f20], ebx
jne 0x140017999
mov byte [rax + 0x3f24], 1
mov edx, ebx
lea rcx, [rdi + 0x3f7c]
call fcn.14001e710
movzx r14d, al
test al, al
je 0x1400179ca
cmp byte [rdi + 0x36b0], r15b
je 0x1400179ca
mov rdx, rsi
mov ecx, ebx
call fcn.1400284a0
mov rcx, rsi
call fcn.14001b9e0
cmp dword [rdi + 0x3ef4], ebx
jne 0x140017a28
mov byte [rdi + 0x3f01], r14b
movsxd rcx, dword [rsi + 0xd0]
mov rax, qword [rsi + 0xd8]
mov r14d, dword [rax + rcx*4 - 4]
mov rax, qword [0x1400b5cb8]
movsxd rcx, r15d
cmp byte [rcx + rax + 0xd9c], 0
jne 0x140017a05
xor sil, sil
jmp 0x140017a1e
movss xmm1, dword [rax + 0x38]
movss xmm0, dword [rax + rcx*4 + 0x3708]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae sil
call fcn.140028600
test sil, sil
jne 0x140017a82
xor al, al
jmp 0x140017b22
mov r9d, 0xffffffff
lea rdx, [0x14005c7e9]
mov ebx, r9d
lea r10, [0x14005b600]
mov r8b, 0x23
nop dword [rax]
cmp r8b, 0x23
jne 0x140017a63
cmp byte [rdx], r8b
jne 0x140017a63
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x140017a50
not ebx
cmp byte [rdi + 0x424c], 0
jne 0x140017ac0
call fcn.140019100
mov dword [rdi + 0x426c], ebx
mov dword [rdi + 0x4270], r14d
mov byte [rdi + 0x424c], 1
mov dword [rdi + 0x4250], ebp
mov dword [rdi + 0x4258], r15d
cmp ebx, dword [rdi + 0x3ef4]
jne 0x140017ac0
mov byte [rdi + 0x3f02], 1
mov eax, dword [rdi + 0x3e28]
mov dword [rdi + 0x4254], eax
mov byte [rdi + 0x424d], 1
test bpl, 1
jne 0x140017b13
xor edx, edx
xor ecx, ecx
call fcn.140017ea0
cmp dword [rdi + 0x42c0], 0
je 0x140017b13
test dword [rdi + 0x42b4], 0x1000
je 0x140017b13
mov rax, qword [rdi + 0x3ea8]
mov byte [rax + 0x9b], 1
mov byte [rax + 0x9d], 1
mov byte [rax + 0xb8], 1
test bpl, 0x12
jne 0x140017b20
and dword [rdi + 0x3f78], 0xfffffffe
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret