joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402230
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x0040a720]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x402250
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x402258
ret
cmp word [r8 + 0x18], 0x20b
jne 0x402250
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x4022a5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x40229c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402250
add rax, 0x28
cmp rax, r9
jne 0x402288
xor eax, eax
ret

Function at 0x4022b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x0040a720]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x4022d0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4022d8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x4022d0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x402360
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x0040a720]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x402380
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x402388
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140009ba0
Capabilities:
Enumerate processes

Disassembly:
push rsi
sub rsp, 0x160
mov rax, qword [0x1401cad28]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rdx
test rdx, rdx
jne 0x140009bca
xor eax, eax
jmp 0x140009c6b
mov qword [rsp + 0x170], rbx
xor edx, edx
mov qword [rsp + 0x180], rbp
mov qword [rsp + 0x188], rdi
xor edi, edi
mov ebx, edi
lea ecx, [rdi + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], pe_nt_image_headers64
mov rcx, rax
mov rbp, rax
call sub.KERNEL32.dll_Process32First
lea rdx, [rsp + 0x20]
mov rcx, rbp
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140009c51
nop dword [rax]
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x140009c40
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x140009c40
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rbp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140009c20
mov rbp, qword [rsp + 0x180]
mov eax, edi
mov rdi, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400bbf50
add rsp, 0x160
pop rsi
ret
Function at 0x14000a7c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401cad28]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r15, r9
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
mov r14, qword [rsp + 0xc0]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
mov rbx, rax
test eax, eax
jg 0x14000a809
xor al, al
jmp 0x14000a904
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
xor r12d, r12d
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, r15
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.1400095e0
mov r8, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
cmp r8, rax
jne 0x14000a848
xor bl, bl
jmp 0x14000a8c0
mov edi, r12d
sub rax, r8
sar rax, 3
test rax, rax
je 0x14000a8be
movsxd rbp, ebx
mov rbx, r12
nop dword [rax]
mov edx, dword [rbx + r8]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, rbp
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], r12
mov r9, rbp
mov r8, r14
mov rdx, qword [rbx + rax]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
inc edi
lea rbx, [rbx + 8]
mov rcx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
sub rcx, r8
sar rcx, 3
movsxd rax, edi
cmp rax, rcx
jb 0x14000a860
mov bl, 1
test r8, r8
je 0x14000a901
mov rdx, qword [rsp + 0x40]
sub rdx, r8
and rdx, 0xfffffffffffffff8
mov rax, r8
cmp rdx, 0x1000
jb 0x14000a8f9
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a8f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1400bb9cc
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400bbf50
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140012720
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401cad28]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401cba08]
mov esi, edx
mov edi, ecx
cmp byte [rbx + 0x211d], 0
jne 0x140012787
cmp byte [rbx + 0x211e], 0
jne 0x140012787
mov r9d, dword [rbx + 0x31c0]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400230e0
test sil, 1
je 0x1400128ca
jmp 0x140012826
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400bfe18]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400bfe0c]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
or dword [rbx + 0x1dd0], 1
mov qword [rbx + 0x1dec], rax
movss dword [rbx + 0x1de4], xmm0
mov dword [rbx + 0x1dd4], 1
movss dword [rbx + 0x1de8], xmm1
mov byte [rbx + 0x1e0c], 1
movss xmm0, dword [rbx + 0x1758]
mov rax, qword [0x1401cba08]
mulss xmm0, dword [0x1400bfdec]
or dword [rax + 0x1dd0], 0x40
movss dword [rax + 0x1e30], xmm0
mov r9d, dword [rbx + 0x31c0]
call fcn.1400230e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140012876
lea r11, [0x1400c18c0]
cmp r9b, 0x23
jne 0x140012859
cmp byte [r8], r9b
jne 0x140012859
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140012846
mov rcx, qword [0x1401cba08]
not edx
add rcx, 0x1d08
call fcn.140022ae0
test rax, rax
je 0x1400128ca
cmp byte [rax + 0xcf], 0
je 0x1400128ca
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x31c0]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x31c0]
call fcn.1400230e0
or edi, 0x22c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.14000e420
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400bbf50
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140015530
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140015790
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1401cad28]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400c18c0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x140015758
mov rcx, rbp
call fcn.140015370
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x1400155ae
lea rcx, [rbp + 0x3208]
call fcn.140022ae0
mov rcx, rax
jmp 0x1400155b0
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
and dword [rbx + 0xb8], 0xfffffe49
or dword [rbx + 0xb8], 0x49
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x140015641
cmp qword [rcx + 0x18], 0
jne 0x140015636
mov qword [rcx + 0x18], rbx
jmp 0x140015641
cmp qword [rcx + 0x20], 0
jne 0x140015641
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xc]
mov rcx, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 4]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001567c
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140015670
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, reloc.WS2_32.dll_sendto
call fcn.1400230e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x1400156d8
cmp r9b, 0x23
jne 0x1400156bb
cmp byte [r8], r9b
jne 0x1400156bb
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x1400156a8
mov r11, qword [0x1401cba08]
not edx
movsxd rax, dword [r11 + 0x1d08]
mov r9, qword [r11 + 0x1d10]
mov r10, rax
mov r8, rax
mov rcx, r9
test eax, eax
je 0x140015738
nop dword [rax]
mov rcx, r8
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r9 + rax*8], edx
jae 0x140015729
lea r9, [r9 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r9, 0x10
add r8, rax
jmp 0x14001572c
mov r8, rcx
test r8, r8
jne 0x140015700
mov rcx, qword [r11 + 0x1d10]
shl r10, 4
add r10, rcx
cmp r9, r10
je 0x14001574f
cmp dword [r9], edx
jne 0x14001574f
mov rax, qword [r9 + 8]
jmp 0x140015751
xor eax, eax
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x140015580
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400bbf50
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140021070
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rbx]
lea r8, [rbx + 1]
test r9b, r9b
je 0x1400210c6
lea r11, [0x1400c18c0]
cmp r9b, 0x23
jne 0x1400210a9
cmp byte [r8], r9b
jne 0x1400210a9
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 0x140021096
not ecx
call fcn.140021630
test rax, rax
jne 0x1400210df
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140014b30
add rsp, 0x20
pop rbx
ret

Function at 0x140021490
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x1400214e0
lea r11, [0x1400c18c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400214c3
cmp byte [r8], r9b
jne 0x1400214c3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x1400214b0
mov rcx, qword [0x1401cba08]
not edx
add rcx, 0x1d08
jmp fcn.140022ae0

Function at 0x140021da0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x108]
mov rbx, rcx
mov edi, edx
test eax, eax
jg 0x140021ddd
mov r8d, 0x6d2
lea rdx, str.C:UsersFinishDesktopJhonNet_Cimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0x108]
movsxd rcx, eax
lea r8, [0x1400c18c0]
mov rax, qword [rbx + 0x110]
mov edx, dword [rax + rcx*4 - 4]
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 [0x1401cba08]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1d7c], edx
jne 0x140021e52
mov dword [rax + 0x1d80], edx
cmp dword [rax + 0x1db8], edx
jne 0x140021e61
mov byte [rax + 0x1dbc], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x140021f10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x108]
mov rdi, rdx
mov rbx, rcx
test eax, eax
jg 0x140021f4a
mov r8d, 0x6d2
lea rdx, str.C:UsersFinishDesktopJhonNet_Cimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0x108]
movss xmm0, dword [rdi]
subss xmm0, dword [rbx + 0x50]
movss xmm1, dword [rdi + 4]
subss xmm1, dword [rbx + 0x54]
movsxd rcx, eax
mov rax, qword [rbx + 0x110]
cvttss2si r8d, xmm0
movss xmm0, dword [rdi + 8]
subss xmm0, dword [rbx + 0x50]
cvttss2si r9d, xmm1
movss xmm1, dword [rdi + 0xc]
lea rdi, [0x1400c18c0]
subss xmm1, dword [rbx + 0x54]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, r8b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
cvttss2si r10d, xmm0
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
movzx eax, r9b
cvttss2si r11d, xmm1
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
movzx eax, r10b
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
xor ebx, dword [rdi + rdx*4]
shr eax, 0x10
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
movzx eax, r11b
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r11d
shr eax, 8
movzx edx, al
mov eax, r11d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x1401cba08]
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r11d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
not ebx
cmp dword [rax + 0x1d7c], ebx
jne 0x1400220e7
mov dword [rax + 0x1d80], ebx
cmp dword [rax + 0x1db8], ebx
jne 0x1400220f6
mov byte [rax + 0x1dbc], 1
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140022110
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x108]
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test eax, eax
jg 0x140022152
mov r8d, 0x6d2
lea rdx, str.C:UsersFinishDesktopJhonNet_Cimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0x108]
movsxd rcx, eax
xor r8d, r8d
mov rax, qword [rbx + 0x110]
mov rdx, rdi
sub rdx, rsi
test rdi, rdi
cmove rdx, r8
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140023230

Function at 0x140022d90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x140022db3
test rdx, rdx
jne 0x140022dcd
mov r8d, 0x645
lea rdx, str.C:UsersFinishDesktopJhonNet_Cimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test r14, r14
je 0x140022dd9
mov qword [r14], 0
mov rdx, rbx
mov rcx, rdi
call fcn.140022f20
mov rbx, rax
test rax, rax
jne 0x140022dfa
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140022efd
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 0x140022efd
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140022efd
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140022efd
cmp rdi, 0xffffffffffffffff
je 0x140022efd
mov rax, qword [0x1401cba08]
test rax, rax
je 0x140022e76
inc dword [rax + 0x3b0]
mov rdx, qword [0x1401cba18]
lea rcx, [rdi + rbp]
call qword [0x140122030]
mov rsi, rax
test rax, rax
je 0x140022efd
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]
cmp rax, rdi
je 0x140022ed5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401cba08]
test rax, rax
je 0x140022ec3
dec dword [rax + 0x3b0]
mov rdx, qword [0x1401cba18]
mov rcx, rsi
call qword [0x140122038]
jmp 0x140022f06
test ebp, ebp
jle 0x140022ee7
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140022ef8
mov qword [r14], rdi
mov rax, rsi
jmp 0x140022f08
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140023230
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 0x14002328d
lea rbx, [0x1400c18c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140023274
cmp r10, 2
jb 0x140023274
cmp byte [r9], r8b
jne 0x140023274
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 0x140023250
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400232cf
lea rbx, [0x1400c18c0]
cmp r8b, 0x23
jne 0x1400232b3
cmp byte [r9], r8b
jne 0x1400232b3
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 0x1400232a0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140023510
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push r13
push r14
push r15
mov qword [rsp + 0x28], rbp
xor r10d, r10d
mov qword [rsp + 0x30], rsi
mov rbx, rdx
mov qword [rsp + 0x38], rdi
mov rax, rcx
mov qword [rsp + 0x40], r12
mov r14d, r10d
lea r15, [0x140000000]
mov r13, rax
test rbx, rbx
je 0x140023550
cmp rax, rbx
jae 0x1400236fc
movzx r8d, byte [rax]
test r8b, r8b
je 0x1400236fc
mov r11d, r10d
mov ecx, r8d
shr rcx, 3
mov rdx, rbx
movsx r9, byte [rcx + r15 + 0xc20b0]
test r9d, r9d
sete r11b
add r11d, r9d
test rbx, rbx
jne 0x140023588
movsxd rdx, r11d
add rdx, rax
cmp rax, rdx
lea rcx, [rax + 1]
mov edi, r8d
cmovae edi, r10d
cmp rcx, rdx
jae 0x1400235a1
movzx r12d, byte [rcx]
jmp 0x1400235a4
xor r12b, r12b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x1400235b2
movzx ebp, byte [rcx]
jmp 0x1400235b5
xor bpl, bpl
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x1400235c3
movzx esi, byte [rcx]
jmp 0x1400235c6
xor sil, sil
lea r9, [r9*4]
movzx ecx, dil
mov r15d, dword [r9 + r15 + 0xc20d0]
and r15d, ecx
movzx r8d, r12b
shl r15d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, bpl
or r15d, ecx
movzx r10d, sil
shl r15d, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or r15d, ecx
and r8d, 0xc0
mov ecx, r10d
shl r15d, 6
and ecx, 0x3f
shr r10d, 2
or r10d, edx
or r15d, ecx
shr r10d, 2
lea rcx, [0x140000000]
mov ecx, dword [r9 + rcx + 0xc2100]
or r10d, r8d
shr r15d, cl
lea rcx, [0x140000000]
shr r10d, 2
mov edx, r15d
cmp r15d, dword [r9 + rcx + 0xc20e8]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r10d, ecx
mov ecx, 0x80
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r10d, r8d
mov ecx, 0x100
cmp r15d, 0xffff
cmova edx, ecx
lea rcx, [0x140000000]
mov ecx, dword [r9 + rcx + 0xc2118]
or r10d, edx
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x1400236e6
xor r10d, r10d
test dil, dil
mov eax, r10d
mov ecx, r10d
setne cl
test sil, sil
setne al
add ecx, eax
mov eax, r10d
test bpl, bpl
setne al
add ecx, eax
mov eax, r10d
test r12b, r12b
setne al
add ecx, eax
cmp r11d, ecx
cmovl ecx, r11d
movsxd rax, ecx
add rax, r13
inc r14d
jmp 0x140023538
movsxd rcx, r11d
add rax, rcx
test r15d, r15d
je 0x1400236fc
xor r10d, r10d
inc r14d
jmp 0x140023538
mov r12, qword [rsp + 0x40]
mov eax, r14d
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
pop r15
pop r14
pop r13
pop rbx
ret
Function at 0x140023770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x18], rbp
mov rbp, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp + 8], rax
cmp rcx, rax
jae 0x140023999
mov qword [r11 + 0x20], rsi
lea rsi, [0x140000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov qword [rsp], r8
test rbp, rbp
je 0x1400237d2
cmp r8, rbp
jae 0x140023976
movzx edx, byte [r8]
test dl, dl
je 0x140023976
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0xc20b0]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x140023808
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x140023821
movzx r13d, byte [rax]
jmp 0x140023824
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x140023833
movzx r12d, byte [rax]
jmp 0x140023836
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x140023845
movzx r15d, byte [rax]
jmp 0x140023848
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov esi, dword [r10 + rsi + 0xc20d0]
and esi, eax
movzx r9d, r13b
shl esi, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or esi, eax
movzx r11d, r15b
shl esi, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or esi, eax
mov eax, r11d
and eax, 0x3f
shr r11d, 2
or r11d, edx
shl esi, 6
or esi, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x140000000]
mov ecx, dword [r10 + rax + 0xc2100]
shr r11d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r10 + rax + 0xc20e8]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, esi
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp esi, 0xffff
cmova eax, ecx
or r11d, eax
lea rax, [0x140000000]
mov ecx, dword [r10 + rax + 0xc2118]
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x140023953
test r14b, r14b
mov eax, r9d
mov ecx, r9d
mov esi, 0xfffd
setne cl
test r15b, r15b
setne al
add ecx, eax
mov eax, r9d
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
movsxd r8, ecx
add r8, qword [rsp]
jmp 0x14002395d
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x140023976
mov word [rdi], si
add rdi, 2
lea rsi, [0x140000000]
cmp rdi, qword [rsp + 8]
jb 0x1400237c0
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov word [rdi], r9w
test rax, rax
je 0x1400239af
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret