joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002ccf0
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14002cd20
xor eax, eax
jmp 0x14002cde3
mov rbp, rbx
cmp word [rax], si
je 0x14002cd45
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14002cd2c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14002cd28
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14002cc10
movsxd r14, eax
test eax, eax
jne 0x14002cd83
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14002cd19
mov rcx, r14
call fcn.140028eac
mov rdi, rax
test rax, rax
jne 0x14002cd9c
xor ecx, ecx
call fcn.140028e70
jmp 0x14002cd78
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14002cc10
test eax, eax
jne 0x14002cdcd
mov rcx, rdi
call fcn.140028e70
jmp 0x14002cdd7
xor ecx, ecx
call fcn.140028e70
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140031380
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14002bce0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14003140a
cmp byte [rbp - 0x21], r15b
je 0x140031405
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140031440
call fcn.14002ae64
test eax, eax
jne 0x14003142c
cmp byte [rbp - 0x21], r15b
je 0x140031424
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140031440
cmp byte [rbp - 0x21], r15b
je 0x14003143d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14002b2c0
test eax, eax
jne 0x1400314e0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14002bce0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14003147f
cmp byte [rbp - 0x21], r15b
je 0x1400314b4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400314b4
call fcn.14002ae64
test eax, eax
jne 0x1400314a0
cmp byte [rbp - 0x21], r15b
je 0x140031499
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400314b4
cmp byte [rbp - 0x21], r15b
je 0x1400314b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14002b2c0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400314e0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400314e3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400314f1
mov rcx, rdi
call fcn.140028e70
cmp byte [rbp + 0x3f], r15b
je 0x140031500
mov rcx, qword [rbp + 0x27]
call fcn.140028e70
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140034770
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140034798
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140034798
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180002670
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 0x1800026cd
lea rbx, [0x180036af0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800026b4
cmp r10, 2
jb 0x1800026b4
cmp byte [r9], r8b
jne 0x1800026b4
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 0x180002690
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000270f
lea rbx, [0x180036af0]
cmp r8b, 0x23
jne 0x1800026f3
cmp byte [r9], r8b
jne 0x1800026f3
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 0x1800026e0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180002850
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18000286a
mov qword [r8], 0
lea rdx, [0x1800368e8]
call fcn.180002720
mov rbx, rax
test rax, rax
jne 0x18000288a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180002961
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 0x180002961
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180002961
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 0x180002961
cmp rdi, 0xffffffffffffffff
je 0x180002961
mov rax, qword [0x180044d20]
test rax, rax
je 0x1800028fe
inc dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180002961
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]
mov rcx, rbx
cmp rax, rdi
je 0x18000294e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180044d20]
test rax, rax
je 0x180002943
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000296a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18000295c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000296c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180005080
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x180044d20]
test rax, rax
je 0x1800050a6
inc dword [rax + 0x3b4]
mov ecx, 0x3f70
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x38]
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rax
xor r14d, r14d
test rax, rax
je 0x1800050d8
xor edx, edx
mov rcx, rax
call fcn.180001260
mov rbx, rax
jmp 0x1800050db
mov rbx, r14
cmp qword [0x180044d20], 0
jne 0x1800050ec
mov qword [0x180044d20], rbx
mov dword [rbp - 0x4c], r14d
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x18], r14
lea rax, str.Window
mov qword [rbp - 0x58], rax
mov esi, 0xffffffff
mov edx, esi
lea r8, [0x1800367fd]
mov r9b, 0x57
lea r15, [0x180036af0]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x180005132
cmp byte [r8], r9b
jne 0x180005132
cmp byte [r8 + 1], r9b
cmove edx, esi
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [r15 + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x180005120
not edx
mov dword [rbp - 0x50], edx
lea rax, [0x1800132a0]
mov qword [rbp - 0x48], rax
lea rax, [0x180013330]
mov qword [rbp - 0x38], rax
lea rax, [0x180013400]
mov qword [rbp - 0x30], rax
lea rax, [0x1800134e0]
mov qword [rbp - 0x28], rax
lea rax, [0x180013630]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x58]
lea rcx, [rbx + 0x30e8]
call fcn.180013c10
mov dword [rbp - 0x4c], r14d
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x18], r14
lea rax, str.Table
mov qword [rbp - 0x58], rax
mov eax, esi
lea r8, [0x18003aac1]
mov r9b, 0x54
nop
cmp r9b, 0x23
jne 0x1800051d2
cmp byte [r8], r9b
jne 0x1800051d2
cmp byte [r8 + 1], r9b
cmove eax, esi
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr eax, 8
xor eax, dword [r15 + rdx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x1800051c0
not eax
mov dword [rbp - 0x50], eax
lea rax, [0x180026b90]
mov qword [rbp - 0x48], rax
lea rax, [0x180026c60]
mov qword [rbp - 0x38], rax
lea rax, [0x180026d60]
mov qword [rbp - 0x30], rax
lea rax, [0x180026c20]
mov qword [rbp - 0x28], rax
lea rax, [0x180026ff0]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x58]
lea rcx, [rbx + 0x30e8]
call fcn.180013c10
mov byte [rbx], 1
mov rax, rbx
add rsp, 0x78
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x180008d60
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180008db0
lea r11, [0x180036af0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180008d93
cmp byte [r8], r9b
jne 0x180008d93
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180008d80
mov rcx, qword [0x180044d20]
not eax
movsxd rdx, dword [rcx + 0x1ac8]
mov r9, qword [rcx + 0x1ad0]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180008e11
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180008e09
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180008e0c
mov rdx, r8
test rdx, rdx
jne 0x180008de0
cmp r9, r10
je 0x180008e20
cmp dword [r9], eax
jne 0x180008e20
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x1800129e0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x180044d20]
cmp byte [rbx + 0x3128], 0
je 0x180012acc
cmp qword [rbx + 0x3130], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3138]
je 0x180012ab4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x180012a5b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1800149b0
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.180002d80
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3130]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x3140]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x180044d18]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.180002d80
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x180026360
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x180044040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x180057638]
lea rdx, [rsp + 0x28]
mov rdi, qword [0x180044d20]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub eax, dword [rsp + 0x28]
mov qword [rsp + 0x40], 0
movd xmm1, eax
mov eax, dword [rsp + 0x34]
sub eax, dword [rsp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x180057640]
cvtsi2ss xmm0, qword [0x180057648]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x180057640], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x180044d20]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
cmp byte [rbx + 0x39b], 0
je 0x18002649f
cvttss2si eax, dword [rbx + 0x128]
mov rcx, qword [0x180057638]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
cvttss2si eax, dword [rbx + 0x12c]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x18002649f
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx + 0x128], 0xff7fffff
mov dword [rbx + 0x12c], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x18002651e
mov rdx, qword [0x180057638]
cmp rax, rdx
je 0x1800264d7
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x18002651e
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x18002651e
mov rcx, qword [0x180057638]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18002651e
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x128], xmm0
movss dword [rbx + 0x12c], xmm1
cmp byte [rdi + 0xc8], 0
je 0x18002652e
mov eax, 0xffffffff
jmp 0x18002653b
mov rax, qword [0x180044d20]
mov eax, dword [rax + 0x1ff0]
cmp dword [0x180044264], eax
je 0x18002654e
mov dword [0x180044264], eax
call fcn.180025f30
call fcn.1800260b0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800342d0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x18002c5f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test dword [rcx + 0x10], 0x100000
je 0x18002c672
mov r10d, 0xffffffff
lea r8, [0x18003b429]
mov eax, r10d
lea r11, [0x180036af0]
mov r9b, 0x56
cmp r9b, 0x23
jne 0x18002c62a
cmp byte [r8], r9b
jne 0x18002c62a
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18002c617
mov rcx, qword [0x180044d20]
not eax
cmp dword [rcx + 0x1b30], eax
jne 0x18002c65e
mov dword [rcx + 0x1b34], eax
cmp dword [rcx + 0x1b70], eax
jne 0x18002c6c8
mov byte [rcx + 0x1b74], 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
lea rcx, str.Visuals
mov rbx, qword [0x180044d20]
xor edx, edx
mov r8, qword [rbx + 0x1ae0]
movsxd rax, dword [r8 + 0xc8]
mov r8, qword [r8 + 0xd0]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180002670
cmp dword [rbx + 0x1b30], eax
jne 0x18002c6b4
mov dword [rbx + 0x1b34], eax
cmp dword [rbx + 0x1b70], eax
jne 0x18002c6c3
mov byte [rbx + 0x1b74], 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x180031ec0
Capabilities:
Create thread
Set console window title

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x180044040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rcx
cmp edx, 1
jne 0x18003201f
mov qword [rsp + 0x58], rbx
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.Venine_Internal
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x18003b470]
mov rcx, rax
lea rdx, str.conin_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 1
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x18003b47c]
mov rcx, rax
lea rdx, str.conout_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 8
call fcn.1800342f0
mov rbx, rax
lea rax, vtable.alt::Log::ConsoleStream.0
mov qword [rsp + 0x30], rbx
mov qword [rbx], rax
call fcn.18002e890
mov rdx, qword [rax + 0x478]
lea rcx, [rax + 0x470]
cmp rdx, qword [rax + 0x480]
je 0x180031f9e
mov qword [rdx], rbx
add qword [rax + 0x478], 8
jmp 0x180031fa8
lea r8, [rsp + 0x30]
call fcn.1800337b0
call fcn.18002e890
lea r9, str._Debug_
mov rcx, rax
lea r8, [fcn.18002e770]
lea rdx, [0x18002e690]
call fcn.180032fd0
lea rdx, str.Welcome_to_Venine_Internal
mov rcx, rax
mov rbx, rax
call fcn.1800335e0
mov rcx, rbx
call fcn.18002e6f0
mov rcx, rdi
mov qword [0x180044d60], rdi
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x1800319e0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x58]
mov qword [0x180044d58], rax
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800342d0
add rsp, 0x40
pop rdi
ret
Function at 0x140997058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1409971df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140997089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14099706f
add dl, dl
jne 0x140997096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409970f6
xor eax, eax
add dl, dl
jne 0x1409970a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409971ad
add dl, dl
jne 0x1409970b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409970c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409970d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409970dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409970ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14099707e
mov eax, 1
add dl, dl
jne 0x140997106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140997113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409970fb
sub eax, ebx
mov ebx, 1
jne 0x14099714c
mov ecx, 1
add dl, dl
jne 0x14099712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14099713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140997123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14099707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140997168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140997175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14099715d
cmp eax, 0x7d00
jae 0x14099719b
cmp eax, 0x500
jb 0x140997196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14099707e
cmp eax, 0x7f
ja 0x14099719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14099707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409971d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14099707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1806c33a5
Capabilities:
Authenticate hmac

Disassembly:
movzx ebx, byte [r9 + rdi - 0x63ba04a8]
lea r10, [r9 + r9 - 0x2fcd1fd]
xor bl, sil
mov qword [rsp + r9 - 0x63ba04a0], 0xffffffffb69d66a6
rol bl, 1
mov qword [rsp + r9 - 0x63ba04a8], r10
btc r10, 0xbb
mov edx, r9d
xor bl, 0x37
movzx ebp, r10w
add bl, 0xb0
ror bl, 1
neg bl
xchg dword [rsp + rdx - 0x63ba049e], ebp
shl byte [rsp + rdx - 0x63ba049e], 0xa5
xor sil, bl
lea rbx, [rsp + rbx + 0x10]
dec bpl
movsx eax, dl
cdq
mov r10d, dword [rbx + r9 - 0x63ba04a8]
mov dword [r9 + r11 - 0x63ba04ac], r10d
rol rax, 0xb7
mov edx, dword [rdi + r9 - 0x63ba04a7]
jbe 0x180703e14
mov eax, dword [rdi]
mov r10d, 0xfab442d
lea rbx, [r10 + r10*2 + 0x1c89e52c]
lea rcx, [r10 + r10*8 + 0xfab5421]
lea rdi, [r10 + rdi - 0xfab4429]
xor eax, esi
bswap ecx
movsx ebp, bx
dec eax
movzx r9d, bpl
ror eax, 1
movsx edx, cl
xadd ecx, ebp
shl r9b, 0x22
neg eax
xchg bh, cl
jmp 0x1806fdabd
mov ebx, ebp
lea r10, [rax + r9 - 0x4c6a3ece]
xor dword [rsp + rcx*8 - 0x4d0], edx
call fcn.1806f1d80
lea rax, [rdx - 0x1fc3e669]
ror r10, 0xcf
adc r11, 2
xadd r10b, bpl
or byte [rsp + 5], 0x81
sbb rax, rax
shr bl, cl
sal ebp, 0x51
and bpl, 0x80
mov word [r11 + rbp*2 - 0x44000000], bx
bts rbp, 0x88
mov qword [rsp + rbp - 0x22000100], r8
ret 8
shr r9w, 0xa1
dec eax
rol ebp, cl
xor rbx, 0xffffffff82910d04
push rsi
rol r9, 0x9a
btc cx, r10w
xor dword [rsp + r10 - 0xfab442d], eax
and ecx, edx
movsx esi, r9b
push rbx
mov rsi, qword [rsp + r10*4 - 0x3ead10ac]
movsxd rax, eax
dec eax
xor edx, esi
dec byte [rsp + rax - 0x7ffff7]
neg edx
rol qword [rsp + r9 - 0x63ba04a7], 0x9e
bswap eax
inc edx
neg edx
push rbp
xadd qword [rsp + r9 - 0x63ba04a6], r9
xor edx, 0xcf115619
movzx ecx, bpl
mov qword [rsp + rcx*8 - 0x4d0], rsi
jmp 0x1806d1770
Function at 0x1806ca4ea
Capabilities:
Authenticate hmac

Disassembly:
call fcn.1806cebcf
adc cl, 0x94
xor sil, cl
bt rbx, rax
lea r11, [rax + r11 - 0x6016]
mov word [r11 + r9 - 0x4106778f], cx
mov edx, dword [rdi + r9 - 0x4106778f]
ror rbx, 9
lea rdi, [r10 + rdi - 4]
xor edx, esi
xchg r10w, bp
mov qword [rsp + r9 - 0x4106778f], 0x1a8e91a6
lea edx, [rdx + rax*2 - 0x24307035]
mov word [rsp + rax*2 - 0xc028], 0x62d
bswap edx
lea rcx, [r10*4 - 0x3edb0acf]
push r9
neg edx
xor edx, 0x54a6ad3e
mov qword [rsp + rax*8 - 0x30098], rsi
shl r9w, 0x43
call fcn.1806fb405
test rax, rax
jmp 0x1806eb42d
not r9d
push 0x20bd5bb8
mov dword [r11], r9d
sar qword [rsp], 0x64
pop rdx
xor rdx, r8
jmp rdx
xor ecx, r9d
and ecx, 0xff
call fcn.1806ef328
mov ecx, 0x1d1fa591
call fcn.1806d7caf
push 0xffffffffe02ae88c
lea rsp, [rsp + 0x28]
je 0x1806d9aec
mov ecx, 0x8e86dca4
neg rcx
mov r10d, 0x38b287b8
lea r10, [0x1806f7148]
movzx ecx, byte [rdx]
jmp 0x1806e4035

Function at 0x1806cafef
Capabilities:
Authenticate hmac
Encode data using base64

Disassembly:
lea rdx, [rcx + r10*2 + 0x4040535]
mov qword [rsp + r9*4 - 0x160], r10
lea rdi, [rdi + r9*8 - 0x2bf]
or cl, dl
push r9
xor bl, sil
div byte [rsp + rax*2 + 0x3ec53cad]
lea r9, [rdx*2 - 0x25d1a3e5]
mul cx
inc bl
ror edx, cl
not bl
rol byte [rsp + rax*4 + 0x7d8ad0b9], 0x42
mov ebp, ecx
adc qword [rsp + rax*2 + 0x3ec5686c], 0xffffffffeebe551c
xor bl, 0x26
imul word [rsp + rax*4 + 0x7d8ad0c3]
sbb bl, 7
xor sil, bl
cbw
lea rbx, [rsp + rbx + 0x18]
mov bp, word [rax + rbx + 0x1f62ffac]
lea r11, [r11 + rax + 0x1f62ffaa]
mov word [r11 + rax*2 + 0x3ec5ff58], bp
pop rbp
pop rax
pop r9
jmp fcn.1806d30d8

Function at 0x1806ce319
Capabilities:
Authenticate hmac

Disassembly:
mov rdx, rax
jmp 0x1806e2fc6
mov qword [rsp], 0x139bac95
not byte [rsp + 1]
cmp ebx, 2
jmp 0x1806f11c1
call fcn.1806e48e6
cmp ebx, 3
jne 0x1806fd10f
mov r8d, 0x380372b8
call fcn.180706765
mov ebp, 0x1198cf93
lea rdi, [rdi + rbp*2 - 0x23319f25]
movsx ebx, bpl
xor r9b, sil
lea r10, [rbp*4 - 0x3457f6ed]
lea rsp, [rsp + 8]
jne 0x1806ec3bd
jmp 0x1806c5a20
call fcn.1806d389d

Function at 0x1806d1c0f
Capabilities:
Encode data using base64

Disassembly:
mov rax, qword [r11 + rcx*4 - 0x26c]
mov cl, byte [r11 + rcx - 0x93]
add r11, 2
mov qword [rsp], rbp
neg dword [rsp]
xchg byte [rsp], r10b
shr rax, cl
sar r10d, 0x10
rol dword [rsp + 1], 0xf9
mov qword [r11 + riz], rax
add r10w, bp
ror byte [rsp + 2], 0x64
jne 0x180707722
pop rbx
jmp r8