joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400656e8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400656fe
mov al, 1
jmp 0x14006575e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14006570f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14006575c
mov ecx, dword [rcx + 0x18]
nop
call fcn.140060554
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006575c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14006575c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14006575c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14006575e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140066904
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140052c9c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14006698e
cmp byte [rbp - 0x21], r15b
je 0x140066989
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400669c4
call fcn.14005936c
test eax, eax
jne 0x1400669b0
cmp byte [rbp - 0x21], r15b
je 0x1400669a8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400669c4
cmp byte [rbp - 0x21], r15b
je 0x1400669c1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140054e44
test eax, eax
jne 0x140066a64
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140052c9c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140066a03
cmp byte [rbp - 0x21], r15b
je 0x140066a38
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140066a38
call fcn.14005936c
test eax, eax
jne 0x140066a24
cmp byte [rbp - 0x21], r15b
je 0x140066a1d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140066a38
cmp byte [rbp - 0x21], r15b
je 0x140066a35
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140054e44
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140066a64
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140066a67
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140066a75
mov rcx, rdi
call fcn.140059068
cmp byte [rbp + 0x3f], r15b
je 0x140066a84
mov rcx, qword [rbp + 0x27]
call fcn.140059068
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140071210
Capabilities:
Hash data with md5

Disassembly:
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
mov qword [rcx + 0x18], rax
mov dword [rcx + 8], 0x67452301
mov dword [rcx + 0xc], 0xefcdab89
mov dword [rcx + 0x10], 0x98badcfe
mov dword [rcx + 0x14], 0x10325476
ret
Function at 0x140071f90
Capabilities:
Hash data using sha1

Disassembly:
xorps xmm0, xmm0
mov dword [rcx + 8], 0x67452301
mov dword [rcx + 0xc], 0xefcdab89
xor eax, eax
mov qword [rcx + 0x1c], rax
mov dword [rcx + 0x64], eax
mov dword [rcx + 0x10], 0x98badcfe
mov dword [rcx + 0x14], 0x10325476
mov dword [rcx + 0x18], 0xc3d2e1f0
movups xmmword [rcx + 0x24], xmm0
movups xmmword [rcx + 0x34], xmm0
movups xmmword [rcx + 0x44], xmm0
movups xmmword [rcx + 0x54], xmm0
ret
Function at 0x1400758b0
Capabilities:
Hash data using sha224
Hash data using sha256
Hash data using sha384
Hash data using sha512

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400758c7
call fcn.14005286c
mov edx, 0xd0
mov ecx, 1
call fcn.140053af8
mov ecx, dword [rbx + 0x10]
mov qword [rbx + 8], rax
cmp ecx, 1
jne 0x140075920
mov dword [rax + 0x10], 0xc1059ed8
mov dword [rax + 0x14], 0x367cd507
mov dword [rax + 0x18], 0x3070dd17
mov dword [rax + 0x1c], 0xf70e5939
mov dword [rax + 0x20], 0xffc00b31
mov dword [rax + 0x24], 0x68581511
mov dword [rax + 0x28], 0x64f98fa7
mov dword [rax + 0x2c], 0xbefa4fa4
add rsp, 0x20
pop rbx
ret
cmp ecx, 2
jne 0x140075963
mov dword [rax + 0x10], 0x6a09e667
mov dword [rax + 0x14], 0xbb67ae85
mov dword [rax + 0x18], 0x3c6ef372
mov dword [rax + 0x1c], 0xa54ff53a
mov dword [rax + 0x20], 0x510e527f
mov dword [rax + 0x24], 0x9b05688c
mov dword [rax + 0x28], 0x1f83d9ab
mov dword [rax + 0x2c], 0x5be0cd19
add rsp, 0x20
pop rbx
ret
cmp ecx, 3
jne 0x1400759de
movabs rcx, 0xcbbb9d5dc1059ed8
mov qword [rax + 0x10], rcx
movabs rcx, 0x629a292a367cd507
mov qword [rax + 0x18], rcx
movabs rcx, 0x9159015a3070dd17
mov qword [rax + 0x20], rcx
movabs rcx, 0x152fecd8f70e5939
mov qword [rax + 0x28], rcx
movabs rcx, 0x67332667ffc00b31
mov qword [rax + 0x30], rcx
movabs rcx, 0x8eb44a8768581511
mov qword [rax + 0x38], rcx
movabs rcx, 0xdb0c2e0d64f98fa7
mov qword [rax + 0x40], rcx
movabs rcx, 0x47b5481dbefa4fa4
mov qword [rax + 0x48], rcx
add rsp, 0x20
pop rbx
ret
cmp ecx, 4
jne 0x140075a59
movabs rcx, 0x6a09e667f3bcc908
mov qword [rax + 0x10], rcx
movabs rcx, 0xbb67ae8584caa73b
mov qword [rax + 0x18], rcx
movabs rcx, 0x3c6ef372fe94f82b
mov qword [rax + 0x20], rcx
movabs rcx, 0xa54ff53a5f1d36f1
mov qword [rax + 0x28], rcx
movabs rcx, 0x510e527fade682d1
mov qword [rax + 0x30], rcx
movabs rcx, 0x9b05688c2b3e6c1f
mov qword [rax + 0x38], rcx
movabs rcx, 0x1f83d9abfb41bd6b
mov qword [rax + 0x40], rcx
movabs rcx, 0x5be0cd19137e2179
mov qword [rax + 0x48], rcx
add rsp, 0x20
pop rbx
ret
cmp ecx, 5
jne 0x140075ad4
movabs rcx, 0x8c3d37c819544da2
mov qword [rax + 0x10], rcx
movabs rcx, 0x73e1996689dcd4d6
mov qword [rax + 0x18], rcx
movabs rcx, 0x1dfab7ae32ff9c82
mov qword [rax + 0x20], rcx
movabs rcx, 0x679dd514582f9fcf
mov qword [rax + 0x28], rcx
movabs rcx, 0xf6d2b697bd44da8
mov qword [rax + 0x30], rcx
movabs rcx, 0x77e36f7304c48942
mov qword [rax + 0x38], rcx
movabs rcx, 0x3f9d85a86a1d36c8
mov qword [rax + 0x40], rcx
movabs rcx, 0x1112e6ad91d692a1
mov qword [rax + 0x48], rcx
add rsp, 0x20
pop rbx
ret
movabs rcx, 0x22312194fc2bf72c
mov qword [rax + 0x10], rcx
movabs rcx, 0x9f555fa3c84c64c2
mov qword [rax + 0x18], rcx
movabs rcx, 0x2393b86b6f53b151
mov qword [rax + 0x20], rcx
movabs rcx, 0x963877195940eabd
mov qword [rax + 0x28], rcx
movabs rcx, 0x96283ee2a88effe3
mov qword [rax + 0x30], rcx
movabs rcx, 0xbe5e1e2553863992
mov qword [rax + 0x38], rcx
movabs rcx, 0x2b0199fc2c85b8aa
mov qword [rax + 0x40], rcx
movabs rcx, 0xeb72ddc81c52ca2
mov qword [rax + 0x48], rcx
add rsp, 0x20
pop rbx
ret
Function at 0x140095170
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, r8
mov qword [rsp + 0x50], 0
mov rbx, rdx
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov rcx, qword [rsp + 0x50]
mov r8, rbx
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14009a8c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14009a8e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14009a8e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003760
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 0x1400037bd
lea rbx, [0x14004c4b0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400037a4
cmp r10, 2
jb 0x1400037a4
cmp byte [r9], r8b
jne 0x1400037a4
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 0x140003780
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400037ff
lea rbx, [0x14004c4b0]
cmp r8b, 0x23
jne 0x1400037e3
cmp byte [r9], r8b
jne 0x1400037e3
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 0x1400037d0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140003900
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140003935
mov r8d, 0x83c
lea rdx, str.C:UsersDomDesktoploader_MONARCHimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor r14d, r14d
test rsi, rsi
je 0x140003940
mov qword [rsi], r14
lea rdx, [0x14004bc98]
mov rcx, rbx
call fcn.140003810
mov rbx, rax
test rax, rax
jne 0x140003968
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003a94
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003a94
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003a94
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 0x140003a94
cmp rdi, 0xffffffffffffffff
je 0x140003a94
mov rcx, rdi
call fcn.140008120
mov rbp, rax
test rax, rax
je 0x140003a94
mov r9, rbx
mov r8, rdi
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, rdi
je 0x140003a81
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140114748]
test r8, r8
je 0x140003a76
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140003a6b
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003a9d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140003a8f
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140003a9f
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 rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140007590
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x100], 0
mov rdi, rdx
mov rsi, rcx
jg 0x1400075cd
mov r8d, 0x774
lea rdx, str.C:UsersDomDesktoploader_MONARCHimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x108]
lea rdx, [0x14004c4b0]
movsxd r8, dword [rsi + 0x100]
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
movzx eax, byte [rsp + 0x3c]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3d]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3e]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3f]
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 + 0x4084], ebx
jne 0x14000768c
mov r8, rdi
mov edx, 0xc
mov ecx, ebx
call fcn.14001f130
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400076a0
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 + 0x100], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x1400076dc
mov r8d, 0x774
lea rdx, str.C:UsersDomDesktoploader_MONARCHimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x108]
lea rdx, [0x14004c4b0]
movsxd r8, dword [rsi + 0x100]
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 + 0x4084], ebx
jne 0x140007757
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001f130
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007770
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x100], 0
mov rdi, rdx
mov rbx, rcx
jg 0x1400077a3
mov r8d, 0x774
lea rdx, str.C:UsersDomDesktoploader_MONARCHimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rbx + 0x120]
lea r10, [0x14004c4b0]
movsxd rcx, dword [rbx + 0x100]
mov rax, qword [rbx + 0x108]
movss xmm2, dword [rdi]
movss xmm1, dword [rbx + 0x124]
subss xmm2, xmm0
movss xmm3, dword [rdi + 4]
mov r9d, dword [rax + rcx*4 - 4]
subss xmm3, xmm1
movss xmm4, dword [rdi + 8]
not r9d
movzx ecx, r9b
subss xmm4, xmm0
movss xmm0, dword [rdi + 0xc]
shr r9d, 8
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp + 0x20], xmm2
movzx eax, byte [rsp + 0x20]
xor rcx, rax
movss dword [rsp + 0x24], xmm3
mov eax, r8d
movss dword [rsp + 0x28], xmm4
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 0x2c], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x24]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x28]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
mov rbx, qword [rsp + 0x40]
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x2c]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x30
pop rdi
ret
Function at 0x140017f20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140114748]
mov edi, ecx
cmp byte [rbx + 0x4d21], 0
jne 0x140017f72
cmp byte [rbx + 0x4d22], 0
jne 0x140017f72
movsx r9d, word [rbx + 0x5e68]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003570
test dil, 2
je 0x14001809f
jmp 0x140017ffd
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140053974]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x140053964]
addss xmm0, dword [rbx + 0xe48]
addss xmm1, dword [rbx + 0xe4c]
mov qword [rbx + 0x4a00], rax
mov dword [rbx + 0x49ec], 1
movss dword [rbx + 0x49f8], xmm0
movss dword [rbx + 0x49fc], xmm1
movss xmm0, dword [rbx + 0x3a2c]
mulss xmm0, dword [0x1400538e4]
or dword [rbx + 0x49e8], 0x41
movss dword [rbx + 0x4a48], xmm0
movsx r9d, word [rbx + 0x5e68]
call fcn.140003570
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140018050
lea r11, [0x14004c4b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018033
cmp byte [r8], r9b
jne 0x140018033
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 0x140018020
not ecx
call fcn.14000c380
test rax, rax
je 0x14001809f
cmp byte [rax + 0xbe], 0
je 0x14001809f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5e68]
movsx r9d, word [rbx + 0x5e68]
call fcn.140003570
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000f540
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001da00
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 + 0x5fc0], 0
lea rbx, [rcx + 0x5fc8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001daa7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001da5a
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.140020460
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003ef0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5fc0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5fd0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140114740]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001daaf
mov rcx, rbx
call fcn.140003ef0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001dd10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x140114748]
xor ebp, ebp
cmp byte [rbx + 0x5f18], bpl
jne 0x14001de0c
cmp dword [rbx + 0x5f40], ebp
je 0x14001dd57
mov r8d, 0x33be
lea rdx, str.C:UsersDomDesktoploader_MONARCHimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001de05
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140003900
mov rdi, rax
test rax, rax
je 0x14001de05
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001dd91
mov rcx, rax
call fcn.14001df60
mov r8, qword [0x140114748]
test r8, r8
je 0x14001ddfc
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001ddf1
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f18], 1
movss xmm0, dword [rbx + 0x5f1c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001dea9
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f1c], xmm0
jb 0x14001dea9
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x14001de97
mov rax, qword [0x140114748]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f1c], ebp
call fcn.14001e1e0
lea rdx, [0x14004bc9c]
mov rcx, rdi
mov rsi, rax
call fcn.140003810
mov rdi, rax
test rax, rax
je 0x14001de9e
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001de9e
mov byte [rbx + 0xce], 1
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x5f1c], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001dec0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140114748]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001df23
mov qword [rsp], rbx
lea rbx, [0x14004c4b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001df03
cmp byte [r8], r9b
jne 0x14001df03
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001def0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f30]
not eax
mov r8, qword [r10 + 0x5f38]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001df4f
cmp dword [r8 + 8], eax
je 0x14001df56
add r8, 0x48
cmp r8, rcx
jne 0x14001df40
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140044c48
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140044c92
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140044c92
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140044c92
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140044c92
cmp dword [rcx + 0x84], 0xe
jbe 0x140044c92
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140044c94
xor al, al
add rsp, 0x28
ret