joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017360
Capabilities:
Read .ini file

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400470b0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor eax, eax
mov word [rsp + 0x50], ax
lea rax, [rsp + 0x52]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400173be
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov rdx, qword [str.pculog.configure]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x50]
call fcn.140008550
movzx eax, al
test eax, eax
je 0x140017470
lea rdx, str.logging_setting
lea rcx, [rsp + 0x28]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x28]
call fcn.1400032d0
lea r9, [rsp + 0x50]
mov r8d, 1
lea rdx, str.PerformanceLog
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x14001742e
mov byte [rsp + 0x20], 0
jmp 0x140017433
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov byte [0x140047041], al
lea rcx, [rsp + 0x28]
call fcn.1400032d0
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.LoggingLevel
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x14004a35c], eax
lea rcx, [rsp + 0x28]
call fcn.140002c20
mov al, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140019e10
add rsp, 0x270
pop rdi
ret
Function at 0x1400174a0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x1b0
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1400470b0]
xor rax, rbp
mov qword [rbp + 0x160], rax
movzx eax, byte [0x140047040]
test eax, eax
je 0x14001766d
mov eax, dword [0x14004a35c]
cmp dword [rbp + 0x188], eax
jg 0x14001766d
mov edx, 0x80
lea rcx, [rbp + 0x60]
call fcn.140017690
lea rcx, [rbp + 0x38]
call fcn.140002be0
nop
mov r9, qword [rbp + 0x180]
lea r8, [rbp + 0x60]
lea rdx, str._s____s_r_n
lea rcx, [rbp + 0x38]
call fcn.1400037d0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, [0x14004a150]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
je 0x140017664
call fcn.140007c10
mov dword [rbp + 0x14], eax
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rbp + 0x10], 0
lea rcx, [rbp + 0x38]
call fcn.1400032d0
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x18], 0
jne 0x1400175a8
mov qword [rbp + 0x28], 0
jmp 0x140017628
mov rcx, qword [rbp + 0x18]
call fcn.14001a680
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x1400175c9
mov qword [rbp + 0x20], 0
jmp 0x140017620
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x30], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x1400175f1
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.14001bd60
sub rsp, rax
lea rax, [rsp + 0x40]
mov r9d, dword [rbp + 0x14]
mov rcx, qword [rbp + 0x30]
mov r8d, ecx
mov rdx, qword [rbp + 0x18]
mov rcx, rax
call fcn.140007b80
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x38]
call fcn.1400032f0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x10]
mov r8d, eax
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x38]
call fcn.140002c20
mov rcx, qword [rbp + 0x160]
xor rcx, rbp
call fcn.140019e10
lea rsp, [rbp + 0x170]
pop rbp
ret

Function at 0x140017980
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x10], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x10], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x10325476
ret
Function at 0x14000339c
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
mov eax, 0x2050
call fcn.140026b20
sub rsp, rax
mov rax, qword [0x140076088]
xor rax, rsp
mov qword [rsp + 0x2040], rax
mov r10, r8
mov qword [rsp + 0x28], rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x20], 0x1000
mov rdx, r10
mov word [rsp + 0x40], di
lea r9, [rsp + 0x40]
lea r8, [0x1400673a8]
lea rcx, str.Bugsplat
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rbx + 0x10], rdi
lea rdx, [rsp + 0x40]
mov qword [rbx + 0x18], 7
mov rcx, rbx
mov word [rbx], di
call fcn.140005c50
mov rax, rbx
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.140025e90
mov rbx, qword [rsp + 0x2078]
add rsp, 0x2050
pop rdi
ret
Function at 0x14000ff0c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x14000ff9e
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x14000ff78
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ff97
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000ff97
mov rdx, qword [rdi]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call rax
jmp 0x14000ff87
cmp dword [rdi + 8], 0
je 0x14000ff97
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov eax, 1
jmp 0x14000ff87
cmp byte [0x1400796c0], 0
jne 0x14000ffe9
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ffd5
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
mov qword [0x1400796b8], rax
jmp 0x14000ffdc
mov r10, qword [0x1400796b8]
mov eax, 1
mov byte [0x1400796c0], al
jmp 0x14000fff0
mov r10, qword [0x1400796b8]
mov rcx, qword [rbx]
mov rdx, rsi
test r10, r10
je 0x14000ff81
mov r8d, dword [rbx + 8]
xor r9d, r9d
call r10
jmp 0x14000ff87
Function at 0x140010b34
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x140076088]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x70], rdi
xor edx, edx
lea r8d, [rdi + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140010bc1
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140010bc1
call fcn.14000f0c4
mov ebx, eax
jmp 0x140010ccc
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140010be2
call fcn.14000f0c4
jmp 0x140010cbb
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 0x140010bd8
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 0x140010c1d
mov ebx, 0x8007000e
jmp 0x140010cbd
mov ecx, eax
test eax, eax
je 0x140010c4f
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140010d04
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140010c4f
lea rcx, [rsp + 0x70]
call fcn.14000f098
jmp 0x140010c59
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x140010c6b
cmp qword [rsp + 0x70], rdi
je 0x140010c13
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
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 0x140010bd8
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], di
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14001098c
mov ebx, eax
test rsi, rsi
je 0x140010ccc
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x140010ce3
lea rcx, [rsp + 0x70]
call fcn.14000f078
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140025e90
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.14000fc30
int3
Function at 0x140013c6c
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
xor r8d, r8d
cmp byte [rcx + 0xa3], r8b
je 0x140013c8c
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.14000e590
Function at 0x140014b00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140076088]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdi, [rcx + 0xb8]
mov rbx, rcx
mov rdx, qword [rdi]
cmp dword [rdx - 0x10], 0
jne 0x140014b75
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rdx, str.bugsplat.log
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x30]
call fcn.14002adf0
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14000e3b0
mov rdx, qword [rbx + 0xb8]
and qword [rsp + 0x20], 0
lea r8, str.a__ccsUTF_8
lea rcx, [rsp + 0x20]
call fcn.14003937c
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140025e90
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x140015aec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
movzx r8d, word [rdx + 0xe]
mov rsi, rdx
movzx edx, word [rcx + 0xe]
mov rdi, rcx
mov al, dl
xor al, r8b
test al, 7
jne 0x140015cf9
mov ecx, edx
mov ebp, 1
and ecx, 7
sub ecx, 3
je 0x140015c7b
sub ecx, ebp
je 0x140015c32
sub ecx, ebp
je 0x140015c22
cmp ecx, ebp
jne 0x140015c1a
movzx eax, dx
shr ax, 9
test bpl, al
jne 0x140015b6c
movzx eax, r8w
shr ax, 9
test bpl, al
jne 0x140015b6c
mov rax, qword [rsi]
cmp qword [rdi], rax
sete al
jmp 0x140015cfb
movsd xmm2, qword [0x14006ab50]
mov ecx, 0x200
test cx, dx
je 0x140015b84
movsd xmm1, qword [rdi]
jmp 0x140015bc0
test dl, 0x20
je 0x140015b93
movd xmm1, dword [rdi]
cvtdq2pd xmm1, xmm1
jmp 0x140015bc0
xorps xmm1, xmm1
test dl, 0x40
je 0x140015ba4
mov eax, dword [rdi]
cvtsi2sd xmm1, rax
jmp 0x140015bc0
test dl, dl
jns 0x140015baf
cvtsi2sd xmm1, qword [rdi]
jmp 0x140015bc0
mov rax, qword [rdi]
cvtsi2sd xmm1, rax
test rax, rax
jns 0x140015bc0
addsd xmm1, xmm2
test cx, r8w
je 0x140015bcc
movsd xmm0, qword [rsi]
jmp 0x140015c0b
test r8b, 0x20
je 0x140015bdc
movd xmm0, dword [rsi]
cvtdq2pd xmm0, xmm0
jmp 0x140015c0b
xorps xmm0, xmm0
test r8b, 0x40
je 0x140015bee
mov eax, dword [rsi]
cvtsi2sd xmm0, rax
jmp 0x140015c0b
test r8b, r8b
jns 0x140015bfa
cvtsi2sd xmm0, qword [rsi]
jmp 0x140015c0b
mov rax, qword [rsi]
cvtsi2sd xmm0, rax
test rax, rax
jns 0x140015c0b
addsd xmm0, xmm2
comisd xmm1, xmm0
jb 0x140015c17
comisd xmm0, xmm1
jae 0x140015c1a
xor bpl, bpl
mov al, bpl
jmp 0x140015cfb
mov rdx, rsi
mov rcx, rdi
call fcn.140015dac
jmp 0x140015cfb
mov eax, dword [rdi]
cmp eax, dword [rsi]
jne 0x140015cf9
xor ebx, ebx
test eax, eax
je 0x140015c1a
movabs r14, 0xffffffffffff
mov rdx, qword [rsi + 8]
mov rcx, qword [rdi + 8]
and rdx, r14
and rcx, r14
mov eax, ebx
shl rax, 4
add rdx, rax
add rcx, rax
call fcn.140015aec
test al, al
je 0x140015cf9
add ebx, ebp
cmp ebx, dword [rdi]
jb 0x140015c4c
jmp 0x140015c1a
mov eax, dword [rdi]
cmp eax, dword [rsi]
jne 0x140015cf9
mov rbx, qword [rdi + 8]
movabs r14, 0xffffffffffff
and rbx, r14
shl rax, 5
add rax, rbx
cmp rbx, rax
je 0x140015c1a
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140015d10
mov ecx, dword [rsi]
shl rcx, 5
mov rdx, qword [rax]
mov rax, qword [rsi + 8]
and rax, r14
add rcx, rax
cmp rdx, rcx
je 0x140015cf9
add rdx, 0x10
lea rcx, [rbx + 0x10]
call fcn.140015aec
test al, al
je 0x140015cf9
mov edx, dword [rdi]
add rbx, 0x20
mov rcx, qword [rdi + 8]
shl rdx, 5
and rcx, r14
add rdx, rcx
cmp rbx, rdx
jne 0x140015ca2
jmp 0x140015c1a
xor al, al
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140018940
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
mov ebx, 1
mov ecx, dword [rcx + 0x90]
mov sil, bl
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x1400189ae
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x30], rcx
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
movsxd rcx, eax
mov qword [rsp + 0x38], rcx
mov rcx, qword [rdi + 8]
mov dword [rsp + 0x40], 0xfffffffe
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov rcx, qword [rdi + 8]
movsxd rbx, eax
call qword [sym.imp.USER32.dll_GetParent]
mov r8, rbx
lea r9, [rsp + 0x30]
mov edx, 0x4e
jmp 0x1400189d8
shr ecx, 2
test bl, cl
je 0x1400189e3
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov rcx, qword [rdi + 8]
mov ebx, eax
call qword [sym.imp.USER32.dll_GetParent]
mov r9, qword [rdi + 8]
mov edx, VarUI4FromDisp
movzx r8d, bx
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140018a23
mov r8, qword [rdi + 0x50]
lea rdx, str.open
mov dword [rsp + 0x28], ebx
xor r9d, r9d
and qword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
seta sil
jbe 0x140018a23
or byte [rdi + 0x94], 2
mov r8d, ebx
mov rcx, qword [rdi + 8]
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rbx, qword [rsp + 0x60]
mov al, sil
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14001a0e8
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
lea rax, [rcx - 0x40]
mov rbx, r8
neg rcx
mov r14d, edx
mov edi, 1
sbb rsi, rsi
xor r12d, r12d
and rsi, rax
mov rcx, qword [rsi + 8]
cmp dword [rsp + 0x60], r12d
je 0x14001a20d
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov r15, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rbp, eax
test eax, eax
js 0x14001a269
mov rdx, qword [rbx]
mov ecx, edi
mov eax, dword [rdx - 0xc]
sub ecx, dword [rdx - 8]
sub eax, ebp
or ecx, eax
jge 0x14001a16a
mov edx, ebp
mov rcx, rbx
call fcn.14000e350
mov rdx, qword [rbx]
cmp ebp, dword [rdx - 0xc]
jg 0x14001a269
mov dword [rdx - 0x10], ebp
lea r8d, [rbp + 1]
mov rax, qword [rbx]
mov rcx, r15
mov word [rax + rbp*2], r12w
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
mov r15d, eax
test rcx, rcx
jne 0x14001a19b
mov eax, r12d
jmp 0x14001a1ac
movsxd rdx, dword [rcx - 0xc]
call fcn.14002af1c
test eax, eax
js 0x14001a269
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14001a269
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], r12w
cmp r15d, ebp
jge 0x14001a1d0
mov edi, r12d
jmp 0x14001a21c
mov rax, qword [rbx]
cmp dword [rax - 0x10], 0x1000
jle 0x14001a248
or ecx, 0xffffffff
call qword [sym.imp.USER32.dll_MessageBeep]
lea rax, [rsi + 0x40]
mov edx, r14d
neg rax
sbb rcx, rcx
and rcx, rsi
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
mov edi, r12d
jmp 0x14001a248
mov r8, qword [r8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, eax
test eax, eax
jne 0x14001a248
or ecx, 0xffffffff
call qword [sym.imp.USER32.dll_MessageBeep]
lea rcx, [rsi + 0x40]
mov edx, r14d
neg rcx
sbb rcx, rcx
and rcx, rsi
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
mov ecx, 0x80070057
call fcn.14000fc30
int3
Function at 0x14001aa6c
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r9
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x14001aa9a
xor eax, eax
jmp 0x14001aaa2
mov rcx, rdi
call fcn.14002adf0
mov r8d, eax
lea rcx, [rbx + 0x70]
mov rdx, rdi
call fcn.14000e3b0
test rsi, rsi
jne 0x14001aaba
xor eax, eax
jmp 0x14001aac2
mov rcx, rsi
call fcn.14002adf0
mov r8d, eax
lea rcx, [rbx + 0x78]
mov rdx, rsi
call fcn.14000e3b0
test rbp, rbp
jne 0x14001aada
xor eax, eax
jmp 0x14001aae2
mov rcx, rbp
call fcn.14002adf0
mov r8d, eax
lea rcx, [rbx + 0x80]
mov rdx, rbp
call fcn.14000e3b0
mov rdi, qword [rsp + 0x50]
test rdi, rdi
jne 0x14001ab02
xor eax, eax
jmp 0x14001ab0a
mov rcx, rdi
call fcn.14002adf0
mov r8d, eax
lea rcx, [rbx + 0x88]
mov rdx, rdi
call fcn.14000e3b0
lea rcx, [rbx + 0x60]
call fcn.140014f54
mov rsi, qword [rsp + 0x58]
xor edi, edi
mov eax, dword [rsi + 8]
test eax, eax
jle 0x14001ab57
test edi, edi
js 0x14001ab79
cmp edi, eax
jge 0x14001ab79
mov rax, qword [rsi]
movsxd rcx, edi
lea rdx, [rax + rcx*8]
lea rcx, [rbx + 0x60]
call fcn.140014fc8
mov eax, dword [rsi + 8]
inc edi
cmp edi, eax
jl 0x14001ab33
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.14001ab8c
mov edx, 1
mov ecx, 0xc000008c
call fcn.14000f0f0
int3
Function at 0x14001b770
Capabilities:
Hide graphical window

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov esi, edx
mov rdi, rcx
test r8b, r8b
jne 0x14001b79a
mov byte [rcx + 0xa0], 1
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14001b894
call fcn.14000de5c
mov rcx, rax
test rax, rax
je 0x14001b8a4
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov edx, 0xbb8
lea rcx, [rsp + 0x40]
call fcn.14000e120
mov rbx, qword [rsp + 0x40]
cmp esi, 1
jne 0x14001b814
cmp byte [rdi + 0xa0], 0
je 0x14001b7fb
mov rdx, rbx
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, 5
mov edx, esi
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, esi
mov rcx, qword [rdi + 0x50]
jmp 0x14001b873
cmp esi, 2
jne 0x14001b87a
cmp byte [rdi + 0xa0], 0
je 0x14001b82f
mov rdx, rbx
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, 5
mov edx, esi
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, esi
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, esi
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [rdi + 0xa0], 0
jne 0x14001b87a
mov edx, esi
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001b894
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.14000fc30
int3
Function at 0x14001bde8
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x3a8]
sub rsp, 0x480
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x140076088]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor r14d, r14d
mov word [rsp + 0x50], r14w
lea rdx, [rsp + 0x50]
mov r15d, 0x104
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test rdi, rdi
je 0x14001bece
lea rcx, [rsp + 0x50]
call fcn.14002adf0
cmp word [rsp + rax*2 + 0x4e], 0x5c
je 0x14001be7b
cmp word [rsp + rax*2 + 0x4e], 0x2f
je 0x14001be7b
lea r8, [0x140069618]
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.1400397f8
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400397f8
lea r8, [0x1400666a8]
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400397f8
mov r8, rbx
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400397f8
lea rcx, [rsp + 0x50]
call fcn.14002adf0
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14000e3b0
jmp 0x14001bfb4
lea rcx, [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoCreateGuid]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.14000e508
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
lea rcx, [rsp + 0x20]
call fcn.14001b974
lea rcx, [0x1400666a8]
call fcn.14002adf0
mov r8d, eax
lea rdx, [0x1400666a8]
lea rcx, [rsp + 0x20]
call fcn.1400195a8
test rbx, rbx
jne 0x14001bf38
mov eax, r14d
jmp 0x14001bf40
mov rcx, rbx
call fcn.14002adf0
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400195a8
lea r8, [rsp + 0x50]
mov rdx, r15
lea rcx, [rbp + 0x160]
call fcn.140039790
mov rdx, qword [rsp + 0x20]
lea rcx, [rbp + 0x160]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rbp + 0x160]
call fcn.14002adf0
mov r8d, eax
lea rdx, [rbp + 0x160]
mov rcx, rsi
call fcn.14000e3b0
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001bfb4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, 1
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140025e90
mov rbx, qword [rsp + 0x4c8]
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001bfe0
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x50
mov ecx, 0xa8
mov rbx, rdx
call fcn.140025ee8
mov rcx, rax
mov qword [rsp + 0x60], rax
call fcn.14001b404
lea rcx, [rsp + 0x30]
mov rdi, rax
call fcn.14001b3f0
mov qword [rsp + 0x30], rdi
lea rax, [fcn.140012da4]
mov rcx, qword [rdi + 0x98]
lea r9, [rsp + 0x30]
and dword [rsp + 0x70], 0
lea r8, [0x14001b8b0]
mov qword [rsp + 0x48], rcx
mov cl, byte [rbx + 0xa3]
neg cl
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rbx
sbb edx, edx
mov qword [rsp + 0x28], rax
and edx, 0x7fffffc
xor ecx, ecx
add edx, 4
mov dword [rsp + 0x20], edx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x14001c091
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rbx
mov qword [rdi + 0x90], rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp qword [rdi + 0x28], 0
mov rsi, rax
jne 0x14001c0d5
call fcn.140025c94
mov qword [rdi + 0x28], rax
test rax, rax
jne 0x14001c0d5
lea ecx, [rax + 0xe]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14001c146
mov rcx, qword [rdi + 0x28]
xor r8d, r8d
xor edx, edx
call fcn.140025dc4
lea rbx, [rdi + 0x10]
test rbx, rbx
je 0x14001c150
mov qword [rbx], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [0x140079748]
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x140079770]
lea rcx, [0x140079748]
mov qword [rbx + 0x10], rax
mov qword [0x140079770], rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x140078210]
lea r9, [0x1400157dc]
and qword [rsp + 0x20], 0
mov r8, rsi
mov edx, 0x3e9
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov eax, 1
jmp 0x14001c081
mov edx, 1
mov ecx, 0xc0000005
call fcn.14000f0f0
int3