joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400da3d0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400da41d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400da414
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400da41f
add rax, 0x28
cmp rax, r9
jne 0x1400da400
xor eax, eax
ret

Function at 0x1400da420
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400da4b0
mov rdx, qword [0x1401e9040]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400da49e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400da49e
cmp word [rax + 0x18], 0x20b
jne 0x1400da49e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400da4b0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400da489
add rbx, 0x28
cmp rbx, rdi
je 0x1400da4b0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400da480
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400da4c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1401e9040]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400da4e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400da4e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400da4e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400da53d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400da534
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400da4e0
add rax, 0x28
cmp rax, r9
jne 0x1400da520
xor eax, eax
ret

Function at 0x1400da540
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401e9040]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400da55f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400da568
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400da55f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400da580
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1401e9040]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400da5a0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400da5a8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400da5a0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400da5f8
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400da5ef
test rcx, rcx
je 0x1400da5a0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400da5e0
xor eax, eax
ret
Function at 0x1400da600
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401e9040]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400da61f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400da628
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400da640
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1401e9040]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400da660
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400da668
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400da660
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400da660
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400da6b4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400da6c0
add rdx, 0x28
cmp r9, rdx
jne 0x1400da6a0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400da6d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1401e9040]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400da6f2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400da700
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400da6f2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400da6f2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400da6f2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400da755
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400da768
add rdx, 0x28
cmp r10, rdx
jne 0x1400da740
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400da777
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400da787
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400da75e
test ecx, ecx
jg 0x1400da770
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x180001330
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x18
mov eax, dword [r8 + 0x18]
mov ebx, 0x6b206574
mov r14d, dword [r8]
mov r9d, 0x61707865
mov r15d, dword [r8 + 4]
mov r10d, 0x3320646e
mov r12d, dword [r8 + 8]
mov r11d, 0x79622d32
mov ebp, dword [r8 + 0xc]
mov r13d, dword [r8 + 0x10]
mov ecx, dword [r8 + 0x14]
mov edi, dword [rdx + 4]
mov esi, dword [rdx + 8]
mov dword [rsp + 0x78], eax
mov eax, dword [r8 + 0x1c]
mov r8d, dword [rdx]
mov edx, dword [rdx + 0xc]
mov dword [rsp + 0x68], eax
mov qword [rsp + 8], 0xa
nop dword [rax]
lea eax, [rcx + r9]
rol eax, 7
xor ebp, eax
lea eax, [r9 + rbp]
rol eax, 9
xor esi, eax
lea eax, [rsi + rbp]
rol eax, 0xd
xor ecx, eax
lea eax, [rsi + rcx]
ror eax, 0xe
xor r9d, eax
lea eax, [r14 + r10]
rol eax, 7
xor edx, eax
lea eax, [rdx + r10]
rol eax, 9
xor dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
add eax, edx
rol eax, 0xd
xor r14d, eax
mov eax, dword [rsp + 0x78]
add eax, r14d
ror eax, 0xe
xor r10d, eax
lea eax, [r8 + r11]
rol eax, 7
xor dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
add eax, r11d
rol eax, 9
xor r15d, eax
mov eax, dword [rsp + 0x68]
add eax, r15d
rol eax, 0xd
xor r8d, eax
lea eax, [r8 + r15]
ror eax, 0xe
xor r11d, eax
lea eax, [rbx + r13]
rol eax, 7
xor r12d, eax
lea eax, [r12 + rbx]
rol eax, 9
xor edi, eax
lea eax, [rdi + r12]
rol eax, 0xd
xor r13d, eax
lea eax, [rdi + r13]
ror eax, 0xe
xor ebx, eax
lea eax, [r12 + r9]
rol eax, 7
xor r14d, eax
mov dword [rsp], r14d
lea eax, [r14 + r9]
rol eax, 9
xor r15d, eax
lea eax, [r15 + r14]
rol eax, 0xd
xor r12d, eax
lea eax, [r12 + r15]
ror eax, 0xe
xor r9d, eax
lea eax, [r10 + rbp]
rol eax, 7
xor r8d, eax
lea eax, [r8 + r10]
rol eax, 9
xor edi, eax
lea eax, [rdi + r8]
rol eax, 0xd
xor ebp, eax
lea eax, [rdi + rbp]
ror eax, 0xe
xor r10d, eax
lea eax, [rdx + r11]
rol eax, 7
xor r13d, eax
lea eax, [r11 + r13]
mov r14d, dword [rsp + 0x68]
rol eax, 9
xor esi, eax
lea eax, [rsi + r13]
rol eax, 0xd
xor edx, eax
lea eax, [rdx + rsi]
ror eax, 0xe
xor r11d, eax
mov eax, dword [rsp + 0x68]
add eax, ebx
rol eax, 7
xor ecx, eax
lea eax, [rcx + rbx]
rol eax, 9
xor dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
add eax, ecx
rol eax, 0xd
xor r14d, eax
mov eax, dword [rsp + 0x78]
add eax, r14d
mov dword [rsp + 0x68], r14d
mov r14d, dword [rsp]
ror eax, 0xe
xor ebx, eax
sub qword [rsp + 8], 1
jne 0x1800013a0
mov rcx, qword [rsp + 0x60]
xor eax, eax
mov dword [rcx], r9d
mov dword [rcx + 4], r10d
mov dword [rcx + 8], r11d
mov dword [rcx + 0xc], ebx
mov dword [rcx + 0x10], r8d
mov dword [rcx + 0x14], edi
mov dword [rcx + 0x18], esi
mov dword [rcx + 0x1c], edx
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000c4b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x10
mov rax, qword [0x180035040]
xor rax, rsp
mov qword [rsp + 8], rax
xor edx, edx
lea r15, [0x180029b90]
mov dword [rsp], edx
mov r8, rcx
movzx edi, byte [rsp + 3]
xor eax, eax
movzx esi, byte [rsp + 2]
movzx ebx, dl
movzx ebp, byte [rsp + 1]
movzx r14d, dl
mov word [rsp + 4], dx
movzx r11d, byte [rsp + 5]
nop dword [rax]
movzx r10d, byte [r8 + rax]
movzx ecx, r10b
xor cl, byte [rax + r15]
or cl, r14b
movzx r14d, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x20]
or cl, bpl
movzx ebp, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x40]
or cl, sil
movzx esi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x60]
or cl, dil
movzx edi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x80]
or cl, bl
movzx ebx, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0xa0]
xor r10b, byte [rax + r15 + 0xc0]
or cl, r11b
or r10b, dl
movzx r11d, cl
inc rax
movzx edx, r10b
cmp rax, 0x1f
jb 0x18000c510
movzx ecx, byte [rax + r8]
movzx r9d, byte [rax + r15]
and cl, 0x7f
movzx edx, byte [rax + r15 + 0xa0]
movzx r8d, cl
xor edx, r8d
movzx ecx, r10b
or edx, r11d
xor r9d, r8d
dec edx
or r9d, r14d
dec r9d
or r9d, edx
movzx edx, byte [rax + r15 + 0x80]
xor edx, r8d
or edx, ebx
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x60]
xor edx, r8d
or edx, edi
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x20]
xor edx, r8d
or edx, ebp
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x40]
movzx eax, byte [rax + r15 + 0xc0]
xor edx, r8d
xor eax, r8d
or edx, esi
or eax, ecx
dec edx
dec eax
or r9d, edx
or eax, r9d
shr eax, 8
and eax, 1
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.180011720
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x10
pop r15
pop r14
pop rdi
ret
Function at 0x18000f420
Capabilities:
Connect pipe
Create pipe

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x180035040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov ebp, r8d
mov r14, rdx
mov rdi, rcx
cmp qword [rcx + 8], 0
jne 0x18000f46d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 8], rax
test rax, rax
je 0x18000f54c
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
jne 0x18000f540
lea edx, [rcx + 2]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [rsp + 0x40], 0x18
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0
xor esi, esi
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
sub rax, rcx
cmp rax, 0x20
jb 0x18000f537
xor ebx, ebx
nop dword [rax]
add rcx, rbx
cmp qword [rcx + 0x18], 0x10
jb 0x18000f4dd
mov rcx, qword [rcx]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x1f4
mov dword [rsp + 0x28], 0x2000
mov dword [rsp + 0x20], 0x2000
mov r9d, 1
xor r8d, r8d
mov edx, 0x40000003
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
jne 0x18000f537
inc rsi
add rbx, 0x20
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
sub rax, rcx
sar rax, 5
cmp rsi, rax
jne 0x18000f4d0
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x18000f54c
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x18000f553
xor eax, eax
jmp 0x18000f5f7
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r9d, ebp
mov r8, qword [rdi + 8]
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi]
call fcn.18000f620
mov ebx, eax
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x40]
cmp eax, 1
jne 0x18000f5c2
mov rdx, qword [rsp + 0x50]
mov rcx, r14
call fcn.18000f940
lea rdx, [rsp + 0x40]
cmp rbp, 0x10
cmovae rdx, rsi
mov r8, qword [rsp + 0x50]
mov rcx, qword [r14]
call fcn.180013390
mov dword [rdi + 0x48], ebx
cmp rbp, 0x10
jb 0x18000f5f5
lea rdx, [rbp + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18000f5ed
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000f615
mov rcx, rsi
call fcn.1800115a4
mov eax, ebx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180011720
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.180017d08
int3
Function at 0x18000f620
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f88]
mov eax, 0x2088
call fcn.1800116c0
sub rsp, rax
mov rax, qword [0x180035040]
xor rax, rsp
mov qword [rbp + 0x1f70], rax
xor r13d, r13d
mov qword [rsp + 0x50], r8
mov ebx, r9d
mov dword [rsp + 0x58], r13d
mov r15, r8
mov dword [rsp + 0x30], ebx
mov rsi, rdx
mov qword [rsp + 0x38], r13
xorps xmm0, xmm0
lea rax, [rsp + 0x38]
lea r8d, [r13 + 8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
mov r12, rcx
lea rdx, [rsp + 0x60]
movdqu xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18000f6e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x18000f805
mov edx, ebx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x18000f805
xor r9d, r9d
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x18000f805
cmp dword [rsp + 0x58], 8
jb 0x18000f80c
cmp dword [rsp + 0x60], 0xffffffff
jne 0x18000f80c
mov r14d, dword [rsp + 0x64]
test r14d, r14d
je 0x18000f7fc
mov eax, 0x2000
mov qword [rsp + 0x38], r13
cmp r14d, eax
mov qword [rsp + 0x50], r15
mov r8d, r14d
lea r9, [rsp + 0x58]
cmova r8d, eax
lea rdx, [rsp + 0x70]
lea rax, [rsp + 0x38]
xorps xmm0, xmm0
mov rcx, r12
mov qword [rsp + 0x20], rax
movdqu xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18000f78d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x18000f805
mov edx, ebx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x18000f805
xor r9d, r9d
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x18000f805
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
mov rax, rdx
mov edi, dword [rsp + 0x58]
sub rax, rcx
cmp rdi, rax
ja 0x18000f7d6
lea rax, [rcx + rdi]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x18000f7b8
mov rax, qword [rsi]
lea rbx, [rax + rcx]
mov r8, rdi
mov rcx, rbx
lea rdx, [rsp + 0x70]
call fcn.180013390
mov byte [rbx + rdi], r13b
mov ebx, dword [rsp + 0x30]
jmp 0x18000f7ee
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.18000ef40
sub r14d, dword [rsp + 0x58]
jne 0x18000f709
test r14d, r14d
sete r13b
mov eax, r13d
jmp 0x18000f811
mov eax, 2
jmp 0x18000f811
mov eax, 1
mov rcx, qword [rbp + 0x1f70]
xor rcx, rsp
call fcn.180011720
add rsp, 0x2088
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x180011260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x10], edx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
mov r13, r8
mov r15, rcx
mov r14d, dword [rax + rcx + 0x88]
add r14, rcx
mov edi, dword [r14 + 0x20]
mov esi, dword [r14 + 0x24]
add rdi, rcx
mov r12d, dword [r14 + 0x1c]
add rsi, rcx
add r12, rcx
cmp dword [r14 + 0x18], ebx
jbe 0x1800112e8
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rsi]
mov ecx, dword [rdi]
add rcx, r15
mov ebp, dword [r12 + rax*4]
add rbp, r15
call r13
cmp eax, dword [rsp + 0x58]
je 0x180011307
inc ebx
add rdi, 4
add rsi, 2
cmp ebx, dword [r14 + 0x18]
jb 0x1800112c0
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, rbp
jmp 0x1800112ea

