joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005fd60
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x14005ff08
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 0x14005fdc5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x14005fdc5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14005fdc5
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 0x14005fdfc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x14005fe52
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005fe52
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005fe52
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005fe52
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005fe52
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.14005f810
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 0x14005feb4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14003bf70
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.14005fbe0
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 0x14005ff00
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14003bf70
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140061670
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14009d080]
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 0x140061705
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 0x140061766
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14003bf70
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.140074780
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 0x140061821
sub ecx, 1
je 0x140061894
sub ecx, 1
je 0x1400617d0
cmp ecx, 1
je 0x1400617b3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400809d0]
call fcn.14003bf70
jmp 0x140061894
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400613a0
test eax, eax
je 0x140061894
jmp 0x14006173a
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 0x140061894
sub rax, rsi
cmp rax, rbp
jae 0x140061894
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14003c0f0
jmp 0x140061894
cmp r8d, 4
jle 0x140061894
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 0x140061894
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14003be90
mov esi, eax
test eax, eax
je 0x140061873
mov edx, 5
mov rcx, rbx
call fcn.140062360
mov eax, esi
jmp 0x14006173a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14004a790
mov rcx, r14
call fcn.14004aa70
test eax, eax
je 0x140061738
mov edx, 5
mov rcx, rbx
call fcn.140062360
mov eax, Ordinal_46
jmp 0x14006173a
Function at 0x140074630
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 [str.rY_a_]
mov rdi, rax
test rax, rax
jne 0x140074672
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 0x1400746b9
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 0x140074712
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 0x1400746d0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140074753
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14008614a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14008614b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140074720
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 0x14007554c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140075596
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140075596
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140075596
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140075596
cmp dword [rcx + 0x84], 0xe
jbe 0x140075596
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140075598
xor al, al
add rsp, 0x28
ret
Function at 0x14002fd60
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14002fe43
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002fe43
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14002fe61
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14002fe33
cmp word [rax], 0x5c
jne 0x14002fe2c
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x14002fe2c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14002fe17
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x14002fe29
test r8b, 0x10
jne 0x14002fe2c
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x14002fe2c
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400340f0
test edi, edi
jne 0x14002fd90
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.140031fe0
int3
Function at 0x140030640
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [rcx + 8]
mov rdx, qword [rcx + 0xa0]
mov ecx, dword [rcx + 0x98]
jmp 0x140051d80
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rdi, rdx
mov ebx, ecx
lea r14, [0x1400b09a0]
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x18], 0
mov rcx, r14
call fcn.1400565fc
test eax, eax
jne 0x140051f30
cmp dword [0x1400b09ec], 0x7fffffff
je 0x140051f3b
mov byte [rbp - 0x18], 1
lea r8, [0x1400b0960]
mov qword [rbp - 0x10], r8
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rbp + 0x21]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x22]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x23]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1400b0990]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x1400b0978]
mov rax, qword [rcx + 8]
mov rdx, qword [0x1400b0968]
cmp rax, rdx
je 0x140051e56
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x140051e58
cmp rax, rcx
je 0x140051e56
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x140051e46
jmp 0x140051e58
xor eax, eax
test rax, rax
je 0x140051ef8
cmp rax, rdx
je 0x140051ef8
lea rdx, [rbp + 0x20]
mov rcx, r8
call fcn.140053360
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], 1
mov eax, dword [rbp - 0x3c]
mov dword [rbp - 0x34], eax
mov qword [rbp - 0x30], rdi
mov ecx, 0x18
call fcn.140075254
test rax, rax
je 0x140051eab
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rax], xmm0
movsd xmm1, qword [rbp - 0x30]
movsd qword [rax + 0x10], xmm1
mov qword [rbp + 0x30], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004b6c0]
xor edx, edx
xor ecx, ecx
call sub.msvcrt.dll__beginthreadex
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140051f1e
cmp dword [rbp - 0x48], 0
je 0x140051f13
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call fcn.140056c3c
test eax, eax
jne 0x140051f13
mov rcx, r14
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop r14
pop rdi
pop rbp
jmp fcn.140056620
mov ecx, 1
call fcn.140056894
nop
mov dword [rbp - 0x48], 0
mov ecx, 6
call fcn.140056894
nop
mov ecx, 5
call fcn.140056894
int3
mov dword [0x1400b09ec], 0x7ffffffe
mov ecx, 6
call fcn.140056894
int3
Function at 0x1400351f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140035234
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140035220
ret
Function at 0x14003a2f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
movabs rbp, 0x7fffffffffffffff
movabs r14, 0x7ffffffffd050f7f
nop
mov rcx, rsi
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x14003a368
lea rcx, [rsp + 0x58]
call fcn.140037680
mov rax, qword [rsp + 0x58]
cmp rax, r14
jge 0x14003a34e
add rax, 0x2faf080
mov qword [rsp + 0x50], rax
jmp 0x14003a353
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x50]
call fcn.140021f00
inc ebx
cmp ebx, 0xa
jl 0x14003a320
xor al, al
jmp 0x14003a3d7
mov rdx, qword [rdi + 0x10]
lea rbx, [rdi + 0x10]
mov ecx, 2
lea rdx, [rdx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp qword [rdi + 0x18], 7
mov rsi, rax
jbe 0x14003a390
mov rdi, qword [rdi]
mov rcx, qword [rbx]
lea rbx, [rcx*2 + 2]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call sub.msvcrt.dll_memcpy
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rsi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14003af80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14003afb1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14003b02b
mov rdi, r14
mov rcx, rbx
call fcn.140032ae0
test rax, rax
jle 0x14003b003
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14003b01b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14003b023
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14003afc5
sub r14, rdi
jmp 0x14003b10f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14003b042
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003b044
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003b076
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14003b10c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003b0b1
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14003b0ed
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call sub.msvcrt.dll_fread
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14003b10c
cmp rbp, rax
ja 0x14003b0c0
test rbp, rbp
je 0x14003b10c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call sub.msvcrt.dll_fread
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14003c0e0
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x300
mov rax, qword [0x1400ab140]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
xor ebx, ebx
cmp qword [rcx + 0x18], 7
jbe 0x14003c107
mov rcx, qword [rcx]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x100
lea r8, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
cmovne rbx, qword [rsp + 0x30]
mov rax, rbx
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400753b0
add rsp, 0x300
pop rbx
ret

Function at 0x14003c560
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r14, rdx
mov r15, rcx
xor ebx, ebx
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
movsxd rdi, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbx
mov esi, ebx
je 0x14003c61f
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x14003c6a0
add rdi, rdi
cmp rdi, 0x1000
jb 0x14003c5ea
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14003c694
call fcn.140075254
test rax, rax
je 0x14003c69a
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14003c5fa
test rdi, rdi
je 0x14003c5fa
mov rcx, rdi
call fcn.140075254
mov rbx, rax
mov rbp, rbx
mov qword [rsp + 0x28], rbx
lea rsi, [rdi + rbx]
mov qword [rsp + 0x38], rsi
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.msvcrt.dll_memset
mov qword [rsp + 0x30], rsi
jmp 0x14003c624
mov rbp, qword [rsp + 0x28]
sub rsi, rbx
sar rsi, 1
mov r8d, esi
mov rdx, rbp
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rdx, rbp
mov rcx, r14
call fcn.140018dc0
nop
test rbx, rbx
je 0x14003c678
lea rdx, [rsi + rsi]
cmp rdx, 0x1000
jb 0x14003c670
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14003c69a
mov rbx, rcx
mov rcx, rbx
call fcn.140075290
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
call fcn.14000cff0
int3
call fcn.140079440
int3
call fcn.14000d200
int3
Function at 0x14004f0d0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400ab140]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp ebx, eax
je 0x14004f23c
lea r10, [rsp + 0x9a]
nop word [rax + rax]
sub r10, 2
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub bx, cx
add bx, 0x30
mov word [r10], bx
mov ebx, edx
test edx, edx
jne 0x14004f110
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x9a]
mov rdx, r10
lea rcx, [rsp + 0x50]
call fcn.1400140d0
nop
lea r8, [rsp + 0x50]
lea rdx, str.LUNA_VNR_HOOKMAN_
lea rcx, [rsp + 0x30]
call fcn.14004b080
mov rdi, rax
cmp qword [rax + 0x10], 0
jne 0x14004f17c
xor r8d, r8d
jmp 0x14004f189
mov r8, rdi
cmp qword [rax + 0x18], 7
jbe 0x14004f189
mov r8, qword [rax]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
mov rcx, rdi
call fcn.14000b2a0
nop
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14004f1b6
mov rcx, rbx
mov rax, qword [0x14008bcb0]
call rax
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14004f1f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f1ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f263
call fcn.140075290
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14004f240
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov r8d, 0x10
lea rdx, str.already_injected
lea rcx, [rsp + 0x50]
call fcn.140014230
lea rcx, [rsp + 0x50]
call fcn.14004ee70
xor al, al
jmp 0x14004f242
mov al, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400753b0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
call fcn.140079440
int3
Function at 0x14004fa70
Capabilities:
Create thread
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 8], ecx
push rsi
sub rsp, 0x70
mov ebx, ecx
lea rsi, [0x1400b09a0]
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x58], 0
mov rcx, rsi
call fcn.1400565fc
test eax, eax
jne 0x14004fc22
cmp dword [0x1400b09ec], 0x7fffffff
je 0x14004fc2d
mov byte [rsp + 0x58], 1
lea r8, [0x1400b0960]
mov qword [rsp + 0x60], r8
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rsp + 0x81]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0x82]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0x83]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1400b0990]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x1400b0978]
mov rax, qword [rcx + 8]
mov rdx, qword [0x1400b0968]
cmp rax, rdx
je 0x14004fb50
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x14004fb52
nop word [rax + rax]
cmp rax, rcx
je 0x14004fb50
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x14004fb40
jmp 0x14004fb52
xor eax, eax
test rax, rax
je 0x14004fbef
cmp rax, rdx
je 0x14004fbef
lea rdx, [rsp + 0x80]
mov rcx, r8
call fcn.140053360
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 5
mov ecx, 0x10
call fcn.140075254
test rax, rax
je 0x14004fb98
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004b840]
xor edx, edx
xor ecx, ecx
call sub.msvcrt.dll__beginthreadex
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14004fc0f
cmp dword [rsp + 0x38], 0
je 0x14004fc04
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140056c3c
test eax, eax
jne 0x14004fc04
mov rcx, rsi
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
jmp fcn.140056620
mov ecx, 1
call fcn.140056894
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.140056894
nop
mov ecx, 5
call fcn.140056894
int3
mov dword [0x1400b09ec], 0x7ffffffe
mov ecx, 6
call fcn.140056894
int3
Function at 0x140050ec0
Capabilities:
Hash data using fnv

Disassembly:
mov rdx, qword [rcx + 0x18]
movabs r11, 0x100000001b3
add rdx, qword [rcx + 0x10]
movabs r10, 0xcbf29ce484222325
mov r9d, dword [rcx]
mov rax, rdx
add r9, qword [rcx + 8]
shr rax, 8
movzx r8d, al
movzx eax, dl
xor rax, r10
imul rax, r11
xor r8, rax
mov rax, rdx
shr rax, 0x10
movzx ecx, al
mov rax, rdx
shr rax, 0x18
imul r8, r11
xor r8, rcx
movzx ecx, al
mov rax, rdx
shr rax, 0x20
imul r8, r11
xor r8, rcx
movzx ecx, al
mov rax, rdx
shr rax, 0x28
imul r8, r11
xor r8, rcx
movzx ecx, al
mov rax, rdx
shr rdx, 0x38
shr rax, 0x30
imul r8, r11
xor r8, rcx
movzx ecx, al
imul r8, r11
mov rax, r9
shr rax, 8
xor r8, rcx
imul r8, r11
xor r8, rdx
movzx edx, al
movzx eax, r9b
xor rax, r10
imul rax, r11
xor rdx, rax
mov rax, r9
shr rax, 0x10
movzx ecx, al
mov rax, r9
shr rax, 0x18
imul rdx, r11
xor rdx, rcx
movzx ecx, al
imul rdx, r11
mov rax, r9
shr rax, 0x20
xor rdx, rcx
movzx ecx, al
mov rax, r9
shr rax, 0x28
imul rdx, r11
xor rdx, rcx
movzx ecx, al
imul rdx, r11
mov rax, r9
shr r9, 0x38
shr rax, 0x30
xor rdx, rcx
movzx eax, al
imul rdx, r11
xor rax, rdx
imul rax, r11
xor rax, r9
add rax, r8
imul rax, r11
ret
Function at 0x1400519f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400ab140]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rdx
mov ebx, ecx
mov qword [rsp + 0x50], rdx
call fcn.14004f270
mov ecx, ebx
call fcn.14004f0d0
test al, al
je 0x140051ad6
mov dword [rsp + 0x58], ebx
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140009e20
nop
mov ecx, 0x28
call fcn.140075254
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140051a6c
mov eax, dword [rsp + 0x58]
mov dword [rbx], eax
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x60]
call fcn.140009e20
jmp 0x140051a6e
xor ebx, ebx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x14004b7b0]
xor edx, edx
xor ecx, ecx
call sub.msvcrt.dll__beginthreadex
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140051b0a
cmp dword [rsp + 0x38], 0
je 0x140051aff
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140056c3c
test eax, eax
jne 0x140051aff
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x60]
call fcn.14000b2a0
nop
mov rcx, rdi
call fcn.14000b2a0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400753b0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
mov ecx, 1
call fcn.140056894
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.140056894
int3