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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov dword [rax + 0x18], r8d
push rdi
sub rsp, 0x40
mov rbp, rdx
xor r8d, r8d
mov edx, dword [0x1400582a8]
mov rbx, r9
mov rsi, rcx
call fcn.14000dbcc
test al, al
je 0x14000da02
lea r8, [rsp + 0x30]
mov rdx, rbx
call fcn.14000b7b8
test al, al
je 0x14000da02
mov rdi, qword [rsp + 0x30]
lea r8, str.search
mov rdx, rdi
call fcn.14000b860
mov rdx, rdi
mov rcx, rsi
call fcn.14000dc30
test al, al
je 0x14000d9d5
mov rdx, rdi
mov rcx, rsi
call fcn.14000d5f4
test al, al
je 0x14000d9d5
or r8d, 0xffffffff
mov rdx, rdi
mov rcx, rsi
call fcn.14000ba90
test al, al
je 0x14000d9d5
mov r8, rbp
mov rdx, rdi
call fcn.14000d780
test al, al
je 0x14000d9d5
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8d, SafeArrayGetLBound
lea rdx, str.__search_
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000d9d5
mov bl, 1
jmp 0x14000d9d7
xor bl, bl
cmp rdi, 0xffffffffffffffff
je 0x14000d9f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14000d9ee
test bl, bl
jne 0x14000d9f4
xor bl, bl
test bl, bl
je 0x14000d9fe
mov rcx, rsi
call fcn.14000f440
mov bl, al
mov al, bl
jmp 0x14000da04
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14000da1c
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
or qword [rsp + 0x40], 0xffffffffffffffff
mov r13d, 0x64
mov r10d, dword [0x1400582a8]
cmp r9d, r13d
mov rbp, rcx
mov dword [rsp + 0xa0], r10d
cmovbe r13d, r9d
mov eax, 0xcccccccd
mov rbx, rdx
mul r13d
mov esi, edx
shr esi, 3
lea ecx, [rsi + rsi*4]
add ecx, ecx
cmp r13d, ecx
je 0x14000da75
inc esi
xor r14d, r14d
test esi, esi
jle 0x14000db8f
xor r12d, r12d
jmp 0x14000da8d
mov rbx, qword [rsp + 0x98]
mov r9, qword [rsp + 0xb8]
mov r8d, r14d
mov edx, r10d
mov rcx, rbp
call fcn.14000dbcc
test al, al
je 0x14000dbc6
mov rdx, qword [rsp + 0xb8]
lea r8, [rsp + 0x40]
call fcn.14000b7b8
test al, al
je 0x14000dbc6
mov rdi, qword [rsp + 0x40]
lea r8, str.search
mov rdx, rdi
call fcn.14000b860
mov rdx, rdi
mov rcx, rbp
call fcn.14000dc30
test al, al
je 0x14000db54
mov rdx, rdi
mov rcx, rbp
call fcn.14000d5f4
test al, al
je 0x14000db54
mov r8, rbx
mov rdx, rdi
call fcn.14000d780
test al, al
je 0x14000db54
mov rax, qword [rsp + 0xb0]
mov r9d, r13d
mov r8d, r12d
mov qword [rsp + 0x30], rax
mov rdx, rdi
mov rcx, rbp
call fcn.14000dcdc
test al, al
je 0x14000db54
and qword [rsp + 0x20], 0
lea r9, [rsp + 0xa8]
mov r8d, SafeArrayGetLBound
lea rdx, str.__search_
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000db54
mov bl, 1
jmp 0x14000db56
xor bl, bl
cmp rdi, 0xffffffffffffffff
je 0x14000db73
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14000db71
test bl, bl
je 0x14000db71
mov bl, 1
jmp 0x14000db73
xor bl, bl
mov r10d, dword [rsp + 0xa0]
inc r14d
add r12d, 0xa
cmp r14d, esi
jl 0x14000da85
test bl, bl
je 0x14000dbb5
mov r9, qword [rsp + 0xb8]
xor r8d, r8d
mov edx, r10d
mov rcx, rbp
call fcn.14000dbcc
mov bl, al
test al, al
je 0x14000dbb5
mov rcx, rbp
call fcn.14000f440
mov bl, al
mov al, bl
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor al, al
jmp 0x14000dbb7

Function at 0x14000dc30
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
lea r9, [rax + 0x18]
xor ebx, ebx
lea rdx, str._search_namespace_
mov rsi, rcx
mov qword [rax - 0x18], rbx
mov rcx, rdi
lea r8d, [rbx + 0x26]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000dcc7
lea rdx, [rsi + 0x20a]
test rdx, rdx
je 0x14000dcc7
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], bx
jne 0x14000dc78
lea r8d, [rax + rax]
test r8d, r8d
je 0x14000dca1
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000dcc7
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
mov r8d, 8
lea rdx, str.___r_n
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000dcc7
mov bl, 1
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14000dcdc
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xa8
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov r13, qword [rbp + 0x7f]
xor r12d, r12d
mov r14d, r8d
mov qword [rbp - 0x69], rcx
mov rdi, rdx
lea rcx, [rbp - 0x61]
xor edx, edx
mov r15d, r9d
lea r8d, [r12 + 0x50]
mov ebx, r12d
call sub.VCRUNTIME140.dll_memset
mov eax, r15d
mov qword [rsp + 0x20], r12
sub eax, r14d
lea r9, [rbp - 0x71]
cmp r15d, r14d
lea r8d, [r12 + 0x22]
mov esi, r12d
lea rdx, str._t_results_start
cmovg esi, eax
mov rcx, rdi
lea eax, [r12 + 0xa]
cmp esi, eax
cmova esi, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000de3d
mov r8d, r14d
mov rdx, rdi
call fcn.14000cd40
test al, al
je 0x14000de3d
lea r9, [rbp - 0x71]
mov qword [rsp + 0x20], r12
lea r8d, [r12 + 0x12]
mov rcx, rdi
lea rdx, str._total
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000de3d
mov r8d, r15d
mov rdx, rdi
call fcn.14000cd40
test al, al
je 0x14000de3d
lea r9, [rbp - 0x71]
mov qword [rsp + 0x20], r12
lea r8d, [r12 + 0xe]
mov rcx, rdi
lea rdx, str._max
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000de3d
lea r8d, [r12 + 0x64]
mov rdx, rdi
call fcn.14000cd40
test al, al
je 0x14000de3d
lea r9, [rbp - 0x71]
mov qword [rsp + 0x20], r12
lea r8d, [r12 + 0x1c]
mov rcx, rdi
lea rdx, str._maxperpage
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000de3d
lea r8d, [r12 + 0xa]
mov rdx, rdi
call fcn.14000cd40
test al, al
je 0x14000de3d
lea r9, [rbp - 0x71]
mov qword [rsp + 0x20], r12
lea r8d, [r12 + 8]
mov rcx, rdi
lea rdx, str.__r_n
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000de42
mov ebx, 0x80004005
movsxd rsi, esi
test ebx, ebx
js 0x14000def7
xor r15d, r15d
lea r12d, [r14 + 1]
test rsi, rsi
jle 0x14000de92
xor r14d, r14d
mov rax, qword [r13]
lea r8, [rbp - 0x61]
lea r8, [r8 + r15*8]
mov rcx, r13
lea edx, [r12 + r15]
mov rax, qword [rax + 0x40]
call qword [case.0x140033a70.0]
mov ebx, eax
test eax, eax
jns 0x14000de87
and qword [rbp + r14*8 - 0x61], 0
xor ebx, ebx
inc r15d
inc r14
cmp r14, rsi
jl 0x14000de5c
xor r12d, r12d
test ebx, ebx
js 0x14000def7
test rsi, rsi
jle 0x14000decd
mov r15, qword [rbp - 0x69]
mov r14d, r12d
mov r8, qword [rbp + r14*8 - 0x61]
test r8, r8
je 0x14000debe
mov rdx, rdi
mov rcx, r15
call fcn.14000df48
test al, al
je 0x14000dec8
inc r14
cmp r14, rsi
jl 0x14000dea5
jmp 0x14000decd
mov ebx, 0x80004005
test ebx, ebx
js 0x14000def7
lea r9, [rbp - 0x71]
mov qword [rsp + 0x20], r12
mov r8d, 0x1a
lea rdx, str._t__results__r_n
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne al
jmp 0x14000df26
test rsi, rsi
jle 0x14000df1e
mov rdi, r12
mov rcx, qword [rbp + rdi*8 - 0x61]
test rcx, rcx
je 0x14000df16
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140033a70.0]
inc rdi
cmp rdi, rsi
jl 0x14000deff
shr ebx, 0x1f
xor bl, 1
mov al, bl
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.140038c60
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000e80c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov ebx, dword [0x140058094]
or rdi, 0xffffffffffffffff
mov qword [rax - 0x28], rdi
mov r14, r9
mov r15d, r8d
mov rbp, rdx
mov rsi, rcx
call fcn.14000b5dc
lea rcx, str.HELPID
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rcx
lea r9, str._s_s_d.xml
mov rcx, qword [rsp + 0x90]
mov r8, rdi
mov edx, 0x104
mov qword [rsp + 0x20], rax
call fcn.140009010
test eax, eax
jle 0x14000ea11
mov rdx, qword [rsp + 0x90]
lea r8, [rsp + 0x40]
call fcn.14000b7b8
mov rdi, qword [rsp + 0x40]
test al, al
jne 0x14000e8a1
mov ebx, 0x80004005
jmp 0x14000e9f4
lea r8, [0x140042c00]
mov rdx, rdi
call fcn.14000b860
test al, al
je 0x14000e897
mov rdx, rdi
mov rcx, rsi
call fcn.14000b92c
test al, al
je 0x14000e897
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x98]
mov r8d, reloc.OLEAUT32.dll_SafeArrayLock
lea rdx, str._helpid__r_n
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000e897
mov rdx, rdi
mov rcx, rsi
call fcn.14000d5f4
test al, al
je 0x14000e897
mov r8, rbp
mov rdx, rdi
call fcn.14000d780
test al, al
je 0x14000e897
mov r9, r14
mov r8d, r15d
mov rdx, rdi
mov rcx, rsi
call fcn.14000ea30
test al, al
je 0x14000e897
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x98]
mov r8d, SafeArrayPutElement
lea rdx, str.__helpid__r_n
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000e897
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call fcn.14000b9e0
test al, al
je 0x14000e897
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call fcn.14000ba90
test al, al
je 0x14000e897
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call fcn.14000bf44
test al, al
je 0x14000e897
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call fcn.14000c3e0
test al, al
je 0x14000e897
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x98]
mov r8d, 0x1a
lea rdx, str.__assistance_
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000e897
mov rcx, rsi
call fcn.14000f440
xor edx, edx
mov ebx, 0x80004005
test al, al
cmove edx, ebx
mov ebx, edx
cmp rdi, 0xffffffffffffffff
je 0x14000ea03
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
js 0x14000ea11
inc dword [0x140058094]
mov al, 1
jmp 0x14000ea13
xor al, al
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14000ea30
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r15, r9
mov ebp, r8d
mov rsi, rdx
mov r14, rcx
and qword [rax - 0x20], 0
and qword [rax - 0x38], 0
lea r9, [rax - 0x28]
mov r8d, SafeArrayRedim
lea rdx, str._t_results_total
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000ea84
lea ebx, [rax + 1]
jmp 0x14000eb5e
mov r8d, ebp
mov rdx, rsi
call fcn.14000cd40
mov ebx, 1
test al, al
jne 0x14000eaa2
mov edx, 0x80004005
jmp 0x14000eb59
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, 8
lea rdx, str.__r_n
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000ea98
mov edi, ebx
cmp ebp, ebx
jl 0x14000eb2a
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000eaef
and qword [rsp + 0x38], 0
test rcx, rcx
je 0x14000eaef
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140033a70.0]
mov rax, qword [r15]
lea r8, [rsp + 0x38]
mov edx, edi
mov rcx, r15
mov rax, qword [rax + 0x40]
call qword [case.0x140033a70.0]
mov edx, eax
test eax, eax
js 0x14000eb59
mov r8, qword [rsp + 0x38]
mov rdx, rsi
mov rcx, r14
call fcn.14000df48
test al, al
je 0x14000ea98
add edi, ebx
cmp edi, ebp
jle 0x14000eacd
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, 0x1a
lea rdx, str._t__results__r_n
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor ecx, ecx
mov edx, 0x80004005
test eax, eax
cmove ecx, edx
mov edx, ecx
shr edx, 0x1f
xor bl, dl
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000eb75
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x140033a70.0]
mov al, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14000eb90
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x1a70
call fcn.14003a3b0
sub rsp, rax
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x1a60], rax
mov ebp, r9d
mov dword [rsp + 0x44], 0x104
mov r14, r8
mov rcx, rdx
xor r15d, r15d
lea rdx, [rsp + 0x50]
mov word [r8], r15w
or r12, 0xffffffffffffffff
lea r8, [rsp + 0x44]
xor r9d, r9d
mov rdi, r12
call qword [sym.imp.SHLWAPI.dll_PathCreateFromUrlW]
mov ebx, eax
test eax, eax
js 0x14000ec5e
mov qword [rsp + 0x30], r15
lea r8d, [r12 + 2]
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_30726]
mov rdi, rax
cmp rax, r12
jne 0x14000ec2e
mov ebx, 0x80004005
jmp 0x14000ec6c
mov ebx, 0x1800
mov qword [rsp + 0x20], r15
mov r8d, ebx
mov dword [rsp + 0x40], ebx
lea r9, [rsp + 0x40]
mov rcx, rdi
lea rdx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000ec96
mov ebx, 0x80004005
cmp rdi, r12
je 0x14000ec6c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
shr ebx, 0x1f
xor bl, 1
mov al, bl
mov rcx, qword [rsp + 0x1a60]
xor rcx, rsp
call fcn.140038c60
add rsp, 0x1a70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x40]
mov rdi, r12
and rax, 0xfffffffffffffffe
add rax, 0xfffffffffffffffe
cmp rax, rbx
jae 0x14000ed32
lea rbx, str._query_
mov word [rsp + rax + 0x260], r15w
mov rdx, rbx
lea rcx, [rsp + 0x260]
mov r8d, 1
call qword [sym.imp.Mso30Win32Client.dll_Ordinal_45716]
mov rcx, rax
test rax, rax
je 0x14000ec27
mov rax, r12
inc rax
cmp word [rbx + rax*2], r15w
jne 0x14000ece9
cdqe
mov edx, 0x3c
lea rsi, [rcx + rax*2]
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x14000ec27
mov r9d, ebp
mov word [rax], r15w
mov r8, r14
mov rdx, rsi
mov ebx, r15d
call fcn.14000ee9c
test al, al
jne 0x14000ec5e
jmp 0x14000ec27
call fcn.140039118
int3
Function at 0x14000f600
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2400]
mov eax, 0x2500
call fcn.14003a3b0
sub rsp, rax
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rbp + 0x23f0], rax
mov r12, qword [rbp + 0x2460]
mov r14, r8
mov r15, rdx
mov rdi, rcx
mov r13d, 0x206
lea rcx, [rbp + 0x142]
xor ebx, ebx
mov r8d, r13d
xor edx, edx
mov word [rbp + 0x140], bx
call sub.VCRUNTIME140.dll_memset
mov esi, 0x1046
mov word [rbp + 0x13a0], bx
mov r8d, esi
lea rcx, [rbp + 0x13a2]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8d, esi
mov word [rbp + 0x350], bx
xor edx, edx
lea rcx, [rbp + 0x352]
call sub.VCRUNTIME140.dll_memset
test r15, r15
je 0x14000f821
mov r8d, r13d
mov word [rsp + 0x30], bx
xor edx, edx
lea rcx, [rsp + 0x32]
call sub.VCRUNTIME140.dll_memset
or r13, 0xffffffffffffffff
cmp dword [rdi + 0x414], 1
jne 0x14000f6e8
mov rcx, qword [0x1400543a0]
lea rdx, [rsp + 0x30]
call fcn.140008910
test rax, rax
je 0x14000f81d
lea rsi, [rdi + 0x20a]
jmp 0x14000f705
lea rsi, [rdi + 0x20a]
mov r9, r13
mov r8, rsi
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov eax, dword [0x140058088]
test eax, eax
jne 0x14000f71b
call qword [sym.imp.Mso30Win32Client.dll_Ordinal_54986]
mov dword [0x140058088], eax
mov r8, rsi
lea rcx, [rbp + 0x140]
mov esi, 0x104
mov r9d, eax
mov edx, esi
call qword [sym.imp.Mso98Win32Client.dll_Ordinal_20040]
test eax, eax
je 0x14000f81d
lea r9, [rbp + 0x140]
mov qword [rsp + 0x20], r15
lea r8, str._s_content__s
mov rdx, r13
lea rcx, [rbp + 0x13a0]
call fcn.14000fdc8
test eax, eax
jle 0x14000f81d
test r14, r14
je 0x14000f781
mov r9, r13
lea r8, [rbp + 0x13a0]
mov edx, esi
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov rcx, rdi
call fcn.14000b5dc
test rax, rax
je 0x14000f821
mov edi, 0x824
lea rcx, [rbp + 0x350]
mov edx, edi
mov r9, r13
mov r8, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov r8d, edi
lea rdx, [rbp + 0x350]
lea rcx, [0x14004240c]
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_59137]
mov r8d, edi
lea rdx, [rbp + 0x350]
mov rcx, r15
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_59137]
test r12, r12
je 0x14000f7fd
cmp dword [rbp + 0x2468], ebx
jle 0x14000f7fd
movsxd rdx, dword [rbp + 0x2468]
lea r8, [rbp + 0x350]
mov r9, r13
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea r8, [rbp + 0x350]
xor ecx, ecx
lea rdx, [rbp + 0x13a0]
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov bl, 1
mov al, bl
jmp 0x14000f823
xor al, al
mov rcx, qword [rbp + 0x23f0]
xor rcx, rsp
call fcn.140038c60
mov rbx, qword [rsp + 0x2558]
add rsp, 0x2500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000fa48
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x10a0
call fcn.14003a3b0
sub rsp, rax
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x1090], rax
or rsi, 0xffffffffffffffff
mov rbp, rdx
mov qword [rsp + 0x30], rsi
mov r15, rcx
call fcn.14000b310
xor edi, edi
test al, al
je 0x14000fbdb
mov rcx, r15
call fcn.14000f440
test al, al
je 0x14000fbdb
lea r8d, [rsi + 2]
mov rcx, rbp
lea rdx, str._html
call qword [sym.imp.Mso30Win32Client.dll_Ordinal_45716]
test rax, rax
je 0x14000fad6
lea r8d, [rsi + 2]
mov rcx, rbp
lea rdx, str.__html_
call qword [sym.imp.Mso30Win32Client.dll_Ordinal_45716]
mov r14b, 1
test rax, rax
jne 0x14000fad9
mov r14b, dil
mov ebx, dword [0x14005808c]
mov rcx, r15
call fcn.14000b5dc
lea rcx, str._s_s._d.htm
mov dword [rsp + 0x28], ebx
test r14b, r14b
lea r8, str._s_s._d.xml
mov r9, rax
mov rdx, rsi
cmovne r8, rcx
lea rcx, str.FORMATTED
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.14000fdc8
test eax, eax
jle 0x14000fbdb
inc dword [0x14005808c]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14000b7b8
test al, al
je 0x14000fbdb
mov rbx, qword [rsp + 0x30]
test r14b, r14b
jne 0x14000fb93
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov r8d, 0x2e
lea rdx, str.__xml_version1.0___r_n
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000fbdb
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov r8d, 0x6e
lea rdx, str.__xml_stylesheet_typetext_xsl_hrefmessage.xsl___r_n
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000fbdb
test rbp, rbp
je 0x14000fbdb
inc rsi
cmp word [rbp + rsi*2], di
jne 0x14000fb98
lea r8d, [rsi + rsi]
test r8d, r8d
je 0x14000fbc5
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000fbdb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
call fcn.14000460c
mov dil, 1
mov al, dil
mov rcx, qword [rsp + 0x1090]
xor rcx, rsp
call fcn.140038c60
mov rbx, qword [rsp + 0x10e0]
add rsp, 0x10a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140011cb8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov edx, 1
mov ecx, 0x110
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_52497]
mov rbx, rax
test rax, rax
jne 0x140011cec
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_59938]
int3
and dword [rax + 8], 0
lea rcx, [rbx + 0x10]
and dword [rax + 0xc], 0
or r9, 0xffffffffffffffff
lea rax, vtable.CLViewHelpIDNavigationRequest.0
mov r8, rdi
mov edx, 0x80
mov qword [rbx], rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov rdx, rbx
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140010f10
Function at 0x140011d30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
mov eax, 0x10b0
call fcn.14003a3b0
sub rsp, rax
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x10a0], rax
mov rsi, qword [0x1400543d0]
mov r14d, r8d
mov rcx, rsi
mov rbp, rdx
call fcn.14000b310
xor edi, edi
test al, al
je 0x140011e2f
mov rcx, rsi
call fcn.14000f440
test al, al
je 0x140011e2f
mov ebx, dword [0x140058090]
mov rcx, rsi
call fcn.14000b5dc
lea rcx, str.HTMLMESSAGE
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
lea r8, str._s_s._d.htm
lea rcx, [rsp + 0x50]
mov r9, rax
or rdx, 0xffffffffffffffff
call fcn.14000fdc8
test eax, eax
jle 0x140011e2f
inc dword [0x140058090]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_30726]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140011e2f
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
mov r8d, r14d
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x50]
call fcn.14000460c
mov dil, 1
mov al, dil
mov rcx, qword [rsp + 0x10a0]
xor rcx, rsp
call fcn.140038c60
lea r11, [rsp + 0x10b0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140013c04
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor esi, esi
xor eax, eax
mov r8d, ecx
mov qword [rbp - 0x28], rsi
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x30], rsi
mov word [rbp - 0x20], si
lea r9d, [rsi + 0xa]
mov qword [rbp - 0x1e], rax
lea edx, [rsi + 5]
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_14177]
lea rdx, [rbp - 0x30]
lea rcx, [0x140043ee8]
call qword [sym.imp.Mso20Win32Client.dll_Ordinal_60862]
lea r14d, [rsi + 1]
test eax, eax
je 0x140013c6f
mov ebx, 0x80004005
jmp 0x140013c9a
mov rcx, qword [rbp - 0x30]
lea rax, [rbp - 0x28]
mov r9d, r14d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, 0x80004005
mov ecx, esi
test eax, eax
cmovne ecx, ebx
mov ebx, ecx
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140013ca9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rdi, rsi
cmovns rdi, qword [rbp - 0x28]
test rdi, rdi
jne 0x140013cbd
lea eax, [rdi + 2]
jmp 0x140013d19
lea rax, [rbp - 0x40]
mov dword [rbp - 0x40], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x3c]
lea rax, [rbp - 0x38]
xor r8d, r8d
lea rdx, str.UseLegacySearch
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov ebx, 2
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140013d0e
cmp dword [rbp - 0x3c], 4
jne 0x140013d0e
mov eax, dword [rbp - 0x38]
test eax, eax
jne 0x140013d07
mov ebx, esi
jmp 0x140013d0e
cmp eax, r14d
cmove ebx, r14d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140038c60
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140013e40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rbp, rdx
mov rsi, r8
mov edx, 1
call fcn.140013d3c
xor ebx, ebx
mov rdi, rax
test rax, rax
je 0x140013eab
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140013ea2
cmp dword [rsp + 0x68], 4
sete bl
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret