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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, str..pipeMyPipe
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001410
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x14000149f
mov edx, 0x4e20
lea rcx, str..pipeMyPipe
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x140001496
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, str..pipeMyPipe
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400013b3
mov qword [rsp + 0x48], rdi
mov ecx, 0x20
call fcn.140001cbc
mov qword [rsp + 0x40], rax
movdqa xmm0, xmmword [0x140003460]
movdqu xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [str.Start_decryption]
movups xmmword [rax], xmm1
mov byte [rax + 0x10], dil
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x60]
mov r8d, dword [rsp + 0x50]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400014c1
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400014bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400014bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.Could_not_open_pipe:_20_second_wait_timed_out_n
jmp 0x1400014a6
lea rdx, str.Could_not_open_pipe_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400015f0
mov eax, 1
jmp 0x140001561
call fcn.140001cf8
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.1400011c0
nop
lea rdx, str.Response_from_server:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400015f0
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov rcx, rax
call fcn.140001830
mov rcx, rax
lea rdx, [0x14000343c]
call fcn.1400015f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x14000155f
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000155a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000155a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001cf8
xor eax, eax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140001a00
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x140002eb0
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rbx, r9
mov rdi, r8
mov r15, rdx
mov r14, rcx
xor r12d, r12d
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
test r9, r9
jne 0x140002f1c
lea r9d, [rbx + 0x10]
lea r8, [0x1400c65a8]
lea rdx, [0x1400c65b8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x1400030ad
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
mov qword [rsp + 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x140002f70
lea rax, [0x1400c65f0]
mov qword [rsp + 0x50], rax
lea rdx, [0x14010b3f0]
lea rcx, [rsp + 0x50]
call fcn.140054290
mov ecx, 0x2488
call fcn.14002661c
test rax, rax
je 0x140002f97
mov r8, qword [rsp + 0xe0]
mov rdx, rbx
mov rcx, rax
call fcn.140002e10
mov rbx, rax
jmp 0x140002f9a
mov rbx, r12
mov qword [rsp + 0xd8], rbx
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x28], rsi
lea rcx, [rbx + 0x30]
mov r8, rdi
mov edx, 0x104
call fcn.14005fb8c
mov dword [rsp + 0x20], 0x10000000
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400c6620]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x48], rax
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x140003003
lea rax, [0x1400c6648]
mov qword [rsp + 0x58], rax
lea rdx, [0x14010b3f0]
lea rcx, [rsp + 0x58]
call fcn.140054290
lea rdx, [0x140002e80]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
cmp rax, 0xffffffffffffffff
jne 0x140003036
lea rax, [0x1400c6680]
mov qword [rsp + 0x60], rax
lea rdx, [0x14010b3f0]
lea rcx, [rsp + 0x60]
call fcn.140054290
lea rcx, [rbx + 0x2278]
lea r8, [0x1400c6508]
mov edx, 0x100
call fcn.14005fb8c
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400030a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1400030a0
lea rax, [0x1400c66b8]
mov qword [rsp + 0x68], rax
lea rdx, [0x14010b3f0]
lea rcx, [rsp + 0x68]
call fcn.140054290
nop
jmp 0x1400030aa
mov rax, rbx
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400030e0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [rdx + 0x18]
mov rbx, rdx
test rcx, rcx
je 0x1400030fa
xor edx, edx
call qword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14000310b
xor edx, edx
call qword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14000311a
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140003129
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbx + 0x28]
cmp rcx, 0xffffffffffffffff
je 0x140003139
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbx + 0x238], 1
jne 0x140003176
mov rcx, qword [rbx + 0x2480]
test rcx, rcx
jne 0x140003152
xor eax, eax
jmp 0x14000315f
imul rax, qword [rbx + 0x2478], 0x64
xor edx, edx
div rcx
mov r9, qword [rbx + 8]
lea rcx, [0x1400c6598]
mov r8d, eax
mov edx, 1
call qword [rbx]
jmp 0x140003180
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, 0x2488
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140026658

Function at 0x140003980
Capabilities:
Check http status code
Get http content length

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rdx
mov dword [rsp + 0x60], 4
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], 0
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x68]
mov edx, 0x20000013
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x1400039c8
xor al, al
add rsp, 0x40
pop rbx
ret
cmp dword [rsp + 0x68], 0xc8
jne 0x1400039c0
mov rcx, qword [rbx + 0x20]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov dword [rsp + 0x30], 4
mov edx, 0x20000005
mov qword [rsp + 0x20], 0
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x140003a13
mov eax, dword [rsp + 0x34]
mov qword [rbx + 0x2480], rax
mov al, 1
add rsp, 0x40
pop rbx
ret
mov qword [rbx + 0x2480], 0
mov al, 1
add rsp, 0x40
pop rbx
ret

Function at 0x140003a30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
lea r9, [rsp + 0x48]
xor edi, edi
add rdx, 0x278
mov qword [rsp + 0x20], rdi
mov r8d, dword [rbx + 0x268]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbx + 0x2480]
test eax, eax
jne 0x140003aad
mov dword [rbx + 0x238], 2
test rcx, rcx
je 0x140003a8b
imul rax, qword [rbx + 0x2478], 0x64
xor edx, edx
div rcx
mov rdi, rax
mov r9, qword [rbx + 8]
lea rcx, [0x1400c6548]
mov r8d, edi
mov edx, 2
call qword [rbx]
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov eax, dword [rsp + 0x48]
add qword [rbx + 0x2478], rax
test rcx, rcx
je 0x140003acd
imul rax, qword [rbx + 0x2478], 0x64
xor edx, edx
div rcx
mov rdi, rax
mov r9, qword [rbx + 8]
lea rcx, [0x1400c6578]
mov edx, dword [rbx + 0x238]
mov r8d, edi
call qword [rbx]
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x1400063b0
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x140115740]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, qword [rcx + 0x6e0]
mov r8d, 2
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 1
jl 0x14000650b
mov qword [rsp + 0x158], rdi
mov eax, 0xff
movzx edi, word [rsp + 0x20]
cmp di, ax
ja 0x140006503
mov rcx, qword [rbx + 0x1e0]
lea edx, [rax + 0x48]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x140006503
mov rcx, qword [rbx + 0x1e0]
xor r9d, r9d
mov qword [rsp + 0x178], rbp
mov edx, 0x150
mov qword [rsp + 0x180], rsi
movsxd r8, eax
mov qword [rsp + 0x150], r14
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rsi, eax
lea r14, [0x14010e680]
add rsi, rsi
mov ebp, dword [r14 + rsi*8 + 4]
cmp ebp, 0x14
jge 0x14000647c
movzx ecx, dil
call fcn.140060580
movzx edi, al
movsxd rax, dword [rbx + 0x10f4]
lea rdx, [0x1400c7e08]
movzx r8d, dil
lea rcx, [rsp + 0x40]
mov byte [rbx + rax*8 + 0x8f4], dil
movsxd rax, dword [rbx + 0x10f4]
mov dword [rbx + rax*8 + 0x8f8], ebp
inc dword [rbx + 0x10f4]
mov r9, qword [r14 + rsi*8 + 8]
call fcn.140007e30
mov rcx, qword [rbx + 0x1d0]
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 0x180
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x1d0]
xor r9d, r9d
movsxd r8, eax
mov edx, 0x186
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14, qword [rsp + 0x150]
mov rsi, qword [rsp + 0x180]
mov rbp, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400265c0
add rsp, 0x160
pop rbx
ret

Function at 0x140007090
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140115740]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, qword [rcx + 0x6e0]
mov r8d, 2
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 1
jge 0x1400070f6
mov rcx, qword [rbx + 0x1f8]
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbx + 0x508]
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400265c0
add rsp, 0x50
pop rbx
ret
movzx edx, byte [rsp + 0x20]
mov rcx, rbx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rdi
call fcn.1400061b0
mov rcx, qword [rbx + 0x1f8]
xor esi, esi
movsxd rdi, eax
mov edx, esi
cmp edi, 0xffffffff
sete dl
call qword [sym.imp.USER32.dll_EnableWindow]
cmp edi, 0xffffffff
je 0x14000714c
mov rcx, qword [rbx + 0x1d0]
mov r8, rdi
xor r9d, r9d
mov edx, 0x186
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.140007c80
mov rcx, qword [rbx + 0x1d0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x508]
cmp eax, 0xffffffff
setne sil
mov edx, esi
call qword [sym.imp.USER32.dll_EnableWindow]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400265c0
add rsp, 0x50
pop rbx
ret
Function at 0x1400074a0
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x170
mov rax, qword [0x140115740]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rcx
lea rdx, [rsp + 0x20]
mov rcx, qword [rcx + 0x6e0]
mov r8d, 2
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 1
jl 0x140007697
mov qword [rsp + 0x198], rsi
mov eax, 0xff
movzx esi, word [rsp + 0x20]
cmp si, ax
ja 0x14000768f
mov qword [rsp + 0x188], rbx
movzx ebx, sil
mov ecx, ebx
mov qword [rsp + 0x168], r12
mov qword [rsp + 0x160], r13
call fcn.140060580
mov ecx, ebx
mov r12d, eax
call fcn.140060554
mov rcx, qword [rdi + 0x1e0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov r13d, eax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x140007677
mov rcx, qword [rdi + 0x1e0]
xor r9d, r9d
mov qword [rsp + 0x190], rbp
mov edx, 0x150
mov qword [rsp + 0x158], r14
movsxd r8, eax
mov qword [rsp + 0x150], r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x1d0]
xor r9d, r9d
movsxd r14, eax
xor r8d, r8d
lea rax, [0x14010e680]
add r14, r14
mov edx, 0x188
mov r15d, dword [rax + r14*8 + 4]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, rax
cmp eax, 0xffffffff
je 0x14000765f
movsxd rbx, ebp
lea r9, [0x14010e680]
movzx edx, sil
cmp r15d, 0x14
movzx ecx, r12b
cmovl edx, ecx
lea rcx, [rsp + 0x40]
mov byte [rdi + rbx*8 + 0x8f4], dl
mov dword [rdi + rbx*8 + 0x8f8], r15d
mov r9, qword [r9 + r14*8 + 8]
movzx r8d, dl
lea rdx, [0x1400c7e08]
call fcn.140007e30
mov rcx, qword [rdi + 0x1d0]
lea r9, [rsp + 0x40]
mov r8, rbx
mov edx, 0x181
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x1d0]
lea eax, [rbp + 1]
movsxd r8, eax
xor r9d, r9d
mov edx, 0x182
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x1d0]
xor r9d, r9d
mov r8, rbx
mov edx, 0x186
call qword [sym.imp.USER32.dll_SendMessageW]
movzx edx, r13b
mov rcx, rdi
call fcn.1400061b0
cmp eax, 0xffffffff
je 0x14000765f
cmp eax, ebp
je 0x14000765f
mov edx, eax
mov rcx, rdi
call fcn.140005f30
mov r14, qword [rsp + 0x158]
mov rbp, qword [rsp + 0x190]
mov r15, qword [rsp + 0x150]
mov rbx, qword [rsp + 0x188]
mov r12, qword [rsp + 0x168]
mov r13, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400265c0
add rsp, 0x170
pop rdi
ret
Function at 0x140008b30
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x860
mov rax, qword [0x140115740]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rbx, rcx
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx + 0x1d0]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx + 0x4a8]
lea rdx, [rsp + 0x28]
mov r8d, 0x10
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx + 0x1c8]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
call fcn.1400083c0
cmp eax, 0xffffffff
je 0x140008c07
mov rcx, qword [rbx + 0x1c8]
xor r9d, r9d
movsxd r8, eax
mov edx, 0x182
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x260]
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
xor edx, edx
mov rcx, rbx
call fcn.1400096d0
mov rcx, qword [rbx + 0x1f0]
xor edx, edx
cmp word [rsp + 0x50], dx
setne dl
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbx + 0x4a8]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rbx + 0x4a8]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1400265c0
add rsp, 0x860
pop rbx
ret

Function at 0x140008c20
Capabilities:
Get graphical window text

Disassembly:
push rbx
mov eax, 0x1090
call fcn.140026670
sub rsp, rax
mov rax, qword [0x140115740]
xor rax, rsp
mov qword [rsp + 0x1080], rax
mov rbx, rcx
lea rdx, [rsp + 0x28]
mov rcx, qword [rcx + 0x4a8]
mov r8d, 0x10
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx + 0x1d0]
lea rdx, [rsp + 0x50]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x28]
lea rdx, [0x1400c83c0]
lea rcx, [rsp + 0x850]
call fcn.140007e30
mov rcx, qword [rbx + 0x1c8]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
call fcn.1400083c0
cmp eax, 0xffffffff
je 0x140008cc5
mov rcx, qword [rbx + 0x1c8]
xor r9d, r9d
movsxd r8, eax
mov edx, 0x182
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x1c8]
lea r9, [rsp + 0x850]
xor r8d, r8d
mov edx, 0x180
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x1c8]
xor r9d, r9d
movsxd r8, eax
mov edx, 0x186
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 1
mov rcx, rbx
call fcn.1400096d0
mov rcx, qword [rbx + 0x1f0]
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbx + 0x260]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rbx + 0x4a8]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rbx + 0x4a8]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.1400265c0
add rsp, 0x1090
pop rbx
ret
Function at 0x1400092c0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x860
mov rax, qword [0x140115740]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rbx, rcx
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx + 0x1d0]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx + 0x4a8]
lea rdx, [rsp + 0x28]
mov r8d, 0x10
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x28], 0
mov rcx, qword [rbx + 0x1c8]
je 0x140009394
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
call fcn.1400083c0
mov edi, eax
cmp eax, 0xffffffff
je 0x14000933c
mov r8d, eax
jmp 0x14000934b
or r8, 0xffffffffffffffff
cmp dword [rsp + 0x20], r8d
cmovne r8d, dword [rsp + 0x20]
mov rcx, qword [rbx + 0x1c8]
xor r9d, r9d
movsxd r8, r8d
mov edx, 0x186
call qword [sym.imp.USER32.dll_SendMessageW]
cmp edi, 0xffffffff
je 0x1400093a6
mov edi, 1
mov rcx, rbx
mov edx, edi
call fcn.1400096d0
mov rcx, qword [rbx + 0x1f0]
xor eax, eax
cmp word [rsp + 0x50], ax
setne al
mov edx, eax
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, edi
jmp 0x1400093dc
xor r9d, r9d
or r8, 0xffffffffffffffff
mov edx, 0x186
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov rcx, rbx
call fcn.1400096d0
cmp word [rsp + 0x28], 0
je 0x1400093c7
cmp word [rsp + 0x50], 0
je 0x1400093c7
mov edi, 1
jmp 0x1400093cb
xor eax, eax
mov edi, eax
mov rcx, qword [rbx + 0x1f0]
mov edx, edi
call qword [sym.imp.USER32.dll_EnableWindow]
xor edx, edx
mov rcx, qword [rbx + 0x260]
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1400265c0
mov rbx, qword [rsp + 0x878]
add rsp, 0x860
pop rdi
ret

Function at 0x140009590
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x850
mov rax, qword [0x140115740]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rbx, rcx
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx + 0x1d0]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx + 0x4a8]
lea rdx, [rsp + 0x20]
mov r8d, 0x10
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x40], 0
je 0x1400095f5
cmp word [rsp + 0x20], 0
je 0x1400095f5
mov edx, 1
jmp 0x1400095f7
xor edx, edx
mov rcx, qword [rbx + 0x1f0]
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400265c0
add rsp, 0x850
pop rbx
ret

Function at 0x14000adb0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
lea r8, [rcx + 0x5c]
mov dword [rsp + 0x28], 1
xor ecx, ecx
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, [0x1400c7f30]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x38
ret
Function at 0x14000c060
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140115740]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
mov rdi, r8
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x34], 6
jb 0x14000c0cb
mov ecx, 0x28
call fcn.14002661c
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14000c0ef
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.14000b590
jmp 0x14000c0f1
mov ecx, 0x98
call fcn.14002661c
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14000c0ef
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.14000b520
jmp 0x14000c0f1
xor eax, eax
mov qword [rbx + 8], rax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400265c0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14000cd80
Capabilities:
Get file attributes
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x140115740]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov r8d, 0x104
lea rcx, [0x1400cf008]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor ecx, ecx
mov r8d, 0x80070057
test eax, eax
cmovne r8d, ecx
test r8d, r8d
js 0x14000ce1c
lea r8, [0x1400cf020]
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140078ba8
neg eax
sbb eax, eax
and eax, 0x80070057
jl 0x14000ce1f
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xfffffff
jb 0x14000ce15
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000c7e0
jmp 0x14000ce1f
mov eax, 1
jmp 0x14000ce1f
mov eax, r8d
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400265c0
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret

Function at 0x14000d700
Capabilities:
Write clipboard data

Disassembly:
cmp ecx, 1
jne 0x14000d70c
xor ecx, ecx
jmp fcn.14000ec40
cmp ecx, 0xd
jne 0x14000d71b
mov ecx, 1
jmp fcn.14000ec40
mov eax, 1
ret
Function at 0x14000ed80
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor r9d, r9d
mov rcx, qword [rcx + 0x1c8]
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, qword [rbx + 0x5b8]
xor r9d, r9d
mov edx, 0x147
mov dword [r8 + 0x20], eax
xor r8d, r8d
mov rcx, qword [rbx + 0x1d0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x5b8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov dword [rcx + 0x24], eax
mov rcx, qword [rbx + 0x1e8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov edx, 0xf0
cmp rax, 1
mov rax, qword [rbx + 0x5b8]
sete cl
xor r9d, r9d
xor r8d, r8d
mov dword [rax + 0x28], ecx
mov rcx, qword [rbx + 0x1f0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x5b8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov dword [rcx + 0x26c], eax
mov rcx, qword [rbx + 0x1f8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x5b8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov dword [rcx + 0x270], eax
mov rcx, qword [rbx + 0x200]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x5b8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov dword [rcx + 0x274], eax
mov rcx, qword [rbx + 0x208]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x5b8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov dword [rcx + 0x268], eax
mov rcx, qword [rbx + 0x210]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x5b8]
mov dword [rcx + 0x278], eax
mov rcx, qword [rbx + 0x5b8]
add rsp, 0x20
pop rbx
jmp fcn.140011ba0

Function at 0x140010780
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x140115740]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400107fa
lea rdx, [rsp + 0x20]
mov ecx, 0x103
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x1400107fa
mov edx, 0x2f
mov rcx, rbx
call fcn.140054cb0
test rax, rax
je 0x1400107fa
add rax, 2
cmp word [rax], 0
je 0x1400107fa
mov r9, rax
lea r8, [rsp + 0x20]
lea rdx, [0x1400cffc0]
mov rcx, rdi
call fcn.140007e30
mov al, 1
jmp 0x1400107fc
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400265c0
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret