joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400112a8
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400152e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015300
xor al, al
jmp 0x140015381
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015313
xor al, al
jmp 0x140015381
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001533d
xor al, al
jmp 0x140015381
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015351
xor al, al
jmp 0x140015381
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015363
xor al, al
jmp 0x140015381
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001537f
xor al, al
jmp 0x140015381
mov al, 1
add rsp, 0x38
ret
Function at 0x140001090
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x48], rax
call fcn.14000a4e8
test rax, rax
je 0x1400012c4
mov rbx, rax
movzx eax, word [r14 + rax*2 - 2]
cmp eax, 0x5c
je 0x1400012bc
cmp eax, 0x2f
je 0x1400012bc
mov rax, rbx
add rax, 2
lea r15, [rbx + rbx + 4]
mov rcx, 0xffffffffffffffff
cmovns rcx, r15
call fcn.14000a428
mov rdi, rax
xor r12d, r12d
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.14000ba50
lea r8, [rbx + 1]
mov rcx, rdi
mov rdx, r14
call fcn.14000a438
mov rcx, rdi
call fcn.14000a480
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
mov qword [rcx], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400012c8
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov edx, 0x8003
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400012fb
add ebx, ebx
mov rcx, qword [rsp + 0x38]
mov rdx, rdi
mov r8d, ebx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400012fb
lea r9, [rsp + 0x34]
mov dword [r9], 4
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400012fb
lea r14, [rsp + 0x30]
mov r15d, dword [r14]
mov rcx, r15
call fcn.14000a428
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.14000ba50
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x20], 0
mov edx, 2
mov r8, rbx
mov r9, r14
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400012fb
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001225
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140001237
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, rdi
call fcn.14000a430
lea rdx, str.SOFTWAREMozillaMaintenanceService_
mov r8d, 0x104
mov rcx, rsi
call fcn.14000a438
mov ebp, 1
cmp dword [rsp + 0x30], 0
je 0x140001293
add rsi, 0x48
xor r14d, r14d
lea rdi, str._.2x
mov r15, qword [sym.imp.USER32.dll_wsprintfW]
movzx r8d, byte [rbx + r14]
mov rcx, rsi
mov rdx, rdi
call r15
add rsi, 4
inc r14
mov eax, dword [rsp + 0x30]
cmp r14, rax
jb 0x140001275
mov rdi, rbx
mov rcx, rdi
call fcn.14000a430
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400183f0
mov eax, ebp
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
dec rbx
jmp 0x1400010dc
xor ebp, ebp
jmp 0x14000129e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x1400012fb
mov dword [rsp + 0x20], 0xf0000008
lea rcx, [rsp + 0x40]
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140001158
xor ebp, ebp
jmp 0x140001296
Function at 0x140004fc0
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov r15, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
mov ecx, eax
call fcn.14000a428
mov rsi, rax
mov rcx, r15
xor edx, edx
mov r8d, ebp
mov r9, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14000505b
lea r8, [rsp + 0x28]
mov qword [r8], rsi
lea rdx, [0x14002faea]
lea r9, [rsp + 0x24]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000508b
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
movzx edx, word [rcx + 0xa]
mov dword [r14], edx
movzx edx, word [rcx + 8]
mov dword [rbx], edx
movzx edx, word [rcx + 0xe]
mov dword [rdi], edx
movzx ecx, word [rcx + 0xc]
mov dword [rax], ecx
mov edi, 1
jmp 0x1400050c3
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400050e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Could_not_obtain_file_info_of_old_service.____lu_
jmp 0x1400050b9
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005124
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Could_not_query_file_version_info_of_old_service.____lu_
mov r8d, eax
call fcn.140008ed0
xor edi, edi
mov rcx, rsi
call fcn.14000a430
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400183f0
mov eax, edi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [0x140038330]
call fcn.14000a6f0
cmp dword [0x140038330], 0xffffffff
jne 0x14000507c
mov qword [0x140038120], 0
lea rcx, [fcn.140001ef0]
call fcn.14000a888
lea rcx, [0x140038330]
call fcn.14000a758
jmp 0x14000507c
lea rcx, [0x140038330]
call fcn.14000a6f0
cmp dword [0x140038330], 0xffffffff
jne 0x1400050ac
mov qword [0x140038120], 0
lea rcx, [fcn.140001ef0]
call fcn.14000a888
lea rcx, [0x140038330]
call fcn.14000a758
jmp 0x1400050ac
Function at 0x140005db0
Capabilities:
Check if file exists
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x238
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp word [rcx], 0
je 0x140005e71
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140005e2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x140005e2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140005e2c
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005efd
lea rdx, str.Could_not_delete_service_updater_path:__ls.
mov r8, rsi
call fcn.140008ed0
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
xor edx, edx
call fcn.14000ba50
mov rcx, rsi
call fcn.14000a4e8
cmp rax, 0x104
ja 0x140005e71
lea rdi, [rsp + 0x20]
mov r8d, 0x105
mov rcx, rdi
mov rdx, rsi
call fcn.14000a438
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x140005e8c
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400183f0
nop
add rsp, 0x238
pop rdi
pop rsi
ret
lea rdx, str.updater.ini
lea rcx, [rsp + 0x20]
call fcn.140025890
test eax, eax
je 0x140005e71
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140005e71
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x140005e71
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140005e71
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005f3e
lea rdx, str.Could_not_delete_service_updater_INI_path:__ls.
lea r8, [rsp + 0x20]
call fcn.140008ed0
jmp 0x140005e71
lea rcx, [0x140038330]
call fcn.14000a6f0
cmp dword [0x140038330], 0xffffffff
jne 0x140005e1d
mov qword [0x140038120], 0
lea rcx, [fcn.140001ef0]
call fcn.14000a888
lea rcx, [0x140038330]
call fcn.14000a758
jmp 0x140005e1d
lea rcx, [0x140038330]
call fcn.14000a6f0
cmp dword [0x140038330], 0xffffffff
jne 0x140005ee7
mov qword [0x140038120], 0
lea rcx, [fcn.140001ef0]
call fcn.14000a888
lea rcx, [0x140038330]
call fcn.14000a758
jmp 0x140005ee7
Function at 0x140008ab0
Capabilities:
Create directory
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, [0x140027010]
xor esi, esi
lea r9, [rsp + 0x20]
mov edx, 0x8000
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x140008b06
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.14000a4e8
cmp rax, 0x105
jb 0x140008b1d
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400183f0
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov r8d, 0x105
mov rcx, rdi
mov rdx, rbx
call fcn.14000a438
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, str.Mozilla_Maintenance_Service
mov rcx, rdi
call fcn.140025890
test eax, eax
je 0x140008b06
xor esi, esi
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140008b6a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140008b06
lea rdx, str.UpdateLogs
mov rcx, rdi
call fcn.140025890
test eax, eax
je 0x140008b06
xor esi, esi
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140008b9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140008b06
mov esi, 1
jmp 0x140008b06

Function at 0x140008c70
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x468
mov esi, edx
mov rbx, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor edi, edi
lea r14, [rsp + 0x40]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000ba50
mov rcx, r14
call fcn.140008ab0
test eax, eax
je 0x140008ce6
xor edi, edi
lea r14, [rsp + 0x250]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000ba50
lea rdx, str..status
mov rcx, rbx
mov r8, r14
call fcn.140008bb0
test eax, eax
jne 0x140008d05
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400183f0
mov eax, edi
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x250]
call fcn.140025890
test eax, eax
je 0x140008ce6
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor edi, edi
lea rcx, [rsp + 0x40]
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x140008ce6
mov rbx, rax
lea rdi, [rsp + 0x250]
mov rcx, rdi
mov r8d, esi
call fcn.1400259f0
mov rcx, rdi
call fcn.140013b00
mov rsi, rax
mov qword [rsp + 0x20], 0
lea r14, [rsp + 0x3c]
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
setne al
cmp dword [r14], esi
sete cl
and cl, al
movzx edi, cl
jmp 0x140008ce6
Function at 0x140008ed0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r9
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x140038120], 0
je 0x140008f6a
mov rsi, rdx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov r9, qword [0x140038120]
lea rcx, str._Warning:
mov edx, 0xd
mov r8d, 1
call fcn.1400131b8
mov rbx, qword [rsp + 0x30]
mov rdi, qword [0x140038120]
call fcn.140001080
mov rcx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rdx, rdi
mov r8, rsi
xor r9d, r9d
call fcn.14000c3dc
mov r9, qword [0x140038120]
lea rcx, str._n
mov edx, 4
mov r8d, 1
call fcn.1400131b8
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400183f0
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000f75c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000f88c
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000f8f3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f8f3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f8f3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f8f3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f8f3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f8f3
cmp dword [rcx + 0xf8], 0
je 0x14000f8f3
mov ecx, ebx
call fcn.14000f7d8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000fa0c
cmp dword [rbp + 0x20], 0
je 0x14000f940
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f834
int3

Function at 0x1400121d0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400121f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140010390
or eax, 0xffffffff
jmp 0x1400121f2
xor eax, eax
add rsp, 0x28
ret
Function at 0x140025a60
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rdi, rdx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rdx, [0x14002fa8c]
call fcn.1400120f8
test rax, rax
je 0x140025ad7
mov rsi, rax
mov rcx, rax
xor edx, edx
mov r8d, 2
call fcn.140012aac
mov ebp, 6
test eax, eax
je 0x140025ade
mov rcx, rsi
call fcn.1400121f8
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400183f0
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebp, 6
jmp 0x140025ab7
mov rcx, rsi
call fcn.140012cbc
test eax, eax
jle 0x140025aaf
mov r14d, eax
lea rcx, [r14 + 1]
call fcn.14000a428
mov rbx, rax
mov rcx, rsi
xor edx, edx
xor r8d, r8d
call fcn.140012aac
mov ebp, 6
test eax, eax
je 0x140025b19
mov rcx, rbx
call fcn.14000a430
jmp 0x140025aaf
mov edx, 1
mov rcx, rbx
mov r8, r14
mov r9, rsi
call fcn.140012818
cmp rax, r14
jne 0x140025b0f
mov byte [rbx + r14], 0
lea r14, [rsp + 0x38]
mov qword [r14], rbx
lea r15, [0x14002cfb0]
xor r12d, r12d
xor r13d, r13d
mov rcx, r15
mov rdx, r14
call fcn.140025c90
test rax, rax
je 0x140025c3e
mov rbp, rax
movzx eax, byte [rax]
cmp eax, 0x23
je 0x140025b4b
cmp eax, 0x3b
je 0x140025b4b
jmp 0x140025b77
mov al, byte [rbp + 1]
inc rbp
cmp al, 9
je 0x140025b71
movzx ecx, al
cmp ecx, 0x20
je 0x140025b71
mov qword [rsp + 0x30], rbp
test al, al
je 0x140025b4b
cmp ecx, 0x5b
jne 0x140025bb7
inc rbp
mov qword [rsp + 0x30], rbp
lea rcx, [0x14002cfb6]
lea r13, [rsp + 0x30]
mov rdx, r13
call fcn.140025c90
test rax, rax
je 0x140025b48
jmp 0x140025c4f
test r13b, 1
je 0x140025b4b
lea rcx, [0x14002cfb8]
lea rdx, [rsp + 0x30]
call fcn.140025c90
test rax, rax
je 0x140025b4b
mov rcx, rbp
call fcn.140025d20
test eax, eax
jne 0x140025b4b
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
call fcn.140013b00
lea rcx, [rax + 1]
mov qword [rsp + 0x20], rcx
call fcn.14000a428
mov rbp, rax
mov rcx, rax
xor edx, edx
mov r8, qword [rsp + 0x20]
call fcn.14000ba50
mov rcx, qword [rdi]
mov qword [rdi], rbp
test rcx, rcx
je 0x140025c29
call fcn.14000a430
mov rbp, qword [rdi]
mov rcx, rbp
mov rdx, qword [rsp + 0x28]
call fcn.140013620
inc r12d
jmp 0x140025b4b
xor eax, eax
cmp r12d, 1
setne al
lea ebp, [rax + rax*4]
jmp 0x140025b0f
lea rcx, [0x14002cfb3]
mov rdx, r13
call fcn.140025c90
test rax, rax
jne 0x140025b48
mov rcx, rbp
lea rdx, str.Strings
call fcn.140013500
test eax, eax
sete r13b
jmp 0x140025b4b
Function at 0x140011212
Capabilities:
Terminate process

Disassembly:
jmp 0x140013900
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112a3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014c40
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014c60
xor al, al
jmp 0x140014ce1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014c73
xor al, al
jmp 0x140014ce1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014c9d
xor al, al
jmp 0x140014ce1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014cb1
xor al, al
jmp 0x140014ce1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014cc3
xor al, al
jmp 0x140014ce1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014cdf
xor al, al
jmp 0x140014ce1
mov al, 1
add rsp, 0x38
ret
Function at 0x140014fbc
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 0x14001503a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015031
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 0x140015031
mov rax, qword [rbp - 8]
jmp 0x14001504f
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 0x140015004
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400017c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14000180a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000180a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000180a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000180a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000180a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000180c
xor al, al
add rsp, 0x28
ret
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 [0x140226898]
test rax, rax
je 0x1400036f9
inc dword [rax + 0xf4]
mov rdx, qword [0x140226888]
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 [0x140226898]
test rax, rax
je 0x140003744
dec dword [rax + 0xf4]
mov rdx, qword [0x140226888]
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.14001eab0
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret