joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000c6e0
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 0x18000c909
mov qword [r11 + 0x20], rsi
lea rsi, [0x180000000]
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 0x18000c742
cmp r8, rbp
jae 0x18000c8e6
movzx edx, byte [r8]
test dl, dl
je 0x18000c8e6
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0x4bae0]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x18000c778
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x18000c791
movzx r13d, byte [rax]
jmp 0x18000c794
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x18000c7a3
movzx r12d, byte [rax]
jmp 0x18000c7a6
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x18000c7b5
movzx r15d, byte [rax]
jmp 0x18000c7b8
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov esi, dword [r10 + rsi + 0x4bb00]
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
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl esi, 6
or esi, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x180000000]
mov ecx, dword [r10 + rax + 0x4bb30]
shr r11d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r10 + rax + 0x4bb18]
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
lea rcx, [0x180000000]
mov ecx, dword [r10 + rcx + 0x4bb48]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x18000c8c3
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 0x18000c8cd
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x18000c8e6
mov word [rdi], si
add rdi, 2
lea rsi, [0x180000000]
cmp rdi, qword [rsp + 8]
jb 0x18000c730
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 0x18000c91f
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x18000de00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3138], 0
lea rbx, [rcx + 0x3140]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18000dea7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18000de5a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18001b0e0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18001abf0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3138]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3148]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800595d8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18000deaf
mov rcx, rbx
call fcn.18001abf0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800134b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8, qword [0x1800595d0]
lea r10, [0x18004b590]
movsxd r9, ecx
mov rbx, qword [r8 + 0x1c20]
add rbx, 0xc8
movsxd rdx, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, r9b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
not edi
cmp dword [r8 + 0x1c54], edi
jne 0x180013558
mov r8, r9
mov edx, 4
xor r9d, r9d
mov ecx, edi
call fcn.1800090a0
mov r8d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x18001358c
inc r8d
test ecx, ecx
je 0x180013575
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18001357a
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18001b220
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180017020
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1800595d0]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x30d4], ecx
test rbx, rbx
je 0x18001708f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.1800170a0
lea rdx, [0x18004bc80]
mov rcx, rbx
mov rdi, rax
call fcn.18000be70
mov rbx, rax
test rax, rax
je 0x18001708a
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 rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1800197c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov rbx, qword [0x1800595d0]
cmp byte [rbx + 0x30d1], 0
jne 0x18001991b
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180019914
lea rdx, [0x18004bc7c]
mov qword [rsp + 0x38], rdi
call fcn.18000be70
mov rdi, rax
test rax, rax
je 0x18001990f
mov qword [rsp + 0x40], r14
mov rcx, rax
mov qword [rsp + 0x30], rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x1800198fc
xor edx, edx
mov r8d, 2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800198fc
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rbp, eax
cmp ebp, 0xffffffff
je 0x1800198fc
xor r8d, r8d
mov edx, r14d
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800198fc
mov r14, rbp
cmp rbp, 0xffffffffffffffff
je 0x1800198fc
mov rax, qword [0x1800595d0]
test rax, rax
je 0x18001988b
inc dword [rax + 0x3b0]
mov rdx, qword [0x1800595e0]
mov rcx, r14
call qword [section..data]
mov rbp, rax
test rax, rax
je 0x1800198fc
mov r9, rdi
mov r8, r14
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, r14
je 0x1800198c7
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1800198d8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, r14
mov rcx, rbp
call fcn.18000d840
mov rax, qword [0x1800595d0]
test rax, rax
je 0x1800198ea
dec dword [rax + 0x3b0]
mov rdx, qword [0x1800595e0]
mov rcx, rbp
call qword [0x180059008]
jmp 0x180019905
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov byte [rbx + 0x30d1], 1
movss xmm0, dword [rbx + 0x30d4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x18001995e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x30d4], xmm0
jb 0x18001995e
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18001994d
call fcn.180017020
jmp 0x180019954
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x30d4], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x18002f480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r9, qword [rcx + 0x190]
mov r10, rcx
movsxd rax, edx
imul rbx, rax, 0x68
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x7c], edx
test dword [rbx], 0x10000
movss xmm0, dword [rbx + 0x34]
je 0x18002f4bc
addss xmm0, dword [rcx + 0x94]
lea rsi, [r9 + 0xd8]
movss dword [rsi], xmm0
movss xmm1, dword [rcx + 0xc8]
addss xmm1, dword [rcx + 0x84]
movss dword [r9 + 0xf0], xmm0
subss xmm0, dword [r9 + 0x10]
movss dword [r9 + 0xdc], xmm1
subss xmm0, dword [r9 + 0x118]
movss dword [r9 + 0x11c], xmm0
mov eax, dword [rcx + 0x90]
mov dword [r9 + 0x110], eax
movsx eax, byte [rbx + 0x62]
mov dword [r9 + 0x12c], eax
movss dword [r9 + 0x1f4], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x1f0], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x1f8], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x194], eax
cmp byte [rbx + 0x5a], 0
jne 0x18002f557
maxss xmm1, dword [rcx + 0x88]
movss dword [r9 + 0xdc], xmm1
movzx eax, byte [rbx + 0x60]
mov byte [r9 + 0x93], al
cmp byte [rbx + 0x60], 0
je 0x18002f57d
mov rax, qword [0x1800595d0]
xor ecx, ecx
mov dword [rax + 0x1cd8], ecx
mov dword [rax + 0x1ce0], ecx
test dword [r10 + 4], 0x100000
je 0x18002f58f
mov r8d, 2
jmp 0x18002f605
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x270]
movss xmm1, dword [rbx + 0x20]
movss xmm2, dword [rbx + 0x24]
movss xmm3, dword [rbx + 0x28]
movss xmm4, dword [rbx + 0x2c]
movups xmmword [r9 + 0x210], xmm0
movss dword [rax + 0x88], xmm1
movss dword [rax + 0x8c], xmm2
movss dword [rax + 0x90], xmm3
movss dword [rax + 0x94], xmm4
mov rax, qword [r9 + 0x270]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movss dword [rcx + rdx*8 - 0x10], xmm1
movss dword [rcx + rdx*8 - 0xc], xmm2
movss dword [rcx + rdx*8 - 8], xmm3
movss dword [rcx + rdx*8 - 4], xmm4
movzx r8d, byte [rbx + 0x57]
mov rdx, qword [r9 + 0x270]
mov rcx, qword [r10 + 0x1a8]
call fcn.180022e60
mov rdi, qword [0x1800595d0]
cmp byte [rdi + 0x312c], 0
je 0x18002f64a
cmp byte [rbx + 0x60], 0
jne 0x18002f64a
xor r8d, r8d
lea rdx, [0x180050400]
mov rcx, rsi
call fcn.18000dba0
mov dword [rdi + 0x3160], 0x7f7fffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180031f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800595d0]
mov rcx, qword [rax + 0x2070]
mov r10, qword [rax + 0x1c20]
movsxd rax, dword [rcx + 0x7c]
movups xmm0, xmmword [rcx + 0x174]
movss xmm4, dword [rcx + 0x174]
movss xmm3, dword [rcx + 0x178]
movss xmm2, dword [rcx + 0x17c]
movss xmm1, dword [rcx + 0x180]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x68
mov rax, qword [r10 + 0x270]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x210], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x270]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [r9 + 0x57]
mov rdx, qword [r10 + 0x270]
mov rcx, qword [rcx + 0x1a8]
add rsp, 0x38
jmp fcn.180022e60

Function at 0x180032040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800595d0]
mov rcx, qword [rax + 0x2070]
mov r9, qword [rax + 0x1c20]
movups xmm0, xmmword [r9 + 0x210]
movups xmmword [rcx + 0x174], xmm0
mov rax, qword [r9 + 0x270]
movups xmm0, xmmword [rcx + 0x154]
movss xmm4, dword [rcx + 0x154]
movss xmm3, dword [rcx + 0x158]
movss xmm2, dword [rcx + 0x15c]
movss xmm1, dword [rcx + 0x160]
movups xmmword [r9 + 0x210], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x270]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [rcx + 0x1f7]
mov rcx, qword [rcx + 0x1a8]
mov rdx, qword [r9 + 0x270]
add rsp, 0x38
jmp fcn.180022e60
Function at 0x180034f40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x180059280]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x180034f80
cmp al, 0x25
jne 0x180034f74
cmp byte [r8 + 1], al
jne 0x180034f80
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x180034f67
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x1800350de
cmp byte [r8 + 1], dl
je 0x1800350de
lea r11, [rsp + 0x28]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x180034fbd
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x180034fe5
sub dl, 0x61
cmp dl, 0x19
ja 0x180034fd7
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x180034fe5
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x180034fa0
jmp 0x180034fe8
inc r9
cmp r8, r9
jae 0x18003501f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x180035014
bt rdx, rax
jb 0x18003501a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x180035000
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x28]
mov edx, 0x40
lea rcx, [rsp + 0x50]
movq r9, xmm3
call fcn.18000bfc0
cmp byte [rsp + 0x50], 0x20
lea rcx, [rsp + 0x50]
jne 0x180035058
nop
inc rcx
cmp byte [rcx], 0x20
je 0x180035050
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x1800350cc
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x180035078
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x1800350ba
movss xmm2, dword [0x18004be08]
cmp al, 0x39
ja 0x1800350ba
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x180035094
cmp r8b, 0x2d
jne 0x1800350d9
xorps xmm1, xmmword [0x18004be90]
movaps xmm0, xmm1
jmp 0x1800350e1
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1800350e1
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.180049110
add rsp, 0xa0
pop rbx
ret
Function at 0x180035100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x180059280]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x180035140
cmp al, 0x25
jne 0x180035134
cmp byte [r8 + 1], al
jne 0x180035140
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x180035127
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x180035298
cmp byte [r8 + 1], dl
je 0x180035298
lea r11, [rsp + 0x28]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x18003517d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1800351a5
sub dl, 0x61
cmp dl, 0x19
ja 0x180035197
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1800351a5
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x180035160
jmp 0x1800351a8
inc r9
cmp r8, r9
jae 0x1800351df
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1800351d4
bt rdx, rax
jb 0x1800351da
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1800351c0
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x28]
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.18000bfc0
cmp byte [rsp + 0x50], 0x20
lea rcx, [rsp + 0x50]
jne 0x180035218
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x180035210
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x18003528a
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x180035238
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x180035278
movsd xmm2, qword [0x180050808]
cmp al, 0x39
ja 0x180035278
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x180035254
cmp r8b, 0x2d
jne 0x180035293
xorps xmm1, xmmword [0x180050860]
movaps xmm0, xmm1
jmp 0x18003529b
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x18003529b
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.180049110
add rsp, 0xa0
pop rbx
ret
Function at 0x1800483b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x180059648]
test rbx, rbx
je 0x1800485a8
mov qword [rsp + 0x30], rsi
mov edx, 4
lea rsi, [rbx - 4]
mov qword [rsp + 0x38], rdi
lea rdi, [rbx - 8]
add rbx, 0xfffffffffffffff4
test cl, cl
mov rcx, rsi
je 0x1800484f7
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x18004840e
mov edx, 4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x18004840e
mov dword [rsi], 0x47c35000
mov edx, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x180048438
mov edx, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x180048438
mov dword [rdi], 0x47c35000
mov edx, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x180048462
mov edx, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x180048462
mov dword [rbx], 0x47c35000
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1800484a2
mov rbx, qword [0x180059648]
mov edx, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1800484a2
mov edx, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x1800484a2
mov dword [rbx], 0xc0000000
mov ecx, 0x71
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1800484e2
mov rbx, qword [0x180059648]
mov edx, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1800484e2
mov edx, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x1800484e2
mov dword [rbx], 0x47c35000
mov ecx, 0x72
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18004859e
jmp 0x18004856d
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x180048519
mov edx, 4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x180048519
mov dword [rsi], 0x3dcccccd
mov edx, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x180048543
mov edx, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x180048543
mov dword [rdi], 0x3da3d70a
mov edx, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x18004856d
mov edx, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x18004856d
mov dword [rbx], 0x40333333
mov rbx, qword [0x180059648]
mov edx, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x18004859e
mov edx, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x18004859e
mov dword [rbx], 0x3e99999a
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x180048950
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x180059280]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov eax, 1
xchg byte [0x1800591d0], al
mov ecx, 1
xchg byte [0x1800591d1], cl
cmp byte [0x1800596d8], bl
jne 0x180048a95
mov ecx, 1
call fcn.1800497cc
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x1800471e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x180048ab7
mov ecx, 1
call fcn.1800497cc
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x180047350]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180048aa8
cmp dword [rsp + 0x38], ebx
je 0x180048adc
call sub.MSVCP140.dll__Thrd_id
cmp dword [rsp + 0x38], eax
je 0x180048ad1
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x180048ac6
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
cmp dword [rsp + 0x58], eax
je 0x180048adc
call sub.MSVCP140.dll__Thrd_id
cmp dword [rsp + 0x58], eax
je 0x180048ad1
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x180048ac6
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov byte [0x1800596d8], 1
cmp dword [rsp + 0x38], eax
je 0x180048a95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180049110
add rsp, 0x70
pop rbx
ret
mov dword [rsp + 0x38], ebx
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x58], ebx
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3

Function at 0x180048b10
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180048b3f
xor eax, eax
mov qword [0x180059658], rcx
mov qword [rsp + 0x28], rax
lea r8, [0x180048b50]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180048e90
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x50
syscall
ret