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

Disassembly:
jmp 0x140001e1c
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140001ea9
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140001ea9
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ea9
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140001e90
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140001e8a
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140001e92
add rdx, 0x28
jmp 0x140001e6f
xor edx, edx
test rdx, rdx
jne 0x140001e9b
xor al, al
jmp 0x140001eaf
cmp dword [rdx + 0x24], 0
jge 0x140001ea5
xor al, al
jmp 0x140001eaf
mov al, 1
jmp 0x140001eaf
xor al, al
jmp 0x140001eaf
add rsp, 0x18
ret

Function at 0x140001127
Capabilities:
Terminate process

Disassembly:
jmp 0x140001a8c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.1400011b8
test al, al
je 0x140001957
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.14000119a
mov bl, al
mov ecx, dword [0x1400081c0]
cmp ecx, 1
je 0x140001962
test ecx, ecx
jne 0x14000188d
mov dword [0x1400081c0], 1
lea rdx, [0x140006660]
lea rcx, [0x140006330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x14000186e
mov eax, 0xff
jmp 0x140001947
lea rdx, [0x140006220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x1400081c0], 2
jmp 0x140001895
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.140001186
call fcn.14000114a
mov rbx, rax
cmp qword [rax], 0
je 0x1400018c8
mov rcx, rax
call fcn.1400010aa
test al, al
je 0x1400018c8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x14000c020]
call fcn.140001163
mov rbx, rax
cmp qword [rax], 0
je 0x1400018ea
mov rcx, rax
call fcn.1400010aa
test al, al
je 0x1400018ea
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov rdi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rbx, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call fcn.140001122
mov ebx, eax
call fcn.14000112c
test al, al
je 0x14000196c
test sil, sil
jne 0x140001921
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.1400010a0
mov eax, ebx
jmp 0x140001947
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.140001190
nop
mov ecx, 7
call fcn.140001190
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.14000113b
add rsp, 0x28
jmp 0x140001800
Function at 0x14000112c
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400023d0
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000241a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000241a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000241a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000241a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000241a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000241c
xor al, al
add rsp, 0x28
ret
Function at 0x1400013b0
Capabilities:
Inject thread
Spawn thread to rwx shellcode

Disassembly:
sub rsp, 0x48
cmp ecx, 2
jge 0x1400013d6
mov rdx, qword [0x140008010]
lea rcx, str._s_USAGE:_PROGRAM.EXE__PID_
call fcn.1400010d2
mov eax, 1
add rsp, 0x48
ret
mov rcx, qword [rdx + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rdx, qword [0x140008008]
lea rcx, str._sOPEN_HANDLE_TO_PROCESS___ld__n
mov r8d, eax
mov dword [0x140008210], eax
call fcn.1400010d2
mov r8d, dword [0x140008210]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x140008208], rax
test rax, rax
jne 0x140001449
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, dword [0x140008210]
lea rcx, str._sERROR__n_sCOULD_NOT_OPEN_PROCESS___ld___nERROR:__ld
mov rdx, qword [0x140008010]
mov r9d, eax
call fcn.1400010d2
mov eax, 1
add rsp, 0x48
ret
mov rdx, qword [section..data]
lea rcx, str._sOPENED_HANDLE_TO_PROCESS__n___0x_p_n
mov r8, rax
mov qword [rsp + 0x40], rbx
call fcn.1400010d2
mov rcx, qword [0x140008208]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
lea r8d, [rdx + 0x21]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdx, qword [section..data]
lea rcx, str._sALLOCATED__zu_bytes_WITH_PAGE_EXECUTE_READWRITE_PERMISSION_n
mov r8d, 0x21
mov qword [0x1400081a8], rax
call fcn.1400010d2
mov rdx, qword [0x1400081a8]
lea r8, str.x42_x42_x42_x42_x42_x42_x42_x42_
mov rcx, qword [0x140008208]
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 0x21]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [section..data]
lea r8d, [rbx + 0x21]
lea rcx, str._sWROTE__zu_bytes_TO_PROCESS_n
call fcn.1400010d2
mov r9, qword [0x1400081a8]
lea rax, [0x1400081a0]
mov rcx, qword [0x140008208]
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThreadEx]
mov rbx, qword [rsp + 0x40]
mov qword [0x1400081b0], rax
test rax, rax
jne 0x140001559
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [0x140008010]
lea rcx, str._sCREATION_OF_THREAD_HANDLE_FAILED__n_sERROR:__ld
mov r8d, eax
call fcn.1400010d2
mov rcx, qword [0x140008208]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x48
ret
mov r8d, dword [0x1400081a0]
lea rcx, str._sOPENED_HANDLE_TO_THREAD____ld__n___0x_p_n
mov rdx, qword [section..data]
mov r9, rax
call fcn.1400010d2
mov rcx, qword [0x1400081b0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, qword [section..data]
lea rcx, str._sTHIS_TASK_FINISHED__n
call fcn.1400010d2
mov rdx, qword [0x140008008]
lea rcx, str._sCLEANING_n
call fcn.1400010d2
mov rcx, qword [0x140008208]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400081b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [0x140008008]
lea rcx, str._sFINISHED_CLEANING
call fcn.1400010d2
xor eax, eax
add rsp, 0x48
ret
Function at 0x1400023d0
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400023d0
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000241a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000241a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000241a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000241a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000241a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000241c
xor al, al
add rsp, 0x28
ret
Function at 0x180002440
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov r14, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov edi, dword [rdx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1800024e7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1800024e7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xf7c3e9a9
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1800024e2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1800024c0
cmp r8d, 0x8d65c01b
je 0x1800024ec
test r9d, r9d
jne 0x1800024a0
mov rax, qword [rax]
jmp 0x180002470
mov eax, dword [rdi + 0x24]
mov ecx, dword [rdi + 0x1c]
add rax, r10
add rcx, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
mov rcx, r14
add rdx, r10
call rdx
mov rcx, 0xffffffffffffffff
lea rbp, [rax + 1]
mov eax, 2
mul rbp
cmovo rax, rcx
mov rcx, rax
call fcn.180010cc0
mov rcx, qword gs:[0x60]
mov rsi, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov r11d, dword [rdx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x1800025b7
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x1800025b7
mov edi, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
mov r8d, 0x84c944ce
lea rax, [rdi + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x1800025b2
nop
movsx eax, al
lea rdx, [rdx + 1]
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx - 1]
test al, al
jne 0x180002590
cmp r8d, 0xc820bf72
je 0x1800025bc
test r9d, r9d
jne 0x180002570
mov rcx, qword [rcx]
jmp 0x180002540
mov ecx, dword [r11 + 0x24]
mov r8, rbp
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rdx, r14
add rax, r10
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180002600
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1800026a7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1800026a7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x620f19ab
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1800026a2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002680
cmp r8d, 0x2727e44f
je 0x1800026ac
test r9d, r9d
jne 0x180002660
mov rax, qword [rax]
jmp 0x180002630
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rsp + 0x30]
add rax, r10
call rax
movd xmm0, dword [rsp + 0x30]
mov rax, rsi
movd xmm2, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x38]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
movsd qword [rsi], xmm1
movsd qword [rsi + 8], xmm0
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180002ac0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
mov r14, r8
movaps xmmword [rax - 0x28], xmm7
mov rsi, rdx
movaps xmmword [rax - 0x38], xmm8
mov rbp, rcx
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd r9, dword [r10 + 0x3c]
mov edi, dword [r9 + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x180002b97
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180002b97
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xaa0b17fd
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002b92
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002b70
cmp r8d, 0xa2be826f
je 0x180002b9c
test r9d, r9d
jne 0x180002b50
mov rax, qword [rax]
jmp 0x180002b20
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r10
call rax
movsd xmm7, qword [rsi]
mov rcx, rbp
movsd xmm8, qword [rsi + 8]
addsd xmm7, qword [0x180013c28]
addsd xmm8, qword [0x180013c28]
movups xmm9, xmmword [0x180013b58]
movups xmm10, xmmword [0x18001a2c8]
movaps xmm11, xmmword [r14]
movaps xmm6, xmmword [rsi]
call fcn.180002440
cmp word [rax], 0
je 0x180002c16
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x180002c00
xor edx, edx
add ecx, 1
je 0x180002c1a
mov rdx, rax
jmp 0x180002c1a
xor edx, edx
mov ecx, edx
mov rax, qword [0x180016798]
movaps xmm0, xmmword [0x180013e80]
mov rbx, qword [0x180016818]
mov qword [rsp + 0x20], rax
mov rax, qword [0x18001a770]
movsd qword [rsp + 0x38], xmm6
unpckhpd xmm6, xmm6
movsd qword [rsp + 0x40], xmm6
movsd qword [rsp + 0x80], xmm7
movsd qword [rsp + 0x88], xmm8
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x68], 0
mov word [rsp + 0x90], 0x100
mov byte [rsp + 0x92], 1
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm11
movups xmmword [rsp + 0x6c], xmm10
movups xmmword [rsp + 0x94], xmm9
test rax, rax
jne 0x180002cc8
mov rax, qword [0x180016940]
lea r8, str.Canvas.K2_DrawText
add rax, 0x100fce8
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x18001a770], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x268]
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r14
ret
Function at 0x180002d20
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
mov r14, r8
movaps xmmword [rax - 0x28], xmm7
mov rsi, rdx
movaps xmmword [rax - 0x38], xmm8
mov rbp, rcx
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd r9, dword [r10 + 0x3c]
mov edi, dword [r9 + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x180002df7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180002df7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x98f9b419
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002df2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002dd0
cmp r8d, 0xbd1e8b2b
je 0x180002dfc
test r9d, r9d
jne 0x180002db0
mov rax, qword [rax]
jmp 0x180002d80
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r10
call rax
movsd xmm7, qword [rsi]
mov rcx, rbp
movsd xmm8, qword [rsi + 8]
addsd xmm7, qword [0x180013c28]
addsd xmm8, qword [0x180013c28]
movups xmm9, xmmword [0x180013b58]
movups xmm10, xmmword [0x18001a2c8]
movaps xmm11, xmmword [r14]
movaps xmm6, xmmword [rsi]
call fcn.180002440
cmp word [rax], 0
je 0x180002e76
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x180002e60
xor edx, edx
add ecx, 1
je 0x180002e7a
mov rdx, rax
jmp 0x180002e7a
xor edx, edx
mov ecx, edx
mov rax, qword [0x180016798]
movaps xmm0, xmmword [0x180013e80]
mov rbx, qword [0x180016818]
mov qword [rsp + 0x20], rax
mov rax, qword [0x18001a770]
movsd qword [rsp + 0x38], xmm6
unpckhpd xmm6, xmm6
movsd qword [rsp + 0x40], xmm6
movsd qword [rsp + 0x80], xmm7
movsd qword [rsp + 0x88], xmm8
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x68], 0
mov word [rsp + 0x90], 0x101
mov byte [rsp + 0x92], 1
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm11
movups xmmword [rsp + 0x6c], xmm10
movups xmmword [rsp + 0x94], xmm9
test rax, rax
jne 0x180002f28
mov rax, qword [0x180016940]
lea r8, str.Canvas.K2_DrawText
add rax, 0x100fce8
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x18001a770], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x268]
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r14
ret
Function at 0x140003728
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movss xmm0, dword [r8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
jp 0x140003744
jne 0x140003744
movss xmm0, dword [r8 + 4]
ucomiss xmm0, xmm1
jp 0x140003744
je 0x140003762
mov rax, qword [0x14010de30]
movsd xmm0, qword [r8]
movsd qword [rax + 0x1af4], xmm0
mov dword [rax + 0x1acc], 4
comiss xmm3, xmm1
jb 0x140003780
mov rax, qword [0x14010de30]
movss dword [rax + 0x1b28], xmm3
mov dword [rax + 0x1ae0], 1
mov r8d, dword [rsp + 0x28]
jmp fcn.14000378c
Function at 0x1400093c4
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x1e8]
mov r10, r8
movsxd r9, dword [rcx + 0x1e0]
mov r11, rdx
mov rcx, r11
mov r8d, dword [rax + r9*4 - 4]
mov eax, r10d
sub eax, edx
neg r10
sbb edx, edx
and edx, eax
jmp fcn.140009dec

Function at 0x140009a7c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r15, r9d
mov rsi, r8
test r8, r8
je 0x140009aa3
and qword [r8], 0
call fcn.140009bb8
mov rbx, rax
test rax, rax
je 0x140009b9c
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009b93
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009b93
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 0x140009b93
mov rax, qword [0x14010de30]
mov rbp, rdi
test rax, rax
je 0x140009b0b
inc dword [rax + 0x3c8]
mov rdx, qword [0x14010de40]
lea rcx, [r15 + rdi]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x140009b93
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]
cmp rax, rbp
je 0x140009b6a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14010de30]
test rax, rax
je 0x140009b58
dec dword [rax + 0x3c8]
mov rdx, qword [0x14010de40]
mov rcx, rdi
call qword [0x14004a008]
jmp 0x140009b9c
test r15d, r15d
jle 0x140009b7d
lea rcx, [rdi + rbp]
mov r8, r15
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 rsi, rsi
je 0x140009b8e
mov qword [rsi], rbp
mov rax, rdi
jmp 0x140009b9e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140009dec
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x14010de64], 0
lea rsi, [0x14010de60]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x140009e53
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x140009e21
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x140009e19
not ebx
mov edx, ebx
test edi, edi
jle 0x140009e75
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x140009e5b
jmp 0x140009eaf
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x140009eaf
mov r9b, 0x23
cmp r8b, r9b
jne 0x140009e94
cmp byte [r10], r9b
jne 0x140009e94
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x140009e83
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x14000f0d4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x14010de30]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x14000f13d
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000f148
lea rdx, [0x14003fa34]
mov rcx, rbx
mov rdi, rax
call fcn.140009bb8
mov rbx, rax
test rax, rax
je 0x14000f13d
mov r8, qword [rsp + 0x30]
mov r9, rax
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 + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001d7e8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor r14d, r14d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rsi, rdx
movsxd rdi, r9d
mov rbp, rcx
test r9d, r9d
jle 0x14001d9d9
lea rbx, [r8 + 0x20]
xor r13d, r13d
lea r8d, [r14 + 1]
mov r11d, 0x100
xorps xmm7, xmm7
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001d88a
movsxd r10, dword [rsi + 0x24]
mov r9, qword [rsi + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
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
mov r8d, 1
movd xmm0, eax
jmp 0x14001d8ac
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x14003fbc0]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov al, byte [rbp + 0x20]
xor r15d, r15d
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
mov al, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], r15d
jle 0x14001d9cc
mov rcx, qword [rsp + 0xe0]
mov rax, r13
shl rax, 4
add rcx, 6
xor r12d, r12d
add rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001d8fa
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x14001d8fe
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.14001cf50
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, rsi
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.14001d388
mov rcx, qword [rsp + 0x60]
mov r8d, 1
movzx eax, word [rbp + 0x20]
add r14d, r8d
sub ax, word [rsp + 0xd8]
add r13, r8
add ax, word [rbp + 0x1c]
add r15d, r8d
add ax, word [rsp + 0x50]
add r12, 4
sub ax, r8w
mov word [rcx - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x54]
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x58]
sub ax, r8w
mov word [rcx], ax
add rcx, 0x10
mov qword [rsp + 0x60], rcx
cmp r15d, dword [rbx - 0x10]
jl 0x14001d8e9
mov r11d, 0x100
add rbx, 0x28
sub rdi, r8
jne 0x14001d838
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov eax, r14d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret