joyce8/EMBER2024-capa huggingface dataset:
Function at 0x22f810
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov qword [rsp + 0x28], rcx
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
mov byte [rsp + rax + 0x30], cl
add rax, 1
cmp rax, 0x20
jne 0x22f830
and byte [rsp + 0x30], 0xf8
mov al, byte [rsp + 0x4f]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x4f], al
lea rbp, [rsp + 0x140]
mov rcx, rbp
call fcn.00229570
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.00229200
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.00229220
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.0022b4a0
mov rcx, rbx
mov rdx, rbx
call fcn.00229800
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.00229fa0
lea rcx, [rsp + 0x80]
call fcn.00229200
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.002291e0
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.00229550
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.00229200
mov r13d, 0xfe
xor r15d, r15d
nop word cs:[rax + rax]
nop
mov ebp, r15d
mov eax, r13d
shr rax, 3
movzx r15d, byte [rsp + rax + 0x30]
mov ecx, r13d
and cl, 7
shr r15d, cl
and r15d, 1
xor ebp, r15d
lea rsi, [rsp + 0x80]
mov rcx, rsi
lea r12, [rsp + 0x50]
mov rdx, r12
mov r8d, ebp
call fcn.002293b0
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.002293b0
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.0022b4a0
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.0022b4a0
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.00229220
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.00229220
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.00229fa0
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.00229fa0
mov rcx, rbp
mov rdx, rbx
call fcn.00229a90
mov rcx, rbx
mov rdx, rsi
call fcn.00229a90
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.00229220
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.0022b4a0
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.00229fa0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.0022b4a0
mov rcx, rdi
mov rdx, rdi
call fcn.00229a90
mov rcx, r14
mov rdx, rbx
call fcn.0022aae0
mov rcx, r12
mov rdx, r12
call fcn.00229a90
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.00229220
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.00229fa0
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.00229fa0
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0x22f900
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.002293b0
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.002293b0
mov rcx, rdi
mov rdx, rdi
call fcn.00229800
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.00229fa0
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.0022a810
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140008188
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x14000d868], rdi
je 0x1400081e8
cmp rax, rdi
jne 0x1400081db
mov r12d, 1
jmp 0x1400081e8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400081c1
mov eax, dword [0x14000d860]
cmp eax, 1
jne 0x1400081fd
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x140008264
mov eax, dword [0x14000d860]
cmp eax, ebx
jne 0x14000825a
mov dword [0x14000d860], 1
lea r13, [0x140001548]
lea rdi, [0x140001530]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x14000824c
cmp eax, ebx
jne 0x14000824c
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x140008241
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000822a
cmp eax, ebx
je 0x140008264
mov eax, 0xff
jmp 0x1400083ac
mov dword [0x14000b554], 1
mov eax, dword [0x14000d860]
cmp eax, 1
jne 0x14000828c
lea rdx, [0x140001528]
lea rcx, [0x1400014b8]
call sub.msvcrt.dll__initterm
mov dword [0x14000d860], 2
cmp r12d, ebx
jne 0x14000829b
mov rax, rbx
xchg qword [0x14000d868], rax
cmp qword [0x14000d870], rbx
je 0x1400082c3
lea rcx, [0x14000d870]
call fcn.14000862c
cmp eax, ebx
je 0x1400082c3
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x14000d870]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x1400082d9
mov eax, 0xff
jmp 0x1400083ac
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14000835e
cmp word [rcx], bx
je 0x1400082f4
cmp edx, ebx
jne 0x14000835e
cmp word [rcx], bx
je 0x14000830a
cmp word [rcx], 0x20
ja 0x14000830a
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400082f4
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003b3c
mov dword [0x14000b550], eax
cmp dword [0x14000b534], ebx
jne 0x140008348
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000b554], ebx
jne 0x14000835c
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000b550]
jmp 0x1400083ac
cmp word [rcx], 0x22
jne 0x140008371
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400082e5
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.140178000
add rsp, 0x28
jmp 0x140008188
Function at 0x140060460
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14006046d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14006047d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140060465
lea eax, [rcx + 1]
jmp 0x14006048b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14006049e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140060484
sub eax, 3
jb 0x1400604be
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14006050d
sar eax, 1
movsxd rbp, eax
jb 0x1400604f4
jmp 0x1400604cc
add ebx, ebx
jne 0x1400604ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400604f4
inc ecx
add ebx, ebx
jne 0x1400604da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400604f4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400604ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400604dc
add ecx, 2
jmp 0x1400604f9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140060422
jmp 0x14006046d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x29c00
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140060559
cmp rsi, rcx
jae 0x140060561
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140060540
cmp al, 0x8f
ja 0x140060540
cmp byte [rsi - 2], 0xf
je 0x140060546
sub al, 0xe8
cmp al, 1
ja 0x14006052a
cmp rsi, rcx
jae 0x140060561
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140060530
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140060561
lodsb al, byte [rsi]
jmp 0x140060540
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x5e000]
mov eax, dword [rdi]
or eax, eax
je 0x1400605ca
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x77458]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14006056e
jns 0x1400605a3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1400605ad
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400605c4
mov qword [rbx], rax
add rbx, 8
jmp 0x14006058e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140060604
cmp al, 0xef
ja 0x1400605f6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400605d6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400605e5
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140060658
sub rsp, 0xffffffffffffff80
jmp 0x14000c1a0
Function at 0x140008870
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140008891
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400088be
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400088c0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140008919
test ecx, ecx
jle 0x1400088f9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140008919
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140008919
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
cmc
cmc
cmc
push rsi
div dh
push rsi
div dh
push rsi
div dh
push rsi
div dh
push rsi
div dh
push rbp
cmc
cmc
push rbp
cmc
cmc
push rbp
cmc
cmc
push rbp
cmc
cmc
push rbp
cmc
cmc
push rbp
cmc
cmc
push rbp
cmc
cmc
push rbx
push rsp
hlt
Function at 0x140008940
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140008962
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140008971
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140008994
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140008996
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400089d2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140008a6e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140008a0d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140008a4e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140008a6e
cmp rbx, rax
ja 0x140008a20
test rbx, rbx
je 0x140008a6e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
stc
stc
stc
invalid
Function at 0x14000fad0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x14000fae9
mov qword [r8], 0
lea rdx, [0x1400503c8]
call fcn.14000f8e0
mov rbx, rax
test rax, rax
jne 0x14000fb08
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000fbc8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14000fbc8
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000fbc8
mov rax, qword [0x140060ac0]
mov rbp, rsi
test rax, rax
je 0x14000fb65
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000fbc8
mov r9, rbx
mov r8, rbp
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, rbp
je 0x14000fbb5
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140060ac0]
test rax, rax
je 0x14000fbaa
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000fbd1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14000fbc3
mov qword [rdi], rbp
mov rax, rsi
jmp 0x14000fbd3
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 0x14001f240
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x140060ac0]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x14001f35a
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x14001f29a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140020320
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x14001f2ae
mov edx, 8
mov rcx, rbx
call fcn.140020320
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x14001f2fa
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x14001f2d0
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x14001f309
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x1400503cc]
test rax, rax
movsxd rsi, esi
lea rdi, [0x140060a38]
mov rcx, r15
cmovne rdi, rax
call fcn.14000f8e0
mov rbx, rax
test rax, rax
je 0x14001f355
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x140027260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x1400274c2
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, pe_nt_image_headers64
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x1400508d0]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14002732a
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x140027349
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x140027460
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x140027390
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x140027393
mov edx, dword [rax + rsi]
mov eax, dword [r13 + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.140022420
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.140024ec0
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0x10]
jl 0x140027380
jmp 0x140027467
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, pe_nt_image_headers64
sub qword [rsp + 0x60], 1
jne 0x1400272e0
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret
Function at 0x14003cdd0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
lea rdx, [0x140060b08]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14003cdf6
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x140060b5c]
lea rdx, [0x140060b50]
mov rcx, qword [0x140060b08]
mov r9, qword [0x140060b00]
mov qword [rsp + 0x38], rdx
lea rdx, [0x140060b10]
mov dword [0x140060b10], eax
mov eax, dword [0x140060b58]
mov qword [0x140060b28], 1
mov dword [0x140060b38], 1
mov qword [0x140060b30], r9
mov dword [0x140060b18], 0x15
mov dword [0x140060b14], eax
mov dword [0x140060b3c], 1
mov dword [0x140060b40], 0x50
mov dword [0x140060b4c], 0x80000000
mov qword [rsp + 0x40], rdi
xor edi, edi
mov qword [0x140060b1c], rdi
mov qword [0x140060b44], rdi
mov dword [0x140060b24], edi
mov rax, qword [rcx]
lea r8d, [rdi + 1]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [rax + 0xa0]
test eax, eax
jns 0x14003ceca
mov rcx, qword [0x140060b08]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea ecx, [rdi + 4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x50], rbx
call fcn.140012290
mov rbx, qword [0x140060b00]
lea rcx, [0x140060bb0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003cfcd
lea rcx, [0x140060ba8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003cfcd
mov rdx, qword [0x140060ac0]
lea rax, str.imgui_impl_win32
mov qword [0x140060ba0], rbx
or dword [rdx + 0xc], 6
mov qword [rdx + 0xd8], rax
mov qword [rdx + 0x108], rbx
mov dword [rdx + 0x3c], 9
mov dword [rdx + 0x40], 0x25
mov dword [rdx + 0x44], 0x27
mov dword [rdx + 0x48], 0x26
mov dword [rdx + 0x4c], 0x28
mov dword [rdx + 0x50], 0x21
mov dword [rdx + 0x54], 0x22
mov dword [rdx + 0x58], 0x24
mov dword [rdx + 0x5c], 0x23
mov dword [rdx + 0x60], 0x2d
mov dword [rdx + 0x64], 0x2e
mov dword [rdx + 0x68], 8
mov dword [rdx + 0x6c], 0x20
mov dword [rdx + 0x70], 0xd
mov dword [rdx + 0x74], 0x1b
mov dword [rdx + 0x78], 0x41
mov dword [rdx + 0x7c], 0x43
mov dword [rdx + 0x80], 0x56
mov dword [rdx + 0x84], 0x58
mov dword [rdx + 0x88], 0x59
mov dword [rdx + 0x8c], 0x5a
jmp 0x14003cfd4
mov rdx, qword [0x140060ac0]
cmp byte [0x14005ff70], dil
mov rax, qword [0x140060b50]
mov rbx, qword [rsp + 0x50]
je 0x14003cff0
mov byte [0x14005ff70], dil
lea rcx, str.imgui_impl_dx9
mov qword [0x140060b90], rax
mov qword [rdx + 0xe0], rcx
call fcn.1400284d0
call fcn.1400284d0
movss xmm2, dword [0x140050738]
mov dword [rdx + 0x156c], 0x3f000000
mov dword [rdx + 0x158c], edi
mov rcx, qword [rdx + 0xa0]
call fcn.14002c4b0
mov rcx, qword [0x140060b08]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdi, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x48
ret
Function at 0x140001010
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
mov rdx, qword [rdx + 8]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x140001020
cmp qword [0x140003060], 0x10
lea rcx, str.3512
mov r8, qword [0x140003058]
cmovae rcx, qword [str.3512]
cmp r8, rax
jne 0x14000105c
call sub.VCRUNTIME140.dll_memcmp
lea rcx, str.hi.exe
test eax, eax
je 0x140001063
lea rcx, str.bye.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001a08
Capabilities:
Parse pe header

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