joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e3df0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x140177e50]
mov qword [rcx], rax
add rcx, 8
call fcn.140089e60
lea rcx, [rsi + 0x10]
call fcn.140089e60
mov byte [rsi + 0x18], 0
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], 0
call fcn.140089e60
mov byte [rsi + 0x48], 0
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], 0
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
movups xmmword [rsi + 0xd0], xmm6
mov qword [rsi + 0xe0], 0
mov dword [rsi + 0xe8], 0x3f800000
mov dword [rsi + 0xf0], 0
movups xmmword [rsi + 0xf8], xmm6
movups xmmword [rsi + 0x108], xmm6
mov dword [rsi + 0x118], 0x3f800000
movups xmmword [rsi + 0x120], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x140], 0x3f800000
movups xmmword [rsi + 0x148], xmm6
movups xmmword [rsi + 0x158], xmm6
mov dword [rsi + 0x168], 0x3f800000
movups xmmword [rsi + 0x170], xmm6
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], 0x3f800000
mov qword [rsi + 0x1b0], 0
movups xmmword [rsi + 0x198], xmm6
mov dword [rsi + 0x1a8], 0
mov eax, dword [0x140189cac]
mov dword [rsi + 0x1b8], eax
lea rcx, [rsi + 0x1c0]
call fcn.14011f430
movups xmmword [rsi + 0x2f0], xmm6
mov qword [rsi + 0x300], 0
lea rcx, [rsi + 0x308]
xor edx, edx
call fcn.14009ec80
lea rcx, [rsi + 0x310]
xor edx, edx
call fcn.14009ec80
lea rcx, [rsi + 0x318]
xor edx, edx
call fcn.14009ec80
movups xmmword [rsi + 0x320], xmm6
movups xmmword [rsi + 0x330], xmm6
mov dword [rsi + 0x340], 0x3f800000
movsxd rax, edi
movups xmmword [rsi + 0x348], xmm6
movups xmmword [rsi + 0x358], xmm6
movups xmmword [rsi + 0x368], xmm6
mov byte [rsi + 0x378], 0
mov qword [rsi + 0x380], rax
mov byte [rsi + 0x388], 0
movups xmmword [rsi + 0x390], xmm6
movups xmmword [rsi + 0x3a0], xmm6
call fcn.140019ae0
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x1a8], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x1a0], rax
mov rcx, rsi
call fcn.1400e4050
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
je 0x1400e401d
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1401c0010]
call fcn.14011d460
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.14011d5f0
mov qword [0x1401b04a8], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x1400e97b0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400e97c5
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x1400e9f90
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, qword [rcx + 8]
jmp 0x1400e9fa7
mov rsi, qword [rsi + 0x218]
test rsi, rsi
je 0x1400e9fe2
xor edi, edi
xchg qword [rsi], rdi
test rdi, rdi
je 0x1400e9fa0
nop word cs:[rax + rax]
bsf rcx, rdi
mov ebx, 1
shl rbx, cl
mov rcx, qword [rsi + rcx*8 + 0x10]
mov rax, qword [rcx + 8]
call qword [0x1401c0010]
xor rdi, rbx
jne 0x1400e9fc0
jmp 0x1400e9fa0
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400f6980
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x1401b0508]
mov ecx, dword [0x1401a659c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f69bd
lea rcx, [0x1401b0500]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14009ec30
lea rcx, [0x1401b0508]
call fcn.140136640
cmp dword [0x1401b0508], 0xffffffff
jne 0x1400f69a9
mov qword [0x1401b0500], 0
lea rcx, [0x1401b0500]
xor edx, edx
call fcn.14009ec80
lea rcx, [0x1401b0508]
call fcn.1401366d8
jmp 0x1400f69a9

Function at 0x1400f6a00
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401b0508]
mov ecx, dword [0x1401a659c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f6a35
lea rcx, [0x1401b0500]
add rsp, 0x28
jmp fcn.14009ebf0
lea rcx, [0x1401b0508]
call fcn.140136640
cmp dword [0x1401b0508], 0xffffffff
jne 0x1400f6a25
mov qword [0x1401b0500], 0
lea rcx, [0x1401b0500]
xor edx, edx
call fcn.14009ec80
lea rcx, [0x1401b0508]
call fcn.1401366d8
jmp 0x1400f6a25

Function at 0x1400f8410
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call fcn.1400a6670
mov byte [rsi + 8], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
lea rax, [0x140178b90]
mov qword [rsi], rax
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp qword [rsi + 0x18], rax
je 0x1400f849c
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
add rax, 1
cmp rax, 2
jb 0x1400f8481
call fcn.140065e80
mov rcx, qword [rsi + 0x18]
call fcn.1400be320
mov qword [rsi + 0x18], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400f8494
mov qword [rsi + 0x18], rdi
call fcn.140065e80
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x140100700
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x14010072c
xor ecx, ecx
lea r9, [0x140188280]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
add rcx, 1
cmp r8, rcx
jne 0x140100710
ret
Function at 0x140105460
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x1a0
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x140174f60]
lea rsi, [rsp + 0x160]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsi + 0x20], 0x100
jb 0x1401054f3
mov ecx, 1
call fcn.14006d690
test al, al
je 0x1401054f3
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_system_snapshot_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xb2
mov r9d, 1
call fcn.14006d740
lea rcx, [rsp + 0x38]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, 0x2c
call fcn.14001df3c
mov rcx, rsi
call fcn.14006dbd0
mov eax, dword [rsp + 0x180]
cmp eax, 0x100
mov esi, 0xff
cmovb esi, eax
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140136dd0
mov eax, esi
add rsp, 0x1a0
pop rsi
ret

Function at 0x140118fa0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x1401b1288], 0
jne 0x140118fdd
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140118fd0
mov dword [rdi], eax
mov dword [0x1401b1290], eax
mov qword [0x1401b1288], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3
Function at 0x14011ae26
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
cmp dword [rcx + 0x10108], 0
mov r9d, dword [rcx + 0xd4]
je 0x14011aee2
test r9d, r9d
je 0x14011aedf
xor eax, eax
mov r8d, 0xff
mov esi, dword [rdi + 0x10128]
mov ecx, dword [rdi + 0x10130]
mov edx, ecx
and edx, 0xfffd
lea r10d, [rdx + 2]
xor edx, 3
imul edx, r10d
shr edx, 8
movzx r10d, byte [rdi + rax + 0x100]
mov r11, qword [rdi + 0x10138]
mov ebx, esi
and ebx, r8d
xor ebx, r10d
shr esi, 8
xor esi, dword [r11 + rbx*4]
mov dword [rdi + 0x10128], esi
and esi, r8d
add esi, dword [rdi + 0x1012c]
imul ebx, esi, 0x8088405
inc ebx
mov dword [rdi + 0x1012c], ebx
shr ebx, 0x18
mov esi, ecx
and esi, r8d
xor esi, ebx
shr ecx, 8
xor ecx, dword [r11 + rsi*4]
mov dword [rdi + 0x10130], ecx
xor byte [rdi + rax + 0x100], dl
inc rax
cmp r9, rax
jne 0x14011ae55
jmp 0x14011aee2
xor r9d, r9d
lea r8, [rdi + 0x100]
mov rdx, qword [rdi + 0x58]
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x38]
call qword [0x1401c0010]
mov edx, dword [rdi + 0x84]
mov ebx, dword [rdi + 0xd4]
xor ecx, ecx
cmp eax, ebx
setne cl
add qword [rdi + 0x10118], rbx
add qword [rdi + 0x10120], rdx
neg ecx
xor eax, eax
mov dword [rdi + 0x84], eax
mov dword [rdi + 0xd4], eax
mov eax, ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x14011b98f
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [rcx]
mov r9d, dword [rcx + 8]
xor r8d, eax
mov r10d, 0xff
and r8d, r10d
shr eax, 8
xor eax, dword [rdx + r8*4]
mov dword [rcx], eax
and eax, r10d
add eax, dword [rcx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [rcx + 4], eax
shr eax, 0x18
and r10d, r9d
xor r10d, eax
shr r9d, 8
xor r9d, dword [rdx + r10*4]
mov dword [rcx + 8], r9d
ret
Function at 0x14011cce0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x14011cd80]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401b12d8]
lea rdx, [0x14011cba0]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14011cd74
cmp dword [0x1401b12e0], 0
je 0x14011cd31
xor esi, esi
jmp 0x14011cd5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x1401b12e4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x14011cd2d
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140136dd0
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
call fcn.14014b3e0
int3

Function at 0x14011cdb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov r14d, ecx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x14011cd80]
mov qword [rsp + 0x28], rax
lea rcx, [0x1401b12d8]
lea rdx, [0x14011cba0]
lea r8, [rsp + 0x28]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14011cecd
cmp dword [0x1401b12e0], 0
je 0x14011ce1d
mov rcx, rsi
mov rax, rdi
call qword [0x1401c0010]
xor esi, esi
jmp 0x14011ce71
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1401b12e4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x14011ce8d
lea r15, [0x1401b12e8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbp, r14d
lea rax, [0x1401b12f0]
mov qword [rax + rbp*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [rbx + rbp*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140136dd0
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 0x20
call fcn.14011c610
test rax, rax
je 0x14011ce0d
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax], xmm0
mov ecx, dword [0x1401b12e4]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14011ce41
mov rcx, rbx
call fcn.14011c650
jmp 0x14011ce0d
call fcn.14014b3e0
int3

Function at 0x140125450
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x1401b1418]
cmp rsi, 1
ja 0x1401254b0
lea rcx, [0x1401b1418]
call fcn.1400a6740
test al, al
je 0x1401254a9
mov qword [0x1401b1420], 0
lea rdi, [0x1401b1418]
lea rsi, [0x1401b1420]
mov rcx, rsi
xor edx, edx
call fcn.14009ec80
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.1400a67f0
jmp 0x1401254b0
mov rsi, qword [0x1401b1418]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14009ec30
Function at 0x1401254c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x1401b1430]
mov ecx, dword [0x1401a659c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140125549
lea rcx, [0x1401b1428]
call fcn.14009ebf0
test rax, rax
jne 0x140125536
mov ecx, 4
call fcn.1401364e8
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x1401b1428]
mov rcx, rbx
call fcn.14009ebf0
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.14009ec30
test rsi, rsi
je 0x140125536
mov rcx, rsi
call fcn.140136524
lea rcx, [0x1401b1428]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14009ebf0
lea rcx, [0x1401b1430]
call fcn.140136640
cmp dword [0x1401b1430], 0xffffffff
jne 0x1401254e8
mov qword [0x1401b1428], 0
lea rcx, [0x1401b1428]
lea rdx, [0x140065ae0]
call fcn.14009ec80
lea rcx, [0x1401b1430]
call fcn.1401366d8
jmp 0x1401254e8

Function at 0x14012d278
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov dword [rcx + 0x48], 0x1003f
mov eax, dword [rdx + 0x234]
mov dword [rcx + 0x4c], eax
mov eax, dword [rdx + 0x238]
mov dword [rcx + 0x50], eax
mov eax, dword [rdx + 0x23c]
mov dword [rcx + 0x54], eax
mov eax, dword [rdx + 0x240]
mov dword [rcx + 0x58], eax
mov eax, dword [rdx + 0x24c]
mov dword [rcx + 0x5c], eax
mov eax, dword [rdx + 0x250]
mov dword [rcx + 0x60], eax
lea rdx, [rcx + 0x64]
lea rbx, [rdi + 0x34]
mov rcx, rbx
call fcn.14012958c
movzx eax, word [rdi + 0x30]
mov dword [rsi + 0xd4], eax
movzx eax, word [rdi + 0x2e]
mov dword [rsi + 0xd8], eax
movzx eax, word [rdi + 0x2c]
mov dword [rsi + 0xdc], eax
movzx eax, word [rdi + 0x2a]
mov dword [rsi + 0xe0], eax
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0xe4], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0xe8], eax
mov eax, dword [rdi + 4]
mov dword [rsi + 0xec], eax
mov eax, dword [rdi + 0xc]
mov dword [rsi + 0xf0], eax
mov eax, dword [rdi + 8]
mov dword [rsi + 0xf4], eax
mov eax, dword [rdi]
mov dword [rsi + 0xf8], eax
mov eax, dword [rdi + 0x18]
mov dword [rsi + 0xfc], eax
mov eax, dword [rdi + 0x20]
mov dword [rsi + 0x100], eax
movzx eax, word [rdi + 0x28]
mov dword [rsi + 0x104], eax
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x108], eax
mov eax, dword [rdi + 0x1c]
mov dword [rsi + 0x10c], eax
movzx eax, word [rdi + 0x32]
mov dword [rsi + 0x110], eax
add rsi, 0x114
mov r8d, 0x200
mov rcx, rsi
mov rdx, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140139530

Function at 0x140144794
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401448c4
Function at 0x10005c18
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xb0
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x70]
call fcn.1002e410
lea rax, str.open
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rax, qword [rbx + 8]
mov dword [rsp + 0x40], 0x70
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x70], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x10005ca6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], 1
lea r9, str.ShellExecuteEx_sei_
mov ecx, eax
lea rax, str.Win32_Error
lea rdx, str..winhyperlink.cpp
mov r8d, 0xea
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.1000ddec
mov dword [rbx + 0x14], 1
add rsp, 0xb0
pop rbx
ret

Function at 0x100061ac
Capabilities:
Decode data using base64 via winapi

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
test r8, r8
mov r12d, r9d
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
jne 0x100061cc
xor al, al
jmp 0x10006241
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rdx
lea r8d, [r9 + 1]
mov rcx, rsi
mov edx, r12d
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x100061c8
mov ecx, dword [rbx]
add ecx, 1
call fcn.1002e260
test rax, rax
mov rdi, rax
mov qword [rbp], rax
je 0x100061c8
mov ecx, dword [rbx]
xor eax, eax
mov edx, r12d
add ecx, 1
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
rep stosb byte [rdi], al
mov r9, qword [rbp]
lea r8d, [rax + 1]
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
setne al
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1000624c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
movsxd rax, dword [rdx + 0x3c]
xor ebx, ebx
mov r15, r8
mov r12d, dword [rax + rdx + 0x88]
mov rbp, rdx
mov edi, ecx
add r12, rdx
mov r14d, dword [r12 + 0x24]
mov eax, dword [r12 + 0x18]
mov esi, dword [r12 + 0x20]
imul r14d, ecx
imul eax, ecx
mov r13d, dword [r12 + 0x1c]
add rsi, rdx
add r14, rdx
add r13, rdx
test eax, eax
je 0x100062c2
mov ecx, dword [rsi]
mov rdx, r15
add rcx, rbp
call fcn.100313f0
test eax, eax
je 0x100062d5
mov eax, dword [r12 + 0x18]
add ebx, 1
add rsi, 4
imul eax, edi
cmp ebx, eax
jb 0x1000629e
xor eax, eax
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
imul ebx, edi
movzx ecx, word [r14 + rbx*2]
mov eax, dword [r13 + rcx*4]
imul eax, edi
add rax, rbp
jmp 0x100062c4
Function at 0x10008150
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rdi, rcx
lea rdx, str.cxvzsawqjegfk
lea rcx, [0x100b3630]
call fcn.10007cd0
mov dx, 0xa
mov rcx, rax
mov rbx, rax
call fcn.10007f98
mov rcx, rbx
call fcn.10007b1c
lea rcx, str.8192
call fcn.10031570
lea rcx, str.4096
mov ebx, eax
call fcn.10031570
mov rdx, rsi
or ebx, eax
mov r9d, 0x40
xor ecx, ecx
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor r8d, r8d
cmp rax, r8
mov r11, rax
jne 0x100081c6
xor eax, eax
jmp 0x10008211
cmp esi, r8d
jbe 0x1000820e
mov r9, rax
sub rdi, rax
mov eax, 0xcf3cf3cf
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movsxd rax, r8d
add r8d, 1
movsxd rcx, edx
imul rcx, rcx, 0x15
add rcx, rax
lea rax, str._aMV7xGTf_tvDGaC
mov al, byte [rcx + rax]
xor al, byte [rdi + r9]
mov byte [r9], al
add r9, 1
cmp r8d, esi
jb 0x100081d1
mov rax, r11
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x1000dae0
Capabilities:
Print debug messages

Disassembly:
push rbx
push rdi
sub rsp, 0x148
mov rax, qword [0x100b1640]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp qword [rcx + 0x208], 0
mov rbx, rcx
jne 0x1000db25
lea rdx, [0x10095fe4]
call fcn.10031890
test rax, rax
mov qword [rbx + 0x208], rax
je 0x1000dc47
mov rcx, qword [rbx + 0x208]
call fcn.10031bf0
mov ecx, eax
call fcn.10031a60
cmp eax, 0xffffffff
jne 0x1000db73
mov rcx, qword [rbx + 0x208]
test rcx, rcx
je 0x1000dc54
call fcn.10031950
test eax, eax
je 0x1000db63
lea rcx, str.Debug_System_Error_____Cannot_close_the_debug_log_file._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov qword [rbx + 0x208], 0
jmp 0x1000dc54
cmp eax, 0x80000
jle 0x1000dc54
mov rcx, qword [rbx + 0x208]
test rcx, rcx
je 0x1000dbbb
call fcn.10031950
test eax, eax
sete dil
test dil, dil
jne 0x1000dba7
lea rcx, str.Debug_System_Error_____Cannot_close_the_debug_log_file._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test dil, dil
mov qword [rbx + 0x208], 0
je 0x1000dc54
lea rcx, [rsp + 0x20]
mov r8d, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
lea rcx, [rsp + 0x20]
mov edx, 0x5c
call fcn.10031720
test rax, rax
je 0x1000dbe9
add rax, 1
jmp 0x1000dbee
lea rax, [rsp + 0x20]
lea rdx, str.error.log.old
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [rsp + 0x20]
call fcn.10031a30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.10031a00
test eax, eax
je 0x1000dc22
lea rcx, str.Debug_System_Error_____Cannot_create_a_backup_copy_of_the_debug_log_file_n
jmp 0x1000dc4e
cmp qword [rbx + 0x208], 0
jne 0x1000dc54
lea rdx, [0x10095fe4]
mov rcx, rbx
call fcn.10031890
test rax, rax
mov qword [rbx + 0x208], rax
jne 0x1000dc54
lea rcx, str.Debug_System_Error_____Debug_log_file_cannot_be_opened._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rax, qword [rbx + 0x208]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1002ff40
add rsp, 0x148
pop rdi
pop rbx
ret
Function at 0x1001888c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
test rdx, rdx
mov rsi, rdx
mov rbp, rcx
je 0x100188e6
call fcn.1001a994
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x100188e6
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbx, rax
je 0x10018908
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.1001830c
test rdi, rdi
mov esi, eax
je 0x10018906
test rbx, rbx
je 0x10018906
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
add rsp, 0x20
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x10019bb0
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x10019be6
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x10019c9d
call fcn.10029288
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x10019c05
mov ecx, 0x80004005
call fcn.10001000
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + 0x118]
mov rdx, rsi
mov rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x50]
mov rcx, rdi
call fcn.100323b0
test eax, eax
je 0x10019c70
cmp eax, 0xc
je 0x10019c6a
cmp eax, 0x16
je 0x10019c64
cmp eax, 0x22
je 0x10019c64
cmp eax, 0x50
je 0x10019c70
call fcn.1000e3a4
int3
call fcn.1000e3a4
int3
call fcn.1000e35c
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x10019c9b
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x10031a00
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x10031a29
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10031a29
mov ecx, eax
call fcn.10032480
mov eax, 0xffffffff
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x10031a30
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10031a59
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10031a59
mov ecx, eax
call fcn.10032480
mov eax, 0xffffffff
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x10031c30
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10031c5b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10031c5b
mov ecx, eax
call fcn.10032480
mov eax, 0xffffffff
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret