joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140048a00
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov r11, qword [0x1400cf350]
mov rbx, rcx
mov r9, qword [0x1400cf338]
movabs rdi, 0x100000001b3
mov r8, qword [0x1400cf328]
movabs rax, 0xcbf29ce484222325
movzx r10d, cl
xor r10, rax
mov rax, rcx
sar rax, 8
movzx edx, al
mov rax, rcx
sar rax, 0x10
movzx ecx, al
mov rax, rbx
sar rax, 0x18
imul r10, rdi
xor rdx, r10
imul rdx, rdi
xor rdx, rcx
movzx ecx, al
imul rdx, rdi
mov rax, rbx
xor rdx, rcx
sar rax, 0x20
imul rdx, rdi
movzx ecx, al
mov rax, rbx
xor rdx, rcx
sar rax, 0x28
imul rdx, rdi
movzx ecx, al
mov rax, rbx
xor rdx, rcx
sar rax, 0x30
imul rdx, rdi
movzx ecx, al
mov rax, rbx
xor rdx, rcx
sar rax, 0x38
imul rdx, rdi
movzx ecx, al
xor rdx, rcx
mov rcx, r11
imul rdx, rdi
and rcx, rdx
add rcx, rcx
mov rax, qword [r9 + rcx*8 + 8]
cmp rax, r8
je 0x140048bfe
mov rcx, qword [r9 + rcx*8]
cmp rbx, qword [rax + 0x10]
je 0x140048af3
nop
cmp rax, rcx
je 0x140048bfe
mov rax, qword [rax + 8]
cmp rbx, qword [rax + 0x10]
jne 0x140048ae0
test rax, rax
je 0x140048bfe
cmp rax, r8
je 0x140048bfe
movzx eax, byte [rsp + 0x52]
movzx edx, byte [rsp + 0x51]
xor rdx, r10
imul rdx, rdi
xor rdx, rax
movzx eax, byte [rsp + 0x53]
imul rdx, rdi
xor rdx, rax
movzx eax, byte [rsp + 0x54]
imul rdx, rdi
xor rdx, rax
movzx eax, byte [rsp + 0x55]
imul rdx, rdi
xor rdx, rax
movzx eax, byte [rsp + 0x56]
imul rdx, rdi
xor rdx, rax
movzx eax, byte [rsp + 0x57]
imul rdx, rdi
xor rdx, rax
imul rdx, rdi
and rdx, r11
mov rax, rdx
add rax, rax
mov rcx, qword [r9 + rax*8 + 8]
cmp rcx, r8
je 0x140048c37
mov rax, qword [r9 + rax*8]
cmp rbx, qword [rcx + 0x10]
je 0x140048b93
nop word [rax + rax]
cmp rcx, rax
je 0x140048c37
mov rcx, qword [rcx + 8]
cmp rbx, qword [rcx + 0x10]
jne 0x140048b80
test rcx, rcx
je 0x140048c37
add rdx, rdx
mov rax, qword [r9 + rdx*8]
cmp qword [r9 + rdx*8 + 8], rcx
jne 0x140048bc5
cmp rax, rcx
jne 0x140048bba
mov qword [r9 + rdx*8], r8
mov qword [r9 + rdx*8 + 8], r8
jmp 0x140048bd1
mov r8, qword [rcx + 8]
mov qword [r9 + rdx*8 + 8], r8
jmp 0x140048bd1
cmp rax, rcx
jne 0x140048bd1
mov rax, qword [rcx]
mov qword [r9 + rdx*8], rax
mov rdx, qword [rcx]
dec qword [0x1400cf330]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, 0x40
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp fcn.14006ec58
call fcn.1400588c0
mov rcx, rax
mov qword [rsp + 0x30], rbx
lea rax, str.couldnt_find_record_for_hwnd_0x_08x_
mov edx, 1
mov qword [rsp + 0x28], rax
lea r9, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nView_nViewMainPseudoMaxUtil.cpp
lea r8, str.PseudoMaxUtil::ErasePseudoMaxWindowData
mov dword [rsp + 0x20], 0x29e
call fcn.140058e40
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140048c50
Capabilities:
Hash data using fnv

Disassembly:
mov r10, rcx
movzx r9d, cl
movabs r11, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov rax, rcx
imul r9, r11
shr rax, 8
movzx r8d, al
mov rax, rcx
xor r9, r8
shr rax, 0x10
mov r8, qword [0x1400cf328]
imul r9, r11
movzx ecx, al
mov rax, r10
xor r9, rcx
shr rax, 0x18
imul r9, r11
movzx ecx, al
mov rax, r10
xor r9, rcx
shr rax, 0x20
imul r9, r11
movzx ecx, al
mov rax, r10
xor r9, rcx
shr rax, 0x28
imul r9, r11
movzx ecx, al
mov rax, r10
xor r9, rcx
shr rax, 0x30
imul r9, r11
movzx ecx, al
mov rax, r10
xor r9, rcx
shr rax, 0x38
mov rcx, qword [0x1400cf350]
imul r9, r11
xor r9, rax
imul r9, r11
and rcx, r9
shl rcx, 4
add rcx, qword [0x1400cf338]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x140048d4a
mov rcx, qword [rcx]
cmp r10, qword [rax + 0x10]
je 0x140048d24
cmp rax, rcx
je 0x140048d4a
mov rax, qword [rax + 8]
cmp r10, qword [rax + 0x10]
jne 0x140048d15
test rax, rax
je 0x140048d4a
cmp rax, r8
je 0x140048d4a
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rdx + 0x10], xmm1
movsd xmm0, qword [rax + 0x38]
mov al, 1
movsd qword [rdx + 0x20], xmm0
ret
xor al, al
ret
Function at 0x140049170
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140049353
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14002e6c0
mov rcx, qword [rsi + 8]
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x140049318
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x14]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x15]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x16]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x17]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rbx
jne 0x14004928c
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x140049307
mov rax, qword [r11 + 8]
mov r9, qword [rcx + 0x10]
cmp r9, qword [rax + 0x10]
jne 0x1400492c9
mov r10, qword [rax]
cmp r10, rcx
je 0x1400492c3
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x140049307
mov r8, rax
cmp r10, rax
je 0x1400492e3
mov rax, qword [rax + 8]
mov r8, rax
cmp r9, qword [rax + 0x10]
je 0x14004932d
cmp r10, rax
jne 0x1400492d1
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x140049210
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x140049307
lea rcx, str.invalid_hash_bucket_count
call fcn.14006d7c8
int3
Function at 0x140049fc0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400cd548]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
movzx edx, cl
movabs r8, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor rdx, rax
mov rax, rcx
shr rax, 8
movzx ecx, al
mov rax, rbx
shr rax, 0x10
imul rdx, r8
xor rdx, rcx
movzx ecx, al
imul rdx, r8
mov rax, rbx
xor rdx, rcx
shr rax, 0x18
movzx ecx, al
mov rax, rbx
shr rax, 0x20
imul rdx, r8
xor rdx, rcx
movzx ecx, al
imul rdx, r8
mov rax, rbx
xor rdx, rcx
shr rax, 0x28
movzx ecx, al
mov rax, rbx
shr rax, 0x30
imul rdx, r8
xor rdx, rcx
movzx ecx, al
imul rdx, r8
mov rax, rbx
xor rcx, rdx
shr rax, 0x38
mov rdx, qword [0x1400cf328]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and rcx, qword [0x1400cf350]
shl rcx, 4
add rcx, qword [0x1400cf338]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x14004a121
mov rcx, qword [rcx]
cmp rbx, qword [rax + 0x10]
je 0x14004a0af
nop dword [rax]
cmp rax, rcx
je 0x14004a121
mov rax, qword [rax + 8]
cmp rbx, qword [rax + 0x10]
jne 0x14004a0a0
test rax, rax
je 0x14004a121
cmp rax, rdx
je 0x14004a121
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
xorps xmm1, xmm1
xor edi, edi
mov rcx, rbx
mov dword [rsp + 0x20], edi
movdqu xmmword [rsp + 0x24], xmm0
movdqu xmmword [rsp + 0x34], xmm1
call fcn.140048c50
test al, al
je 0x14004a11c
lea rdx, [rsp + 0x24]
mov rcx, rbx
call fcn.140048f70
mov rcx, rbx
call fcn.140012600
mov rcx, rbx
call fcn.140022300
mov eax, dword [rsp + 0x2c]
sub eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x30]
sub ecx, dword [rsp + 0x28]
movsxd rdi, eax
shl rdi, 0x20
movsxd rdx, ecx
or rdi, rdx
mov rax, rdi
jmp 0x14004a193
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x14004a191
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x2c
xorps xmm1, xmm1
lea rdx, [rsp + 0x20]
xor edi, edi
mov rcx, rbx
movdqu xmmword [rsp + 0x24], xmm0
mov qword [rsp + 0x44], rdi
movdqu xmmword [rsp + 0x34], xmm1
call qword [sym.imp.USER32.dll_GetWindowPlacement]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x28], 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowPlacement]
mov eax, dword [rsp + 0x44]
sub eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x48]
sub ecx, dword [rsp + 0x40]
cdqe
shl rax, 0x20
movsxd rdx, ecx
or rax, rdx
jmp 0x14004a193
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14006ed70
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x14004a9b0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, ecx
mov rcx, qword [0x1400cf368]
test rcx, rcx
je 0x14004a9df
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [0x1400cf368], 0
test ebx, ebx
jne 0x14004a9ec
lea eax, [rbx + 1]
add rsp, 0x30
pop rbx
ret
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x28], rax
lea r8, [0x14004aef0]
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov edx, 0x7d00
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400cf360], rax
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x14004c800
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, 1
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 8]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_UpdateWindow]
push rbx
sub rsp, 0x30
cmp qword [0x1400cf760], 0
jne 0x14004c889
lea rax, [0x1400cf768]
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [fcn.14004c8d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400cf760], rax
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [0x1400cf218]
test rax, rax
jne 0x14004c87c
mov ecx, 0x80
call fcn.14006ec1c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14004c872
mov rcx, rax
call fcn.14002fc90
jmp 0x14004c875
mov rax, rbx
mov qword [0x1400cf218], rax
mov rcx, rax
add rsp, 0x30
pop rbx
jmp 0x140030830
mov rbx, qword [0x1400cf218]
test rbx, rbx
jne 0x14004c8bf
mov ecx, 0x80
call fcn.14006ec1c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14004c8b6
mov rcx, rax
call fcn.14002fc90
mov rbx, rax
jmp 0x14004c8b8
xor ebx, ebx
mov qword [0x1400cf218], rbx
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp 0x140030830

Function at 0x14004cb60
Capabilities:
Create process on windows
Create thread

Disassembly:
push rbx
sub rsp, 0x510
mov rax, qword [0x1400cd548]
xor rax, rsp
mov qword [rsp + 0x500], rax
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x208
call fcn.140070390
mov edx, 0x208
lea rcx, [rsp + 0xe0]
call fcn.14005c350
xor edx, edx
lea rcx, [rsp + 0x2f0]
mov r8d, 0x208
call fcn.140070390
lea rax, str._Watchdog
mov edx, 0x208
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0xe0]
lea rax, str.nViewMain64.exe
lea r8, str._s_s__s
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x2f0]
call fcn.140007050
xorps xmm1, xmm1
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rdx, [rsp + 0x2f0]
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov dword [rsp + 0xd4], eax
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 1
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x74], xmm1
movups xmmword [rsp + 0x84], xmm1
movups xmmword [rsp + 0x94], xmm1
movups xmmword [rsp + 0xa4], xmm1
movups xmmword [rsp + 0xb4], xmm1
movups xmmword [rsp + 0xc4], xmm1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14004ccb2
mov r9, qword [rsp + 0x50]
lea r8, [0x14004cec0]
mov qword [rsp + 0x28], rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14004ccb4
xor al, al
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.14006ed70
add rsp, 0x510
pop rbx
ret
Function at 0x14004e690
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rdx
test rdx, rdx
je 0x14004e821
sub ecx, 1
je 0x14004e79e
cmp ecx, 1
jne 0x14004e814
mov rax, qword [0x1400d5758]
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x58], ebx
test byte [rax + 0x60], 4
jne 0x14004e72a
xor r9d, r9d
lea rdx, [rsp + 0x68]
mov r8d, 0xf003f
lea rcx, str.SoftwareNVIDIA_CorporationGlobal_nView
call fcn.140059800
test eax, eax
jne 0x14004e72a
mov eax, dword [rdi]
lea r9d, [rbx + 4]
mov rcx, qword [rsp + 0x68]
lea rdx, str.Desktray
mov dword [rsp + 0x58], eax
xor r8d, r8d
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsxd rdi, dword [rdi]
test edi, edi
je 0x14004e74b
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], ebx
xor ecx, ecx
call fcn.14004e390
cmp dword [rsp + 0x60], ebx
je 0x14004e821
mov rcx, qword [0x1400d5758]
mov r8, rdi
xor r9d, r9d
mov edx, 0x492
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14004e814
mov rax, qword [0x1400d5758]
mov ebx, 1
test byte [rax + 0x60], 4
jne 0x14004e785
or dword [rax + 0x50], 0x20
xor edx, edx
mov ecx, 0x109
call fcn.140006fe0
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov dword [rdx], ebx
lea rcx, str.SoftwareNVIDIA_CorporationGlobal_nView
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
mov r8d, 0xf003f
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x60], 4
call fcn.140059a80
test eax, eax
jne 0x14004e814
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Desktray
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
mov dword [rdi], eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 1
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x14004f1d0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rbp, rdx
mov rdi, rcx
mov edx, 2
lea r8d, [rdx - 1]
call fcn.14004f760
test eax, eax
je 0x14004f353
xor edx, edx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.14004eed0
nop
cmp ebx, esi
jae 0x14004f330
xor r14d, r14d
nop dword [rax]
mov word [rsp + 0xc0], r14w
mov dword [rsp + 0xc8], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0xc8]
mov r8d, 2
lea rdx, [rsp + 0xc0]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0xc8]
add ebx, eax
movzx ecx, word [rsp + 0xc0]
cmp ecx, 5
jb 0x14004f2fa
cmp eax, 2
jne 0x14004f2fa
mov r8d, ecx
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140050130
mov dword [rsp + 0xc8], eax
add ebx, eax
movzx ecx, word [rsp + 0xc0]
cmp ecx, eax
jne 0x14004f2dc
lea rcx, [rsp + 0x30]
call fcn.14004ff60
test al, al
je 0x14004f32e
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.14004f050
cmp ebx, esi
jb 0x14004f240
jmp 0x14004f32e
call fcn.1400588c0
mov rcx, rax
lea rax, str.parsing_error:_failed_to_read_line
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1c1
jmp 0x14004f316
call fcn.1400588c0
mov rcx, rax
lea rax, str.parsing_error:_invalid_line_size
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1b8
lea r9, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewAPIProfileFile.cpp
lea r8, str.ProfileFileRead::dumpFileToRegistry
mov edx, 1
call fcn.140058e40
cmp ebx, esi
setae bl
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14004f350
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
call fcn.140006ee0
movzx eax, bl
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14004f650
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400cd548]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14d, edx
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
xor edi, edi
xor r8d, r8d
xor edx, edx
lea r9d, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rcx, [0x1400a3030]
mov ebx, eax
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
mov dword [rsp + 0x30], edi
add ebp, ebp
nop dword [rax]
mov rcx, qword [rsi + 0x10]
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x30]
xor eax, eax
mov qword [rsp + 0x20], rdi
mov r8d, ebp
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x40], eax
mov word [rsp + 0x44], ax
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea rdx, [0x1400a3030]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14004f70e
inc ebx
cmp dword [rsp + 0x30], edi
ja 0x14004f6b0
jmp 0x14004f710
mov edi, ebx
test r14d, r14d
jne 0x14004f728
mov rcx, qword [rsi + 0x10]
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006ed70
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14004f760
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12d, r8d
movsxd rbx, edx
mov rdi, rcx
xor r8d, r8d
mov rcx, qword [rcx + 0x10]
xor edx, edx
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov r13d, eax
xor esi, esi
lea rax, str.aProfileFlags
mov rcx, qword [rax + rbx*8]
lea r15, [rax + rbx*8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebp, [rax + rax]
lea ecx, [rbp + 2]
call fcn.14007e314
mov r14, rax
test rax, rax
je 0x14004f88a
mov rcx, qword [rdi + 0x10]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [rsi + 1]
mov rcx, rdi
call fcn.14004f650
mov ebx, eax
test eax, eax
je 0x14004f882
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rdi + 0x10]
lea r9, [rsp + 0x68]
mov r8d, ebp
mov dword [rsp + 0x68], esi
mov rdx, r14
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov word [r14 + rcx*2], si
mov rcx, r14
mov rdx, qword [r15]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14004f86b
test ebx, ebx
je 0x14004f856
mov rcx, qword [rdi + 0x10]
lea edx, [rbx + 4]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, 1
mov rcx, rdi
call fcn.14004f650
mov ebx, eax
test eax, eax
jne 0x14004f800
jmp 0x14004f882
mov rcx, qword [rdi + 0x10]
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, eax
mov rcx, r14
call fcn.140075c68
test r12d, r12d
jne 0x14004f8a2
mov rcx, qword [rdi + 0x10]
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rbx, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14004f8d0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1400cd548]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x30], 0
mov rsi, r8
mov qword [rsp + 0x20], 0
mov rdi, rdx
lea r9, [rsp + 0x30]
mov rbx, rcx
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov r8d, 0x40
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea r9, [rsp + 0x40]
mov rax, 0xffffffffffffffff
lea r10, str.NVIEW_PROFILE_LOCK
nop dword [rax + rax]
movzx edx, word [r9 + rax*2 + 2]
movzx ecx, word [r10 + rax*2 + 2]
sub edx, ecx
jne 0x14004f978
add rax, 2
cmp rax, 0x13
je 0x14004f978
movzx edx, word [r9 + rax*2]
movzx ecx, word [r10 + rax*2]
sub edx, ecx
je 0x14004f950
xorps xmm0, xmm0
mov qword [rsp + 0x20], 0
test edx, edx
lea r9, [rsp + 0x30]
mov r8d, 0x40
lea rdx, [rsp + 0x80]
sete al
mov byte [rdi], al
mov rcx, qword [rbx + 0x10]
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea rcx, [rsp + 0x80]
call fcn.14004fb00
mov dword [rsi], eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14006ed70
add rsp, 0xd0
pop rdi
pop rsi
pop rbx
ret

Function at 0x14004fa00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400cd548]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
mov r9d, 1
mov rcx, qword [rcx + 0x10]
xor r8d, r8d
xor edx, edx
xor sil, sil
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor edx, edx
mov rcx, rdi
mov ebp, eax
lea r8d, [rdx + 1]
call fcn.14004f760
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.14004f650
sub eax, ebx
cmp eax, 0x20
jae 0x14004fab7
xorps xmm0, xmm0
lea r9, [rsp + 0x30]
xor ecx, ecx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], ecx
mov r8d, eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rdi + 0x10]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r8, rdi
lea rdx, [0x1400b9b40]
lea rcx, [rsp + 0x40]
call fcn.1400507d0
mov sil, 1
mov rcx, qword [rdi + 0x10]
xor r9d, r9d
xor r8d, r8d
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
movzx eax, sil
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14006ed70
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret