joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443720
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x44388a
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x443738
cmp edx, ecx
jne 0x443878
nop dword [rax]
test rsi, rsi
jne 0x443878
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x443794
nop
call fcn.004640a0
xorps xmm15, xmm15
mov r14, qword [0x005e6a70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00443620
mov rcx, qword [0x00593a28]
mov rdx, qword [0x00593a20]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
mov r8d, esi
and esi, 0xffffffe0
sub edi, esi
test edi, edi
jl 0x443873
cmp edi, 0x20
sbb esi, esi
sar r8d, 5
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x443868
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x00594590]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x00594590], rbx
nop
mov edx, 1
lea rsi, [0x00594598]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x443857
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1220], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x004e0423]
mov ebx, 0x28
call fcn.00434f00
mov rcx, rax
mov rax, rsi
call fcn.004626e0
call fcn.00433420
lea rax, [0x004df747]
mov ebx, 0x23
call fcn.00434f00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460080
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00443720
Function at 0x450500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x450678
movzx edx, byte [rax]
nop
test edx, edx
jne 0x45053c
test r8b, r8b
jne 0x45053c
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x45054f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x450638
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x450626
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x45061c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x4505a3
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x4505e6
mov eax, 1
cmp rax, rbx
ja 0x4505d5
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.004627a0
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x450614
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x4505dd
mov r8d, eax
mov eax, r10d
jmp 0x4505a8
mov rcx, rbx
call fcn.004626e0
xor eax, eax
mov rcx, rax
call fcn.004626e0
mov eax, r8d
mov rcx, rbx
call fcn.004627a0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x45066e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x450631
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x450555
mov eax, edx
mov rcx, rbx
call fcn.004626e0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.004626e0
nop
int3
Function at 0x458180
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x458239
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00458280]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045ff40
xorps xmm15, xmm15
mov r14, qword [0x005e6a70]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00460080
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00458180
Function at 0x462180
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005e6b60]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005e688f], 0
je 0x4621b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005e6ea0]
aesenc xmm0, xmmword [0x005e6eb0]
aesenc xmm0, xmmword [0x005e6ec0]
movq rax, xmm0
ret
jmp 0x409ee0

Function at 0x463bc0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.KERNEL32.DLL_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005e6e20]
mov qword [rsp + 8], rdx
lea r8d, [0x005e68a8]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.KERNEL32.DLL_WriteFile]
call rax
call fcn.00462060
add rsp, 0x30
ret

Function at 0x464100
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.KERNEL32.DLL_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x464130
mov rcx, 0x28
jmp 0x46413b
shl rcx, 3
add rcx, 0x1480
mov qword [0x005e6a70], rcx
ret
Function at 0x140011700
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1409f0e14]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x140011890
mov rax, qword [0x1409f0e18]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14001174c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x1400117d5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x140011730
mov rcx, rdi
call fcn.140012260
test rax, rax
mov r12, rax
je 0x1400118e2
mov rax, qword [0x1409f0e18]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.1400123a0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1409f0e18]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400118c5
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400117ce
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140011840
add dword [0x1409f0e14], 1
cmp ebx, 8
jae 0x140011801
test bl, 4
jne 0x1400118a0
test ebx, ebx
je 0x1400117f6
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x1400118b4
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x1400117f6
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14001181a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1409f0e18]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400117ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140011690
xor esi, esi
jmp 0x140011757
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x1400117f6
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x1400117f6
mov rax, qword [0x1409f0e18]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.140011690
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.140011690
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140011eb0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1409f0e80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1409f0e60]
test rbx, rbx
je 0x140011f04
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140011efb
test rsi, rsi
je 0x140011efb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140011ee0
lea rcx, [0x1409f0e80]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140012260
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1409e97d0]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x1400122cf
mov rcx, r9
call fcn.140012130
test eax, eax
je 0x1400122cf
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x1400122cd
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1400122c4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400122cf
add rdx, 0x28
cmp rdx, r9
jne 0x1400122b0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14001c750
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409e4240]
jmp 0x140013090

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

Disassembly:
lea rcx, [0x1409e4240]
jmp 0x140013090

Function at 0x14003c330
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003c33d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003c34d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003c335
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003c365
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003c352
sub eax, 3
jb 0x14003c37f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003c3b6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003c3a6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003c3a4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003c393
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003c2f2
jmp 0x14003c33d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x22e00
mov dl, reloc.COMCTL32.dll_InitCommonControls
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003c402
cmp rsi, rcx
jae 0x14003c40a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003c3e9
cmp al, 0x8f
ja 0x14003c3e9
cmp byte [rsi - 2], 0xf
je 0x14003c3ef
sub al, 0xe8
cmp al, 1
ja 0x14003c3d3
cmp rsi, rcx
jae 0x14003c40a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003c3d9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003c40a
lodsb al, byte [rsi]
jmp 0x14003c3e9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3a000]
mov eax, dword [rdi]
or eax, eax
je 0x14003c473
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x43be4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14003c417
jns 0x14003c44c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14003c456
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14003c46d
mov qword [rbx], rax
add rbx, 8
jmp 0x14003c437
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x18f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14003c4cb
sub rsp, 0xffffffffffffff80
jmp 0x140023590
Function at 0x401ba0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov ecx, dword [0x00417624]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x401cc0
mov rax, qword [0x00417628]
xor ebx, ebx
add rax, 0x18
mov rdx, qword [rax]
cmp rsi, rdx
jb 0x401bec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0x401ca6
add ebx, 1
add rax, 0x28
cmp ebx, ecx
jne 0x401bd0
mov rcx, rsi
call fcn.004027e0
test rax, rax
mov r12, rax
je 0x401cf8
movsxd rbx, ebx
lea rbx, [rbx + rbx*4]
shl rbx, 3
mov r13, rbx
add r13, qword [0x00417628]
mov qword [r13 + 0x20], rax
mov dword [r13], 0
call fcn.00402930
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 0x18], rax
mov rax, qword [0x00417628]
mov rcx, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401cdb
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x401c9f
sub eax, 0x40
and eax, 0xffffffbf
je 0x401c9f
add rbx, qword [0x00417628]
mov rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x401cc7
add dword [0x00417624], 1
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sub.msvcrt.dll_memcpy
xor ebx, ebx
jmp 0x401bf7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00401b30
mov rax, qword [0x00417628]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.00401b30
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.00401b30
nop
nop dword [rax + rax]

Function at 0x402450
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00417900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004178e0]
test rbx, rbx
je 0x4024a4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40249b
test rsi, rsi
je 0x40249b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402480
lea rcx, [0x00417900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x4027e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x00413d80]
xor edx, edx
mov r8, rcx
cmp word [r9], 0x5a4d
je 0x402800
mov rax, rdx
add rsp, 0x28
ret
mov rcx, r9
call fcn.004026c0
test eax, eax
je 0x4027f8
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add rax, r9
movzx edx, word [rax + 0x14]
lea rdx, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x40285d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x402854
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x4027f8
add rdx, 0x28
cmp rdx, r9
jne 0x402840
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret

Function at 0x4076a0
Capabilities:
Query environment variable

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12d, 1
sub r8d, 1
mov edi, ecx
mov ecx, 0x66666667
mov eax, r8d
mov rbp, rdx
movsxd rsi, r8d
imul ecx
sar r8d, 0x1f
mov rbx, r9
mov ecx, edx
sar ecx, 2
sub ecx, r8d
je 0x4076f5
mov r8d, 0x66666667
nop dword [rax]
mov eax, ecx
sar ecx, 0x1f
add r12d, 1
imul r8d
sar edx, 2
sub edx, ecx
mov ecx, edx
jne 0x4076e0
mov edx, dword [rbx + 0x2c]
cmp edx, 0xffffffff
je 0x407770
mov ecx, dword [rbx + 0xc]
cmp r12d, edx
mov r9, rbx
cmovl r12d, edx
mov r8d, 1
lea edx, [r12 + 2]
mov eax, ecx
sub eax, edx
cmp ecx, edx
mov edx, 0xffffffff
cmovle eax, edx
mov ecx, edi
mov rdx, rbp
mov dword [rbx + 0xc], eax
add r12d, 1
call fcn.00406f60
mov ecx, dword [rbx + 8]
mov eax, dword [rbx + 0x2c]
mov rdx, rbx
mov dword [rbx + 0x10], eax
mov eax, ecx
and ecx, 0x20
or eax, 0x1c0
or ecx, 0x45
mov dword [rbx + 8], eax
call fcn.00406b10
add dword [rbx + 0xc], r12d
mov rdx, rbx
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.004073d0
mov eax, dword [0x0040f0a0]
cmp eax, 0xffffffff
je 0x40779c
test eax, eax
je 0x40778c
mov edx, 2
mov dword [rbx + 0x2c], edx
jmp 0x4076fd
call fcn.0040e850
test al, 1
mov edx, 3
jne 0x40777f
jmp 0x407784
lea rcx, str.PRINTF_EXPONENT_DIGITS
call sub.msvcrt.dll_getenv
test rax, rax
je 0x4077c4
movsx eax, byte [rax]
sub eax, 0x30
cmp eax, 2
setbe al
movzx eax, al
mov dword [0x0040f0a0], eax
jmp 0x40777b
xor eax, eax
jmp 0x4077b9
Function at 0x1400010c0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
mov eax, 0x1098
call fcn.14001e8b0
sub rsp, rax
mov rax, qword [0x140251048]
xor rax, rsp
mov qword [rsp + 0x1090], rax
lea rsi, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
lea rcx, [0x140254cd8]
lea rdx, [0x1402654e8]
lea r8, [0x1402654f9]
lea r9, [rsp + 0x38]
call fcn.1400013b0
test eax, eax
jne 0x140001118
mov rcx, qword [rsp + 0x38]
call fcn.14017fcb4
mov qword [rsp + 0x20], rsi
lea rcx, [0x140254ddc]
lea rdx, [0x1402654e8]
lea r8, [0x1402654f9]
lea r9, [rsp + 0x38]
call fcn.1400013b0
test eax, eax
jne 0x14000114a
mov rcx, qword [rsp + 0x38]
call fcn.14017fcb4
mov qword [rsp + 0x20], rsi
lea rcx, [0x140254ee0]
lea rdx, [0x1402654e8]
lea r8, [0x1402654f9]
lea r9, [rsp + 0x38]
call fcn.1400013b0
test eax, eax
jne 0x14000117c
mov rcx, qword [rsp + 0x38]
call fcn.14017fcb4
mov qword [rsp + 0x20], rsi
lea rcx, [0x140254fe4]
lea rdx, [0x1402654e8]
lea r8, [0x1402654f9]
lea r9, [rsp + 0x38]
call fcn.1400013b0
test eax, eax
jne 0x1400011ae
mov rcx, qword [rsp + 0x38]
call fcn.14017fcb4
call fcn.1400019c0
call fcn.140001cb0
call fcn.1400019c0
lea rcx, str.C:UsersPublicPicturesconfig.jpg
call fcn.140004f10
test eax, eax
je 0x1400011f3
call fcn.140001cb0
call fcn.1400019c0
mov rcx, qword [rsp + 0x1090]
xor rcx, rsp
call fcn.14001e910
xor eax, eax
add rsp, 0x1098
pop rdi
pop rsi
ret
lea rcx, str.C:Windowscomsetup.log
call fcn.140004f10
call fcn.140001cb0
call fcn.140004c70
test eax, eax
je 0x1400011d7
call fcn.1400019c0
call fcn.140003540
test eax, eax
je 0x1400011d2
call fcn.1400019c0
call fcn.140004ec0
test eax, eax
jne 0x1400011d2
call fcn.140001cb0
call fcn.140004db0
mov esi, eax
call fcn.1400019c0
test esi, esi
jne 0x1400012eb
lea rcx, [rsp + 0x38]
call fcn.140002290
call fcn.140001cb0
call fcn.1400019c0
lea rsi, [rsp + 0x14e]
lea rdi, [0x140212128]
mov edx, 0x65
mov rcx, rsi
mov r8, rdi
call fcn.140004cf0
call fcn.140001cb0
lea rcx, [rsp + 0x252]
mov edx, 0x66
mov r8, rdi
call fcn.140004cf0
call fcn.1400019c0
lea rcx, [rsp + 0x45a]
mov edx, 0x68
mov r8, rdi
call fcn.140004cf0
call fcn.140001cb0
lea rcx, [rsp + 0x356]
mov edx, 0x69
mov r8, rdi
call fcn.140004cf0
call fcn.1400019c0
mov rcx, rsi
call fcn.140003430
call fcn.1400019c0
call fcn.140001cb0
lea rcx, str.C:UsersPublicPicturesconfig.jpg
call fcn.140004f70
jmp 0x1400011d2
call fcn.140004ec0
call fcn.140001cb0
call fcn.140004db0
call fcn.1400019c0
lea rcx, [rsp + 0x38]
call fcn.140002290
call fcn.140001cb0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140003350
Capabilities:
Enumerate processes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x160
mov rdi, rcx
mov rax, qword [0x140251048]
xor rax, rsp
mov qword [rsp + 0x158], rax
call fcn.140001cb0
call fcn.1400019c0
xor ebx, ebx
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x14000340b
mov rsi, rax
mov dword [rsp + 0x28], 0x130
lea rdx, [rsp + 0x28]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400033f0
call fcn.140001cb0
call fcn.1400019c0
lea rbx, [rsp + 0x54]
mov r15, qword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea r14, [rsp + 0x28]
nop dword [rax + rax]
mov rcx, rdi
mov rdx, rbx
call r15
test eax, eax
je 0x1400033f4
mov rcx, rsi
mov rdx, r14
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400033d0
xor ebx, ebx
jmp 0x1400033f8
xor ebx, ebx
jmp 0x140003402
mov ebx, dword [rsp + 0x30]
call fcn.140001cb0
call fcn.1400019c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.14001e910
mov eax, ebx
add rsp, 0x160
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140003430
Capabilities:
Create process on windows

Disassembly:
push rsi
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov rsi, rcx
mov rax, qword [0x140251048]
xor rax, rsp
mov qword [rsp + 0xd8], rax
call fcn.1400019c0
xorps xmm6, xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
mov qword [rsp + 0xd0], 0
movaps xmmword [rsp + 0x50], xmm6
mov qword [rsp + 0x60], 0
mov word [rsp + 0xb0], 0
call fcn.140001cb0
call fcn.1400019c0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140003510
call fcn.140001cb0
mov rcx, qword [rsp + 0x50]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0x58]
call rsi
call fcn.1400019c0
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.14001e910
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rsi
ret