joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140029240
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
xor ebx, ebx
lea rax, [rsp + 0x38]
mov dword [r8], ebx
mov rsi, r8
mov rbp, rdx
mov qword [rsp + 0x38], rbx
mov rdi, rcx
mov qword [rsp + 0x40], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, str.SoftwareBugSplat
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002934b
test rdi, rdi
je 0x1400292da
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rdi + rax*2], bx
jne 0x1400292a0
test rax, rax
je 0x1400292da
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002934b
mov rcx, qword [rsp + 0x40]
jmp 0x1400292e4
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x88]
mov dword [rsp + 0x80], ebx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x80]
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140029328
mov eax, dword [rsp + 0x80]
mov ebx, 1
mov dword [rsi], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp rax, rcx
je 0x140029345
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140029360
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rbx, rcx
mov rsi, r8
mov rcx, r8
mov rbp, rdx
xor edi, edi
call fcn.140002140
lea rax, [rsp + 0x38]
mov qword [rsp + 0x38], rdi
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x40], rdi
lea rdx, str.SoftwareBugSplat
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140029493
test rbx, rbx
je 0x140029408
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rbx + rcx*2], di
jne 0x1400293d0
test rcx, rcx
je 0x140029408
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140029412
jmp 0x140029493
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov ecx, 0x1388
mov dword [rsp + 0x30], 1
call fcn.14005f8e4
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov rbx, rax
mov dword [rsp + 0x78], 0x1388
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140029468
mov rdx, rbx
mov rcx, rsi
call fcn.140027480
mov edi, 1
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp rax, rcx
je 0x140029485
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call fcn.14005f1b8
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1400294b0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x70
xor ebp, ebp
lea rax, [r11 - 0x18]
mov rbx, r8
mov qword [r11 - 0x18], rbp
mov rsi, rdx
mov qword [r11 - 0x28], rbp
mov rdi, rcx
mov qword [r11 - 0x20], rbp
xor r8d, r8d
mov qword [r11 - 0x58], rax
lea rdx, str.Software
mov rcx, 0xffffffff80000001
mov r9d, 0x2001f
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140029617
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.BugSplat
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140029579
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x40], rax
lea rdx, str.BugSplat
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140029617
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400295de
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rdx, rdi
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140029617
mov rax, 0xffffffffffffffff
cmp word [rbx + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x1400295e5
mov rcx, qword [rsp + 0x58]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140029627
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140029637
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140029647
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14003c140
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x670
mov rax, qword [0x14010d268]
xor rax, rsp
mov qword [rsp + 0x660], rax
mov rdi, rcx
xor ecx, ecx
mov rax, rdi
cmp qword [rdi + 0x18], 8
mov qword [rdi + 0x10], rcx
jb 0x14003c171
mov rax, qword [rdi]
mov word [rax], cx
xor edx, edx
lea rcx, [rsp + 0x250]
mov r8d, CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea rax, [rsp + 0x250]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x14003c1b3
xor al, al
jmp 0x14003c2c4
lea rdx, str.Nitro
mov qword [rsp + 0x688], rbx
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [0x1400ce250]
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [0x1400ce258]
lea rcx, [rsp + 0x250]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rbx, 0xffffffffffffffff
lea rax, [rsp + 0x250]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14003c210
lea rdx, [rsp + 0x250]
mov rcx, rdi
call fcn.1400143b0
cmp qword [rdi + 0x18], 8
mov rax, rdi
jb 0x14003c238
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.14003bd80
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x14003c27a
mov rcx, qword [rdi]
mov r8d, 0x104
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
dec eax
cmp eax, 0x102
ja 0x14003c2ba
lea rax, [rsp + 0x40]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14003c2a0
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400143b0
mov rbx, qword [rsp + 0x688]
mov al, 1
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.14005f850
add rsp, 0x670
pop rdi
ret
Function at 0x14003f040
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [r8 + 0x28], 0x10
lea r11, [r8 + 0x10]
mov rbx, qword [r11 + 0x10]
mov rsi, rdx
mov rdi, rcx
jb 0x14003f067
mov r11, qword [r11]
xor r9d, r9d
movabs r10, 0xcbf29ce484222325
test rbx, rbx
je 0x14003f0a4
movabs rcx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + r11]
inc r9
xor r10, rax
imul r10, rcx
cmp r9, rbx
jb 0x14003f090
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rdi + 0x18]
and rdx, r10
shl rdx, 4
add rcx, rdx
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x14003f0e4
cmp rax, r8
jne 0x14003f0da
mov rax, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x14003f0ef
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x14003f0ef
cmp rax, r8
jne 0x14003f0ef
mov rax, qword [r8]
mov qword [rcx], rax
mov rax, qword [r8 + 8]
lea rcx, [rdi + 8]
mov rbx, qword [r8]
mov qword [rax], rbx
mov rdx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
mov rdx, r8
dec qword [rcx + 8]
call fcn.14003cfa0
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x28
mov r12, qword [r8 + 0x18]
mov rdi, r8
mov r15, qword [r8 + 0x10]
mov r13, rdx
mov rsi, rcx
mov r10, r8
cmp r12, 0x10
jb 0x14003f22b
mov r10, qword [r8]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r15, r15
je 0x14003f264
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rcx
cmp r8, r15
jb 0x14003f250
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
mov rsi, qword [rsi + 8]
and rax, r9
mov rbx, rax
mov qword [rsp + 0x70], rbp
add rax, rax
mov qword [rsp + 0x20], r14
add rbx, rbx
mov rdx, qword [rcx + rax*8]
inc rax
mov rbx, qword [rcx + rbx*8]
mov qword [rsp + 0x60], rdx
lea rax, [rcx + rax*8]
mov qword [rsp + 0x68], rax
nop
cmp rdx, rsi
jne 0x14003f2aa
mov rax, rsi
jmp 0x14003f2b0
mov rax, qword [rax]
mov rax, qword [rax]
cmp rbx, rax
je 0x14003f32a
mov rdx, rdi
cmp r12, 0x10
jb 0x14003f2c1
mov rdx, qword [rdi]
mov r14, qword [rbx + 0x28]
lea rcx, [rbx + 0x10]
cmp r14, 0x10
jb 0x14003f2d3
mov rcx, qword [rbx + 0x10]
mov rbp, qword [rbx + 0x20]
cmp rbp, r15
jne 0x14003f2e8
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14003f2f7
mov rbx, qword [rbx]
mov rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
jmp 0x14003f2a0
lea rdx, [rbx + 0x10]
cmp r14, 0x10
jb 0x14003f304
mov rdx, qword [rdx]
cmp r12, 0x10
jb 0x14003f30d
mov rdi, qword [rdi]
cmp r15, rbp
jne 0x14003f321
mov r8, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14003f324
mov rbx, rsi
mov qword [r13], rbx
jmp 0x14003f32e
mov qword [r13], rsi
mov r14, qword [rsp + 0x20]
mov rax, r13
mov rbp, qword [rsp + 0x70]
add rsp, 0x28
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140041710
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get startup folder

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x480
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14010d268]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x28]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdi, [rsi - 1]
test eax, eax
js 0x1400417ad
lea rax, [rsp + 0x60]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x1400417a0
jmp 0x1400417fb
mov qword [rbx + 0x10], rsi
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400417be
mov rax, qword [rbx]
mov word [rax], si
lea r9, str.USERPROFILE
mov r8d, 0x204
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wgetenv_s]
test eax, eax
jne 0x140041856
lea rax, [rsp + 0x60]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400417f0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400143b0
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str..nitro_test
mov rcx, rbx
call fcn.1400140d0
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14004182a
mov rcx, qword [rbx]
cmp si, word [rcx]
je 0x1400418f7
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140041842
test al, 0x10
jne 0x140041856
mov qword [rbx + 0x10], rsi
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140041853
mov rax, qword [rbx]
mov word [rax], si
cmp qword [rbx + 0x10], 0
jne 0x140041865
mov rcx, rbx
call fcn.14003c140
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x60]
xor ecx, ecx
call fcn.14002aed0
mov r8d, 1
lea rdx, [0x1400c830c]
mov rcx, rbx
call fcn.1400140d0
lea rax, [rsp + 0x60]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400418a0
mov r8, rdi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400140d0
mov r8d, 9
lea rdx, str._:d.log
mov rcx, rbx
call fcn.1400140d0
mov rax, rbx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14005f850
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rdx, str.DirectoryExists:_empty_path
lea rcx, [rsp + 0x48]
call fcn.140039400
lea rdx, [0x1401061c8]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140042fb0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x260
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x290], rbx
mov rax, qword [0x14010d268]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x28], rbx
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
je 0x140043001
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov qword [rsp + 0x40], 0
lea rbp, vtable.fmt::v5::basic_memory_buffer_char__500__class_std::allocator_char__.0
mov qword [rsp + 0x30], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], 0x1f4
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
mov rdx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
mov r9, qword [rdi + 0x20]
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
nop
mov qword [rsp + 0x30], rbp
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
je 0x1400430af
mov rdx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400430aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400430aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f1b8
lea rax, vtable.fmt::v5::internal::basic_buffer_char_.0
mov qword [rsp + 0x30], rax
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
test eax, eax
je 0x1400430cf
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14005f850
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
Function at 0x140044970
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x2d0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14010d268]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rbx, rcx
mov qword [r11 - 0x228], 0
lea rsi, vtable.fmt::v5::basic_memory_buffer_char__500__class_std::allocator_char__.0
mov qword [r11 - 0x238], rsi
lea rax, [r11 - 0x218]
mov qword [r11 - 0x230], rax
mov qword [r11 - 0x220], 0x1f4
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
lea r8, [r11 - 0x238]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0xb0]
add qword [rbx + 0x70], rdi
mov rax, qword [rbx + 0x70]
cmp rax, qword [rbx + 0x60]
jbe 0x140044a0e
mov rcx, rbx
call fcn.140043e60
mov rdi, qword [rsp + 0xb0]
mov qword [rbx + 0x70], rdi
mov r9, qword [rbx + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, rdi
jne 0x140044aa8
mov qword [rsp + 0xa0], rsi
lea rax, [rsp + 0xc0]
mov rcx, qword [rsp + 0xa8]
cmp rcx, rax
je 0x140044a83
mov rdx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044a7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044a7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f1b8
nop
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14005f850
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rdx, [rbx + 0x88]
lea rcx, [rsp + 0x60]
call fcn.14003f130
nop
mov r8, rax
lea rdx, str.Failed_writing_to_file
lea rcx, [rsp + 0x80]
call fcn.140029750
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r8d, dword [rax]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400395a0
lea rdx, [0x1401062c0]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400460d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rdi, r9
mov r10, r8
mov r14, rdx
mov rsi, rcx
movzx r9d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r9, rax
movabs rcx, 0x100000001b3
imul r9, rcx
movzx eax, byte [r8 + 1]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 2]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 3]
xor r9, rax
imul r9, rcx
mov r8, qword [rsi + 0x30]
and r8, r9
mov rbx, qword [rsi + 8]
mov rax, r8
add rax, rax
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rdx + rax*8]
cmp rbx, rcx
je 0x1400461c2
mov rbx, qword [rdx + rax*8 + 8]
mov rbx, qword [rbx]
nop dword [rax + rax]
cmp rbx, rcx
je 0x1400461c2
mov rbx, qword [rbx + 8]
mov eax, dword [rbx + 0x10]
cmp dword [r10], eax
jne 0x140046170
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
lea rcx, [rdi + 0x18]
call fcn.1400176a0
nop
mov edx, gethostname
mov rcx, rdi
call fcn.14005f1b8
nop
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x1400462eb
mov qword [rsp + 0x20], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x1400461fc
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
add r8, r8
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x14004621c
mov qword [rdx + r8*8], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rdi
jmp 0x14004624b
cmp rax, rbx
jne 0x140046227
mov qword [rdx + r8*8], rdi
jmp 0x14004624b
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rdi
je 0x14004624b
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x1400cec48]
test rax, rax
jns 0x14004626c
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14004627d
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x1400462e0
cmp rdx, 0x200
jae 0x140046299
lea rdx, [rdx*8]
jmp 0x1400462ab
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x1400462ab
add rdx, rdx
mov rcx, rsi
call fcn.14003d040
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x1400462e0
mov r15, qword [rax + 8]
mov rbx, qword [rsi + 8]
mov rbx, qword [rbx]
lea r8, [rbx + 0x10]
mov r9, rbx
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400460d0
cmp rbx, r15
jne 0x1400462c0
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140046300
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov rdi, r8
mov rsi, rdx
mov r9, rcx
movzx r8d, byte [r8 + 0x10]
movabs rax, 0xcbf29ce484222325
xor r8, rax
movabs rcx, 0x100000001b3
imul r8, rcx
movzx eax, byte [rdi + 0x11]
xor r8, rax
imul r8, rcx
movzx eax, byte [rdi + 0x12]
xor r8, rax
imul r8, rcx
movzx eax, byte [rdi + 0x13]
xor r8, rax
imul r8, rcx
mov rdx, qword [r9 + 0x30]
and rdx, r8
shl rdx, 4
mov rcx, qword [r9 + 0x18]
add rcx, rdx
cmp qword [rcx + 8], rdi
jne 0x1400463a0
cmp qword [rcx], rdi
jne 0x140046396
mov rax, qword [r9 + 8]
mov qword [rcx], rax
mov rax, qword [r9 + 8]
mov rcx, qword [r9 + 0x18]
mov qword [rcx + rdx + 8], rax
jmp 0x1400463ab
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x1400463ab
cmp qword [rcx], rdi
jne 0x1400463ab
mov rax, qword [rdi]
mov qword [rcx], rax
mov rbx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rax], rbx
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
lea rcx, [rdi + 0x18]
call fcn.1400176a0
nop
mov edx, gethostname
mov rcx, rdi
call fcn.14005f1b8
nop
mov qword [rsi], rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140046d70
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14010d268]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r9d, edx
mov rbx, rcx
mov eax, edx
shr eax, 8
movzx r8d, al
movzx eax, dl
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs rdx, 0x100000001b3
imul rax, rdx
xor r8, rax
imul r8, rdx
mov eax, r9d
shr eax, 0x10
movzx ecx, al
xor r8, rcx
imul r8, rdx
mov eax, r9d
shr rax, 0x18
xor r8, rax
imul r8, rdx
and r8, qword [0x140111730]
mov rdx, r8
add rdx, rdx
mov r10, qword [0x140111718]
mov rdx, qword [r10 + rdx*8]
lea rax, [r8 + r8]
lea r11, [rax*8 + 8]
mov r8, qword [r10 + rax*8]
mov rcx, qword [0x140111708]
cmp r8, rcx
jne 0x140046e1f
mov rax, rcx
jmp 0x140046e26
mov rax, qword [r11 + r10]
mov rax, qword [rax]
cmp rdx, rax
je 0x140046e55
cmp dword [rdx + 0x10], r9d
je 0x140046e36
mov rdx, qword [rdx]
jmp 0x140046e15
cmp rdx, rcx
je 0x140046e55
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140046eaf
add rdx, 0x18
call fcn.14005a040
test al, al
je 0x140046eaf
mov al, 1
jmp 0x140046eb1
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rsp + 0x30]
call fcn.140041380
nop
lea rcx, [rsp + 0x30]
call fcn.140042f30
test al, al
je 0x140046ea5
lea rdx, str.nitro::licencing::licence_nalpeiron_v10::IsModuleActive
lea rcx, [rsp + 0x30]
call fcn.14003abd0
mov rcx, rax
lea rdx, [0x1400cd960]
call fcn.14003abd0
mov rcx, rax
lea rdx, str.Feature_Id_for_module_is_missing
call fcn.14003abd0
nop
lea rcx, [rsp + 0x30]
call fcn.14003a680
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14005f850
add rsp, 0x270
pop rbx
ret