Function at 0x180011310
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov rax, qword gs:[0x60]
mov rdi, qword [rax + 0x18]
add rdi, 0x10
mov rsi, qword [rdi]
mov rcx, rsi
cmp rsi, rdi
je 0x1800113ae
xor ebp, ebp
nop dword [rax]
nop word [rax + rax]
movzx edx, word [rcx + 0x58]
mov eax, 0xd70561d2
mov r11, qword [rcx + 0x60]
cmp bp, dx
jae 0x1800113a6
mov ebx, edx
nop dword [rax]
nop dword [rax + rax]
movzx r10d, byte [r11]
lea r11, [r11 + 1]
lea r9d, [r10 - 0x41]
cmp r9b, 0x19
lea edx, [r10 + 0x20]
movzx r8d, dl
cmova r8d, r10d
imul eax, eax, 0x801
movzx r8d, r8b
add eax, r8d
sub rbx, 1
jne 0x180011370
cmp eax, 0x98d23622
je 0x1800113b4
mov rcx, qword [rcx]
cmp rcx, rdi
jne 0x180011350
mov rax, qword [rsi]
mov rcx, qword [rax]
mov rax, qword [rcx + 0x30]
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret

Function at 0x180011410
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18001144e
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
lea rax, [0x180035d90]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x1800113d0]
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x180035d88], rax
mov eax, 1
add rsp, 0x38
ret
Function at 0x18001b680
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 0x18001b6b0
xor eax, eax
jmp 0x18001b773
mov rbp, rbx
cmp word [rax], si
je 0x18001b6d5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18001b6bc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18001b6b8
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.18001b5d0
movsxd r14, eax
test eax, eax
jne 0x18001b713
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18001b6a9
mov rcx, r14
call fcn.180019808
mov rdi, rax
test rax, rax
jne 0x18001b72c
xor ecx, ecx
call fcn.1800197cc
jmp 0x18001b708
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.18001b5d0
test eax, eax
jne 0x18001b75d
mov rcx, rdi
call fcn.1800197cc
jmp 0x18001b767
xor ecx, ecx
call fcn.1800197cc
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 0x180005670
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x1400
call fcn.18008b970
sub rsp, rax
mov rax, qword [0x18021b280]
xor rax, rsp
mov qword [rsp + 0x13f0], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
call fcn.180088788
mov edx, eax
mov dword [rsp + 0x13e4], 0xffffffff
mov dword [rsp + 0x64], eax
mov eax, 1
nop dword [rax]
nop dword [rax + rax]
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [rsp + rax*4 + 0x64], edx
inc rax
cmp rax, 0x270
jb 0x1800056c0
mov dword [rsp + 0x60], 0x270
lea rcx, [rsp + 0x60]
call fcn.18000b4f0
mov ecx, eax
imul rax, rcx, 0xdbba0
cmp eax, 0x28d7f
ja 0x18000571a
lea rcx, [rsp + 0x60]
call fcn.18000b4f0
mov ecx, eax
imul rax, rcx, 0xdbba0
cmp eax, 0x28d80
jb 0x180005700
shr rax, 0x20
add eax, 0x800186a0
btc eax, 0x1f
lea rcx, [0x1800f4760]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 3
mov dword [rsp + 0x50], eax
movabs rax, 0x1000000000000000
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18000a600
mov rax, rbx
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.18008ab20
add rsp, 0x1400
pop rbx
ret
Function at 0x18000b4f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x18000b551
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x18000b510
mov ecx, dword [r9]
jmp 0x18000b63b
cmp ecx, 0x4e0
jb 0x18000b63b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18000b570
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18000b5c0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret