joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006b2b0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
call fcn.14006c240
cmp eax, 0xffffffff
je 0x14006b2e7
test al, 0x10
je 0x14006b2e7
mov al, 1
jmp 0x14006b477
mov rcx, rbx
call fcn.14006d690
test al, al
je 0x14006b2fa
xor al, al
jmp 0x14006b477
mov rcx, rbx
call fcn.14006d2a0
mov esi, eax
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140067ef0
nop
lea rcx, [rbp - 0x60]
call fcn.140068fb0
xor r14d, r14d
test eax, eax
js 0x14006b347
mov edx, dword [rbp - 0x58]
lea ecx, [rdx - 1]
cmp eax, ecx
jne 0x14006b347
cmp edx, 1
jne 0x14006b338
movzx ebx, dl
jmp 0x14006b46b
mov dword [rbp - 0x58], ecx
add rcx, rcx
mov rax, qword [rbp - 0x60]
mov word [rcx + rax], r14w
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x50]
call fcn.140067c90
nop
mov ebx, dword [rbp - 0x58]
mov rdi, qword [rbp - 0x60]
nop dword [rax]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14006b419
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14006b3c6
lea rcx, [rbp - 0x40]
call fcn.14006b910
lea rcx, [rbp - 0x18]
call fcn.140067f70
nop
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.14006bba0
test al, al
jne 0x14006b3b1
mov rcx, qword [rbp - 0x18]
call fcn.1408acb9c
jmp 0x14006b3c6
mov edi, dword [rbp - 0x20]
shr edi, 4
mov rcx, qword [rbp - 0x18]
call fcn.1408acb9c
test dil, 1
jne 0x14006b419
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14006b45b
lea rcx, [rbp - 0x60]
call fcn.140068fb0
mov ebx, eax
cmp eax, 1
jl 0x14006b45b
mov rdi, qword [rbp - 0x60]
jne 0x14006b3fc
movzx eax, word [rdi]
cmp ax, 0x5c
je 0x14006b45b
cmp ax, 0x2f
je 0x14006b45b
lea eax, [rbx + 1]
cmp esi, eax
jae 0x14006b45b
cmp ebx, dword [rbp - 0x58]
jae 0x14006b360
mov dword [rbp - 0x58], ebx
mov word [rdi + rbx*2], r14w
jmp 0x14006b358
cmp ebx, dword [rbp - 0x48]
jge 0x14006b45f
lea ecx, [rbx + 1]
mov rax, qword [rbp - 0x50]
lea rcx, [rax + rcx*2]
call fcn.14006cf20
test eax, eax
jns 0x14006b437
mov ebx, dword [rbp - 0x48]
jmp 0x14006b43b
inc ebx
add ebx, eax
mov r8d, ebx
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x60]
call fcn.140068ff0
xor edx, edx
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14006b419
xor bl, bl
jmp 0x14006b461
mov bl, 1
mov rcx, qword [rbp - 0x50]
call fcn.1408acb9c
nop
mov rcx, qword [rbp - 0x60]
call fcn.1408acb9c
movzx eax, bl
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x14006b4a0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x14006b4c0
Capabilities:
Delete file
Set file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14006c240
cmp eax, 0xffffffff
je 0x14006b4f3
test al, 0x10
jne 0x14006b4f3
test al, 1
je 0x14006b4f3
and eax, 0xfffffffe
mov rcx, rbx
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14006b4f3
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
add rsp, 0x20
pop rbx
ret

Function at 0x14006b510
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140a7a0a8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rcx
xor ebx, ebx
mov dword [rcx + 8], ebx
mov rax, qword [rcx]
mov word [rax], bx
mov word [rsp + 0x30], bx
lea rdx, [rsp + 0x30]
mov ecx, 0x114
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
je 0x14006b602
cmp edi, 0x114
jae 0x14006b585
mov word [rsp + 0x258], bx
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400681e0
mov al, 1
jmp 0x14006b604
lea rcx, [rsp + 0x20]
call fcn.140067f70
nop
cmp edi, dword [rsp + 0x2c]
jbe 0x14006b5a2
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140068c20
mov rdx, qword [rsp + 0x20]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, eax
test eax, eax
je 0x14006b5f8
mov rcx, qword [rsp + 0x20]
mov word [rcx + rdi*2], bx
cmp word [rcx], 0
je 0x14006b5cd
inc ebx
cmp word [rcx + rbx*2], 0
jne 0x14006b5c4
mov dword [rsp + 0x28], ebx
cmp ebx, edx
jne 0x14006b5f8
lea eax, [rdi - 1]
cmp eax, edx
jne 0x14006b5f8
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140067fb0
nop
mov rcx, qword [rsp + 0x20]
call fcn.1408acb9c
mov al, 1
jmp 0x14006b604
mov rcx, qword [rsp + 0x20]
call fcn.1408acb9c
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1408ac9a0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14006b770
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x14006b790
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x14006b840
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x14006b860
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x28
mov r8d, edx
and edx, 0x3fff
test r8d, 0xf0000000
cmove edx, r8d
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x14006c240
Capabilities:
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14006c2a0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
mov ebx, dword [rcx + 8]
test ebx, ebx
je 0x14006c2fb
mov r14d, ebx
shl r14, 3
nop word [rax + rax]
dec ebx
lea r14, [r14 - 8]
mov rax, qword [rdi]
mov rsi, qword [r14 + rax]
test rsi, rsi
je 0x14006c2f7
mov rcx, qword [rsi]
call fcn.1408acb9c
mov edx, reloc.WS2_32.dll_recv
mov rcx, rsi
call fcn.1408acb9c
test ebx, ebx
jne 0x14006c2d0
mov dword [rdi + 8], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, eax
test eax, eax
je 0x14006c47d
mov qword [rsp + 0x68], 0
mov eax, 2
mul rsi
mov r14, 0xffffffffffffffff
cmovo rax, r14
mov rcx, rax
call fcn.1400e3e10
mov rbx, rax
mov qword [rsp + 0x68], rax
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov r15d, eax
test eax, eax
je 0x14006c46e
cmp eax, esi
ja 0x14006c46e
lea rcx, [rsp + 0x20]
call fcn.140067f70
nop
xor r12d, r12d
xor esi, esi
test r15d, r15d
je 0x14006c45b
nop dword [rax]
lea ebp, [rsi + 1]
mov eax, esi
cmp word [rbx + rax*2], 0
jne 0x14006c450
mov eax, r12d
lea rdx, [rbx + rax*2]
lea rcx, [rsp + 0x20]
call fcn.1400681e0
mov esi, ebp
mov r12d, ebp
mov ecx, dword [rdi + 0xc]
cmp dword [rdi + 8], ecx
jne 0x14006c416
cmp ecx, 0x7fffffff
jae 0x14006c494
mov ebp, 0x7fffffff
sub ebp, ecx
mov eax, ecx
shr eax, 2
inc eax
cmp eax, ebp
cmovbe ebp, eax
add ebp, ecx
mov ecx, ebp
mov eax, 8
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.1400e3e10
mov r14, rax
mov eax, dword [rdi + 8]
test eax, eax
je 0x14006c401
mov r8d, eax
shl r8, 3
mov rdx, qword [rdi]
mov rcx, r14
call fcn.1408af920
mov rcx, qword [rdi]
call fcn.1408acb9c
mov qword [rdi], r14
mov dword [rdi + 0xc], ebp
mov r14, 0xffffffffffffffff
mov ecx, reloc.WS2_32.dll_recv
call fcn.1408acb60
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14006c43c
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140067c90
mov rdx, rax
jmp 0x14006c43e
xor edx, edx
mov ecx, dword [rdi + 8]
lea eax, [rcx + 1]
mov dword [rdi + 8], eax
mov rax, qword [rdi]
mov qword [rax + rcx*8], rdx
jmp 0x14006c452
mov esi, ebp
cmp esi, r15d
jb 0x14006c380
cmp r12d, r15d
sete dil
mov rcx, qword [rsp + 0x20]
call fcn.1408acb9c
jmp 0x14006c471
xor dil, dil
mov rcx, rbx
call fcn.1408acb9c
movzx eax, dil
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov dword [rsp + 0x60], 0x7e5
lea rdx, [0x140a77770]
lea rcx, [rsp + 0x60]
call fcn.1408b06a4
int3
Function at 0x14006c740
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [rcx]
mov rdi, rdx
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14006c781
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14006c781
xor al, al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [rsp + 0x30]
mov al, 1
shl rcx, 0x20
add rcx, rbx
mov rbx, qword [rsp + 0x38]
mov qword [rdi], rcx
add rsp, 0x20
pop rdi
ret

Function at 0x14006ca30
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
mov eax, r8d
mov rbx, r9
mov r8d, 0x400000
xor r9d, r9d
cmp eax, r8d
mov dword [rsp + 0x50], r9d
mov qword [rsp + 0x20], r9
lea r9, [rsp + 0x50]
cmovbe r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x50]
test eax, eax
mov dword [rbx], ecx
setne al
add rsp, 0x30
pop rbx
ret

Function at 0x14006ce20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebp, ebp
mov rsi, r9
mov dword [r9], ebp
mov ebx, r8d
mov rdi, rdx
mov r14, rcx
mov r15d, 0x400000
nop
mov rcx, qword [r14]
lea r9, [rsp + 0x60]
mov r8d, ebx
mov dword [rsp + 0x60], ebp
cmp ebx, r15d
mov qword [rsp + 0x20], rbp
mov rdx, rdi
cmova r8d, r15d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0x60]
add dword [rsi], ecx
test eax, eax
je 0x14006ce8d
test ecx, ecx
je 0x14006ce89
add rdi, rcx
sub ebx, ecx
jne 0x14006ce50
mov al, 1
jmp 0x14006ce8f
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x14006e690
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140a7a0a8]
xor rax, rsp
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x14006e759
mov r9, qword [rsp + 0x50]
test r9, r9
je 0x14006e759
xor eax, eax
mov qword [rsp + 0x70], rbx
mov r10d, eax
mov r11d, eax
mov ebx, eax
mov r8d, 2
nop word [rax + rax]
lea ecx, [r8 - 2]
mov rdx, r9
shr rdx, cl
lea ecx, [r8 - 1]
and edx, 1
add eax, edx
mov rdx, r9
shr rdx, cl
mov ecx, r8d
and edx, 1
add ebx, edx
mov rdx, r9
shr rdx, cl
lea ecx, [r8 + 1]
and edx, 1
add r8d, 4
add r11d, edx
mov rdx, r9
shr rdx, cl
and edx, 1
add r10d, edx
lea ecx, [r8 - 2]
cmp ecx, 0x40
jb 0x14006e6f0
lea ecx, [r10 + r11]
add ecx, ebx
mov rbx, qword [rsp + 0x70]
add eax, ecx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1408ac9a0
add rsp, 0x78
ret
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1408ac9a0
add rsp, 0x78
ret
Function at 0x14006e780
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140a7a0a8]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs rax, 0x100000000
mov dword [rsp + 0x20], 0x40
mov qword [rcx], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x14006e7cf
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1408ac9a0
add rsp, 0x70
pop rbx
ret
mov rcx, qword [rsp + 0x28]
mov al, 1
cmp qword [rsp + 0x48], rcx
cmovb rcx, qword [rsp + 0x48]
mov qword [rbx], rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1408ac9a0
add rsp, 0x70
pop rbx
ret

Function at 0x14006e810
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rax, qword [rdx]
xor ebx, ebx
mov dword [rdx + 8], ebx
mov r14, rcx
mov rsi, rdx
mov word [rax], bx
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test eax, eax
jne 0x14006e852
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
jmp 0x14006e894
cmp edi, dword [rsi + 0xc]
jbe 0x14006e861
mov edx, edi
mov rcx, rsi
call fcn.140068c20
mov rdx, qword [rsi]
lea r8d, [rdi + 1]
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rsi]
cmp edi, eax
cmova edi, eax
mov word [rcx + rdi*2], bx
cmp word [rcx], bx
je 0x14006e88b
inc ebx
cmp word [rcx + rbx*2], 0
jne 0x14006e882
mov dword [rsi + 8], ebx
test edi, edi
je 0x14006e845
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140072c80
Capabilities:
Encode data using xor

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, 0x40
mov rdi, rcx
mov ebp, edx
mov rcx, r8
mov rsi, r8
call fcn.14006dd30
mov rbx, qword [rdi + 0x158]
test rbx, rbx
je 0x140072e4b
cmp qword [rdi + 0x148], 0
je 0x140072e4b
mov r14, qword [rbx + rbp*8]
lea eax, [rbp + 1]
mov rbx, qword [rbx + rax*8]
sub rbx, r14
cmp rbx, 0x4000
jae 0x140072e4b
lea edx, [rbx - 1]
mov rcx, rsi
call fcn.14006dcf0
test eax, eax
jne 0x140072e4d
mov rax, qword [rdi + 0x148]
xor r8d, r8d
mov rdx, qword [rsi + 8]
lea rcx, [rax + r14*2]
test rbx, rbx
je 0x140072e09
cmp rbx, 0x10
jb 0x140072e0e
lea rax, [rcx - 2]
lea rax, [rax + rbx*2]
lea r9, [rdx - 2]
lea r9, [r9 + rbx*2]
cmp rdx, rax
ja 0x140072d39
cmp r9, rcx
jae 0x140072e0e
mov rax, rbx
movaps xmmword [rsp + 0x30], xmm6
and rax, 0xfffffffffffffff0
movaps xmmword [rsp + 0x20], xmm7
movdqa xmm5, xmmword [str._________]
movdqa xmm6, xmmword [0x1408e21b0]
movdqa xmm4, xmmword [0x1408e2190]
movdqa xmm7, xmmword [0x1408e21a0]
nop word [rax + rax]
movdqu xmm0, xmmword [rcx]
add r8, 0x10
movdqa xmm3, xmm5
pcmpeqw xmm3, xmm0
movdqa xmm2, xmm3
andnps xmm2, xmm0
movdqa xmm0, xmm3
andps xmm0, xmm4
xorps xmm3, xmm6
orps xmm2, xmm0
movdqa xmm1, xmm2
pcmpeqw xmm1, xmm4
andps xmm1, xmm3
movdqa xmm3, xmm5
movdqa xmm0, xmm1
andps xmm1, xmm7
andnps xmm0, xmm2
orps xmm0, xmm1
movdqu xmmword [rdx], xmm0
movdqu xmm0, xmmword [rcx + 0x10]
add rcx, 0x20
pcmpeqw xmm3, xmm0
movdqa xmm2, xmm3
andnps xmm2, xmm0
movdqa xmm0, xmm3
andps xmm0, xmm4
xorps xmm3, xmm6
orps xmm2, xmm0
movdqa xmm1, xmm2
pcmpeqw xmm1, xmm4
andps xmm1, xmm3
movdqa xmm0, xmm1
andps xmm1, xmm7
andnps xmm0, xmm2
orps xmm0, xmm1
movdqu xmmword [rdx + 0x10], xmm0
add rdx, 0x20
cmp r8, rax
jb 0x140072d70
movaps xmm7, xmmword [rsp + 0x20]
movaps xmm6, xmmword [rsp + 0x30]
cmp r8, rbx
jae 0x140072e4b
sub rbx, r8
mov r8d, 0xf05c
nop word [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
cmp ax, 0x2f
jne 0x140072e34
mov eax, 0x5c
jmp 0x140072e3e
cmp ax, 0x5c
jne 0x140072e3e
movzx eax, r8w
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x140072e20
xor eax, eax
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 0x140076710
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbp, rcx
movzx edx, byte [rdx + 0x11]
add rcx, 0x60
call fcn.140076660
movzx edx, byte [rsi + 0x10]
lea rcx, [rbp + 0x70]
call fcn.140076660
lea rcx, [rbp + 0xa0]
call fcn.140076380
mov ecx, 0xb8
call fcn.1408acb60
mov qword [rsp + 0x30], rax
mov rbx, rax
test rax, rax
je 0x1400767d4
xor eax, eax
lea rcx, vtable.NCoderMixer2::CCoderMT.0
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov byte [rbx + 0x3c], al
mov qword [rbx + 0x50], rax
mov qword [rbx + 0x58], rax
mov qword [rbx + 0x60], rax
mov qword [rbx + 0x68], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx], rcx
mov qword [rbx + 0x70], rax
mov qword [rbx + 0x78], rax
mov qword [rbx + 0x80], rax
mov qword [rbx + 0x88], rax
mov byte [rbx + 0x90], al
mov qword [rbx + 0x98], rax
mov qword [rbx + 0xa0], rax
mov qword [rbx + 0xa8], rax
mov qword [rbx + 0xb0], rax
jmp 0x1400767d7
mov rbx, rax
mov ecx, dword [rbp + 0xa8]
lea eax, [rcx + 1]
mov dword [rbp + 0xa8], eax
mov rax, qword [rbp + 0xa0]
mov qword [rax + rcx*8], rbx
mov eax, dword [rsi + 0x14]
mov dword [rbx + 0x38], eax
mov rdi, qword [rsi]
test rdi, rdi
je 0x140076808
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x140076817
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x28], rdi
mov rdi, qword [rsi + 8]
test rdi, rdi
je 0x14007682d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14007683c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rsi, qword [rsp + 0x48]
mov qword [rbx + 0x30], rdi
movzx eax, byte [rbp + 0x80]
mov rbp, qword [rsp + 0x40]
mov byte [rbx + 0x90], al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400897c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, r8
mov rbx, rcx
cmp qword [r8], rax
jne case.0x14008980a.154
mov eax, dword [r8 + 0x10]
add eax, 0x9b
cmp eax, 0x99
ja case.0x14008980a.154
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x89944]
mov edx, dword [rcx + rax*4 + 0x8992c]
add rdx, rcx
jmp rdx
cmp byte [reloc.WS2_32.dll_accept], 0
je case.0x14008980a.154
mov rcx, rbx
call fcn.1400895f0
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp byte [reloc.WS2_32.dll_accept], 0
jne case.0x14008980a.154
mov rcx, rbx
call fcn.1400895f0
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, dword [r8 + 0x1c]
cmp eax, dword [rbx + 0x60]
jne 0x140089878
cmp byte [rbx + 0x64], 0
mov rcx, rbx
sete al
mov byte [rbx + 0x64], al
call fcn.14008a750
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rbx + 0x60], eax
test eax, eax
mov rcx, rbx
sete al
mov byte [rbx + 0x64], al
call fcn.14008a750
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, word [rdi + 0x18]
shr eax, 0xf
and al, 1
cmp cx, 8
je 0x1400898db
cmp cx, 0x52
je 0x1400898c8
cmp cx, 0x76
jne 0x1400898d6
mov rcx, rbx
call fcn.140088e70
jmp 0x1400898e3
test al, al
je 0x1400898d6
mov rcx, rbx
call fcn.14008a750
jmp 0x1400898e3
xor dil, dil
jmp 0x1400898e6
mov rcx, rbx
call fcn.140089c40
mov dil, 1
mov rcx, qword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8001
call qword [sym.imp.USER32.dll_PostMessageW]
movzx eax, dil
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8001
call qword [sym.imp.USER32.dll_PostMessageW]
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x14008d530
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rsi, rcx
mov rcx, qword [rcx + 0x110]
test rcx, rcx
je 0x14008d569
mov rdx, qword [rsi + 0x118]
test rdx, rdx
je 0x14008d569
mov rax, qword [rcx]
xor r8d, r8d
call qword [rax + 0x50]
mov dl, 1
mov rcx, rsi
call fcn.14008ecd0
mov edx, 0x198
lea rcx, [rbp - 0x50]
call fcn.14006e290
mov r8, qword [rbp - 0x50]
mov edx, 2
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [rbp - 0x50]
call fcn.1408acb9c
mov edx, 2
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 0xf4
mov r9d, 1
mov r8d, r9d
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x1bc
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0x1be
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x68]
lea rax, [rbp - 0x40]
mov qword [rbp + 0x20], rax
lea rcx, [rbp - 0x40]
call fcn.140067f70
nop
lea rcx, [rbp - 0x30]
call fcn.140067f70
nop
lea rax, [rbp - 0x20]
mov qword [rbp + 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.140067f70
nop
lea rcx, [rbp - 0x10]
call fcn.140067f70
nop
lea rbx, [rsi + 0x290]
mov qword [rbp + 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r14d, dword [rsi + 0x248]
lea rdx, [rsi + 0x250]
lea rcx, [rbp - 0x40]
call fcn.140067fb0
lea rdx, [rsi + 0x260]
lea rcx, [rbp - 0x30]
call fcn.140067fb0
lea rdx, [rsi + 0x270]
lea rcx, [rbp - 0x20]
call fcn.140067fb0
lea rdx, [rsi + 0x280]
lea rcx, [rbp - 0x10]
call fcn.140067fb0
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rbp - 0x28], 0
je 0x14008d6f8
mov byte [rsi + 0x2bb], 1
cmp dword [rbp - 0x38], 0
jne 0x14008d6c1
lea rdx, str.7_Zip
lea rcx, [rbp - 0x40]
call fcn.140068040
mov r9d, reloc.WS2_32.dll_recv
mov r8, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
test r14d, r14d
je 0x14008d735
cmp byte [rsi + 0x1ae], 0
jne 0x14008d735
mov byte [rsi + 0x1ad], 1
mov rcx, rsi
call fcn.14008e9d0
jmp 0x14008d742
test r14d, r14d
jne 0x14008d6de
mov byte [rsi + 0x2bb], 1
cmp dword [rbp - 8], r14d
je 0x14008d735
cmp dword [rbp - 0x18], r14d
jne 0x14008d720
lea rdx, str.7_Zip
lea rcx, [rbp - 0x20]
call fcn.140068040
xor r9d, r9d
mov r8, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
xor edx, edx
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_EndDialog]
nop
mov rcx, qword [rbp - 0x10]
call fcn.1408acb9c
mov rcx, qword [rbp - 0x20]
call fcn.1408acb9c
mov rcx, qword [rbp - 0x30]
call fcn.1408acb9c
mov rcx, qword [rbp - 0x40]
call fcn.1408acb9c
mov al, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14008dc20
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [rcx + 0xf0]
mov rbx, rcx
cmp qword [r8], rax
jne 0x14008dc59
cmp dword [r8 + 0x10], 0xffffff65
jne 0x14008dc59
movzx eax, word [r8 + 0x18]
cmp ax, 0x2d
je 0x14008dcaf
cmp ax, 0x41
je 0x14008dc64
cmp ax, 0x43
je 0x14008dcaf
xor al, al
add rsp, 0x80
pop rbx
ret
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x14008dc59
mov rcx, qword [rbx + 0xf0]
lea r9, [rsp + 0x20]
mov edx, 0x102b
mov dword [rsp + 0x30], 2
mov r8, 0xffffffffffffffff
mov dword [rsp + 0x2c], 2
call qword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
add rsp, 0x80
pop rbx
ret
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x14008dc59
mov rcx, rbx
call fcn.14008cdc0
mov al, 1
add rsp, 0x80
pop rbx
ret
Function at 0x14008fb80
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x300
mov rax, qword [0x140a7a0a8]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rbx, r8
mov dword [rsp + 0x20], 0x4010
lea r8, [rsp + 0x30]
bts edx, 7
mov r9d, 0x2b8
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [rsp + 0x38]
mov dword [rbx], ecx
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1408ac9a0
add rsp, 0x300
pop rbx
ret

Function at 0x14008fbe0
Capabilities:
Get file system object information

Disassembly:
sub rsp, 0x308
mov rax, qword [0x140a7a0a8]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
test cl, cl
lea r8, [rsp + 0x30]
mov edx, 0x4011
lea rcx, [0x1408e1e58]
mov eax, 0x4110
mov r9d, 0x2b8
cmovne eax, edx
mov edx, Ordinal_147
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1408ac9a0
add rsp, 0x308
ret