joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e5fb0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x1400e60d4
cmp r8d, 0xff
jne 0x1400e6011
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x1400e5ffb
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x124fb0]
mov r8, rdx
lea rdx, [0x140125a38]
add rsp, 0x38
jmp fcn.1400c70e0
mov r8, rdx
mov r9d, r10d
lea rdx, [0x140125a48]
add rsp, 0x38
jmp fcn.1400c70e0
cmp r8d, 0xfb
jne 0x1400e6023
lea r9, [0x1401259c4]
jmp 0x1400e6061
cmp r8d, 0xfc
jne 0x1400e6035
lea r9, [0x1401259cc]
jmp 0x1400e6061
cmp r8d, 0xfd
jne 0x1400e6047
lea r9, [0x1401259d4]
jmp 0x1400e6061
xor r9d, r9d
lea rax, [0x1401259d8]
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x1400e60bd
cmp r10d, 0x27
jg 0x1400e6094
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x1255d0]
test r8, r8
jne 0x1400e60a4
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, [0x140125a70]
call fcn.1400c70e0
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x1400e607b
lea r8, [0x140125a54]
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, [0x140125a60]
call fcn.1400c70e0
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, [0x140125a80]
call fcn.1400c70e0
add rsp, 0x38
ret

Function at 0x1400e6420
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400e647f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, [0x140125a90]
mov rcx, rbp
mov r8d, eax
call fcn.1400c6f60
mov rcx, qword [rbx]
lea rdx, [0x140125aac]
mov r9d, edi
mov r8d, esi
call fcn.1400e5fb0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400e6630
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1400e67d8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1400e6695
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1400e6695
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1400e6695
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1400e66cc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1400e6722
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400e6722
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400e6722
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400e6722
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400e6722
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1400e60e0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1400e6784
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, [0x140125a90]
mov rcx, rbp
mov r8d, eax
call fcn.1400c6f60
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1400e64b0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400e67d0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, [0x140125a90]
mov rcx, rbp
mov r8d, eax
call fcn.1400c6f60
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400e7f40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x141a750c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400e7fd5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400e8036
lea rdx, [0x140126320]
mov rcx, rdi
call fcn.1400c6f60
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400fb6f0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400e80f1
sub ecx, 1
je 0x1400e8164
sub ecx, 1
je 0x1400e80a0
cmp ecx, 1
je 0x1400e8083
lea r8, [0x140126350]
mov rcx, rdi
lea rdx, [0x141a5e768]
call fcn.1400c6f60
jmp 0x1400e8164
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400e7c70
test eax, eax
je 0x1400e8164
jmp 0x1400e800a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400e8164
sub rax, rsi
cmp rax, rbp
jae 0x1400e8164
mov r8, rsi
lea rdx, [0x140126340]
mov rcx, rdi
call fcn.1400c70e0
jmp 0x1400e8164
cmp r8d, 4
jle 0x1400e8164
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400e8164
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400c6e80
mov esi, eax
test eax, eax
je 0x1400e8143
mov edx, 5
mov rcx, rbx
call fcn.1400e8c30
mov eax, esi
jmp 0x1400e800a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400d1510
mov rcx, r14
call fcn.1400d17f0
test eax, eax
je 0x1400e8008
mov edx, 5
mov rcx, rbx
call fcn.1400e8c30
mov eax, Ordinal_46
jmp 0x1400e800a
Function at 0x1400fa8c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400fa902
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400fa949
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400fa9a2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
sub rbp, 1
jne 0x1400fa960
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400fa9e3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140128ab2]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140128ab3]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400fa9b0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400fa9fc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, [0x140128bc0]
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400faa36
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400faa3b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400faa84
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400faa84
dec r8
sub rdx, 1
jne 0x1400faa6a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400fc6dc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400fc726
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400fc726
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400fc726
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400fc726
cmp dword [rcx + 0x84], 0xe
jbe 0x1400fc726
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400fc728
xor al, al
add rsp, 0x28
ret
Function at 0x140010150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400101c7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400101c7
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400101b4
cmp rbx, rcx
jae 0x1400101c7
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14001019f
cmp rbx, rcx
jae 0x1400101c7
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x1400101c9
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400116a4
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x1c8], 0
mov ebx, edx
mov rdi, rcx
jne 0x1400116c4
call fcn.14002f26c
jmp 0x14001173a
test ebx, ebx
jne 0x1400116df
mov qword [0x14027f4e0], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14028ce84], eax
cmp qword [0x14027f4e0], 0
je 0x140011704
mov edx, ebx
mov rcx, rdi
call fcn.14002f26c
movsxd rcx, eax
mov qword [0x14027f4e0], rcx
mov eax, 1
jmp 0x14001173a
cmp ebx, 2
jl 0x1400116fd
lea rcx, [0x14028d040]
call fcn.1400176f4
mov rax, qword [rdi + 0x1c8]
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14028ce84]
mov rcx, qword [rdi + 0x1c8]
mov edx, eax
call qword [rbx + LoadRegTypeLib]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140015354
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rdi, r8
mov ebx, edx
test r8, r8
je 0x1400154b5
mov rax, qword [rcx]
call qword [rax]
mov rsi, rax
test ebx, ebx
je 0x1400153c2
cmp ebx, 3
je 0x1400153c2
sub ebx, 1
je 0x1400153b1
cmp ebx, 1
jne 0x1400154b5
movzx edx, di
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
jmp 0x1400154b7
movzx edx, di
mov rcx, rsi
call qword [sym.imp.USER32.dll_LoadCursorW]
jmp 0x1400154b7
movzx edx, di
mov r8d, 0xa
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r15, rax
test rax, rax
je 0x1400154b5
xor edi, edi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
test rax, rax
je 0x1400154b5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test rax, rax
je 0x140015484
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
and dword [rbp - 0x10], edi
and dword [rbp - 0xc], edi
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
mov rdx, r12
lea rcx, [rbp - 0x30]
call fcn.140013754
test rax, rax
je 0x14001545d
mov rdi, qword [rbp - 0x30]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
and dword [rbp - 0x10], 0
and dword [rbp - 0xc], 0
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140015484
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
and dword [rbp - 0x10], 0
and dword [rbp - 0xc], 0
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeResource]
test rdi, rdi
je 0x1400154b5
cmp ebx, 3
jne 0x1400154b0
mov rcx, rdi
call fcn.140014fac
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, rbx
jmp 0x1400154b7
mov rax, rdi
jmp 0x1400154b7
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140015560
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov rsi, r9
mov qword [r8 + 0x28], rbx
mov rbp, r8
mov rdi, rdx
test rdx, rdx
jne 0x140015591
lea eax, [rdx + 1]
jmp 0x140015604
mov rax, qword [rcx]
call qword [rax]
movzx edx, di
mov r8, rsi
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r15, rax
test rax, rax
je 0x140015601
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x140015601
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x1400155f8
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov qword [rbp + 0x28], rbx
mov r8d, eax
mov rcx, rbp
call fcn.1400170ec
mov ebx, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400162d8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
xor esi, esi
test rcx, rcx
je 0x1400163c4
cmp word [rcx], si
je 0x1400163c4
lea rdx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x60], rdx
lea r14, vtable.CVolObject.0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
lea rax, vtable.CWString.0
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x40]
mov qword [rbp + 0x20], rax
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
lea rdi, vtable.CVolMem.0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x10], 0x40
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x10], 0xfe
lea rdx, [rbp - 0x60]
call fcn.140016260
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, esi
cmp eax, 0xffffffff
setne bl
lea rax, [rbp - 0x40]
mov qword [rbp + 0x28], rax
mov qword [rbp - 0x40], rdi
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x1400163ab
lea rcx, [rbp - 0x40]
mov r8, qword [rbp - 0x40]
call qword [r8 + 0x18]
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x60], r14
mov rax, rbx
jmp 0x1400163c6
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400163e0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov rbx, rcx
xor esi, esi
test rcx, rcx
je 0x14001652a
cmp word [rcx], si
je 0x14001652a
lea edi, [rsi + 0x68]
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.1401bc3b0
mov dword [rbp - 0x60], edi
lea edi, [rsi + 1]
or dword [rbp - 0x24], edi
mov word [rbp - 0x20], di
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x50], rax
lea r14, vtable.CVolObject.0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea r15, vtable.CVolMem.0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], 0x40
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400170a8
mov rax, qword [rsp + 0x78]
neg rax
sbb rdx, rdx
and rdx, qword [rsp + 0x68]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400164d0
mov edi, esi
jmp 0x1400164f4
mov edx, 0x1f4
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rsp + 0x50], r15
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x140016511
lea rcx, [rsp + 0x50]
mov r8, qword [rsp + 0x50]
call qword [r8 + 0x18]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x50], r14
mov rax, rdi
jmp 0x14001652c
xor eax, eax
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140016b38
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call fcn.140016bb0
mov rbx, rax
test rax, rax
je 0x140016ba0
cmp rax, 0x11
je 0x140016b6a
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140016b6a
bts rbx, 0xd
cmp rbx, 0x10
je 0x140016b85
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140016b85
bts rbx, 0xf
cmp rbx, 0x12
je 0x140016ba0
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140016ba0
bts rbx, 0xe
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140018a24
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
cmp rdx, 0x10000
jae 0x1400353af
cmp dword [rcx + 0xe8], 0
jne 0x1400353af
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.14002abb0
mov r8d, 5
mov rdx, rdi
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400353f3
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400353f3
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.140035728
jmp 0x1400353f5
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14001fcdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x14001fd3a
call fcn.14002abb0
mov r8d, 0xf0
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001fd3a
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001fd45
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rbx
mov rcx, rsi
call fcn.140039728
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001fee4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, r8
lea rcx, [0x14023b3d0]
mov esi, edx
call fcn.1401c88fc
mov r8d, eax
lea rdx, [0x14023b3d0]
mov rcx, rbx
call fcn.14001033c
xor ebp, ebp
mov edx, esi
cmp qword [rdi + 0xc8], rbp
jne 0x14001ffc6
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
test rax, rax
je 0x14001ffde
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x14001fff9
mov rcx, qword [rbx]
lea r8d, [rbp + 1]
mov edx, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub edx, edi
or r8d, edx
jge 0x14001ff78
mov edx, edi
mov rcx, rbx
call fcn.1400106b4
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x14001fff9
mov dword [rdx - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov rcx, rsi
mov word [rax + rdi*2], bp
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14001ffa3
mov eax, ebp
jmp 0x14001ffb0
movsxd rdx, dword [rcx - 0xc]
call fcn.1401c8a28
test eax, eax
js 0x14001fff9
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14001fff9
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x14001ffde
mov rcx, rdi
call fcn.1400291fc
test rax, rax
je 0x14001ffde
mov rdx, rbx
mov rcx, rax
call fcn.1400204a8
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, dword [rax - 0x10]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.1400023a0
int3

Function at 0x1400204a8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
xor ebp, ebp
mov rcx, qword [rcx + 0xd0]
mov rbx, rdx
test rcx, rcx
jne 0x140020557
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x14002057c
mov rcx, qword [rbx]
lea r8d, [rbp + 1]
mov edx, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub edx, edi
or r8d, edx
jge 0x140020508
mov edx, edi
mov rcx, rbx
call fcn.1400106b4
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x14002057c
mov dword [rdx - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov word [rax + rdi*2], bp
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140020534
mov eax, ebp
jmp 0x140020541
movsxd rdx, dword [rcx - 0xc]
call fcn.1401c8a28
test eax, eax
js 0x14002057c
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14002057c
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x140020567
mov rax, qword [rcx]
mov rax, qword [rax + 0x118]
call qword [case.0x14010ad99.0]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.1400023a0
int3