joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140297232
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1402f5328]
test eax, eax
je 0x1402972ca
lea rax, [0x1402f5300]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1402f5330]
mov qword [rbp - 8], rax
jmp 0x1402972ae
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1402972a2
cmp qword [rbp - 0x10], 0
je 0x1402972a2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140297268
lea rax, [0x1402f5300]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1402972cb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1402973d0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1402973f8
mov eax, 0
jmp 0x140297446
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140297421
mov eax, 0
jmp 0x140297446
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140297441
mov eax, 0
jmp 0x140297446
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14029744c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1402974ca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1402974c1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1402974c1
mov rax, qword [rbp - 8]
jmp 0x1402974df
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140297494
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140002f10
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1400220b8]
xor rax, rsp
mov qword [rbp + 0x380], rax
and dword [rsp + 0x44], 0
lea rdx, [rsp + 0x60]
and dword [rsp + 0x40], 0
mov r8d, 0x104
mov rbx, qword [str.unknown]
xor ecx, ecx
and qword [rsp + 0x50], 0
mov dword [rsp + 0x48], r8d
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140002f80
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.140007130
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x60]
call fcn.140005b04
test eax, eax
jns 0x140002fa2
and dword [rsp + 0x44], 0
and dword [rsp + 0x40], 0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x140002fc6
lea rdi, [rbp + 0x170]
mov ecx, 0x208
rep stosb byte [rdi], al
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400062a4
mov r8, qword [rsp + 0x50]
lea rdx, str._Logging_started:__ls_
mov edi, 2
mov ecx, edi
call fcn.140003364
mov edx, dword [rsp + 0x40]
lea r8, [rsp + 0x60]
mov r9d, dword [rsp + 0x44]
movzx ecx, dx
mov dword [rsp + 0x30], ecx
mov ecx, edi
shr edx, 0x10
mov dword [rsp + 0x28], edx
lea rdx, str.Executable:__ls_v_d._d._d._d
movzx eax, r9w
shr r9d, 0x10
mov dword [rsp + 0x20], eax
call fcn.140003364
lea r8, [rbp + 0x170]
mov ecx, edi
lea rdx, str.Computer__:__ls
call fcn.140003364
mov ecx, dword [0x140022008]
test ecx, ecx
je 0x140003077
sub ecx, 1
je 0x14000306e
sub ecx, 1
je 0x140003065
sub ecx, 1
je 0x14000305c
cmp ecx, 1
jne 0x14000307e
mov rbx, qword [str.debug]
jmp 0x14000307e
mov rbx, qword [str.verbose]
jmp 0x14000307e
mov rbx, qword [str.standard]
jmp 0x14000307e
mov rbx, qword [str.warning]
jmp 0x14000307e
mov rbx, qword [str.none]
mov r8, rbx
lea rdx, str.____logging_level:__hs____
mov ecx, edi
call fcn.140003364
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000309e
call fcn.1400052a4
xor eax, eax
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140006730
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400033b4
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rbp, rcx
and dword [rax + 0x10], ebx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [section..data]
mov esi, eax
cmp rcx, 0xffffffffffffffff
jne 0x140003403
xor r8d, r8d
lea rcx, [0x140022b38]
mov rdx, rbp
call fcn.140004ed4
mov ebx, eax
test eax, eax
js 0x140003464
xor ebx, ebx
jmp 0x140003464
test esi, esi
je 0x140003464
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, esi
mov edx, edi
sub r8d, edi
add rdx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000343f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140003450
add edi, dword [rsp + 0x48]
cmp edi, esi
jae 0x140003464
mov rcx, qword [section..data]
jmp 0x140003407
mov r8d, ebx
lea rcx, str.c:_agent_work35_swix_srclibsdutillogutil.cpp
mov edx, 0x310
call fcn.140005e7c
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400055ec
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
lea rdx, [0x140022bc8]
lea rcx, [0x140017950]
call fcn.140005e88
mov ebx, eax
test eax, eax
js 0x14000578c
mov rcx, qword [rsp + 0x30]
lea r8, [0x140022c10]
lea rdx, [0x140022c0c]
call fcn.140005b04
mov rcx, qword [0x140022bc8]
lea rdx, str.MsiDeterminePatchSequenceW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140022b90]
lea rdx, str.MsiDetermineApplicablePatchesW
test rcx, rcx
mov qword [0x140022bd0], rax
cmove rcx, rax
mov qword [0x140022b90], rcx
mov rcx, qword [0x140022bc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140022b98]
lea rdx, str.MsiEnumProductsExW
test rcx, rcx
mov qword [0x140022bd8], rax
cmove rcx, rax
mov qword [0x140022b98], rcx
mov rcx, qword [0x140022bc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140022ba0]
lea rdx, str.MsiGetPatchInfoExW
test rcx, rcx
mov qword [0x140022be0], rax
cmove rcx, rax
mov qword [0x140022ba0], rcx
mov rcx, qword [0x140022bc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140022ba8]
lea rdx, str.MsiGetProductInfoExW
test rcx, rcx
mov qword [0x140022be8], rax
cmove rcx, rax
mov qword [0x140022ba8], rcx
mov rcx, qword [0x140022bc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140022bb0]
lea rdx, str.MsiSetExternalUIRecord
test rcx, rcx
mov qword [0x140022bf0], rax
cmove rcx, rax
mov qword [0x140022bb0], rcx
mov rcx, qword [0x140022bc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140022bb8]
lea rdx, str.MsiSourceListAddSourceExW
test rcx, rcx
mov qword [0x140022bf8], rax
cmove rcx, rax
mov qword [0x140022bb8], rcx
mov rcx, qword [0x140022bc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140022bc0]
test rcx, rcx
mov qword [0x140022c00], rax
mov dword [0x140022c08], 1
cmove rcx, rax
mov qword [0x140022bc0], rcx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000579b
call fcn.1400052a4
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140005808
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rbx, rcx
mov ecx, esi
mov edi, esi
mov qword [rsp + 0x30], rcx
test rbx, rbx
je 0x14000586d
cmp word [rbx], si
je 0x140005863
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x14000585e
lea rdx, [rsp + 0x30]
mov rcx, rbx
inc edi
call fcn.140003c6c
test eax, eax
js 0x14000585e
mov rcx, qword [rsp + 0x30]
mov rbx, rcx
test rcx, rcx
jne 0x14000582a
jmp 0x140005863
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000586d
call fcn.1400052a4
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140005880
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r14
sub rsp, 0x20
xor r14d, r14d
mov rbp, rdx
mov ebx, r14d
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140005978
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140005978
cmp eax, 3
je 0x1400058da
xor edx, edx
mov rcx, rdi
call fcn.140005994
test eax, eax
jne 0x140005978
movzx ecx, word [rdi]
mov rsi, r14
mov rdx, rdi
test cx, cx
je 0x14000595f
mov r12d, 0x5c
cmp cx, r12w
mov rax, rdx
cmovne rax, rsi
add rdx, 2
mov rsi, rax
movzx ecx, word [rdx]
test cx, cx
jne 0x1400058ee
test rax, rax
je 0x14000595f
mov rdx, rbp
mov word [rax], r14w
mov rcx, rdi
call fcn.140005880
mov word [rsi], r12w
mov ebx, eax
test eax, eax
js 0x140005978
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000595a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000594a
mov ebx, 1
jmp 0x140005978
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140005978
mov ebx, r14d
jmp 0x140005978
mov ebx, 0x80070003
lea rcx, str.c:_agent_work35_swix_srclibsdutildirutil.cpp
mov r8d, ebx
mov edx, 0x72
call fcn.140005e7c
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop r12
pop rdi
ret

Function at 0x140005994
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400059be
test al, 0x10
je 0x1400059be
test rdi, rdi
je 0x1400059b9
mov dword [rdi], eax
mov ebx, 1
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400059cc
Capabilities:
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
or dword [rsp + 0x38], 0xffffffff
lea rdx, [rsp + 0x38]
mov rdi, rcx
xor ebx, ebx
call fcn.140005a6c
test eax, eax
je 0x140005a5f
test byte [rsp + 0x38], 7
je 0x140005a26
mov edx, 0x80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x140005a26
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x140005a26
mov edx, 0x5c4
jmp 0x140005a50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140005a5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x140005a5f
mov edx, 0x5ca
mov r8d, ebx
lea rcx, str.c:_agent_work35_swix_srclibsdutil_fileutil.cpp
call fcn.140005e7c
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005b04
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r15, rdx
and dword [rax + 0x20], ebx
lea rdx, [rax + 0x20]
and qword [rax - 0x20], rbx
mov r14, r8
and dword [rax - 0x28], ebx
mov rbp, rcx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
jne 0x140005b71
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x140005b71
mov edx, 0x115
mov r8d, ebx
lea rcx, str.c:_agent_work35_swix_srclibsdutil_fileutil.cpp
call fcn.140005e7c
jmp 0x140005c2a
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
jne 0x140005b90
mov ebx, 0x8007000e
mov edx, 0x119
jmp 0x140005b5d
mov edx, dword [rsp + 0x68]
mov r9, rdi
mov r8d, esi
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x140005bd4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x140005bd4
mov edx, 0x11d
mov r8d, ebx
lea rcx, str.c:_agent_work35_swix_srclibsdutil_fileutil.cpp
call fcn.140005e7c
jmp 0x140005c21
lea r9, [rsp + 0x20]
mov rcx, rdi
lea r8, [rsp + 0x28]
lea rdx, [0x1400176f8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x140005c10
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x140005c10
mov edx, 0x122
jmp 0x140005bc3
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + 8]
mov dword [r15], ecx
mov ecx, dword [rdx + 0xc]
mov dword [r14], ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x140005c48
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1400220b8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rax, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x20], rax
bts edx, 0xf
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140005ca2
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140004cdc
test eax, eax
js 0x140005ca2
mov rcx, rbx
call fcn.14000350c
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140006730
add rsp, 0x250
pop rbx
ret

Function at 0x14000b084
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000aeb0
Function at 0x1400033b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000340d
lea rbx, [0x1400da2d0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400033f4
cmp r10, 2
jb 0x1400033f4
cmp byte [r9], r8b
jne 0x1400033f4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400033d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000344f
lea rbx, [0x1400da2d0]
cmp r8b, 0x23
jne 0x140003433
cmp byte [r9], r8b
jne 0x140003433
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003420
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003620
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14000364f
mov r8d, 0x7ba
lea rdx, str.C:UsersNOinsDesktopimgui_menu_28imgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000365b
mov qword [rdi], 0
lea rdx, [0x1400d9af8]
mov rcx, rbx
call fcn.140003460
mov rbx, rax
test rax, rax
jne 0x14000367d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003768
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003768
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003768
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003768
cmp rsi, 0xffffffffffffffff
je 0x140003768
mov rax, qword [0x140226888]
test rax, rax
je 0x1400036f9
inc dword [rax + 0xf4]
mov rdx, qword [0x140226878]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rbp, rax
test rax, rax
je 0x140003768
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x140003755
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140226888]
test rax, rax
je 0x140003744
dec dword [rax + 0xf4]
mov rdx, qword [0x140226878]
mov rcx, rbp
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x140003771
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140003763
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140003773
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140006e50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xf0], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x140006e8c
mov r8d, 0x70f
lea rdx, str.C:UsersNOinsDesktopimgui_menu_28imgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0xf8]
lea rdx, [0x1400da2d0]
movsxd r8, dword [rsi + 0xf0]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x3f38], ebx
jne 0x140006f07
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001e920
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000bfe0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x14000c030
lea r11, [0x1400da2d0]
cmp r9b, 0x23
jne 0x14000c013
cmp byte [r8], r9b
jne 0x14000c013
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14000c000
not ecx
jmp fcn.14000bf60
Function at 0x140017050
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140226888]
mov edi, ecx
cmp byte [rbx + 0x4a75], 0
jne 0x1400170a2
cmp byte [rbx + 0x4a76], 0
jne 0x1400170a2
movsx r9d, word [rbx + 0x5b82]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003200
test dil, 1
je 0x1400171cf
jmp 0x14001712b
movss xmm1, dword [rbx + 0x38bc]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400e27e4]
xor eax, eax
mulss xmm1, dword [0x1400e27cc]
addss xmm0, dword [rbx + 0xe08]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47e0], rax
mov dword [rbx + 0x47cc], 1
movss dword [rbx + 0x47d8], xmm0
movss dword [rbx + 0x47dc], xmm1
movss xmm0, dword [rbx + 0x3924]
mulss xmm0, dword [0x1400e2720]
or dword [rbx + 0x47c8], 0x41
movss dword [rbx + 0x4828], xmm0
movsx r9d, word [rbx + 0x5b82]
call fcn.140003200
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140017180
lea r11, [0x1400da2d0]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140017163
cmp byte [r8], r9b
jne 0x140017163
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140017150
not ecx
call fcn.14000bf60
test rax, rax
je 0x1400171cf
cmp byte [rax + 0xb6], 0
je 0x1400171cf
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5b82]
movsx r9d, word [rbx + 0x5b82]
call fcn.140003200
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000ead0
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001ce60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c68], 0
lea rbx, [rcx + 0x5c70]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001cf07
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001ceba
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001f6d0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003eb0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c68]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c78]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140226880]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001cf0f
mov rcx, rbx
call fcn.140003eb0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d2e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x140226888]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001d344
lea r10, [0x1400da2d0]
cmp r8b, 0x23
jne 0x14001d327
cmp byte [rdx], r8b
jne 0x14001d327
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14001d314
mov eax, dword [r14 + 0x5be0]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001d3a5
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001d36a
cmp edi, eax
jl 0x14001d384
mov r8d, 0x706
lea rdx, str.C:UsersNOinsDesktopimgui_menu_28imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x5be8]
cmp dword [rax + rbp + 8], ebx
je 0x14001d3c2
mov eax, dword [r14 + 0x5be0]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001d361
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x14001d3cf
cmp edi, dword [r14 + 0x5be0]
jl 0x14001d3e9
mov r8d, 0x706
lea rdx, str.C:UsersNOinsDesktopimgui_menu_28imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5be8]
lea rax, [rax + rcx*8]
jmp 0x14001d3a7