joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401eb440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x50
call fcn.14009cc40
sub rsp, rax
mov rax, qword [0x1402a61f0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, qword [rbp + 0x60]
mov r12, rdx
mov r13, qword [rbp + 0x68]
mov rdi, rcx
xor r14d, r14d
mov qword [rbp - 0x28], r9
mov esi, r8d
mov qword [rbp - 0x20], r13
movzx r10d, byte [r15]
movzx eax, byte [r15 + 1]
movzx edx, byte [r15 + 4]
movzx ecx, byte [r15 + 6]
mov ebx, dword [r13]
shl eax, 0x10
shl r10d, 0x18
or r10d, eax
shl edx, 0x18
movzx eax, byte [r15 + 2]
shl eax, 8
or r10d, eax
shl ecx, 8
movzx eax, byte [r15 + 3]
or r10d, eax
movzx eax, byte [r15 + 5]
shl eax, 0x10
or edx, eax
mov dword [rbp - 0x30], r10d
movzx eax, byte [r15 + 7]
or ecx, eax
mov byte [rbp - 0x15], r10b
or edx, ecx
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0x18], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0x17], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0x16], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 0x14], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0x13], al
mov eax, edx
shr eax, 8
mov dword [rbp - 0x2c], edx
mov byte [rbp - 0x12], al
mov byte [rbp - 0x11], dl
test r8d, r8d
je 0x1401eb5eb
mov r13, qword [rbp - 0x28]
sub r12, rdi
movzx r9d, dl
movzx r8d, r10b
dec esi
test ebx, ebx
jne 0x1401eb58c
mov rdx, r13
lea rcx, [rbp - 0x30]
call fcn.1401ead50
mov edx, dword [rbp - 0x2c]
mov r9d, edx
mov r10d, dword [rbp - 0x30]
mov eax, r10d
shr eax, 0x18
mov r8d, r10d
mov byte [rbp - 0x18], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0x17], al
mov eax, r10d
shr eax, 8
mov byte [rbp - 0x16], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 0x14], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0x13], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0x12], al
inc r14d
mov byte [rbp - 0x15], r8b
mov byte [rbp - 0x11], dl
movsxd rax, ebx
movzx ecx, byte [rbp + rax - 0x18]
xor cl, byte [rdi]
mov byte [r12 + rdi], cl
inc rdi
inc ebx
and ebx, 7
test esi, esi
jne 0x1401eb530
mov r13, qword [rbp - 0x20]
test r14d, r14d
je 0x1401eb5eb
mov eax, r10d
mov byte [r15 + 3], r8b
shr eax, 0x18
mov byte [r15], al
mov eax, r10d
shr eax, 0x10
mov byte [r15 + 1], al
mov eax, edx
shr eax, 0x18
mov byte [r15 + 4], al
mov eax, edx
shr eax, 0x10
shr r10d, 8
shr edx, 8
mov byte [r15 + 6], dl
mov byte [r15 + 2], r10b
mov byte [r15 + 5], al
mov byte [r15 + 7], r9b
mov dword [r13], ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14009c7d0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1401ef670
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x38
call fcn.14009cc40
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x1401ef699
lea rax, [0x1401edcd0]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.140140310
lea rax, [0x1401ece80]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.140140050
Function at 0x140205750
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1402a61f0]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x14028bf10]
mov rbp, rcx
call fcn.1400c2c14
xor edi, edi
test rax, rax
je 0x140205836
mov ebx, edi
call fcn.1400a3570
mov r14d, dword [rax]
call fcn.1400a3570
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.140205f10
mov rsi, rax
test rax, rax
je 0x1402057c7
call fcn.1400a3570
mov dword [rax], r14d
jmp 0x1402057f1
call fcn.1400a3570
cmp dword [rax], 0x22
jne 0x14020582e
call fcn.1400a3570
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.140205f10
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x14020582e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1402057f5
cmp rax, 3
je 0x140205810
mov rcx, rsi
call fcn.1402056ac
test al, al
je 0x140205821
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140205821
mov dil, 1
mov rcx, rbx
call fcn.1400a3a10
mov al, dil
jmp 0x140205838
mov rcx, rbx
call fcn.1400a3a10
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14009c7d0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14020636c
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1402a61f0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1402063b6
call fcn.1400a3548
mov dword [rax], recv
call fcn.1400a3570
mov dword [rax], recv
call fcn.1400a2f34
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14009c7d0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1402063c1
lea eax, [rbx + 1]
jmp 0x1402063a3
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1402063a1
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1402063a3
Function at 0x1400028cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002916
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002916
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002916
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002916
cmp dword [rcx + 0x84], 0xe
jbe 0x140002916
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002918
xor al, al
add rsp, 0x28
ret

Function at 0x14000982c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140009628
Function at 0x14000f668
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000f698
xor eax, eax
jmp 0x14000f75b
mov rbp, rbx
cmp word [rax], si
je 0x14000f6bd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000f6a4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000f6a0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000f588
movsxd r14, eax
test eax, eax
jne 0x14000f6fb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000f691
mov rcx, r14
call fcn.14000af7c
mov rdi, rax
test rax, rax
jne 0x14000f714
xor ecx, ecx
call fcn.14000a2a8
jmp 0x14000f6f0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000f588
test eax, eax
jne 0x14000f745
mov rcx, rdi
call fcn.14000a2a8
jmp 0x14000f74f
xor ecx, ecx
call fcn.14000a2a8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001394c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140013962
mov al, 1
jmp 0x1400139c2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140013973
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400139c0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000fed0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400139c0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400139c0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400139c0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400139c2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140015238
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000dbf8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400152c2
cmp byte [rbp - 0x21], r15b
je 0x1400152bd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400152f8
call fcn.14000a4f8
test eax, eax
jne 0x1400152e4
cmp byte [rbp - 0x21], r15b
je 0x1400152dc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400152f8
cmp byte [rbp - 0x21], r15b
je 0x1400152f5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000da7c
test eax, eax
jne 0x140015398
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000dbf8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140015337
cmp byte [rbp - 0x21], r15b
je 0x14001536c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001536c
call fcn.14000a4f8
test eax, eax
jne 0x140015358
cmp byte [rbp - 0x21], r15b
je 0x140015351
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001536c
cmp byte [rbp - 0x21], r15b
je 0x140015369
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000da7c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140015398
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001539b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400153a9
mov rcx, rdi
call fcn.14000a2a8
cmp byte [rbp + 0x3f], r15b
je 0x1400153b8
mov rcx, qword [rbp + 0x27]
call fcn.14000a2a8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400179a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400179c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400179c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800adfb4
Capabilities:
Read file on windows

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, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1800adfe2
xor eax, eax
jmp 0x1800ae0c8
cmp qword [rcx + 0x68], 0
je 0x1800adff3
call fcn.1800ad6b8
jmp 0x1800ae0c8
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1800ae00a
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800ae00c
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800ae03e
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1800b1410
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1800ae0c2
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1800ae075
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1800ae09e
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1800b4ab0
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1800ae0c2
cmp rsi, rbx
ja 0x1800ae07c
test rsi, rsi
je 0x1800ae0c2
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1800b4ab0
sub rsi, rax
sub rbp, rsi
mov rax, rbp
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
ret

Function at 0x1800ae0e4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1800ae113
call fcn.1800ad77c
jmp 0x1800ae18a
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x1800ae12a
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1800ae12c
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1800ae184
test ecx, ecx
jle 0x1800ae165
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call fcn.1800b1410
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1800ae184
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1800ae184
mov r8, rbx
mov edx, 1
mov rcx, r15
call fcn.1800b4d7c
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1800b81b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800b81d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800b81d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180001010
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x58
mov rax, qword [0x18000a040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp edx, 1
jne 0x1800011c6
xorps xmm0, xmm0
lea r8d, [rdx + 0x1a]
xorps xmm1, xmm1
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
call fcn.180003760
cmp qword [rsp + 0x38], 7
lea rcx, [rsp + 0x20]
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180001090
lea rcx, [rax + 0x568fce0]
mov qword [0x18000a7a8], rcx
lea rcx, [rax + 0x5863040]
add rax, 0x5a505e0
mov qword [0x18000a7a0], rcx
mov qword [0x18000a7b0], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x1800010d5
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800010d0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800010d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180005098
movdqa xmm0, xmmword [0x1800077d0]
xor eax, eax
mov word [rsp + 0x20], ax
mov rax, qword [0x18000a7b0]
mov qword [rsp + 0x50], rbx
movdqu xmmword [rsp + 0x30], xmm0
mov rbx, qword [rax]
test rbx, rbx
je 0x1800011c1
mov rdx, rbx
lea rcx, str.UWorld:__p_n
call fcn.180002ff0
mov rax, qword [rbx + 0x190]
test rax, rax
je 0x1800011c1
mov rax, qword [rax + 0x38]
mov rbx, qword [rax]
test rbx, rbx
je 0x1800011c1
mov rbx, qword [rbx + 0x78]
test rbx, rbx
je 0x1800011c1
mov rdx, rbx
lea rcx, str.UGameViewportClient:__p_n
call fcn.180002ff0
mov rbx, qword [rbx]
test rbx, rbx
je 0x1800011c1
mov edx, 8
lea r9, [rsp + 0x40]
lea rcx, [rbx + 0x360]
lea r8d, [rdx + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rbx + 0x360]
lea rcx, [rbx + 0x360]
xor r9d, r9d
mov qword [0x18000a7c8], rax
lea rax, [0x180001600]
mov qword [rbx + 0x360], rax
mov r8d, dword [rsp + 0x40]
lea edx, [r9 + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180002d80
lea rdx, [0x180002f30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rbx, qword [rsp + 0x50]
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180005010
add rsp, 0x58
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140005420]
mov dword [rax], 1
mov rax, qword [0x140005430]
mov dword [rax], 1
mov rax, qword [0x140005440]
mov dword [rax], 1
mov rax, qword [0x1400053d0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001b00
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x1400027d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140008108]
test eax, eax
je 0x14000286a
lea rax, [0x1400080e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140008110]
mov qword [rbp - 8], rax
jmp 0x14000284e
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 0x140002842
cmp qword [rbp - 0x10], 0
je 0x140002842
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 0x140002808
lea rax, [0x1400080e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000286b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x14000c020
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14008d010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.14000c330
mov rcx, qword [rsp + 0x80]
call fcn.140003060
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x78]
call fcn.140003060
mov qword [rsp + 0x38], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.14000cfc0
nop
lea rax, [0x14000d060]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
call fcn.140003bd0
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x14000c0ee
lea rcx, [rsp + 0x50]
call fcn.14000c470
jmp 0x14000c106
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x50]
call fcn.14000c4a0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140020090
add rsp, 0x68
ret
Function at 0x14000dd40
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x320
mov rax, qword [0x14008d010]
xor rax, rsp
mov qword [rsp + 0x310], rax
lea rdx, [0x140029ab8]
lea rcx, [0x140029ba8]
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14000de78
lea r8, [rsp + 0x60]
mov rdx, qword [str.SOFTWAREAdobeAcrobat_DistillerDCInstallPath]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000de78
mov dword [rsp + 0xf0], 0x208
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xf4]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000de6d
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
lea rdx, str.AcroTray.exe
lea rcx, [rsp + 0x100]
call fcn.14000adb0
mov dword [rsp + 0x80], 0x70
mov qword [rsp + 0x88], 0
lea rax, [rsp + 0x100]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xb0], 1
mov dword [rsp + 0x84], pe_nt_image_headers64
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x140029c28]
lea rcx, str.AcrobatTrayIcon
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14000dea0
xor eax, eax
jmp 0x14000df56
mov eax, dword [rsp + 0x330]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x338]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x338], 0
jne 0x14000decf
mov qword [rsp + 0x48], 0
jmp 0x14000df2c
cmp dword [rsp + 0x340], 0
je 0x14000dee7
mov eax, dword [rsp + 0x340]
mov qword [rsp + 0x40], rax
jmp 0x14000df22
mov rax, qword [rsp + 0x338]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
cmp word [rax + rcx*2], 0
jne 0x14000defd
mov rax, qword [rsp + 0x30]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x70], eax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov edx, 0x4a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.140020090
add rsp, 0x320
pop rdi
ret