joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005e670
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x378]
sub rsp, 0x450
xor edi, edi
mov r15, r8
mov r14, rdx
lea ebx, [rdi + 1]
mov rsi, rcx
mov r13d, edi
mov r12b, bl
mov r9, qword [rsi]
lea rcx, [rsp + 0x20]
mov r8d, 4
mov rdx, rbx
call fcn.140017554
lea rcx, [rsp + 0x20]
mov edx, 4
mov r8d, 0x18ee
call fcn.140055d10
lea rdx, str.FILE
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x24], dil
call fcn.140017590
test eax, eax
jne 0x14005e837
mov r9, qword [rsi]
lea edx, [rax + 4]
lea rcx, [rbp + 0x398]
mov r8, rbx
add r13d, ebx
call fcn.140017554
mov edi, dword [rbp + 0x398]
mov r9, qword [rsi]
xor edi, 0xadbc
lea rcx, [rsp + 0x30]
mov edx, 1
lea ebx, [rdi + rdi]
movsxd r8, ebx
call fcn.140017554
lea r8d, [rdi + 0xb33f]
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.140055d10
movsxd r11, edi
xor eax, eax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x140]
mov word [rsp + r11*2 + 0x30], ax
call fcn.140014c2c
mov r9, qword [rsi]
mov edx, 4
lea r8d, [rdx - 3]
lea rcx, [rbp + 0x398]
call fcn.140017554
mov edi, dword [rbp + 0x398]
mov r9, qword [rsi]
xor edi, 0xf820
lea rcx, [rsp + 0x30]
mov edx, 1
lea ebx, [rdi + rdi]
movsxd r8, ebx
call fcn.140017554
lea r8d, [rdi + 0xf479]
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.140055d10
movsxd r11, edi
lea rdx, [rsp + 0x30]
xor edi, edi
mov rcx, r15
mov word [rsp + r11*2 + 0x30], di
call fcn.140014c2c
lea rcx, [rbp + 0x140]
mov rdx, r14
call fcn.140015540
test eax, eax
je 0x14005e869
lea rdx, [0x14009a730]
mov rcx, r14
call fcn.140015540
test eax, eax
jne 0x14005e7f4
test r13d, r13d
je 0x14005e869
mov rcx, qword [rsi]
mov ebx, 1
mov r8d, ebx
mov edx, ebx
call fcn.1400179b0
mov r9, qword [rsi]
lea edx, [rbx + 3]
lea rcx, [rsp + 0x28]
mov r8d, ebx
call fcn.140017554
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsi]
xor edx, 0x87bc
mov r8d, ebx
mov dword [rsp + 0x28], edx
add edx, 0x18
call fcn.1400179b0
jmp 0x14005e83a
mov r12b, dil
cmp r12b, bl
je 0x14005e6aa
mov eax, 6
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor eax, eax
jmp 0x14005e848
Function at 0x14005e870
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f8]
sub rsp, 0x6d0
xor edi, edi
mov rbx, rdx
mov edx, dword [rcx + 8]
mov r14, rcx
mov rcx, qword [rcx]
mov r15, r8
lea r13d, [rdi + 1]
xor r8d, r8d
mov r12, r9
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x24], r13d
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x68], di
mov word [rbp + 0x172], di
mov qword [rbp + 0x3a0], rdi
call fcn.1400179b0
lea r8, [rbp + 0x3c0]
mov rdx, rbx
mov rcx, r14
call fcn.14005e670
test eax, eax
je 0x14005e90e
lea eax, [rdi + 6]
jmp 0x14005ea6e
mov r9, qword [r14]
lea rcx, [rbp + 0x600]
mov r8, r13
mov rdx, r13
call fcn.140017554
mov r9, qword [r14]
mov edi, 4
lea rcx, [rsp + 0x20]
mov edx, edi
mov r8, r13
call fcn.140017554
mov esi, dword [rsp + 0x20]
mov r9, qword [r14]
lea rcx, [rsp + 0x20]
mov ebx, 0x87bc
mov r8, r13
mov edx, edi
xor esi, ebx
call fcn.140017554
mov r11d, dword [rsp + 0x20]
mov r9, qword [r14]
xor r11d, ebx
lea rcx, [rsp + 0x20]
mov r8, r13
mov edx, edi
mov dword [r12], r11d
call fcn.140017554
mov edi, dword [rsp + 0x20]
mov rcx, qword [r14]
mov r8d, r13d
mov edx, reloc.WSOCK32.dll_recv
xor edi, 0xa685
call fcn.1400179b0
mov ecx, dword [r12]
call fcn.140015a28
movsxd rbx, esi
mov rcx, rbx
mov r12, rax
call fcn.140015a28
mov r9, qword [r14]
mov r8d, 1
mov rcx, rax
mov rdx, rbx
mov r13, rax
call fcn.140017554
mov r8d, dword [r14 + 0xc]
mov edx, esi
add r8d, 0x2477
mov rcx, r13
call fcn.140055d10
lea rcx, [rsp + 0x24]
mov r8d, esi
mov rdx, r13
call fcn.140039910
cmp edi, dword [rsp + 0x24]
je 0x14005e9ff
mov rcx, r12
call fcn.140015c48
mov rcx, r13
call fcn.140015c48
mov eax, 0xa
jmp 0x14005ea6e
cmp byte [rbp + 0x600], 1
jne 0x14005ea5e
xor eax, eax
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov word [rsp + 0x68], ax
mov word [rbp + 0x172], ax
mov qword [rbp + 0x3a0], rax
call fcn.140055f10
mov rcx, r13
call fcn.140015c48
jmp 0x14005ea69
mov rcx, r12
call fcn.140015c48
mov r12, r13
mov qword [r15], r12
xor eax, eax
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14005f880
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x9c0]
sub rsp, 0xac0
mov rbx, rdx
lea rdx, [rbp + 0x180]
mov dil, r8b
call fcn.140012ff0
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140012ff0
lea rcx, [rbp + 0x180]
call fcn.14003b380
xor ebx, ebx
test al, al
jne 0x14005f8d2
xor al, al
jmp 0x14005fa5a
lea rcx, [rsp + 0x70]
call fcn.14003b380
test al, al
je 0x14005f999
test dil, dil
je 0x14005f8cb
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea rcx, [rbp + 0x180]
test eax, eax
jne 0x14005f937
lea rdx, [rsp + 0x70]
call fcn.140015540
test eax, eax
je 0x14005f930
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
jmp 0x14005fa5a
mov al, 1
jmp 0x14005fa5a
lea rax, [rbp + 0x390]
lea r9, [rbp + 0x5a0]
lea r8, [rbp + 0x7b0]
lea rdx, [rbp + 0x9e8]
mov qword [rsp + 0x20], rax
call fcn.140015f9c
lea rdx, [0x140097a6c]
lea rcx, [rsp + 0x70]
call fcn.140014c00
lea rdx, [rbp + 0x5a0]
lea rcx, [rsp + 0x70]
call fcn.140014c00
cmp word [rbp + 0x390], bx
je 0x14005f999
lea rdx, [rbp + 0x390]
lea rcx, [rsp + 0x70]
call fcn.140014c00
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x180]
call fcn.14003b2d0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x180]
test al, al
je 0x14005f9df
mov r8b, 1
call fcn.140056a50
test al, al
je 0x14005f8cb
lea rcx, [rbp + 0x180]
mov dl, 1
call fcn.1400569a0
test al, al
jmp 0x14005f928
call fcn.140015540
test eax, eax
je 0x14005f8cb
lea rcx, [rbp + 0x180]
call fcn.140014844
lea rcx, [rsp + 0x70]
mov word [rbp + rax*2 + 0x182], bx
call fcn.140014844
lea rcx, [rsp + 0x30]
mov word [rsp + rax*2 + 0x72], bx
lea rax, [rbp + 0x180]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x48], rax
mov eax, 0x614
mov dword [rsp + 0x54], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], 1
mov word [rsp + 0x50], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
lea r11, [rsp + 0xac0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14005ff30
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov edi, r8d
call fcn.14004e460
lea rcx, [rsp + 0x20]
call fcn.140057540
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0x40], 0
mov word [rsp + 0x44], 0
call fcn.14005fca0
lea rdx, [rbx + 0x18]
mov rcx, rbx
call fcn.14004dfd0
test edi, edi
je 0x14005ff96
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140057480
dec edi
jne 0x14005ff85
lea rdx, [rbx + 0x18]
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.14004dd90

Function at 0x140060050
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rax, r8
mov r12, rdx
mov r8b, 1
mov rdx, rax
mov rbx, rcx
mov qword [rcx + 0x28], rax
call fcn.14003c230
xor r13d, r13d
cmp byte [rbx + 8], 1
mov bpl, r13b
mov dword [rsp + 0x50], r13d
mov word [rsp + 0x54], r13w
jne 0x1400600b9
xor r8d, r8d
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.14003c430
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov bpl, al
call fcn.14004e200
lea rcx, [rsp + 0x50]
mov rdx, rax
call fcn.14003c4d0
mov edi, r13d
movsxd rdx, edi
mov rcx, r12
call fcn.14003e640
movzx esi, word [rax]
test si, si
je 0x1400600f5
mov rcx, rbx
inc edi
call fcn.14004dc60
mov r8d, 1
movzx edx, si
mov rcx, rbx
call fcn.14005ffc0
mov dword [rbx + 0x18], r13d
mov word [rbx + 0x1c], r13w
jmp 0x1400600bc
cmp byte [rbx + 8], 1
jne 0x140060115
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14004dfd0
mov r8b, bpl
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.14003c430
mov rdx, qword [rbx + 0x28]
xor r8d, r8d
mov rcx, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.14003c230
Function at 0x140062b70
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
mov rbp, rsp
sub rsp, 0x30
mov rbx, qword [rdx]
mov r12, rcx
lea rcx, [rbp + 0x20]
mov esi, r8d
mov rdi, rdx
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r11d, dword [rbp + 0x20]
mov eax, dword [rbp + 0x24]
lea rdx, [rbp + 0x20]
mov rcx, rbx
mov dword [rdi + 0x294], r11d
mov dword [rdi + 0x298], eax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [rbp + 0x20]
mov ecx, dword [rbp + 0x24]
cmp eax, dword [rdi + 0x29c]
jne 0x140062bd9
cmp ecx, dword [rdi + 0x2a0]
je 0x140062c01
mov dword [rdi + 0x29c], eax
mov dword [rdi + 0x2a0], ecx
cmp esi, 1
jl 0x140062c01
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8, rdi
mov rcx, r12
mov edx, 0xfffffff5
call fcn.14005d4b0
mov ecx, dword [r12 + 0x18]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [r12 + 0x1c]
movzx r13d, ax
shr r13d, 0xf
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
shr ebx, 0xf
cmp r13d, dword [rdi + 0x2a4]
je 0x140062ca7
cmp esi, 1
jl 0x140062ca7
cmp byte [rdi + 0x2e0], 0
je 0x140062ca7
mov eax, dword [rbp + 0x24]
mov r9d, dword [rbp + 0x20]
mov r8, rdi
mov rcx, r12
mov dword [rsp + 0x20], eax
test r13d, r13d
je 0x140062c59
mov edx, 0xfffffff9
jmp 0x140062c9b
mov edx, 0xfffffff8
call fcn.14005d4b0
cmp byte [rdi + 0x2ac], 0
je 0x140062ca0
mov rcx, qword [rdi]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r9d, dword [rbp + 0x20]
mov r8, rdi
bt eax, 0x18
mov eax, dword [rbp + 0x24]
mov rcx, r12
mov dword [rsp + 0x20], eax
mov edx, 0xfffffffa
jb 0x140062c9b
mov edx, 0xfffffff4
call fcn.14005d4b0
mov byte [rdi + 0x2ac], 0
test esi, esi
je 0x140062cb2
mov dword [rdi + 0x2a4], r13d
cmp ebx, dword [rdi + 0x2a8]
je 0x140062ce3
cmp esi, 1
jl 0x140062ce3
mov eax, dword [rbp + 0x24]
mov r9d, dword [rbp + 0x20]
mov r8, rdi
mov rcx, r12
mov edx, 0xfffffff7
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x140062cde
mov edx, 0xfffffff6
call fcn.14005d4b0
test esi, esi
je 0x140062ced
mov dword [rdi + 0x2a8], ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rbp
ret
Function at 0x140064910
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 r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xb0
mov r12, rcx
lea rcx, [rbp - 0x61]
mov edi, r9d
mov rbx, r8
mov r15b, dl
call fcn.140003190
xor eax, eax
lea rcx, [rbp - 0x41]
xor edx, edx
lea r13d, [rax + 1]
lea r8d, [rax + 0x70]
mov r14d, eax
mov dword [rbp + 0x77], r13d
mov esi, eax
call fcn.1400152d0
cmp edi, 2
jb 0x140064997
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 8]
call fcn.14005f330
xor ecx, ecx
cmp word [rax], cx
je 0x140064997
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 8]
call fcn.14005f330
mov rcx, rax
call fcn.140013040
mov r14, rax
cmp edi, 3
jb 0x1400649b4
mov rcx, qword [rbx + 8]
mov rcx, qword [rcx + 0x10]
call fcn.14005f330
mov rcx, rax
call fcn.140013040
mov rsi, rax
cmp edi, 4
jb 0x1400649f9
mov rcx, qword [rbx + 8]
mov rcx, qword [rcx + 0x18]
call fcn.14005f330
xor ecx, ecx
cmp word [rax], cx
je 0x1400649f9
mov rax, qword [rbx + 8]
mov r13, qword [rax + 0x18]
mov rcx, r13
call fcn.140057f00
test al, al
jne 0x1400649f5
mov rcx, r13
call fcn.14000f920
lea rcx, [rbp - 0x61]
mov rdx, rax
call fcn.140010590
mov r13d, dword [rbp + 0x77]
cmp edi, 5
jb 0x140064a0f
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x20]
call fcn.14000ede0
movzx r13d, ax
mov edi, WSAStartup
lea rcx, [rbp - 0x41]
xor edx, edx
mov r8d, edi
call fcn.1400152d0
mov rax, qword [rbp - 0x61]
mov dword [rbp - 0x41], edi
mov qword [rbp - 0x31], rax
mov rax, qword [rbx + 8]
mov dword [rbp - 0x3d], 0x40
xor edi, edi
mov qword [rbp - 0x39], rdi
mov rcx, qword [rax]
call fcn.14005f330
lea rcx, [rbp - 0x41]
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], rsi
mov dword [rbp - 0x11], r13d
mov qword [rbp - 0x29], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
test r14, r14
je 0x140064a6f
mov rcx, r14
call fcn.140014860
test rsi, rsi
je 0x140064a7c
mov rcx, rsi
call fcn.140014860
test ebx, ebx
jne 0x140064aab
mov rax, qword [r12]
lea esi, [rbx + 1]
xor r8d, r8d
movsxd rcx, dword [rax + 4]
mov edx, esi
add rcx, r12
call fcn.140003270
mov rbx, qword [rbp + 0x7f]
mov rcx, rbx
call fcn.140009a00
mov dword [rbx + 8], esi
mov dword [rbx], edi
jmp 0x140064ae3
test r15b, r15b
je 0x140064abe
mov rax, qword [rbp + 0x27]
mov qword [r12 + 0x7a8], rax
jmp 0x140064ae3
mov rbx, qword [rbp + 0x7f]
mov rcx, rbx
call fcn.140009a00
mov rcx, qword [rbp + 0x27]
mov esi, 1
mov dword [rbx + 8], esi
mov dword [rbx], esi
test rcx, rcx
je 0x140064ae3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x61]
call fcn.140001460
lea r11, [rsp + 0xb0]
xor eax, eax
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140064c80
Capabilities:
Query environment variable

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 r13
push r14
lea rbp, [rax - 0x1f78]
mov eax, 0x2060
call fcn.140024290
sub rsp, rax
mov r12, rcx
lea rcx, [rsp + 0x20]
call fcn.140003190
lea rcx, [rsp + 0x40]
call fcn.140003190
mov rcx, r12
call fcn.14005f330
xor r13d, r13d
movzx edx, word [rax]
mov rsi, rax
mov dil, r13b
mov ebx, r13d
test dx, dx
je 0x140064e09
lea r14d, [r13 + 0x25]
inc rbx
cmp dx, r14w
jne 0x140064dbb
cmp word [rsi + rbx*2], r14w
jne 0x140064d13
lea rcx, [rsp + 0x20]
mov edx, r14d
mov dil, 1
call fcn.14000d290
inc rbx
jmp 0x140064dc5
lea rdx, [0x1400970a0]
lea rcx, [rsp + 0x40]
call fcn.140002700
jmp 0x140064d3d
test r11w, r11w
je 0x140064d48
lea rcx, [rsp + 0x40]
movzx edx, r11w
call fcn.14000d290
inc rbx
movzx r11d, word [rsi + rbx*2]
cmp r11w, r14w
jne 0x140064d26
cmp word [rsi + rbx*2], r13w
je 0x140064dd4
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov r8d, 0xfff
inc rbx
mov word [rsp + 0x60], r13w
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rcx, [rsp + 0x20]
test eax, eax
je 0x140064d8a
lea rdx, [rsp + 0x60]
call fcn.14000f830
mov dil, 1
jmp 0x140064dc5
lea rdx, [0x14009ebf4]
mov dil, 1
call fcn.14000f830
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14000ca70
lea rdx, [0x14009ebf4]
lea rcx, [rsp + 0x20]
call fcn.14000f830
jmp 0x140064dc5
lea rcx, [rsp + 0x20]
call fcn.14000d290
movzx edx, word [rsi + rbx*2]
test dx, dx
jne 0x140064ce7
jmp 0x140064df7
lea rdx, [0x14009ebf4]
lea rcx, [rsp + 0x20]
mov dil, 1
call fcn.14000f830
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14000ca70
test dil, dil
je 0x140064e09
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.140010e40
lea rcx, [rsp + 0x40]
call fcn.140001460
lea rcx, [rsp + 0x20]
call fcn.140001460
lea r11, [rsp + 0x2060]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret
Function at 0x140065400
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rbx, rcx
xor r13d, r13d
lea rcx, [rsp + 0x58]
mov rsi, r9
mov r12, r8
mov rdi, rdx
mov qword [rsp + 0x30], r13
mov qword [rbp + 0x228], r13
call fcn.140003190
lea rcx, [rsp + 0x38]
call fcn.140003190
lea rcx, [rsp + 0x78]
call fcn.140003190
lea rdx, str.SOFTWAREClasses_
lea rcx, [rsp + 0x58]
call fcn.140002700
lea rcx, [rsp + 0x58]
mov rdx, rbx
call fcn.14000f830
lea rdx, str.CLSID
lea rcx, [rsp + 0x58]
call fcn.14000f830
lea rdx, [0x1400970a0]
lea rcx, [rsp + 0x38]
call fcn.140002700
test rdi, rdi
je 0x1400654c4
cmp word [rdi], 0x5c
je 0x1400654c4
cmp word [rdi + 2], 0x5c
je 0x1400654c4
lea rdx, [0x14009ddd0]
lea rcx, [rsp + 0x38]
call fcn.140002700
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.14000f830
test rsi, rsi
je 0x140065526
xor edx, edx
lea rcx, [rbp - 0x68]
lea r8d, [rdx + 0x30]
call fcn.1400152d0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
mov dword [rbp - 0x64], r13d
call fcn.140010590
lea rdx, str.IPC_
lea rcx, [rsp + 0x78]
call fcn.14000f830
mov r11, qword [rsp + 0x78]
mov rdx, qword [rbp + 0x230]
lea rcx, [rbp - 0x68]
xor r9d, r9d
mov r8, rsi
mov qword [rbp - 0x50], r11
call qword [sym.imp.MPR.dll_WNetAddConnection2W]
mov ebx, eax
test eax, eax
js 0x1400655e7
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rdx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov ebx, eax
test eax, eax
jne 0x1400655e7
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
lea rax, [rbp + 0x228]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400655dc
mov rcx, qword [rbp + 0x228]
lea rax, [rbp + 0x218]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
mov dword [rbp + 0x218], 0x1fe
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1400655cf
mov eax, dword [rbp + 0x218]
lea rcx, [rbp - 0x30]
mov rdx, r12
shr eax, 1
mov dword [rbp + 0x218], eax
mov word [rbp + rax*2 - 0x30], r13w
call qword [sym.imp.ole32.dll_CLSIDFromString]
mov ebx, eax
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x78]
call fcn.140001460
lea rcx, [rsp + 0x38]
call fcn.140001460
lea rcx, [rsp + 0x58]
call fcn.140001460
mov eax, ebx
mov rbx, qword [rsp + 0x310]
add rsp, 0x2e0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006f270
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x220
mov rbx, rcx
mov rcx, qword [rcx + 0x88]
mov edx, 0x3e9
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
test rax, rax
je 0x14006f305
lea rdx, [rsp + 0x20]
mov r8d, pe_nt_image_headers64
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test byte [rbx + 0x10], 1
je 0x14006f2c4
cmp word [rsp + 0x20], di
jne 0x14006f2c4
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
jmp 0x14006f305
movsd xmm0, qword [rbx + 0x18]
comisd xmm0, xmmword [0x14009f900]
jbe 0x14006f2e5
mov rcx, qword [rbx + 0x88]
mov edx, 0x40a
call qword [sym.imp.USER32.dll_KillTimer]
lea rcx, [rbx + 0x48]
lea rdx, [rsp + 0x20]
call fcn.140002700
mov rcx, qword [rbx + 0x88]
mov edx, 1
call qword [sym.imp.USER32.dll_EndDialog]
mov rbx, qword [rsp + 0x230]
add rsp, 0x220
pop rdi
ret

Function at 0x14006fb60
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rbp, rdx
mov r13, rcx
lea rdx, [0x1400970a0]
mov rcx, rbp
call fcn.140002700
mov rcx, r13
call fcn.14003e580
xor esi, esi
test al, al
je 0x14006fba2
xor al, al
jmp 0x14006fc2d
mov rcx, qword [r13]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, 0xffffffffffffffff
mov rdi, rax
mov eax, 0x7fff
test rdi, rdi
cmove rdi, rax
mov eax, 2
lea rbx, [rdi + 1]
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.140014cb8
mov rcx, qword [r13]
mov r8, rbx
mov r9, rax
mov edx, reloc.WSOCK32.dll_listen
mov r12, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov word [r12 + rdi*2], si
mov rcx, rbp
test rax, rax
jne 0x14006fc17
lea rdx, [0x1400970a0]
call fcn.140002700
jmp 0x14006fc22
mov rdx, r12
call fcn.140002700
mov sil, 1
mov rcx, r12
call fcn.140014860
mov al, sil
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x140070c80
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12, rcx
mov rcx, qword [rcx]
mov r13, rdx
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
mov edx, 0xb0
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x60]
cmp dword [rsp + 0x68], r11d
jae 0x140070d4b
mov rcx, qword [r12]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
mov rdi, rax
test eax, eax
je 0x140070d4b
cmp eax, dword [rsp + 0x68]
jb 0x140070d4b
cmp eax, dword [rsp + 0x60]
jb 0x140070d4b
lea ebx, [rax + 1]
lea rcx, [rsi - 1]
lea eax, [rsi + 2]
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.140014cb8
mov rcx, qword [r12]
lea edx, [rsi + 0xd]
mov r9, rax
mov r8d, ebx
mov rbp, rax
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140070d3e
cmp dword [rsp + 0x60], edi
je 0x140070d2a
mov ecx, dword [rsp + 0x60]
mov word [rbp + rcx*2], si
mov eax, dword [rsp + 0x68]
mov rcx, r13
lea rdx, [rbp + rax*2]
call fcn.140002700
mov sil, 1
mov rcx, rbp
call fcn.140014860
mov al, sil
jmp 0x140070d4d
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret