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

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x1400598a4
cmp r8d, 0xff
jne 0x1400597e1
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x1400597cb
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x7cca0]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.1400352b0
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.1400352b0
cmp r8d, 0xfb
jne 0x1400597f3
lea r9, str.WILL
jmp 0x140059831
cmp r8d, 0xfc
jne 0x140059805
lea r9, str.WONT
jmp 0x140059831
cmp r8d, 0xfd
jne 0x140059817
lea r9, [0x14007d6c4]
jmp 0x140059831
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x14005988d
cmp r10d, 0x27
jg 0x140059864
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x7d2c0]
test r8, r8
jne 0x140059874
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.1400352b0
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x14005984b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.1400352b0
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.1400352b0
add rsp, 0x38
ret

Function at 0x140059bf0
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 0x140059c4f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140035130
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.140059780
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140059e00
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x140059fa8
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 0x140059e65
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x140059e65
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x140059e65
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 0x140059e9c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x140059ef2
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140059ef2
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140059ef2
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140059ef2
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140059ef2
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.1400598b0
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 0x140059f54
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140035130
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.140059c80
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 0x140059fa0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140035130
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14005b710
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14008e1c0]
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 0x14005b7a5
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 0x14005b806
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140035130
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.14006ea60
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 0x14005b8c1
sub ecx, 1
je 0x14005b934
sub ecx, 1
je 0x14005b870
cmp ecx, 1
je 0x14005b853
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14007b120]
call fcn.140035130
jmp 0x14005b934
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14005b440
test eax, eax
je 0x14005b934
jmp 0x14005b7da
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 0x14005b934
sub rax, rsi
cmp rax, rbp
jae 0x14005b934
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400352b0
jmp 0x14005b934
cmp r8d, 4
jle 0x14005b934
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 0x14005b934
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140035050
mov esi, eax
test eax, eax
je 0x14005b913
mov edx, 5
mov rcx, rbx
call fcn.14005c400
mov eax, esi
jmp 0x14005b7da
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140044660
mov rcx, r14
call fcn.140044940
test eax, eax
je 0x14005b7d8
mov edx, 5
mov rcx, rbx
call fcn.14005c400
mov eax, Ordinal_46
jmp 0x14005b7da
Function at 0x14006e810
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 [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14006e852
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 0x14006e899
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 0x14006e8f2
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 0x14006e8b0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14006e933
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14008093a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14008093b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14006e900
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 0x14006f8d8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006f922
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006f922
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006f922
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006f922
cmp dword [rcx + 0x84], 0xe
jbe 0x14006f922
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006f924
xor al, al
add rsp, 0x28
ret

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x1400057b0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x1400057e0
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x1400057df
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x1400057e5
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x1400057df
mov eax, 0
jmp 0x1400057df

Function at 0x140005e60
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140005e10
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140010050
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1409be3f0]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x1400100bf
mov rcx, r9
call fcn.14000ff20
test eax, eax
je 0x1400100bf
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x1400100bd
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1400100b4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400100bf
add rdx, 0x28
cmp rdx, r9
jne 0x1400100a0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0xaab058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00aab1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0xaab089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xaab06f
add dl, dl
jne 0xaab096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xaab0f6
xor eax, eax
add dl, dl
jne 0xaab0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xaab1ad
add dl, dl
jne 0xaab0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaab0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaab0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaab0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0xaab0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0xaab07e
mov eax, 1
add dl, dl
jne 0xaab106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xaab113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xaab0fb
sub eax, ebx
mov ebx, 1
jne 0xaab14c
mov ecx, 1
add dl, dl
jne 0xaab12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xaab13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xaab123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xaab07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xaab168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xaab175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xaab15d
cmp eax, 0x7d00
jae 0xaab19b
cmp eax, 0x500
jb 0xaab196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xaab07e
cmp eax, 0x7f
ja 0xaab19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xaab07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0xaab1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0xaab07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140723390
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140723517
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407233c1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407233a7
add dl, dl
jne 0x1407233ce
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14072342e
xor eax, eax
add dl, dl
jne 0x1407233dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407234e5
add dl, dl
jne 0x1407233ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407233fb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140723408
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140723415
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140723422
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407233b6
mov eax, 1
add dl, dl
jne 0x14072343e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14072344b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140723433
sub eax, ebx
mov ebx, 1
jne 0x140723484
mov ecx, 1
add dl, dl
jne 0x140723466
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140723473
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14072345b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407233b6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407234a0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407234ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140723495
cmp eax, 0x7d00
jae 0x1407234d3
cmp eax, 0x500
jb 0x1407234ce
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407233b6
cmp eax, 0x7f
ja 0x1407234d6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407233b6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14072350a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1407233b6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003f4c
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140003b5c
add rsp, 0x28
jmp 0x140003f70
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x14001d938], rdi
jne 0x140008848
mov eax, dword [0x14001d930]
cmp eax, 1
je 0x140008868
mov eax, dword [0x14001d930]
cmp eax, ebx
jne 0x14000887f
mov dword [0x14001d930], 1
lea r13, [0x140014218]
lea rdi, [0x140014200]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x14000401c
cmp eax, ebx
jne 0x14000401c
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x140004011
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x140003ffa
cmp eax, ebx
jne 0x140008875
mov eax, dword [0x14001d930]
cmp eax, 1
jne 0x14000404c
lea rdx, [0x1400141f8]
lea rcx, [0x1400141c0]
call 0x140144000
mov dword [0x14001d930], 2
cmp r12d, ebx
jne 0x14000405b
mov rax, rbx
xchg qword [0x14001d938], rax
cmp qword [0x14001d950], rbx
jne 0x14000888e
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
je 0x1400088b7
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
jbe 0x14000409f
cmp word [rcx], 0x22
je 0x140008912
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140004084
cmp word [rcx], bx
jne 0x1400088c1
cmp word [rcx], bx
jne 0x1400088ce
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400040e8
nop
jmp 0x1400088e6
cmp rax, rdi
jne 0x140008858
mov r12d, 1
jmp 0x140003fba
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003fa9
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x140004024
mov eax, 0xff
jmp 0x140008951
mov dword [0x14001db2c], 1
jmp 0x140004024
lea rcx, [0x14001d950]
call fcn.140011e1c
cmp eax, ebx
je 0x140004068
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x14001d950]
nop
jmp 0x140004068
mov eax, 0xff
jmp 0x140008951
cmp edx, ebx
je 0x1400040a8
jmp 0x14000408a
cmp word [rcx], 0x20
ja 0x1400040b1
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400040a8
mov dword [0x14001db28], eax
cmp dword [0x14001d30c], ebx
jne 0x1400088fc
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14001db2c], ebx
jne 0x140008910
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14001db28]
jmp 0x140008951
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
jmp 0x140004094
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
Function at 0x140001870
Capabilities:
Get file version info

Disassembly:
push rbx
push rdi
mov eax, 0x2048
call fcn.14007ecb0
sub rsp, rax
mov rax, qword [0x1400b1010]
xor rax, rsp
mov qword [rsp + 0x2030], rax
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x1400018a7
xor eax, eax
mov qword [rcx], rax
jmp 0x1400019aa
mov qword [rsp + 0x2070], rbp
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x2040], rsi
mov rcx, rdi
xor esi, esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x2c], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebp, eax
mov qword [rbx], rsi
test eax, eax
je 0x140001961
mov ecx, ebp
call fcn.14002c21c
mov edx, dword [rsp + 0x28]
mov r9, rax
mov r8d, ebp
mov rcx, rdi
mov rsi, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140001953
lea r9, [rsp + 0x2c]
mov rcx, rsi
lea r8, [rsp + 0x20]
lea rdx, [0x14009af60]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140001953
cmp dword [rsp + 0x2c], 0
je 0x140001953
mov rcx, qword [rsp + 0x20]
cmp dword [rcx], 0xfeef04bd
jne 0x140001953
movzx eax, word [rcx + 0xa]
mov word [rbx], ax
movzx eax, word [rcx + 8]
mov word [rbx + 2], ax
movzx eax, word [rcx + 0xe]
mov word [rbx + 4], ax
movzx eax, word [rcx + 0xc]
mov word [rbx + 6], ax
mov rcx, rsi
call fcn.14002bcc0
cmp word [rbx], 0
jne 0x140001998
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, rdi
lea rdx, str.Failed_to_access__s_module_to_read_its_version__with_error_code:__i
mov r9d, eax
lea rcx, [rsp + 0x30]
call fcn.14001f060
mov r9d, 0x30
lea r8, str.Sound_Research_Error
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rsi, qword [rsp + 0x2040]
mov al, 1
mov rbp, qword [rsp + 0x2070]
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.14002bca0
add rsp, 0x2048
pop rdi
pop rbx
ret
Function at 0x1400019d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
lea rax, [0x14009ea78]
mov qword [rcx], rax
lea rax, vtable.IAddReleaseRef.0
mov qword [rcx + 0x60], rax
lea rax, vtable.IWeakRefCtrlBlockProvider.0
mov qword [rcx + 0x70], rax
mov dword [rsp + 0x30], 3
call fcn.1400221c0
nop
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
lea rax, vtable.CEventMonitor.1.0
mov qword [rcx + rdi], rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 8]
lea rax, vtable.CEventMonitor.0
mov qword [rcx + rdi], rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x60]
mov dword [rcx + rdi - 4], edx
mov rax, qword [rdi]
movsxd rcx, dword [rax + 8]
lea edx, [rcx - 0x70]
mov dword [rcx + rdi - 4], edx
mov rdx, qword [rbx]
mov qword [rdi + 0x20], rdx
test rdx, rdx
je 0x140001a84
mov rax, qword [rdx + 8]
movsxd rcx, dword [rax + 4]
add rdx, 8
add rcx, rdx
mov rax, qword [rcx]
call qword [rax]
nop
mov qword [rdi + 0x28], r14
lea rbx, [rdi + 0x30]
mov qword [rsp + 0x40], rbx
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov ecx, 0x38
call fcn.14002bcc8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [rdi + 0x40], r14
mov qword [rdi + 0x48], r14
mov qword [rdi + 0x50], r14
mov qword [rsp + 0x40], r14
mov ecx, 0x30
call fcn.14002bcc8
mov rbx, rax
mov qword [rsp + 0x48], rax
mov dword [rax + 0x28], 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov rbp, qword [rdi + 0x28]
mov qword [rdi + 0x28], rbx
lock inc dword [rbx + 0x28]
mov esi, 0xffffffff
test rbp, rbp
je 0x140001b21
mov eax, esi
lock xadd dword [rbp + 0x28], eax
cmp eax, 1
jne 0x140001b21
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea edx, [rsi + 0x31]
mov rcx, rbp
call fcn.14002bcc0
nop
lock xadd dword [rbx + 0x28], esi
cmp esi, 1
jne 0x140001b3f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea edx, [rsi + 0x2f]
mov rcx, rbx
call fcn.14002bcc0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x48], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x50], rax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
mov r9, rdi
lea r8, [0x140001d40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x40], rax
mov rax, rdi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret