joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009c60
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 0x140009cac
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 0x140009cfa
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140009cf5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009d19
mov rcx, r8
call fcn.14002bf04
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], sil
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
call fcn.140050750
int3

Function at 0x140009d20
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
mov rax, qword [rbx + 0x10]
jb 0x140009d72
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r8d, [rax + rax]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140009dc5
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140009dc0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009de4
mov rcx, r8
call fcn.14002bf04
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
call fcn.140050750
int3
Function at 0x14000bce0
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 qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14009b080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, r9
mov r13, r8
mov r15, rdx
mov qword [rsp + 0x30], rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rbx, qword [rsp + 0xe0]
cmp qword [rcx + 0x18], 8
jb 0x14000bd31
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000bd66
xor eax, eax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], 7
mov word [r15], ax
lea r8d, [rax + 0x19]
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, r15
call fcn.1400020a0
jmp 0x14000be85
mov ecx, 0x208
mov r15d, 1
call fcn.14002c228
mov rsi, rax
movdqa xmm0, xmmword [0x140089580]
movdqu xmmword [rsp + 0x58], xmm0
xor eax, eax
mov word [rsp + 0x48], ax
mov ebp, 0x104
lea rdi, [rax - 1]
nop word [rax + rax]
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x14000bdad
mov rax, qword [r14]
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000bdba
mov r8, qword [rbx]
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x14000bdc9
mov rdx, qword [r12]
mov rcx, r13
cmp qword [r13 + 0x18], 8
jb 0x14000bdd7
mov rcx, qword [r13]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [rbp - 1]
cmp eax, ecx
jb 0x14000be4b
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000bdfd
mov r8, qword [rbx]
mov rax, rsi
sub r8, rsi
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000be17
add rax, 2
test ecx, ecx
jne 0x14000be03
test edx, edx
je 0x14000be4b
mov rcx, rsi
call fcn.14002bf04
inc r15d
imul ebp, r15d, 0x104
mov ecx, ebp
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14002c228
mov rsi, rax
jmp 0x14000bda0
mov r15, qword [rsp + 0x30]
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x14000be50
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400020a0
mov rcx, rsi
call fcn.14002bf04
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [r15 + 0x10], xmm1
mov rax, r15
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14002bee0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000de60
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14009b080]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
lea rdi, [0x1400a0760]
mov qword [rbp - 1], rdi
mov rcx, rdi
call fcn.14002ac50
test eax, eax
je 0x14000deb3
mov ecx, eax
call fcn.14002a870
nop
mov dword [rbp - 0x39], 1
xor esi, esi
mov dword [rbp - 0x31], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x31]
lea r8d, [rsi + 4]
lea rdx, [rbp - 0x39]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rbx + 0x398]
lea rcx, [rbp + 7]
call fcn.14000ef70
mov rdx, rax
mov rcx, rbx
call fcn.140009d20
lea rdx, [rbx + 0x3b8]
lea rcx, [rbp + 7]
call fcn.14000ef70
mov rdx, rax
mov rcx, rbx
call fcn.140009d20
lea rdx, [rbx + 0x3d8]
lea rcx, [rbp + 7]
call fcn.14000ef70
mov rdx, rax
mov rcx, rbx
call fcn.140009d20
lea rdx, [rbx + 0x3f8]
lea rcx, [rbp + 7]
call fcn.14000ef70
mov rdx, rax
mov rcx, rbx
call fcn.140009d20
lea rdx, [rbx + 0x300]
lea rcx, [rbp + 7]
call fcn.14000ef70
mov rdx, rax
mov rcx, rbx
call fcn.140009d20
movdqa xmm0, xmmword [0x140089590]
movdqu xmmword [rbp + 0x37], xmm0
mov byte [rbp + 0x27], sil
lea r8d, [rsi + 0xb]
lea rdx, str.Oct_29_2020
lea rcx, [rbp + 0x27]
call fcn.140002250
nop
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 7]
call fcn.1400119a0
nop
lea r9d, [rsi + 6]
lea r8, str.Build.
mov rcx, rax
call fcn.140006020
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.140009d20
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x14000e01b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e016
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e0cb
call fcn.14002bf04
movdqa xmm0, xmmword [0x140089580]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], si
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x14000e063
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e05e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e0c5
call fcn.14002bf04
lea rdx, [rbp + 7]
call fcn.14000e3c0
mov rdx, rax
mov rcx, rbx
call fcn.140009c60
lea rdx, [rbp + 7]
call fcn.14000e660
mov rdx, rax
mov rcx, rbx
call fcn.140009c60
nop
mov rcx, rdi
call fcn.14002ac74
test eax, eax
je 0x14000e0a0
mov ecx, eax
call fcn.14002a870
nop
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14002bee0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140050750
nop
call fcn.140050750
int3
Function at 0x14000e0e0
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rbx, rcx
lea rcx, [0x1400a0760]
call fcn.14002ac50
test eax, eax
je 0x14000e10e
mov ecx, eax
call fcn.14002a870
mov dword [rsp + 0x58], 2
xor edi, edi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
lea r8d, [rdi + 4]
lea rdx, [rsp + 0x58]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbx + 0xe0]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
lea r8d, [rdi + 4]
lea rdx, [rsp + 0x58]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rcx, [0x1400a0760]
call fcn.14002ac74
test eax, eax
je 0x14000e17d
mov ecx, eax
call fcn.14002a870
nop
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14000e7a0
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
movzx edi, dl
mov rbx, rcx
lea rcx, [0x1400a0760]
call fcn.14002ac50
test eax, eax
je 0x14000e7d6
mov ecx, eax
call fcn.14002a870
mov dword [rsp + 0x50], 7
xor esi, esi
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x58]
lea r8d, [rsi + 4]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
movzx eax, dil
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x58]
lea r8d, [rsi + 4]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rcx, [0x1400a0760]
call fcn.14002ac74
test eax, eax
je 0x14000e843
mov ecx, eax
call fcn.14002a870
nop
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14000e860
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x90
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
mov rsi, r8
mov rbx, rdx
mov qword [rax - 0x50], rdx
xor ebp, ebp
mov dword [rax - 0x68], ebp
mov rdi, qword [0x1400a0218]
lea r14, [0x1400a0760]
mov qword [rax - 0x48], r14
mov rcx, r14
call fcn.14002ac50
test eax, eax
je 0x14000e8b3
mov ecx, eax
call fcn.14002a870
nop
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x30]
mov r8d, 4
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140001fc0
mov rdx, rax
mov rcx, rdi
call fcn.140009c60
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]
mov r8d, 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 + 0x10], rbp
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], 0
mov dword [rsp + 0x40], 2
mov rdx, rsi
mov rcx, rbx
call fcn.140004c50
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000e956
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.14002ac74
test eax, eax
je 0x14000e982
mov ecx, eax
call fcn.14002a870
nop
mov rax, rbx
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14000f6b0
Capabilities:
Write file on windows

Disassembly:
jmp 0x14000f840
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rdi, rcx
mov rbx, qword [rcx + 0x20]
xor esi, esi
mov qword [rcx + 0x20], rsi
mov rcx, qword [rcx + 0x10]
call fcn.14002ac50
nop
test eax, eax
je 0x14000f87b
mov ecx, eax
call fcn.14002a870
nop
mov byte [rdi + 0x18], 1
mov rcx, qword [rdi + 8]
call fcn.14002a76c
nop
test eax, eax
je 0x14000f895
mov ecx, eax
call fcn.14002a870
nop
mov rcx, qword [rdi + 0x10]
call fcn.14002ac74
nop
test eax, eax
je 0x14000f8ab
mov ecx, eax
call fcn.14002a870
nop
lea rcx, [0x1400a0760]
call fcn.14002ac50
nop
test eax, eax
je 0x14000f8c4
mov ecx, eax
call fcn.14002a870
nop
mov rcx, qword [rbx + 0x28]
mov dword [rsp + 0x78], 6
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x70]
mov r8d, 4
lea rdx, [rsp + 0x78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140001fc0
nop
mov rdx, rax
mov rcx, qword [rbx + 0x28]
call fcn.140009c60
nop
mov eax, esi
cmp byte [rbx + 0x20], al
setne al
mov dword [rsp + 0x78], eax
mov rcx, qword [rbx + 0x28]
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x70]
mov r8d, 4
lea rdx, [rsp + 0x78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rcx, [0x1400a0760]
call fcn.14002ac74
nop
test eax, eax
je 0x14000f95c
mov ecx, eax
call fcn.14002a870
nop
call fcn.14002ac9c
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000f999
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000f993
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000f9c6
mov rcx, r8
call fcn.14002bf04
nop
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], 0
mov edx, 0x30
mov rcx, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
jmp fcn.14002bf04
call fcn.140050750
nop
int3
Function at 0x14000f840
Capabilities:
Write file on windows

Disassembly:
jmp 0x14000f840
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rdi, rcx
mov rbx, qword [rcx + 0x20]
xor esi, esi
mov qword [rcx + 0x20], rsi
mov rcx, qword [rcx + 0x10]
call fcn.14002ac50
nop
test eax, eax
je 0x14000f87b
mov ecx, eax
call fcn.14002a870
nop
mov byte [rdi + 0x18], 1
mov rcx, qword [rdi + 8]
call fcn.14002a76c
nop
test eax, eax
je 0x14000f895
mov ecx, eax
call fcn.14002a870
nop
mov rcx, qword [rdi + 0x10]
call fcn.14002ac74
nop
test eax, eax
je 0x14000f8ab
mov ecx, eax
call fcn.14002a870
nop
lea rcx, [0x1400a0760]
call fcn.14002ac50
nop
test eax, eax
je 0x14000f8c4
mov ecx, eax
call fcn.14002a870
nop
mov rcx, qword [rbx + 0x28]
mov dword [rsp + 0x78], 6
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x70]
mov r8d, 4
lea rdx, [rsp + 0x78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140001fc0
nop
mov rdx, rax
mov rcx, qword [rbx + 0x28]
call fcn.140009c60
nop
mov eax, esi
cmp byte [rbx + 0x20], al
setne al
mov dword [rsp + 0x78], eax
mov rcx, qword [rbx + 0x28]
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x70]
mov r8d, 4
lea rdx, [rsp + 0x78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rcx, [0x1400a0760]
call fcn.14002ac74
nop
test eax, eax
je 0x14000f95c
mov ecx, eax
call fcn.14002a870
nop
call fcn.14002ac9c
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000f999
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000f993
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000f9c6
mov rcx, r8
call fcn.14002bf04
nop
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], 0
mov edx, 0x30
mov rcx, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
jmp fcn.14002bf04
call fcn.140050750
nop
int3
Function at 0x14000f9e0
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 [0x14009b080]
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 0x14000fb0c
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 0x14000fb0c
test eax, eax
je 0x14000fb0c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14000fb0c
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov rax, qword [rbx + 0x10]
sub rax, qword [rbx]
mov dword [rbp - 0x28], 0x97ddef27
mov dword [rbp - 0x24], 0xb8beee9e
mov dword [rbp - 0x20], 0xce2d400d
mov dword [rbp - 0x1c], 0x3bc4827b
mov dword [rbp - 0x18], 0xa9ffe45
mov dword [rbp - 0x14], 0xa7b717a1
mov dword [rbp - 0x10], 0x8b813334
mov dword [rbp - 0xc], 0xf4b8b7d9
cmp rsi, rax
jbe 0x14000fac2
mov edx, esi
mov rcx, rbx
call fcn.14000fb50
xor edi, edi
test rsi, rsi
je 0x14000fb08
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 qword [rbx + 0x10], rdx
je 0x14000faf4
mov byte [rdx], cl
inc qword [rbx + 8]
jmp 0x14000fb00
lea r8, [rbp - 0x30]
mov rcx, rbx
call fcn.14000fc90
inc rdi
cmp rdi, rsi
jb 0x14000fad0
mov al, 1
jmp 0x14000fb0e
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14002bee0
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140010e00
Capabilities:
Get common file path
Get startup folder

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x288], rbx
mov rax, qword [0x14009b080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x50]
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 + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x140010e70
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400020a0
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x140087d50]
mov rcx, rbx
call fcn.140002c50
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14002bee0
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x140012c70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140012cb4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140012ca0
ret
Function at 0x140028550
Capabilities:
Resume thread

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x14009b080]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov qword [r11 - 0x68], rdi
mov dword [rsp + 0x28], 4
mov qword [r11 - 0x78], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call qword [0x1400a0138]
mov rbx, rax
test rax, rax
jne 0x1400286dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.1400210a0
nop
lea r8, [0x1400a0550]
cmp qword [0x1400a0568], 8
cmovae r8, qword [0x1400a0550]
mov r9, qword [0x1400a0560]
mov rcx, rax
call fcn.140006020
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x1400a0330]
cmp qword [0x1400a0348], 8
cmovae r8, qword [0x1400a0330]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140028684
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002867f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028725
call fcn.14002bf04
movdqa xmm0, xmmword [0x140089580]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x1400286d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400286d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002871f
call fcn.14002bf04
xor al, al
jmp 0x1400286fe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14002bee0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.140050750
nop
call fcn.140050750
nop
int3
Function at 0x14002f7ec
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14002f7ff
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.1400396f0
lea rdx, [0x140099240]
lea rcx, [rsp + 0x20]
call fcn.14004a22c
int3

Function at 0x14003a088
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x14009f050]
xor edx, edx
jmp fcn.14002f7ec

Function at 0x14003aa20
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x14009f050]
jmp fcn.14002f7ec

Function at 0x140046670
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14004672c]
mov r9, qword [r9 + 8]
jmp fcn.14003784c

Function at 0x140046704
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14004673c]
mov r9, qword [r9 + 8]
jmp fcn.14003784c

Function at 0x140050d7c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140050c0f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140050c0f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140050c0f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140050c0f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140050c0f
cmp dword [rcx + 0x84], 0xe
jbe 0x140050c0f
cmp dword [rcx + 0xf8], 0
je 0x140050c0f
mov ecx, ebx
call fcn.140050cb0
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140050aa0
cmp dword [rbp + 0x20], 0
je 0x140050c5c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140050c64
int3
xor r8d, r8d
xor edx, edx
jmp 0x140050ba8