joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007fb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x60], rdi
lea r8d, [rdi + 0x60]
mov rcx, rdx
call fcn.1400060e8
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000802e
lea r8d, [rdi + 2]
mov rcx, rbx
call fcn.1400060e8
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000802e
call fcn.1400061e0
mov ebx, eax
jmp 0x14000813e
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000804f
call fcn.1400061e0
jmp 0x14000812d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140008045
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x14000808a
mov ebx, 0x8007000e
jmp 0x14000812f
mov ecx, eax
test eax, eax
jne 0x140008095
mov rdx, rdi
jmp 0x1400080ac
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140008176
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x1400080c1
lea rcx, [rsp + 0x60]
call fcn.1400061a8
jmp 0x1400080cb
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x1400080dd
cmp qword [rsp + 0x60], rdi
je 0x140008080
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x140008045
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], di
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140007df8
mov ebx, eax
test rsi, rsi
je 0x14000813e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x140008155
lea rcx, [rsp + 0x60]
call fcn.1400060c4
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140038c60
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.1400016ac
int3
Function at 0x140008e58
Capabilities:
Reference http user-agent string

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x880
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x878], rbx
mov qword [rbp + 0x880], rsi
mov rax, qword [0x140054040]
xor rax, rbp
mov qword [rbp + 0x840], rax
lea rbx, [rcx + 0x618]
xor esi, esi
cmp si, word [rbx]
jne 0x140008f56
lea r8, [rbp]
mov dword [rbp], 0x824
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_ObtainUserAgentString]
or r14, 0xffffffffffffffff
test eax, eax
js 0x140008f3e
lea rcx, [rbp + 0x10]
mov rax, r14
inc rax
cmp byte [rcx + rax], sil
jne 0x140008ec4
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x140008f36
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140008ef5
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14003a3b0
sub rsp, rcx
lea rdi, [rsp + 0x30]
test rdi, rdi
je 0x140008f36
mov dword [rsp + 0x28], edx
lea r8, [rbp + 0x10]
xor edx, edx
mov word [rdi], si
mov r9d, r14d
mov qword [rsp + 0x20], rdi
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb r8, r8
and r8, rdi
jmp 0x140008f39
mov r8, rsi
test r8, r8
jne 0x140008f45
lea r8, [0x140041eb0]
mov r9, r14
mov edx, 0x824
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov rax, rbx
mov rcx, qword [rbp + 0x840]
xor rcx, rbp
call fcn.140038c60
mov rbx, qword [rbp + 0x878]
mov rsi, qword [rbp + 0x880]
lea rsp, [rbp + 0x850]
pop r14
pop rdi
pop rbp
ret
Function at 0x14000a6cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
xor edx, edx
lea rsi, str._MESSAGE_
cmp dword [0x140057f94], edx
mov r11, rcx
mov rax, rcx
mov r9, rsi
je 0x14000a724
cmp r8, 0x10
jb 0x14000a724
lea ecx, [rdx + 0x10]
vmovdqu ymm1, ymmword [rax]
vpcmpeqw ymm1, ymm1, ymmword [r9]
vpmovmskb r10d, ymm1
cmp r10d, 0xffffffff
jne 0x14000a72a
add rdx, 0x10
add rcx, 0x10
add rax, 0x20
add r9, 0x20
cmp rcx, r8
jbe 0x14000a6f9
vzeroupper
lea rcx, [rdx + 8]
jmp 0x14000a77f
not r10d
bsf eax, r10d
shr eax, 1
lea rcx, [rdx + rax]
add rax, rdx
movzx eax, word [rsi + rax*2]
cmp word [r11 + rcx*2], ax
sbb eax, eax
and eax, 0xfffffffe
inc eax
vzeroupper
jmp 0x14000a7e7
movdqu xmm1, xmmword [r9]
mov ebx, 0xffff
movdqu xmm0, xmmword [rax]
pcmpeqw xmm1, xmm0
pmovmskb r10d, xmm1
cmp r10w, bx
jne 0x14000a7a8
add rdx, 8
add rcx, 8
add rax, 0x10
add r9, 0x10
cmp rcx, r8
jbe 0x14000a752
lea rcx, [rdx + 4]
cmp rcx, r8
ja 0x14000a7e0
mov r10, qword [rax]
mov rax, qword [r9]
cmp r10, rax
je 0x14000a7cd
xor rax, r10
bsf rax, rax
shr eax, 4
lea rcx, [rdx + rax]
jmp 0x14000a7b8
movzx eax, r10w
not eax
bsf ecx, eax
shr ecx, 1
mov eax, ecx
add rcx, rdx
add rax, rdx
movzx eax, word [rsi + rax*2]
cmp word [r11 + rcx*2], ax
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x14000a7e7
mov rdx, rcx
jmp 0x14000a7e0
movzx eax, word [r11 + rdx*2]
cmp ax, word [rsi + rdx*2]
jne 0x14000a7c4
inc rdx
cmp rdx, r8
jb 0x14000a7d2
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x18]
ret
Function at 0x14000aae8
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xfc0]
mov eax, 0x10c0
call fcn.14003a3b0
sub rsp, rax
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rbp + 0xfb0], rax
mov rbx, rcx
xor edi, edi
mov word [rsp + 0x60], di
xor edx, edx
mov r8d, 0x1046
lea rcx, [rsp + 0x62]
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call fcn.14000b280
xor r9d, r9d
lea r8, str.CLViewServer12
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
jne 0x14000abe2
lea rdx, [rsp + 0x60]
call fcn.14000b6f4
test al, al
je 0x14000abe2
movzx eax, word [rsp + 0x60]
cmp di, ax
je 0x14000abe2
lea rdx, [rsp + 0x60]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], di
jne 0x14000ab7b
lea edx, [rcx - 1]
mov ecx, 0x5c
cmp cx, word [rsp + rdx*2 + 0x60]
jne 0x14000ab9d
mov word [rsp + rdx*2 + 0x60], di
movzx eax, word [rsp + 0x60]
cmp di, ax
je 0x14000abe2
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x28], 3
mov eax, 0x414
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov rcx, qword [rbx + 0x26c8]
test rcx, rcx
je 0x14000abfb
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140033a70.0]
mov rcx, qword [rbx + 0x26c0]
test rcx, rcx
je 0x14000ac14
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140033a70.0]
mov rcx, qword [rbx + 0x26b8]
test rcx, rcx
je 0x14000ac2e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140033a70.0]
nop
mov rcx, qword [rbp + 0xfb0]
xor rcx, rsp
call fcn.140038c60
lea r11, [rsp + 0x10c0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000b5dc
Capabilities:
Create directory
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x1090
call fcn.14003a3b0
sub rsp, rax
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x1080], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x32]
mov word [rsp + 0x30], di
xor edx, edx
mov r8d, 0x1046
call sub.VCRUNTIME140.dll_memset
add rbx, 0x622
cmp word [rbx], di
jne 0x14000b6ce
mov rdx, rbx
call fcn.14000b6f4
mov cl, al
test al, al
je 0x14000b6c3
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000b660
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000b660
mov cl, dil
jmp 0x14000b6c3
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x824
xor r8d, r8d
lea rdx, [0x140042760]
mov rcx, rbx
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_61415]
test eax, eax
setne cl
test eax, eax
je 0x14000b6c3
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne cl
test eax, eax
je 0x14000b6c3
mov r8d, 0x824
lea rcx, [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
setne cl
test cl, cl
jne 0x14000b6ce
mov word [rbx], di
xor eax, eax
jmp 0x14000b6d1
mov rax, rbx
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.140038c60
mov rbx, qword [rsp + 0x10a8]
add rsp, 0x1090
pop rdi
ret

Function at 0x14000b6f4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
lea rdi, [0x1400580a0]
mov word [rdx], si
mov rbx, rdx
cmp si, word [0x1400580a0]
jne 0x14000b789
lea rcx, [0x140054370]
call fcn.14000381c
mov rcx, rax
lea r9d, [rsi + 1]
lea r8d, [rsi + 0x20]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14000b7b0
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], si
jne 0x14000b743
test eax, eax
je 0x14000b7b0
lea ecx, [rax - 1]
mov esi, 0x104
mov eax, 0x5c
cmp ax, word [rdi + rcx*2]
je 0x14000b776
mov r8d, esi
lea rcx, [0x14004240c]
mov rdx, rdi
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_59137]
mov r8d, esi
lea rcx, str.MsOfficeHelp16_
mov rdx, rdi
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_59137]
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x824
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor al, al
jmp 0x14000b7a0
Function at 0x14000b7b8
Capabilities:
Delete file
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
mov rdi, rdx
mov rbx, r8
mov dword [rax - 0x20], 0x80
mov rcx, rdi
mov word [rax + 8], 0xfeff
xor r9d, r9d
mov dword [rax - 0x28], 2
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_30726]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
jne 0x14000b808
xor al, al
jmp 0x14000b848
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8d, 2
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000b841
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or qword [rbx], 0xffffffffffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [rbx], 0xffffffffffffffff
setne al
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14000b860
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov rsi, rdx
lea r9, [rax + 8]
xor ebx, ebx
lea rdx, str.__xml_version1.0___r_n
mov rdi, r8
mov qword [rax - 0x18], rbx
mov rcx, rsi
lea r8d, [rbx + 0x2e]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000b919
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
lea r8d, [rbx + 0x4e]
mov rcx, rsi
lea rdx, str.__xml_stylesheet_typetext_xsl_href
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000b919
test rdi, rdi
je 0x14000b919
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], bx
jne 0x14000b8c7
lea r8d, [rax + rax]
test r8d, r8d
je 0x14000b8f3
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000b919
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov r8d, SafeArrayGetLBound
lea rdx, str..xsl___r_n
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000b919
mov bl, 1
mov rsi, qword [rsp + 0x50]
mov al, bl
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14000b92c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, rdx
mov rbx, rcx
call fcn.140004c00
lea r9, [rbx + 0x20a]
mov dword [rsp + 0x20], eax
or rbx, 0xffffffffffffffff
lea r8, str._assistance_namespace__s__UseOnlineContent__d___r_n
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14000fe24
lea rax, [rsp + 0x40]
xor esi, esi
inc rbx
cmp word [rax + rbx*2], si
jne 0x14000b985
lea r8d, [rbx + rbx]
test r8d, r8d
jne 0x14000b99b
mov al, 1
jmp 0x14000b9b8
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne al
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140038c60
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000b9e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov edx, 1
xor ebx, ebx
test r8d, r8d
cmovne edx, r8d
mov qword [rsp + 0x40], rbx
mov rcx, qword [rcx + 0x26c0]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov rax, qword [rax + 0x88]
call qword [case.0x140033a70.0]
test eax, eax
js 0x14000ba77
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x50]
lea r8d, [rbx + 0x10]
lea rdx, str._t_title_
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000ba77
mov r8, qword [rsp + 0x40]
mov rdx, rdi
call fcn.14000cde0
test al, al
je 0x14000ba77
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x50]
lea r8d, [rbx + 0x14]
lea rdx, str.__title__r_n
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000ba77
mov bl, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov al, bl
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000c3e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xfb0]
mov eax, 0x10b0
call fcn.14003a3b0
sub rsp, rax
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
mov ebx, r8d
mov r15, rdx
mov r14, rcx
mov dword [rsp + 0x30], ebx
xor edi, edi
mov qword [rsp + 0x40], rdi
mov sil, dil
mov word [rsp + 0x50], di
xor edx, edx
mov r8d, 0x1046
lea rcx, [rsp + 0x52]
call sub.VCRUNTIME140.dll_memset
mov edx, ebx
mov rcx, r14
call fcn.14000ed38
mov dword [rsp + 0x30], eax
test eax, eax
jle 0x14000c581
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsp + 0x40], rdi
mov ebx, dword [rsp + 0x30]
mov rcx, qword [r14 + 0x26c0]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
mov edx, ebx
mov rax, qword [rax + 0x48]
call qword [case.0x140033a70.0]
test eax, eax
jns 0x14000c48d
mov dword [rsp + 0x30], edi
mov rcx, qword [r14 + 0x26c0]
mov rax, qword [rcx]
lea r8, [rsp + 0x3c]
mov edx, ebx
mov rax, qword [rax + 0x78]
call qword [case.0x140033a70.0]
test eax, eax
js 0x14000c54a
cmp word [rsp + 0x3c], di
je 0x14000c54a
test sil, sil
jne 0x14000c4eb
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x48]
mov r8d, 0x20
lea rdx, str._t_collections__r_n
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000c584
mov sil, 1
mov rcx, qword [r14 + 0x26c0]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov edx, ebx
mov rax, qword [rax + 0x88]
call qword [case.0x140033a70.0]
test eax, eax
js 0x14000c54a
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
mov r8d, ebx
mov edx, ebx
mov rcx, r14
call fcn.14000cf2c
test al, al
je 0x14000c54a
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x40]
mov r8d, ebx
mov rdx, r15
mov rcx, r14
call fcn.14000c5b8
cmp dword [rsp + 0x30], edi
jg 0x14000c456
test sil, sil
je 0x14000c581
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x48]
mov r8d, SafeArrayRedim
lea rdx, str._t__collections__r_n
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne dil
jmp 0x14000c584
mov dil, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov al, dil
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.140038c60
mov rbx, qword [rsp + 0x10f8]
add rsp, 0x10b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000cde0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
mov rbx, r8
mov rbp, rdx
test r8, r8
je 0x14000cf15
movzx eax, word [rbx]
mov rdx, rbx
mov r8d, r14d
cmp r14w, ax
je 0x14000cf15
mov rdi, r14
mov esi, r14d
cmp ax, 0x3e
ja 0x14000cedd
movabs rcx, 0x500000c400000000
bt rcx, rax
jae 0x14000cedd
test r8d, r8d
je 0x14000ce60
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000cf11
movzx ecx, word [rbx]
sub ecx, 0x22
je 0x14000ceaa
sub ecx, 4
je 0x14000ce9c
sub ecx, 1
je 0x14000ce93
sub ecx, 0x15
je 0x14000ce85
cmp ecx, 2
jne 0x14000ceb6
lea rdi, str.gt_
jmp 0x14000ce8c
lea rdi, str.lt_
mov esi, 8
jmp 0x14000ceb6
lea rdi, str.apos_
jmp 0x14000ceb1
lea rdi, str.amp_
mov esi, 0xa
jmp 0x14000ceb6
lea rdi, str.quot_
mov esi, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], r14
mov r8d, esi
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000cf11
mov r8d, 0xfffffffe
lea rdx, [rbx + 2]
add rbx, 2
add r8d, 2
movzx eax, word [rbx]
cmp r14w, ax
jne 0x14000ce1c
test r8d, r8d
je 0x14000cf15
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne al
jmp 0x14000cf17
xor al, al
jmp 0x14000cf17
mov al, 1
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14000d434
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x12f0
call fcn.14003a3b0
sub rsp, rax
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x12e0], rax
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
xor ebp, ebp
xor edx, edx
mov word [rsp + 0x290], bp
mov r8d, 0x1046
lea rcx, [rsp + 0x292]
call sub.VCRUNTIME140.dll_memset
or r9, 0xffffffffffffffff
lea rcx, [rsp + 0x290]
mov r8, rbx
mov edx, 0x824
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea edx, [rbp + 0x3f]
lea rcx, [rsp + 0x290]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x14000d4b6
mov word [rax], bp
mov edx, SafeArrayRedim
lea rcx, [rsp + 0x290]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x14000d4d1
mov word [rax], bp
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp rbx, 0xffffffffffffffff
je 0x14000d4fd
mov al, 1
jmp 0x14000d5d1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x290]
call fcn.14000b7b8
mov rbx, qword [rsp + 0x30]
test al, al
je 0x14000d5ad
lea r8, [0x140042c00]
mov rdx, rbx
call fcn.14000b860
test al, al
je 0x14000d5ad
mov rdx, rbx
mov rcx, rdi
call fcn.14000b92c
test al, al
je 0x14000d5ad
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call fcn.14000b9e0
test al, al
je 0x14000d5ad
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call fcn.14000ba90
test al, al
je 0x14000d5ad
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call fcn.14000bf44
test al, al
je 0x14000d5ad
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call fcn.14000c3e0
test al, al
je 0x14000d5ad
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rbp
mov r8d, 0x1a
lea rdx, str.__assistance_
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dil, 1
test eax, eax
jne 0x14000d5b0
mov dil, bpl
cmp rbx, 0xffffffffffffffff
je 0x14000d5ce
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14000d5cb
test dil, dil
mov dil, 1
jne 0x14000d5ce
mov dil, bpl
mov al, dil
mov rcx, qword [rsp + 0x12e0]
xor rcx, rsp
call fcn.140038c60
mov rbx, qword [rsp + 0x1328]
add rsp, 0x12f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000d5f4
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbp, rdx
lea r9, [rax + 0x18]
xor r14d, r14d
lea rdx, str._t_title_
mov rbx, rcx
mov qword [rax - 0x28], r14
mov rcx, rbp
lea r8d, [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000d637
mov al, 1
jmp 0x14000d76a
add rbx, 0x41a
je 0x14000d745
movzx eax, word [rbx]
mov rdx, rbx
mov r8d, r14d
cmp r14w, ax
je 0x14000d745
mov rdi, r14
mov esi, r14d
cmp ax, 0x3e
ja 0x14000d718
movabs rcx, 0x500000c400000000
bt rcx, rax
jae 0x14000d718
test r8d, r8d
je 0x14000d69b
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000d745
movzx ecx, word [rbx]
sub ecx, 0x22
je 0x14000d6e5
sub ecx, 4
je 0x14000d6d7
sub ecx, 1
je 0x14000d6ce
sub ecx, 0x15
je 0x14000d6c0
cmp ecx, 2
jne 0x14000d6f1
lea rdi, str.gt_
jmp 0x14000d6c7
lea rdi, str.lt_
mov esi, 8
jmp 0x14000d6f1
lea rdi, str.apos_
jmp 0x14000d6ec
lea rdi, str.amp_
mov esi, 0xa
jmp 0x14000d6f1
lea rdi, str.quot_
mov esi, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], r14
mov r8d, esi
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000d745
mov r8d, 0xfffffffe
lea rdx, [rbx + 2]
add rbx, 2
add r8d, 2
movzx eax, word [rbx]
cmp r14w, ax
jne 0x14000d657
test r8d, r8d
je 0x14000d745
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], r14
mov r8d, reloc.OLEAUT32.dll_SafeArrayLock
lea rdx, str.__title__r_n
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14000d780
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbp, rdx
lea r9, [rax + 8]
xor r14d, r14d
lea rdx, str._t_query_
mov rbx, r8
mov qword [rax - 0x28], r14
mov rcx, rbp
lea r8d, [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000d7c7
mov al, 1
jmp 0x14000d8f6
test rbx, rbx
je 0x14000d8d1
movzx eax, word [rbx]
mov rdx, rbx
mov r8d, r14d
cmp r14w, ax
je 0x14000d8d1
mov rdi, r14
mov esi, r14d
cmp ax, 0x3e
ja 0x14000d8a4
movabs rcx, 0x500000c400000000
bt rcx, rax
jae 0x14000d8a4
test r8d, r8d
je 0x14000d827
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000d8d1
movzx ecx, word [rbx]
sub ecx, 0x22
je 0x14000d871
sub ecx, 4
je 0x14000d863
sub ecx, 1
je 0x14000d85a
sub ecx, 0x15
je 0x14000d84c
cmp ecx, 2
jne 0x14000d87d
lea rdi, str.gt_
jmp 0x14000d853
lea rdi, str.lt_
mov esi, 8
jmp 0x14000d87d
lea rdi, str.apos_
jmp 0x14000d878
lea rdi, str.amp_
mov esi, 0xa
jmp 0x14000d87d
lea rdi, str.quot_
mov esi, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], r14
mov r8d, esi
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000d8d1
mov r8d, 0xfffffffe
lea rdx, [rbx + 2]
add rbx, 2
add r8d, 2
movzx eax, word [rbx]
cmp r14w, ax
jne 0x14000d7e3
test r8d, r8d
je 0x14000d8d1
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], r14
mov r8d, reloc.OLEAUT32.dll_SafeArrayLock
lea rdx, str.__query__r_n
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne al
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret