joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180053434
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov r10d, 0x811c9dc5
jmp 0x180053461
movzx eax, al
xor eax, r10d
imul r10d, eax, 0x1000193
inc rdx
mov al, byte [rdx]
test al, al
jne 0x180053451
mov dword [rbp + 0x20], r10d
lea rcx, [rbp + 0x20]
call fcn.18000f3fc
mov rcx, qword [rdi + 0x30]
and rcx, rax
mov rdx, qword [rdi + 0x18]
mov rax, rcx
add rax, rax
mov rax, qword [rdx + rax*8 + 8]
cmp rax, qword [rdi + 8]
je 0x1800534aa
add rcx, rcx
mov rdx, qword [rdx + rcx*8]
jmp 0x1800534a2
cmp rax, rdx
je 0x1800534aa
mov rax, qword [rax + 8]
cmp r10d, dword [rax + 0x10]
jne 0x180053499
jmp 0x1800534ac
xor eax, eax
test rax, rax
cmove rax, qword [rdi + 8]
cmp rax, qword [rdi + 8]
je 0x1800534c3
add rax, 0x18
jmp 0x18005357f
mov ecx, 0x78
call fcn.1800579e0
mov qword [rbp + 0x30], rax
mov rdx, rbx
mov rcx, rax
call fcn.18000e810
mov rbx, rax
mov qword [rbp + 0x30], rax
mov rcx, rax
call fcn.18000ea18
lea rdx, [rbp + 0x28]
test al, al
je 0x18005352c
mov rax, qword [rbx + 0x20]
mov qword [rbp + 0x38], rax
lea r8, [rbp + 0x38]
lea rcx, str._module______
call fcn.180011c64
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.1800536dc
mov rdi, qword [rax]
add rdi, 0x18
mov rbx, qword [rbp + 0x30]
jmp 0x180053562
lea rcx, str._module___not_found.
call fcn.180002658
mov ecx, dword [0x1800972b0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1800988fc], eax
jg 0x180053587
lea rdi, [0x180098588]
test rbx, rbx
je 0x18005357c
mov rcx, rbx
call fcn.18000e9b0
mov edx, 0x78
mov rcx, rbx
call fcn.1800579d0
mov rax, rdi
add rsp, 0x30
pop rdi
pop rbx
pop rbp
ret
lea rcx, [0x1800988fc]
call fcn.1800575e8
cmp dword [0x1800988fc], 0xffffffff
jne 0x18005355b
lea rcx, [0x1800598cc]
call fcn.1800579b8
lea rcx, [0x1800988fc]
call fcn.18005757c
jmp 0x18005355b

Function at 0x1800535b8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
and qword [rdx], 0
mov rdi, rdx
mov rdx, r8
mov rbx, r9
call fcn.180053434
mov rcx, qword [rax]
test rcx, rcx
jne 0x1800535fe
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, str._interface__Couldnt_retrieve__because__was_not_loaded
call fcn.180002724
jmp 0x180053646
cmp byte [rbx], 0
mov edx, 0x811c9dc5
je 0x18005361e
mov al, byte [rbx]
movzx eax, al
inc rbx
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [rbx]
test al, al
jne 0x18005360a
call fcn.18000ea48
lea r9, [rsp + 0x38]
mov qword [rdi], rax
lea r8, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
lea rcx, str._interface__________
call fcn.180053904
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x1400094d8
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.140009f24

Function at 0x140009bb4
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 0x140009bdb
and qword [r8], 0
call fcn.140009cf0
mov rbx, rax
test rax, rax
je 0x140009cd4
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 0x140009ccb
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009ccb
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 0x140009ccb
mov rax, qword [0x140069390]
mov rbp, rdi
test rax, rax
je 0x140009c43
inc dword [rax + 0x3c8]
mov rdx, qword [0x1400693a0]
lea rcx, [r15 + rdi]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x140009ccb
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 0x140009ca2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140069390]
test rax, rax
je 0x140009c90
dec dword [rax + 0x3c8]
mov rdx, qword [0x1400693a0]
mov rcx, rdi
call qword [0x14004c008]
jmp 0x140009cd4
test r15d, r15d
jle 0x140009cb5
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 0x140009cc6
mov qword [rsi], rbp
mov rax, rdi
jmp 0x140009cd6
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 0x140009f24
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 [0x1400693c4], 0
lea rsi, [0x1400693c0]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x140009f8b
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 0x140009f59
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x140009f51
not ebx
mov edx, ebx
test edi, edi
jle 0x140009fad
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 0x140009f93
jmp 0x140009fe7
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x140009fe7
mov r9b, 0x23
cmp r8b, r9b
jne 0x140009fcc
cmp byte [r10], r9b
jne 0x140009fcc
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 0x140009fbb
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x14000ff44
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140069390]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x14000ffad
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000ffb8
lea rdx, [0x14003fb4c]
mov rcx, rbx
mov rdi, rax
call fcn.140009cf0
mov rbx, rax
test rax, rax
je 0x14000ffad
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 0x14001ed90
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 0x14001ef81
lea rbx, [r8 + 0x20]
xor r13d, r13d
lea r8d, [r14 + 1]
mov r11d, pe_nt_image_headers64
xorps xmm7, xmm7
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001ee32
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 0x14001ee54
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x14003fcd0]
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 0x14001ef74
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 0x14001eea2
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x14001eea6
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.14001e4e8
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.14001e920
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 0x14001ee91
mov r11d, pe_nt_image_headers64
add rbx, 0x28
sub rdi, r8
jne 0x14001ede0
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
Function at 0x1400200e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140068fc0]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140009538
mov rcx, qword [0x140069818]
lea rdx, [rbp - 0x18]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x10]
sub ecx, dword [rbp - 0x18]
movd xmm1, ecx
mov ecx, dword [rbp - 0xc]
sub ecx, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x20]
xorps xmm1, xmm1
sub rax, qword [0x140069820]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x140069828]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x140069820], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x128], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x129], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x12b], 0
mov byte [rdi + 0x12a], al
call fcn.140009538
cmp byte [rax + 0x3a7], 0
lea rbx, [rax + 0x110]
je 0x140020209
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0x114]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x140069818]
mov dword [rbp - 0x2c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x140069818]
jne 0x14002025e
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14002025e
mov rcx, qword [0x140069818]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14002025e
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x14002026c
or eax, 0xffffffff
jmp 0x140020271
call fcn.1400095bc
cmp dword [0x14004c138], eax
je 0x140020284
mov dword [0x14004c138], eax
call fcn.1400202ac
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14003d390
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x140034d08
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov r9d, 0x270
mov rbx, rcx
cmp dword [rcx], r9d
jne 0x140034d5b
lea r8, [rcx + 8]
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 r9, 1
jne 0x140034d20
jmp 0x140034d68
cmp dword [rcx], 0x4e0
jb 0x140034d68
call fcn.140039df0
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 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, 0x20
pop rbx
ret
Function at 0x140038de8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x140068fc0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
mov qword [rbp - 0x49], rcx
lea rcx, [rbp + 0x5f]
movabs rsi, 0x7a5db90d33787107
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], rcx
mov rax, qword [rcx]
xor rax, rsi
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x21], rax
xor r15d, r15d
mov qword [rcx], r15
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov qword [rdi + 0x20], r15
mov qword [rdi + 0x28], r15
mov rdx, qword [0x1400699e0]
add rdx, 0xe2ced18
lea r14, [rbp + 0x5f]
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], r14
mov rbx, qword [r14]
mov rax, rbx
xor rax, rsi
mov qword [rbp - 0x39], rax
mov qword [r14], r15
mov qword [rbp - 0x59], r15
lea r9d, [r15 + 8]
lea r8, [rbp - 0x59]
lea rcx, [0x140069d90]
call fcn.14003afec
mov r13, qword [rbp - 0x59]
mov qword [r14], rbx
mov rax, qword [0x1400699e0]
add rax, 0xe2cecd8
test r13, r13
cmove r13, rax
lea rdi, [rbp + 0x5f]
lea r14, [rbp - 9]
lea r12d, [r15 + 7]
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], rdi
mov rax, rbx
xor rax, rsi
mov qword [rbp - 0x39], rax
and qword [rdi], 0
and qword [rbp - 0x51], 0
lea rdx, [r15 + r13]
mov r9d, 8
lea r8, [rbp - 0x51]
lea rcx, [0x140069d90]
call fcn.14003afec
mov rax, qword [rbp - 0x51]
mov qword [rdi], rbx
mov qword [r14], rax
lea r15, [r15 + 8]
lea r14, [r14 + 8]
sub r12, 1
jne 0x140038eca
movdqa xmm2, xmmword [0x140044970]
movdqu xmm0, xmmword [rbp - 9]
xorps xmm2, xmm0
movabs rcx, 0x4ef1f15dfe2d977f
mov rax, qword [rbp + 7]
xor rax, rcx
movdqa xmm3, xmmword [0x140044920]
movdqu xmm0, xmmword [rbp + 0xf]
xorps xmm3, xmm0
movabs rdx, 0x4ef29a7e813efc5d
mov rcx, qword [rbp + 0x1f]
xor rcx, rdx
movabs r8, 0x4e1772384c14291f
mov rdx, qword [rbp + 0x27]
xor rdx, r8
movaps xmm0, xmm2
unpckhpd xmm0, xmm2
mov rdi, qword [rbp - 0x49]
movsd qword [rdi], xmm0
movsd qword [rdi + 8], xmm2
mov qword [rdi + 0x10], rax
movaps xmm0, xmm3
unpckhpd xmm0, xmm3
movsd qword [rdi + 0x18], xmm0
movsd qword [rdi + 0x20], xmm3
mov qword [rdi + 0x28], rcx
mov dword [rdi + 0x30], edx
xor rsi, qword [rbp - 0x41]
lea rax, [rbp + 0x5f]
mov qword [rax], rsi
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14003d390
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140038fd8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140068fc0]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, r8d
mov rsi, rdx
xor eax, eax
cmp ecx, 0x7b
ja 0x140039018
movsxd rax, ecx
lea rcx, [0x140067a70]
mov rax, qword [rcx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
and qword [rbp - 0x18], 0
mov edx, 0xf
mov qword [rbp - 0x10], rdx
mov byte [rbp - 0x28], 0
test rax, rax
jne 0x14003905c
mov qword [rbp - 0x18], 0xa
movsd xmm0, qword [str.Select_Key]
movsd qword [rbp - 0x28], xmm0
movzx eax, word [0x140044230]
mov word [rbp - 0x20], ax
mov byte [rbp - 0x1e], 0
jmp 0x14003906c
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14003a31c
mov rdx, qword [rbp - 0x10]
cmp edi, 1
jne 0x1400390bc
lea eax, [rdi + 0xc]
cmp rdx, rax
jb 0x1400390a2
lea rbx, [rbp - 0x28]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], rax
mov r8d, eax
lea rdx, str.Press_the_key
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xd], 0
jmp 0x1400390b8
lea r9, str.Press_the_key
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14003326c
mov rdx, qword [rbp - 0x10]
mov dword [rbp - 0x30], 0x42fa0000
mov dword [rbp - 0x2c], 0x41a00000
lea rcx, [rbp - 0x28]
cmp rdx, 0xf
cmova rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x30]
call fcn.140025d88
test al, al
je 0x140039103
test edi, edi
jne 0x140039103
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140039141
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003913c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003913c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003cfd4
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14003d390
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14003918c
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdi
push r14
sub rsp, 0x60
lea r14, [rsp + 0x68]
movabs rcx, 0x7a5db90d33787107
mov qword [r11 - 0x20], rcx
mov qword [r11 - 0x18], r14
mov rdi, qword [r14]
mov rax, rdi
xor rax, rcx
mov qword [r11 - 0x28], rax
and qword [r14], 0
lea rdx, [0x1400699d8]
mov ecx, 0x20
call sub.d3d9.dll_Direct3DCreate9Ex
test eax, eax
js 0x14003932e
xor edx, edx
lea r8d, [rdx + 0x40]
lea rbx, [0x140069940]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x1400699f8]
mov dword [0x140069940], eax
mov eax, dword [0x1400699fc]
mov dword [0x140069944], eax
mov dword [0x140069948], 0x15
and dword [0x140069950], 0
mov dword [0x140069970], 0x50
mov r8d, 1
mov dword [0x140069958], r8d
mov dword [0x14006996c], r8d
mov r9, qword [0x140069e88]
mov qword [0x140069960], r9
mov dword [0x140069968], r8d
mov rcx, qword [0x1400699d8]
mov rax, qword [rcx]
lea rdx, [0x140069e90]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x20
xor edx, edx
call qword [rax + 0x80]
test eax, eax
js 0x14003932e
mov qword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], 0x10
mov edx, 0x1548
mov r9d, 8
mov r8d, 0x3a0
lea rcx, str.1.67_WIP
call fcn.140007824
xor ecx, ecx
call fcn.140007488
call fcn.140009538
mov rbx, rax
mov rcx, qword [0x140069e88]
call fcn.14001ffe0
mov rcx, qword [0x140069e90]
call fcn.14001f6ac
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
movss xmm3, dword [0x14003fd8c]
mov r8d, 0x1b44c
lea rdx, str.OTTO
mov rcx, qword [rbx + 0x98]
call fcn.140013dfc
mov qword [0x140069870], rax
mov rcx, qword [0x1400699d8]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov qword [r14], rdi
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop r14
ret
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140039718
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xb0
lea r14, [rsp + 0xc8]
xor ebp, ebp
mov rbx, qword [r14]
xor ecx, ecx
mov qword [r14], rbp
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [rbp + 1]
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
lea r8, [0x1400399dc]
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [rsp + 0x64], ebp
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x98], rbp
call qword [sym.imp.GDI32.dll_GetStockObject]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
lea r15, str.notepad
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x60]
lea rax, [0x140039bf0]
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 3
call qword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x14003980a
lea r9d, [rbp + 0x10]
xor ecx, ecx
lea r8, str.Error
lea rdx, str.Failed_to_register_window_class.
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140039895
mov qword [rsp + 0x58], rbp
mov r9d, 0x80000000
mov qword [rsp + 0x50], rbp
xor r8d, r8d
mov qword [rsp + 0x48], rbp
mov rdx, r15
mov qword [rsp + 0x40], rbp
xor ecx, ecx
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140069e88], rax
test rax, rax
je 0x140039895
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140069e88]
lea rdx, [0x140043e68]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x140069e88]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140069e88]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea r11, [rsp + 0xb0]
mov qword [r14], rbx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret