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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1405bb729], 0
mov rbp, rcx
mov r12, rdx
mov rdi, r8
je 0x140547128
lea rdx, [0x140578d72]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140547190
mov rbx, qword [0x1405bb5e0]
jmp 0x1405470e5
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x1405470e0
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, rbp
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.140536250
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x1405bb5e0], rax
mov ebx, dword [rax]
mov qword [0x1405bb5e0], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1405bb5e0], rdx
call fcn.1405461d0
cmp eax, ebx
jne 0x1405471f8
mov byte [0x1405bb729], 1
jmp 0x1405470bc
cmp byte [0x1405bb728], 0
jne 0x1405470d3
mov rbx, qword [sym.imp.python311.dll_PyDict_New]
call rbx
mov qword [0x1405bc088], rax
call rbx
mov qword [0x1405bc080], rax
call rbx
mov qword [0x1405bc078], rax
call rbx
mov qword [0x1405bc070], rax
call rbx
mov qword [0x1405bc068], rax
call rbx
mov qword [0x1405bc060], rax
call rbx
mov qword [0x1405bc058], rax
call rbx
mov byte [0x1405bb728], 1
mov qword [0x1405bc050], rax
jmp 0x1405470d3
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x1405509d0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.140562160
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140562160
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x1405516a2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1405bc548]
test eax, eax
je 0x14055173a
lea rax, [0x1405bc520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1405bc550]
mov qword [rbp - 8], rax
jmp 0x14055171e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140551712
cmp qword [rbp - 0x10], 0
je 0x140551712
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1405516d8
lea rax, [0x1405bc520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14055173b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140551840
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140551868
mov eax, 0
jmp 0x1405518b6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140551891
mov eax, 0
jmp 0x1405518b6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1405518b1
mov eax, 0
jmp 0x1405518b6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1405518bc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14055193a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140551931
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140551931
mov rax, qword [rbp - 8]
jmp 0x14055194f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140551904
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000a330
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov dword [rsp + 0x34], eax
mov rbx, rdx
mov dword [rsp + 0x30], esi
mov rdi, rcx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
lea r8d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14000a37c
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000a3ca
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000a3c5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000a3e9
mov rcx, r8
call fcn.14002bc50
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.1400321dc
int3

Function at 0x14000a3f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x30], esi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
add eax, eax
mov qword [rsp + 0x20], rsi
lea r8d, [rsi + 4]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x14000a43e
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
add r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000a494
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000a48f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000a4b3
mov rcx, r8
call fcn.14002bc50
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], 7
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.1400321dc
int3
Function at 0x14000c3f0
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x140072048]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r13, r9
mov qword [rsp + 0x30], r8
mov rsi, rdx
mov qword [rsp + 0x38], rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rbx, qword [rsp + 0xe0]
cmp qword [rcx + 0x18], 8
jb 0x14000c43a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000c474
xor r12d, r12d
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
lea r8d, [r12 + 0x19]
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, rsi
call fcn.140001e70
jmp 0x14000c599
mov ecx, 0x208
call fcn.14002bf10
mov rbp, rax
xor r12d, r12d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r12w
lea rdi, [r12 - 1]
mov r15d, 0x104
mov rsi, qword [rsp + 0x30]
lea r12d, [rdi + 2]
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x14000c4be
mov rax, qword [r14]
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000c4cb
mov r8, qword [rbx]
mov rdx, r13
cmp qword [r13 + 0x18], 8
jb 0x14000c4d9
mov rdx, qword [r13]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14000c4e6
mov rcx, qword [rsi]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r15 - 1]
cmp eax, ecx
jb 0x14000c55d
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000c50e
mov r8, qword [rbx]
mov rax, rbp
sub r8, rbp
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000c528
add rax, 2
test ecx, ecx
jne 0x14000c514
test edx, edx
je 0x14000c55d
mov rcx, rbp
call fcn.14002bc50
inc r12d
imul r15d, r12d, 0x104
mov ecx, r15d
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14002bf10
mov rbp, rax
jmp 0x14000c4b1
mov rsi, qword [rsp + 0x38]
xor r12d, r12d
inc rdi
cmp word [rbp + rdi*2], r12w
jne 0x14000c565
mov r8, rdi
mov rdx, rbp
lea rcx, [rsp + 0x48]
call fcn.140001e70
mov rcx, rbp
call fcn.14002bc50
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14002bc30
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000d3e0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140072048]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor r14d, r14d
mov dword [rsp + 0x24], r14d
lea rdx, [0x140075900]
lea rcx, [0x140075540]
call fcn.14000a530
nop
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
xor r8d, r8d
lea rdx, [0x140062448]
lea rcx, [rsp + 0x40]
call fcn.140001e70
mov dword [rsp + 0x24], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.14002dca0
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000d54e
cmp eax, 0x104
je 0x14000d54e
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x14000d54e
mov ecx, esi
call fcn.14002bf10
mov rdi, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.14002dca0
mov dword [rsp + 0x28], r14d
mov r9, rdi
mov r8d, esi
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000d546
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, str.StringFileInfo000004b0ProductVersion
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000d546
mov rdx, qword [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000d530
lea rcx, [rsp + 0x40]
call fcn.140001e70
nop
mov rcx, rdi
call fcn.14002bc50
lea rdx, [rsp + 0x40]
lea rcx, [0x140075860]
call fcn.140001c90
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000d59e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d599
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d5ca
call fcn.14002bc50
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14002bc30
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400321dc
int3
Function at 0x14000e5f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
lea rcx, [0x140075990]
call fcn.14002b208
test eax, eax
jne 0x14000e67a
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x40], rdi
lea r8d, [rax + 4]
xor edi, edi
mov dword [rsp + 0x50], 2
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbx + 0x170]
lea r9, [rsp + 0x48]
mov rcx, qword [rbx + 8]
lea r8d, [rdi + 4]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x140075990]
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
jmp fcn.14002b210
mov ecx, eax
call fcn.14002ae30
int3

Function at 0x14000fae0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x50], rdx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
mov rdi, qword [0x140075428]
lea r14, [0x140075990]
mov qword [rsp + 0x58], r14
mov rcx, r14
call fcn.14002b208
test eax, eax
jne 0x14000fc17
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x30]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140001d90
mov rdx, rax
mov rcx, rdi
call fcn.14000a330
nop
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x38]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rsi, dword [rsp + 0x30]
mov qword [rbx], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], bpl
mov dword [rsp + 0x40], 2
mov rdx, rsi
mov rax, qword [rbx + 0x18]
cmp rsi, 0xf
jbe 0x14000fbd0
mov rcx, rbx
call fcn.1400080c0
mov qword [rbx + 0x10], rbp
mov rax, qword [rbx + 0x18]
mov rdx, rbx
cmp rax, 0x10
jb 0x14000fbdc
mov rdx, qword [rbx]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x48]
mov r8d, esi
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
mov rcx, r14
call fcn.14002b210
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, eax
call fcn.14002ae30
int3
Function at 0x1400107e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140072048]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, ecx
mov rbx, r8
xor ecx, ecx
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, di
mov r8, rsi
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x14001090c
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rsi
mov rcx, r14
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test rdi, rdi
je 0x14001090c
test eax, eax
je 0x14001090c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14001090c
mov rcx, qword [rbx]
mov qword [rbx + 8], rcx
mov rax, qword [rbx + 0x10]
sub rax, rcx
mov dword [rbp - 0x28], 0x4891f10c
mov dword [rbp - 0x24], 0xef68d26b
mov dword [rbp - 0x20], 0x9c0ed04c
mov dword [rbp - 0x1c], 0xadd46b57
mov dword [rbp - 0x18], 0xd8afea78
mov dword [rbp - 0x14], 0x4ec3803d
mov dword [rbp - 0x10], 0xe10c90d4
mov dword [rbp - 0xc], 0x4cbd15bd
cmp rsi, rax
jbe 0x1400108c2
mov edx, esi
mov rcx, rbx
call fcn.140010950
xor edi, edi
test rsi, rsi
je 0x140010908
nop dword [rax]
mov rdx, qword [rbx + 8]
mov rax, rdi
and eax, 0x1f
movzx ecx, byte [rbp + rax - 0x28]
xor cl, byte [rdi + r14]
mov byte [rbp - 0x30], cl
cmp rdx, qword [rbx + 0x10]
je 0x1400108f4
mov byte [rdx], cl
inc qword [rbx + 8]
jmp 0x140010900
lea r8, [rbp - 0x30]
mov rcx, rbx
call fcn.140010a40
inc rdi
cmp rdi, rsi
jb 0x1400108d0
mov al, 1
jmp 0x14001090e
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14002bc30
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140010bc0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov ecx, 1
call fcn.14002bc84
lea rcx, [rsp + 0x38]
xor ebx, ebx
mov qword [rsp + 0x28], rcx
lea r8, [0x1400110a0]
xor ecx, ecx
mov dword [rsp + 0x20], ebx
mov r9, rax
xor edx, edx
call fcn.140036818
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140010cbb
call fcn.140010ce0
test al, al
je 0x140010c7c
mov rax, qword [0x140075428]
test rax, rax
je 0x140010c4a
cmp dword [rax + 0x390], 1
jne 0x140010c46
lea rcx, [rax + 0xd0]
call fcn.14001fea0
test eax, eax
jle 0x140010c3f
lea ecx, [rax + rax*4]
lea ecx, [rcx*8 + 0xfa]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [0x140075428]
mov byte [rax + 0x10], 1
cmp dword [rsp + 0x38], ebx
je 0x140010cd5
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rsp + 0x38], eax
je 0x140010cca
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
xor edx, edx
movdqa xmmword [rsp + 0x40], xmm0
call fcn.14002af20
test eax, eax
jne 0x140010cb0
jmp 0x140010ca0
cmp dword [rsp + 0x38], ebx
je 0x140010cd5
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.14002aefc
test eax, eax
jne 0x140010ca8
mov ebx, 0xffffffff
mov eax, ebx
add rsp, 0x50
pop rbx
ret
mov ecx, eax
call fcn.14002ae30
int3
mov ecx, 2
call fcn.14002ae6c
int3
mov ecx, 6
mov dword [rsp + 0x38], ebx
call fcn.14002ae6c
int3
mov ecx, 5
call fcn.14002ae6c
int3
mov ecx, 1
call fcn.14002ae6c
int3
Function at 0x140011d20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140072048]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov edi, r9d
mov rbx, rdx
test r8b, r8b
jne 0x140011e10
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.140010070
nop
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.140010070
mov dword [rsp + 0xa0], edi
mov ecx, 0x48
call fcn.14002bc84
mov rbx, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140010070
nop
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x80]
call fcn.140010070
mov ecx, dword [rsp + 0xa0]
mov dword [rbx + 0x40], ecx
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
xor edi, edi
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x140016670]
xor edx, edx
xor ecx, ecx
call fcn.140036818
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140011e53
lea rcx, [rsp + 0x60]
call fcn.140011e80
cmp dword [rsp + 0x48], edi
je 0x140011e62
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.14002aefc
test eax, eax
jne 0x140011e6d
jmp 0x140011e32
cmp qword [rdx + 0x18], 8
jb 0x140011e1a
mov rbx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x140011e24
mov rcx, qword [rcx]
mov r8, rbx
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14002bc30
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret
mov dword [rsp + 0x48], edi
mov ecx, 6
call fcn.14002ae6c
nop
mov ecx, 1
call fcn.14002ae6c
int3
mov ecx, eax
call fcn.14002ae30
int3

Function at 0x140011f40
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140072048]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x140011fa6
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140001e70
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x1400669a0]
mov rcx, rbx
call fcn.140002ce0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14002bc30
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x1400205c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x140072048]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movzx edi, r8b
lea rcx, [rsp + 0x60]
call fcn.140001d90
mov rsi, rax
mov qword [rsp + 0x40], rax
mov rbx, qword [0x140075428]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140001d90
mov byte [rsp + 0xa0], dil
mov qword [rsp + 0xa8], rbx
mov ecx, 0x30
call fcn.14002bc84
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x90]
movups xmmword [rax + 0x10], xmm1
xor ebp, ebp
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsp + 0x80], bpl
mov byte [rax + 0x20], dil
mov qword [rax + 0x28], rbx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x140010610]
xor edx, edx
xor ecx, ecx
call fcn.140036818
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140020745
cmp dword [rsp + 0x38], ebp
je 0x140020754
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.14002aefc
test eax, eax
jne 0x14002075f
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140020707
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140020702
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002073f
mov rcx, r8
call fcn.14002bc50
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsi], 0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14002bc30
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400321dc
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.14002ae6c
nop
mov ecx, 1
call fcn.14002ae6c
int3
mov ecx, eax
call fcn.14002ae30
int3