joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004e8a8
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x50
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov bpl, dl
mov rdi, rcx
mov ecx, 0x100
call qword [sym.imp.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
xor esi, esi
test rax, rax
je 0x14004e8ed
mov rdx, qword [0x1401847b0]
mov rcx, rax
call fcn.140078fe0
jmp 0x14004e8f0
mov rax, rsi
mov qword [rdi + 0x58], rax
mov eax, dword [rdi + 0x50]
cmp eax, 0x7d4
jne 0x14004e934
or r8d, 0xffffffff
lea rdx, str.Copying
lea rcx, [rsp + 0x38]
call fcn.1400e6fc8
mov rbx, rax
mov qword [rsp + 0x60], rax
mov rcx, qword [rdi + 0x58]
add rcx, 0x88
mov rdx, rax
call fcn.1400e7b9c
nop
jmp 0x14004e9e4
cmp eax, 0x7d5
jne 0x14004e96e
or r8d, 0xffffffff
lea rdx, str.Moving
lea rcx, [rsp + 0x38]
call fcn.1400e6fc8
mov rbx, rax
mov qword [rsp + 0x60], rax
mov rcx, qword [rdi + 0x58]
add rcx, 0x88
mov rdx, rax
call fcn.1400e7b9c
nop
jmp 0x14004e9e4
cmp eax, 0x7d7
jne 0x14004e9a8
or r8d, 0xffffffff
lea rdx, str.MultiRename
lea rcx, [rsp + 0x38]
call fcn.1400e6fc8
mov rbx, rax
mov qword [rsp + 0x60], rax
mov rcx, qword [rdi + 0x58]
add rcx, 0x88
mov rdx, rax
call fcn.1400e7b9c
nop
jmp 0x14004e9e4
cmp eax, 0x7d8
jne 0x14004eabf
or r8d, 0xffffffff
lea rdx, str.Drop
lea rcx, [rsp + 0x38]
call fcn.1400e6fc8
mov rbx, rax
mov qword [rsp + 0x60], rax
mov rcx, qword [rdi + 0x58]
add rcx, 0x88
mov rdx, rax
call fcn.1400e7b9c
nop
lea rax, vtable.micro::utils::QString.0
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400e712c
mov rcx, qword [rdi + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x398]
test bpl, bpl
je 0x14004ea7e
cmp byte [rdi + 0x40], sil
jne 0x14004ea79
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.DLL_SetEvent]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
lea rax, [rdi + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rdi
lea r8, [method.micro::utils::QArray_void____ptr64_.virtual_0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov qword [rdi + 8], rax
test rax, rax
je 0x14004ea79
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x14004ea6b
cmp eax, 0x102
jne 0x14004ea79
mov byte [rdi + 0x40], 1
mov sil, 1
jmp 0x14004ea79
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rdi + 8], rsi
mov al, sil
jmp 0x14004eac1
mov ecx, dword [rdi + 0x50]
sub ecx, 0x7d4
je 0x14004eaa3
dec ecx
je 0x14004ea9f
dec ecx
je 0x14004eaad
dec ecx
jne 0x14004eaad
mov rcx, rdi
call fcn.14004e59c
jmp 0x14004eaad
mov dl, 1
jmp 0x14004eaa5
xor edx, edx
mov rcx, rdi
call fcn.14004e3f4
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [r8]
mov al, 1
jmp 0x14004eac1
xor al, al
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14004fbe0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov ecx, reloc.SHELL32.dll_ILRemoveLastID
mov rdi, r9
mov esi, r8d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x14004fcb4
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.USER32.dll_ScreenToClient]
neg esi
movd xmm0, dword [rdi]
movd xmm1, dword [rdi + 4]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
divss xmm0, dword [rbx + 0x78]
divss xmm1, dword [rbx + 0x7c]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
movss xmm1, dword [rbx + 0x70]
mov rax, qword [rsp + 0x20]
movd xmm0, esi
mov qword [rbx + 0x68], rax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x140136094]
mulss xmm0, dword [0x1401360a4]
subss xmm1, xmm0
movss xmm0, dword [0x1401360a8]
comiss xmm1, xmm0
movss dword [rbx + 0x70], xmm1
jbe 0x14004fc82
movaps xmm2, xmm1
jmp 0x14004fc85
movaps xmm2, xmm0
movss xmm3, dword [0x140136138]
comiss xmm2, xmm3
jae 0x14004fc9c
comiss xmm1, xmm0
ja 0x14004fc9f
movaps xmm1, xmm0
jmp 0x14004fc9f
movaps xmm1, xmm3
mov rcx, qword [rbx + 8]
xor edx, edx
movss dword [rbx + 0x70], xmm1
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x140057e94
Capabilities:
Receive data
Receive data on socket

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 r12
push r14
push r15
sub rsp, 0x20
xor edi, edi
xor r15b, r15b
mov rbx, r8
lea eax, [rdi + 1]
mov r14d, edx
mov r12, rcx
mov rsi, rcx
cmp dword [r8 + 0x20], eax
jbe 0x140057ed3
or eax, 0xffffffff
jmp 0x140057fbb
mov ebp, dword [rbx + 0x48]
test ebp, ebp
jle 0x140057f21
cmp r14d, ebp
jge 0x140057ee3
lea ebp, [r14 - 1]
mov rdx, qword [rbx + 0x40]
movsxd r9, ebp
mov r8d, 0xa
mov rcx, rsi
call sub.msvcrt.dll__memccpy
mov rcx, rax
test rax, rax
je 0x140057f04
mov ebp, eax
sub ebp, esi
movsxd rax, ebp
add edi, ebp
sub r14d, ebp
add rsi, rax
mov byte [rsi], 0
add qword [rbx + 0x40], rax
sub dword [rbx + 0x48], ebp
test rcx, rcx
jne 0x140057f8c
lea eax, [rcx + 1]
cmp r14d, eax
je 0x140057fb4
mov rax, qword [rbx + 0x40]
cmp qword [rbx + 0x38], rax
jne 0x140057f4b
mov rax, qword [rbx + 0x30]
and dword [rbx + 0x48], 0
mov dword [rbx + 0x4c], 0x4000
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x38], rax
test r15b, r15b
jne 0x140057fab
mov r8d, dword [rbx + 0x4c]
mov rdx, qword [rbx + 0x38]
mov rcx, qword [rbx + 0x28]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x140057faf
test eax, eax
mov ecx, 1
movzx r15d, r15b
cmove r15d, ecx
sub dword [rbx + 0x4c], eax
add dword [rbx + 0x48], eax
cdqe
add qword [rbx + 0x38], rax
mov eax, ecx
jmp 0x140057ed3
lea rdx, [0x14011c478]
lea rcx, [rsi - 2]
call qword [sym.imp.msvcrt.dll_strcmp]
test eax, eax
jne 0x140057fb9
mov word [rsi - 2], 0xa
dec edi
jmp 0x140057fb9
test edi, edi
jne 0x140057fb9
or edi, 0xffffffff
jmp 0x140057fb9
mov byte [r12], 0
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140057fdc
Capabilities:
Send data
Send data on socket

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 r12
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
xor cl, cl
cmp dword [r9 + 0x20], 2
mov rsi, r9
mov ebp, r8d
mov r14, rdx
je 0x140058015
or eax, 0xffffffff
jmp 0x1400580ba
mov rdi, qword [r9 + 0x30]
xor r15d, r15d
test r8d, r8d
jle 0x1400580b8
xor eax, eax
mov r12d, 0x4000
cmp byte [r14], 0xa
jne 0x140058062
cmp cl, 0xd
je 0x140058062
cmp rax, r12
jne 0x140058059
mov rcx, qword [rsi + 0x28]
xor r9d, r9d
mov r8d, r12d
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, r12d
jne 0x14005800d
xor ebx, ebx
xor eax, eax
mov byte [rax + rdi], reloc.WS2_32.dll_listen
inc ebx
inc rax
cmp rax, r12
jne 0x140058083
mov rcx, qword [rsi + 0x28]
xor r9d, r9d
mov r8d, r12d
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, r12d
jne 0x14005800d
xor ebx, ebx
xor eax, eax
mov cl, byte [r14]
inc r15d
inc ebx
mov byte [rax + rdi], cl
inc rax
inc r14
cmp r15d, ebp
jl 0x14005802d
test ebx, ebx
je 0x1400580b8
mov rcx, qword [rsi + 0x28]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, ebx
jne 0x14005800d
mov eax, ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400581d8
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
lea rbp, [rsp - 0x360]
sub rsp, 0x460
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x350], rax
mov rax, qword [rcx + 8]
mov dword [rsp + 0x30], 1
mov rbx, rdx
and dword [rax + 0x20], 0
mov rax, qword [rcx + 8]
xor edx, edx
and qword [rax + 0x50], 0
mov rax, qword [rcx + 8]
mov esi, r8d
and qword [rax + 0x468], 0
mov rax, qword [rcx + 8]
mov rdi, rcx
or qword [rax + 0x28], 0xffffffffffffffff
lea r8d, [rdx + 0x10]
lea rcx, [rsp + 0x38]
call qword [sym.imp.msvcrt.dll_memset]
lea rcx, [rsp + 0x50]
mov r13d, 2
mov rdx, rbx
mov word [rsp + 0x38], r13w
call qword [sym.imp.msvcrt.dll_strcpy]
lea edx, [r13 + 0x38]
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll_strchr]
mov rbx, rax
test rax, rax
jne 0x14005829e
lea rdx, [0x14011c47c]
lea rcx, [0x14011c480]
call qword [sym.imp.WS2_32.dll_getservbyname]
test rax, rax
jne 0x140058298
xor eax, eax
jmp 0x1400583c5
movzx eax, word [rax + 0x18]
jmp 0x1400582c1
mov byte [rax], 0
movsx ecx, byte [rax + 1]
call qword [sym.imp.msvcrt.dll_isdigit]
lea rcx, [rbx + 1]
test eax, eax
je 0x1400582c8
call qword [sym.imp.msvcrt.dll_atoi]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x3a], ax
jmp 0x1400582de
lea rdx, [0x14011c47c]
call qword [sym.imp.WS2_32.dll_getservbyname]
movzx edx, word [rax + 0x18]
mov word [rsp + 0x3a], dx
movzx ecx, si
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, [rsp + 0x50]
mov word [rsp + 0x3a], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x3c], eax
cmp eax, 0xffffffff
jne 0x140058327
lea rcx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x140058291
mov rdx, qword [rax + 0x18]
movsx r8, word [rax + 0x12]
lea rcx, [rsp + 0x3c]
mov rdx, qword [rdx]
call qword [sym.imp.msvcrt.dll_memcpy]
mov edx, 1
mov ecx, r13d
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140058291
mov r8d, 4
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov rcx, rax
mov dword [rsp + 0x20], r8d
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, rbx
cmp eax, 0xffffffff
jne 0x140058377
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x140058291
lea rdx, [rsp + 0x38]
mov r8d, reloc.SHELL32.dll_ILFindLastID
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140058392
mov rcx, rbx
jmp 0x14005836c
mov rax, qword [rdi + 8]
mov dl, 0x32
mov qword [rax + 0x28], rbx
mov r8, qword [rdi + 8]
call fcn.1400580dc
test eax, eax
jne 0x1400583c0
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rdi + 8]
or qword [rax + 0x28], 0xffffffffffffffff
jmp 0x140058291
mov eax, 1
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.140001010
add rsp, 0x460
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400583e4
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp qword [r9 + 0x28], 0xffffffffffffffff
mov rbx, r9
mov dil, r8b
je 0x140058495
cmp dword [r9 + 0x20], 0
je 0x14005841f
xor eax, eax
jmp 0x140058474
mov r8, rdx
lea rcx, [rsp + 0x30]
lea rdx, str._s_r_n
call qword [sym.imp.msvcrt.dll_sprintf]
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_strlen]
mov rcx, qword [rbx + 0x28]
lea rdx, [rsp + 0x30]
mov r8, rax
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x140058469
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0x2745
cmp eax, ecx
jne 0x14005841b
jmp 0x1400584af
mov r8, rbx
mov dl, dil
call fcn.1400580dc
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140001010
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
lea rdx, [0x14016ba80]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x2746
call sub.msvcrt.dll__CxxThrowException
int3
mov dword [rsp + 0x20], ecx
lea rdx, [0x14016ba80]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x1400585cc
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor ebx, ebx
xor eax, eax
mov rsi, r8
mov r8, qword [r8 + 0x28]
mov rdi, rdx
mov rdx, qword [rdx + 0x28]
mov word [rsp + 0x40], bx
mov qword [rsp + 0x42], rax
mov dword [rsp + 0x4a], eax
mov qword [rsp + 0x58], r8
mov word [rsp + 0x4e], ax
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x50], 1
mov ecx, ebx
mov eax, ecx
cmp qword [rsp + rax*8 + 0x58], rdx
je 0x140058646
inc ecx
cmp ecx, 1
jb 0x140058636
cmp ecx, 1
jne 0x140058658
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x50], 2
cmp r8, rdx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0x1e
cmovb r8, rdx
lea rdx, [rsp + 0x50]
xor r9d, r9d
lea ecx, [r8 + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
or r13, 0xffffffffffffffff
movsxd rcx, eax
cmp rcx, r13
jne 0x1400586b6
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.msvcrt.dll_strerror]
lea rcx, [rsi + 0x64]
mov r8d, 0x400
mov rdx, rax
call qword [sym.imp.msvcrt.dll_strncpy]
jmp 0x1400586cb
test eax, eax
jne 0x1400586d7
lea rcx, [rsi + 0x64]
lea rdx, str.timed_out_waiting_for_connection
call qword [sym.imp.msvcrt.dll_strcpy]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14005874f
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x140058755
mov rcx, qword [rdi + 0x28]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x38], reloc.SHELL32.dll_ILFindLastID
call qword [sym.imp.WS2_32.dll_accept]
mov r14, rax
call qword [sym.imp.msvcrt.dll__errno]
mov rcx, qword [rdi + 0x28]
mov r15d, dword [rax]
call qword [sym.imp.WS2_32.dll_closesocket]
test r14d, r14d
jle 0x140058733
movsxd rax, r14d
mov ebx, 1
mov qword [rdi + 0x50], rsi
mov qword [rdi + 0x28], rax
jmp 0x140058780
mov ecx, r15d
call qword [sym.imp.msvcrt.dll_strerror]
lea rcx, [rsi + 0x64]
mov r8d, 0x400
mov rdx, rax
call qword [sym.imp.msvcrt.dll_strncpy]
mov qword [rdi + 0x28], r13
jmp 0x140058780
mov rcx, qword [rsi + 0x28]
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x140058780
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.WS2_32.dll_closesocket]
mov r8, rsi
mov dl, 0x32
mov qword [rdi + 0x28], r13
call fcn.1400580dc
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x14005e108
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x300
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
and qword [rsp + 0x30], 0
mov rsi, rcx
lea rcx, [rsp + 0x38]
xor edx, edx
mov r8d, 0x2b0
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x30]
lea rcx, [0x1401333a8]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x14005e174
mov qword [rsi], rax
mov ecx, 0x89
call fcn.1400ef8b8
mov r14d, 1
lea ecx, [r14 + 0xf]
lea r9d, [r14 + 9]
lea r8d, [r14 + 0x1f]
mov edx, ecx
mov rdi, rax
mov dword [rsp + 0x20], r14d
call qword [sym.imp.COMCTL32.dll_ImageList_Create]
xor ebx, ebx
mov rdx, rdi
test rax, rax
cmovne rbx, rax
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.COMCTL32.dll_ImageList_Add]
mov r8d, r14d
xor edx, edx
mov rcx, rbx
mov dword [rsi + 0x14], 3
mov dword [rsi + 0x24], 4
mov dword [rsi + 0x28], 5
mov dword [rsi + 0x2c], 6
mov dword [rsi + 0x30], 7
mov dword [rsi + 0x34], 8
call qword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov rbp, rax
test rax, rax
je 0x14005e213
mov rcx, qword [rsi]
mov r8, rax
or edx, 0xffffffff
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov rcx, rbp
mov dword [rsi + 8], eax
call qword [sym.imp.USER32.dll_DestroyIcon]
mov r8d, r14d
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov rbp, rax
test rax, rax
je 0x14005e245
mov rcx, qword [rsi]
mov r8, rax
or edx, 0xffffffff
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov rcx, rbp
mov dword [rsi + 0xc], eax
call qword [sym.imp.USER32.dll_DestroyIcon]
mov r8d, r14d
mov edx, 2
mov rcx, rbx
call qword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov rbp, rax
test rax, rax
je 0x14005e275
mov rcx, qword [rsi]
mov r8, rax
xor edx, edx
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov rcx, rbp
call qword [sym.imp.USER32.dll_DestroyIcon]
mov r8d, r14d
mov edx, 3
mov rcx, rbx
call qword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov rbp, rax
test rax, rax
je 0x14005e2a9
mov rcx, qword [rsi]
mov r8, rax
or edx, 0xffffffff
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov rcx, rbp
mov dword [rsi + 0x14], eax
call qword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, 0x69
call fcn.1400ed5d0
lea rcx, str..exe
mov dword [rsi + 0x18], eax
call fcn.1400ed63c
lea rcx, str..png
mov dword [rsi + 0x1c], eax
call fcn.1400ed63c
mov dword [rsi + 0x20], eax
test rbx, rbx
je 0x14005e2e2
mov rcx, rbx
call qword [sym.imp.COMCTL32.dll_ImageList_Destroy]
test rdi, rdi
je 0x14005e2f0
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov al, r14b
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14005e80c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ecx, reloc.SHELL32.dll_ILRemoveLastID
mov edi, r8d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x14005e89c
movss xmm2, dword [rbx + 0xd4]
movss xmm1, dword [0x14013609c]
movaps xmm0, xmm2
test edi, edi
jle 0x14005e84b
addss xmm0, xmm1
jmp 0x14005e84f
subss xmm0, xmm1
comiss xmm1, xmm0
movss dword [rbx + 0xd4], xmm0
jbe 0x14005e866
mov dword [rbx + 0xd4], 0x3dcccccd
movss xmm0, dword [0x140136120]
comiss xmm0, dword [rbx + 0xd4]
jae 0x14005e881
mov dword [rbx + 0xd4], 0x40400000
ucomiss xmm2, dword [rbx + 0xd4]
je 0x14005e8a8
mov rcx, qword [rbx + 8]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x14005e8a8
neg edi
mov rcx, rbx
mov edx, edi
call fcn.14005e6fc
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140061b54
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rbp, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.1400e825c
nop
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
xor edi, edi
cmp qword [rsp + 0x40], rdi
je 0x140061c1d
mov rbx, qword [rsp + 0x88]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__]
mov rsi, rax
test rax, rax
je 0x140061c1d
mov dword [rsp + 0x80], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x80]
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
cmp dword [rsi], 0x9ac6cdd7
jne 0x140061beb
lea rcx, [rbx - 0x16]
lea rdx, [rsi + 0x16]
jmp 0x140061bfc
movzx eax, word [rsi]
dec ax
cmp ax, 1
ja 0x140061c0c
mov rdx, rsi
mov ecx, ebx
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.GDI32.dll_SetWinMetaFileBits]
mov qword [rbp + 0x10], rax
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
cmp qword [rbp + 0x10], rdi
setne dil
lea rax, vtable.micro::files::QFile.0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.1400e8500
mov al, dil
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006aba4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x40
mov rsi, rcx
call fcn.1400eb2a8
test al, al
jne 0x14006abcc
xor al, al
jmp 0x14006acc8
lea rcx, [rsi + 0x60]
mov r9d, 0x50000000
mov r8d, 0x7550
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
test al, al
je 0x14006abc5
lea r14, [rsi + 0x90]
mov r9d, 0x51203144
mov r8d, 0x7551
mov rax, qword [r14]
mov rdx, rsi
mov rcx, r14
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
test al, al
je 0x14006abc5
mov rcx, qword [rsi + 0x98]
mov r9d, 0x41b0001
xor r8d, r8d
mov edx, 0x445
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x98]
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, 0x45b
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [0x1401847b8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x90]
mov rdx, qword [rdi]
mov rcx, rdi
mov ebx, eax
call qword [rdx + 0xa0]
mov rcx, r14
mov r8d, eax
mov dword [rsp + 0x30], ebx
call fcn.1400f5e34
mov rcx, qword [rsi + 0x98]
mov r9d, 0xffffffff
xor r8d, r8d
mov edx, 0x435
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x98]
mov r9d, 1
lea r8d, [r9 + 1]
mov edx, 0x44d
call qword [sym.imp.USER32.dll_SendMessageW]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x14006afac]
mov r9, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
Function at 0x14006cc98
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x4c0
mov qword [r11 - 0x420], 0xfffffffffffffffe
mov qword [r11 + 8], rsi
mov qword [r11 + 0x10], rdi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
and qword [rsp + 0x40], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
xor eax, eax
mov qword [rsp + 0x60], rax
mov byte [rsp + 0xc0], al
xor edx, edx
mov r8d, 0x3e7
lea rcx, [r11 - 0x407]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x58], 0x3e8
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.CNCertificate
lea edi, [r9 + 1]
mov ecx, edi
call qword [sym.imp.CRYPT32.dll_CertStrToNameW]
test eax, eax
jne 0x14006cd55
xor edx, edx
xor ecx, ecx
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x20], 0x28
mov r9d, edi
lea rsi, str.Microsoft_Base_Cryptographic_Provider_v1.0
mov r8, rsi
lea r14, str.Container
mov rdx, r14
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14006cdc8
call qword [sym.imp.KERNEL32.DLL_GetLastError]
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x8009000f
jne 0x14006cdbf
mov dword [rsp + 0x20], 0x20
mov r9d, edi
mov r8, rsi
mov rdx, r14
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14006cdc8
xor edx, edx
xor ecx, ecx
call sub.msvcrt.dll__CxxThrowException
xor edx, edx
xor ecx, ecx
call sub.msvcrt.dll__CxxThrowException
lea r9, [rsp + 0x48]
mov r8d, edi
mov edx, edi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptGenKey]
xor edx, edx
test eax, eax
jne 0x14006cdea
xor ecx, ecx
call sub.msvcrt.dll__CxxThrowException
mov r8d, 0x28
lea rcx, [rsp + 0x80]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x88], edi
mov dword [rsp + 0x8c], edi
mov dword [rsp + 0xa0], edi
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.DLL_GetSystemTime]
add word [rsp + 0xb0], di
and dword [rsp + 0x68], 0
xor eax, eax
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.CRYPT32.dll_CertCreateSelfSignCertificate]
mov rdi, rax
mov qword [rsp + 0x50], rax
xor r8d, r8d
lea edx, [r8 + 2]
mov rcx, rax
call qword [sym.imp.CRYPT32.dll_CryptFindCertificateKeyProvInfo]
nop
jmp 0x14006ce9c
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14006ceac
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
and qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14006cec4
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rax, rdi
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0x4c0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r14
ret