joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022620
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14002262d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14002263d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140022625
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140022655
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140022642
sub eax, 3
jb 0x14002266f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400226a6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140022696
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140022694
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140022683
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.1400225e2
jmp 0x14002262d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1a00
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400226f2
cmp rsi, rcx
jae 0x1400226fa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400226d9
cmp al, 0x8f
ja 0x1400226d9
cmp byte [rsi - 2], 0xf
je 0x1400226df
sub al, 0xe8
cmp al, 1
ja 0x1400226c3
cmp rsi, rcx
jae 0x1400226fa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400226c9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400226fa
lodsb al, byte [rsi]
jmp 0x1400226d9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x20000]
mov eax, dword [rdi]
or eax, eax
je 0x140022757
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x22000]
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 0x140022707
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 0x140022751
mov qword [rbx], rax
add rbx, 8
jmp 0x140022727
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 0x140022791
cmp al, 0xef
ja 0x140022783
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140022763
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140022772
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 + 0x1af]
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
mov byte [fcn.140022810], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140022810
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140022800
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x180003ec0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rax, qword gs:[0x60]
mov rbp, rdx
mov r14, rcx
mov rsi, qword [rax + 0x18]
add rsi, 0x10
mov rdi, qword [rsi]
cmp rdi, rsi
je 0x180003f66
movzx ebx, word [rdi + 0x58]
xor eax, eax
shr rbx, 1
je 0x180003f55
mov r10, qword [rdi + 0x60]
nop dword [rax]
nop dword [rax + rax]
movzx edx, word [r10]
movsx r11d, byte [rax + rbp]
movzx r9d, r11w
lea ecx, [rdx - 0x61]
cmp cx, 0x19
lea r8d, [rdx - 0x20]
lea ecx, [r9 - 0x61]
cmova r8w, dx
cmp cx, 0x19
lea edx, [r9 - 0x20]
cmova dx, r11w
cmp r8w, dx
jne 0x180003f5e
test r11b, r11b
je 0x180003f5e
inc rax
add r10, 2
cmp rax, rbx
jb 0x180003f10
mov rax, qword [rdi + 0x30]
mov qword [r14], rax
jmp 0x180003f6d
mov rdi, qword [rdi]
cmp rdi, rsi
jne 0x180003ef5
mov qword [r14], 0
mov rbx, qword [rsp + 0x10]
mov rax, r14
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x180007ba0
Capabilities:
Parse pe header

Disassembly:
push rbx
push r13
sub rsp, 0x18
mov r11, qword [rcx]
xor r9d, r9d
mov r13, r8
mov rbx, rdx
test r11, r11
je 0x180007cd9
mov qword [rsp + 0x30], rbp
mov eax, 0x5a4d
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x10], r12
mov qword [rsp + 8], r14
mov qword [rsp], r15
cmp word [r11], ax
jne 0x180007cae
movsxd rax, dword [r11 + 0x3c]
add rax, r11
cmp dword [rax], 0x4550
cmovne rax, r9
test rax, rax
je 0x180007cae
add rax, 0x18
mov ecx, 0x20b
cmp word [rax], cx
jne 0x180007cae
test rax, rax
je 0x180007cae
cmp dword [rax + 0x6c], r9d
jbe 0x180007cae
lea r14, [rax + 0x70]
test r14, r14
je 0x180007cae
mov r15d, dword [r14]
mov r10d, r9d
mov edi, dword [r11 + r15 + 0x18]
lea rsi, [r11 + r15]
test edi, edi
je 0x180007cae
mov r12d, dword [rsi + 0x20]
nop dword [rax]
mov ebp, r10d
mov r8, r13
lea rax, [r12 + rbp*4]
mov eax, dword [rax + r11]
add rax, r11
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180007c77
inc rax
test ecx, ecx
jne 0x180007c64
test edx, edx
je 0x180007c85
inc r10d
cmp r10d, edi
jb 0x180007c50
jmp 0x180007cae
mov ecx, dword [rsi + 0x24]
add rcx, r11
movzx edx, word [rcx + rbp*2]
mov ecx, dword [rsi + 0x1c]
add rcx, r11
mov r8d, dword [rcx + rdx*4]
cmp r8d, r15d
jb 0x180007caa
mov eax, r8d
sub eax, r15d
cmp eax, dword [r14 + 4]
jb 0x180007cae
lea r9, [r11 + r8]
mov qword [rbx], r9
mov rax, rbx
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
add rsp, 0x18
pop r13
pop rbx
ret
mov qword [rdx], r9
mov rax, rbx
add rsp, 0x18
pop r13
pop rbx
ret

Function at 0x1800081a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rcx]
mov rbx, rdx
xor edx, edx
mov rdi, rcx
test r9, r9
je 0x18000823f
mov eax, 0x5a4d
cmp word [r9], ax
jne 0x180008220
movsxd r8, dword [r9 + 0x3c]
add r8, r9
cmp dword [r8], 0x4550
cmovne r8, rdx
test r8, r8
je 0x180008220
movzx ecx, word [r8 + 0x14]
movzx eax, word [r8 + 6]
add rcx, 0x18
add rcx, r8
lea rax, [rax + rax*4]
lea r8, [rcx + rax*8]
cmp rcx, r8
je 0x180008220
nop
test dword [rcx + 0x24], 0x40000000
je 0x180008217
cmp dword [rcx], 0x7461642e
jne 0x180008217
cmp byte [rcx + 4], 0x61
je 0x180008234
add rcx, 0x28
cmp rcx, r8
jne 0x180008200
mov qword [rbx + 8], rdx
mov rax, rdx
mov ecx, 8
mov r9, rbx
add r9, rcx
jmp 0x180008246
mov eax, dword [rcx + 0xc]
mov edx, dword [rcx + 8]
add rax, r9
jmp 0x180008227
lea r9, [rbx + 8]
mov rax, rdx
mov qword [rbx], rax
mov rcx, rdi
mov qword [r9], rdx
lea rdx, [rbx + 0x10]
call fcn.180008270
mov rax, qword [rdi]
mov qword [rbx + 0x20], rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180008270
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r10, qword [rcx]
xor r8d, r8d
test r10, r10
je 0x180008305
mov eax, 0x5a4d
cmp word [r10], ax
jne 0x1800082e2
movsxd rcx, dword [r10 + 0x3c]
add rcx, r10
cmp dword [rcx], 0x4550
cmovne rcx, r8
test rcx, rcx
je 0x1800082e2
movzx eax, word [rcx + 0x14]
add rax, 0x18
add rax, rcx
movzx ecx, word [rcx + 6]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8]
cmp rax, r9
je 0x1800082e2
nop dword [rax]
test dword [rax + 0x24], 0x40000000
je 0x1800082d9
cmp dword [rax], 0x6164722e
jne 0x1800082d9
cmp word [rax + 4], 0x6174
je 0x1800082f9
add rax, 0x28
cmp rax, r9
jne 0x1800082c0
mov qword [rdx + 8], r8
mov rcx, r8
mov eax, 8
mov qword [rdx], rcx
mov qword [rax + rdx], r8
mov rax, rdx
ret
mov ecx, dword [rax + 0xc]
mov r8d, dword [rax + 8]
add rcx, r10
jmp 0x1800082e9
mov qword [rdx], r8
mov rax, rdx
mov qword [rdx + 8], r8
ret
Function at 0x18000d3f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
cmp edx, 1
jne 0x18000d536
cmp qword [0x180014028], rbx
jne 0x18000d536
lea rax, [0x180014570]
mov qword [0x180014570], 0xf4240
mov qword [0x180014030], rax
lea rdx, str.SDL3.dll
lea rax, [0x180014030]
mov qword [0x180014578], rbx
lea rcx, [rsp + 0x68]
mov qword [0x180014028], rax
mov byte [0x180014568], bl
call fcn.180003ec0
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x18000d4ca
mov edx, 0x5a4d
mov rcx, rax
cmp word [rax], dx
cmovne rcx, rbx
test rcx, rcx
je 0x18000d4ca
movsxd r8, dword [rcx + 0x3c]
add r8, rax
cmp dword [r8], 0x4550
cmovne r8, rbx
test r8, r8
je 0x18000d4ca
movzx edx, word [r8 + 0x14]
movzx ecx, word [r8 + 6]
add rdx, 0x18
add rdx, r8
lea rcx, [rcx + rcx*4]
lea r8, [rdx + rcx*8]
cmp rdx, r8
je 0x18000d4ca
test dword [rdx + 0x24], 0x20000000
je 0x18000d4c1
cmp dword [rdx], 0x7865742e
jne 0x18000d4c1
cmp byte [rdx + 4], 0x74
je 0x18000d557
add rdx, 0x28
cmp rdx, r8
jne 0x18000d4a6
mov rcx, rbx
mov rax, rbx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x28], rcx
lea rcx, [0x180014038]
mov qword [rsp + 0x20], rax
call fcn.1800063d0
lea r9, [rsp + 0x20]
mov byte [0x180014568], 0xff
lea r8, [rsp + 0x68]
xor edx, edx
lea rcx, [0x180014038]
call fcn.180001010
mov rcx, qword [0x180014038]
mov byte [0x180014568], 1
test rcx, rcx
je 0x18000d536
mov rax, qword [rcx]
mov qword [0x180014040], rax
lea rax, [0x18000e0c3]
mov qword [rcx], rax
lea rdx, [0x18000d774]
lea rcx, section..text
mov rax, rdx
sub rax, rcx
cmp rdx, rcx
cmovb rax, rbx
add rsp, 0x40
pop rbx
ret
mov ecx, dword [rdx + 0xc]
add rcx, rax
mov eax, dword [rdx + 8]
jmp 0x18000d4d0
Function at 0x2fc4c6fd0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4c79d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ec108]
test eax, eax
je 0x2fc4c7a6a
lea rax, [0x2fc4ec0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ec110]
mov qword [rbp - 8], rax
jmp 0x2fc4c7a4e
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 0x2fc4c7a42
cmp qword [rbp - 0x10], 0
je 0x2fc4c7a42
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 0x2fc4c7a08
lea rax, [0x2fc4ec0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c7a6b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c7b70
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 0x2fc4c7b98
mov eax, 0
jmp 0x2fc4c7be6
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 0x2fc4c7bc1
mov eax, 0
jmp 0x2fc4c7be6
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 0x2fc4c7be1
mov eax, 0
jmp 0x2fc4c7be6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c7bec
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 0x2fc4c7c6a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c7c61
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 0x2fc4c7c61
mov rax, qword [rbp - 8]
jmp 0x2fc4c7c7f
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 0x2fc4c7c34
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400075a0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x2040
call fcn.14000bda0
sub rsp, rax
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rsp + 0x2030], rax
mov rbx, rdx
mov qword [rsp + 0x2078], rbp
lea rdx, [0x14002c854]
mov rbp, r8
call fcn.140003fc0
mov r9, rbx
mov qword [rsp + 0x28], rbp
lea r8, str._s_c_s
mov dword [rsp + 0x20], 0x5c
mov edx, 0x1000
lea rcx, [rsp + 0x30]
mov rdi, rax
call fcn.140001ee0
cmp eax, 0x1000
jl 0x140007616
xor esi, esi
mov ebx, esi
jmp 0x1400076cc
lea rcx, [rsp + 0x30]
call fcn.140003f50
xor esi, esi
cmp eax, 1
jne 0x1400076a4
mov eax, dword [0x14003f004]
cmp eax, 0xffffffff
jne 0x140007673
lea rcx, str.grmlrezrfeghsygmoghwdrasqhbpiJ
call fcn.140007b60
mov r8, rax
test rax, rax
je 0x14000768d
movzx edx, byte [rax]
sub edx, 0x30
jne 0x140007658
movzx edx, byte [rax + 1]
movzx ecx, sil
sub edx, ecx
mov eax, esi
test edx, edx
mov rcx, r8
setne al
mov dword [0x14003f004], eax
call fcn.14001555c
mov eax, dword [0x14003f004]
test eax, eax
je 0x140007693
lea rdx, [rsp + 0x30]
lea rcx, str.ERROR:_file_already_exists_but_should_not:__s_n
call fcn.140002c30
mov rbx, rsi
jmp 0x1400076cc
mov dword [0x14003f004], esi
lea rdx, [rsp + 0x30]
lea rcx, str.WARNING:_file_already_exists_but_should_not:__s_n
call fcn.140002c30
mov rdx, rbp
mov rcx, rbx
call fcn.1400077c0
test eax, eax
jns 0x1400076b8
mov rbx, rsi
jmp 0x1400076cc
lea rdx, [0x14002eccc]
lea rcx, [rsp + 0x30]
call fcn.140003fc0
mov rbx, rax
mov rbp, qword [rsp + 0x2078]
test rdi, rdi
je 0x140007789
mov rcx, rdi
test rbx, rbx
je 0x140007791
call fcn.140010804
test eax, eax
jne 0x140007775
nop word [rax + rax]
mov r9, rdi
lea rcx, [rsp + 0x1030]
mov edx, 1
mov r8d, 0x1000
call fcn.140010abc
test rax, rax
jne 0x140007731
mov rcx, rdi
call fcn.140010830
test eax, eax
je 0x14000775a
mov rcx, rdi
jmp 0x14000776b
mov r9, rbx
lea rcx, [rsp + 0x1030]
mov r8, rax
mov edx, 1
call fcn.1400111fc
test rax, rax
je 0x140007768
mov rcx, rbx
call fcn.140010830
test eax, eax
jne 0x140007768
mov rcx, rdi
call fcn.140010804
test eax, eax
je 0x140007700
jmp 0x140007775
mov rcx, rbx
call fcn.1400190a0
mov esi, 0xffffffff
mov rcx, rdi
call fcn.14001076c
mov rcx, rbx
call fcn.14001076c
mov eax, esi
jmp 0x14000779b
test rbx, rbx
je 0x140007796
mov rcx, rbx
call fcn.14001076c
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.14000be00
add rsp, 0x2040
pop rdi
pop rsi
pop rbx
ret
Function at 0x140002360
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x750]
sub rsp, 0x850
mov eax, 0x2c
mov word [rbp + 0x798], ax
xor r12d, r12d
mov r15d, r12d
lea rdx, [rbp + 0x798]
call fcn.14000eb30
mov rdi, rax
test rax, rax
je 0x14000256b
lea r14, [rsp + 0x50]
nop dword [rax]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdi + r8], 0
jne 0x1400023d0
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140004d20
nop
call fcn.140011e04
mov rsi, rax
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rbx, qword [rsp + 0x30]
mov dword [rax], r12d
mov r8d, 0xa
lea rdx, [rbp + 0x7a0]
mov rcx, rbx
call fcn.140012848
cmp rbx, qword [rbp + 0x7a0]
je 0x1400025eb
cmp dword [rsi], 0x22
je 0x1400025de
mov byte [r14], al
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000246f
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000246a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400025f8
call fcn.14000873c
mov r8d, r15d
mov rdx, rdi
lea rcx, str._s___d_n
call fcn.140001120
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], 0
jne 0x1400024a0
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140004d20
nop
call fcn.140011e04
mov rdi, rax
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rbx, qword [rsp + 0x30]
mov dword [rax], r12d
mov r8d, 0xa
lea rdx, [rbp + 0x7a8]
mov rcx, rbx
call fcn.140012848
cmp rbx, qword [rbp + 0x7a8]
je 0x140002611
cmp dword [rdi], 0x22
je 0x140002604
mov edx, eax
lea rcx, [0x14003abb8]
call fcn.140001120
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000254b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002546
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400025fe
call fcn.14000873c
lea rdx, [rbp + 0x798]
xor ecx, ecx
call fcn.14000eb30
mov rdi, rax
inc r15d
inc r14
test rax, rax
jne 0x1400023b0
mov edx, 0x800
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov rcx, rax
lea rdx, [rsp + 0x50]
mov r8d, 0x800
call fcn.14000a530
lea rax, [rbp + 0x7a0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rax, [rsp + 0x50]
add rsp, 0x850
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.stoi_argument_out_of_range
call fcn.14000785c
int3
lea rcx, str.invalid_stoi_argument
call fcn.140007814
nop
call fcn.1400134b0
int3
call fcn.1400134b0
nop
lea rcx, str.stoi_argument_out_of_range
call fcn.14000785c
int3
lea rcx, str.invalid_stoi_argument
call fcn.140007814
int3
Function at 0x14000eb24
Capabilities:
Parse pe header

Disassembly:
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 0x14000e9b7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000e9b7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000e9b7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000e9b7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000e9b7
cmp dword [rcx + 0x84], 0xe
jbe 0x14000e9b7
cmp dword [rcx + 0xf8], 0
je 0x14000e9b7
mov ecx, ebx
call fcn.14000ea58
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.14000e848
cmp dword [rbp + 0x20], 0
je 0x14000ea04
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000ea0c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000e950
Function at 0x1400026b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140002711
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400026d0
mov ecx, dword [r9]
jmp 0x1400027f8
cmp ecx, 0x4e0
jb 0x1400027f8
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140002730
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140002780
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140004160
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 0x1400041bd
lea rbx, [0x140090720]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400041a4
cmp r10, 2
jb 0x1400041a4
cmp byte [r9], r8b
jne 0x1400041a4
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 0x140004180
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400041ff
lea rbx, [0x140090720]
cmp r8b, 0x23
jne 0x1400041e3
cmp byte [r9], r8b
jne 0x1400041e3
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 0x1400041d0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140006640
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rbx, rcx
mov edi, edx
jg 0x140006675
mov r8d, 0x5d0
lea rdx, str.C:UsersBNgamOneDriveDesktopcpp_script2_a_pasted_rust_script_mainimgui.h
lea rcx, str.Size___0
call fcn.140069c88
movsxd r8, dword [rbx + 0x108]
mov rax, qword [rbx + 0x110]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x140090720]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1400c4360]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1c28], edx
jne 0x1400066ef
mov dword [rax + 0x1c2c], edx
cmp dword [rax + 0x1c68], edx
jne 0x1400066fe
mov byte [rax + 0x1c6c], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret