joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402cb890
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x70]
mov eax, 0x170
call fcn.1401520e0
sub rsp, rax
mov rax, qword [0x14042e200]
xor rax, rsp
mov qword [rbp + 0x60], rax
movups xmm0, xmmword [rdx]
mov rbx, rcx
lea rcx, [rsp + 0x50]
movups xmm1, xmmword [rdx + 0x10]
movd eax, xmm0
movups xmmword [rbp + 0x40], xmm0
and al, 0xf8
mov byte [rbp + 0x40], al
mov rax, qword [rdx + 0x18]
lea rdx, [rbp + 0x40]
shr rax, 0x38
and al, 0x3f
or al, 0x40
movups xmmword [rbp + 0x50], xmm1
mov byte [rbp + 0x5f], al
call fcn.1402ca4f0
mov ecx, dword [rsp + 0x78]
mov edx, dword [rbp - 0x60]
mov r8d, dword [rbp - 0x3c]
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rsp + 0x7c]
mov dword [rbp + 0x18], edx
mov edx, dword [rbp - 0x5c]
mov dword [rbp - 0x10], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x80]
mov dword [rbp + 0x1c], edx
mov edx, dword [rbp - 0x58]
mov dword [rbp - 0xc], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x7c]
mov dword [rbp + 0x20], edx
mov edx, dword [rbp - 0x54]
mov dword [rbp - 8], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x78]
mov dword [rbp + 0x24], edx
mov edx, dword [rbp - 0x50]
mov dword [rbp - 4], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x74]
mov dword [rbp + 0x28], edx
mov edx, dword [rbp - 0x4c]
mov dword [rbp], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x70]
mov dword [rbp + 0x2c], edx
mov edx, dword [rbp - 0x48]
mov dword [rbp + 4], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x6c]
mov dword [rbp + 0x30], edx
mov edx, dword [rbp - 0x44]
mov dword [rbp + 8], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov ecx, dword [rbp - 0x68]
mov dword [rbp + 0x34], edx
mov edx, dword [rbp - 0x40]
mov dword [rbp + 0xc], eax
lea eax, [rcx + rdx]
sub edx, ecx
mov dword [rbp + 0x38], edx
lea rcx, [rsp + 0x20]
mov edx, dword [rbp - 0x64]
mov dword [rbp + 0x10], eax
lea eax, [rdx + r8]
sub r8d, edx
lea rdx, [rbp + 0x18]
mov dword [rbp + 0x3c], r8d
mov dword [rbp + 0x14], eax
call fcn.1402c6e90
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.1402c7110
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.1402c87b0
lea rcx, [rbp + 0x40]
mov edx, 0x20
call fcn.140001240
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140151510
mov rbx, qword [rsp + 0x190]
add rsp, 0x170
pop rbp
ret
Function at 0x1402f6b70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
mov r11, qword [rcx]
mov rsi, rdx
mov r10, qword [rcx + 8]
mov rbx, rcx
mov r9, qword [rcx + 0x10]
mov rdi, qword [rcx + 0x18]
mov rax, qword [rcx + 0x20]
shl r11, 0x38
cmp dword [rcx + 0x30], 0
je 0x1402f6daf
test r8, r8
je 0x1402f6daf
mov r14d, dword [rcx + 0x2c]
cmp r8, r14
jne 0x1402f6daf
mov ecx, dword [rcx + 0x28]
dec ecx
cmp ecx, 6
ja case.default.0x1402f6bdd
lea r8, [0x140000000]
mov edx, dword [r8 + rcx*4 + 0x2f6dc8]
add rdx, r8
jmp rdx
movzx ecx, byte [rbx + 0x3e]
shl rcx, 0x30
or r11, rcx
movzx ecx, byte [rbx + 0x3d]
shl rcx, 0x28
or r11, rcx
movzx ecx, byte [rbx + 0x3c]
shl rcx, 0x20
or r11, rcx
movzx ecx, byte [rbx + 0x3b]
shl rcx, 0x18
or r11, rcx
movzx ecx, byte [rbx + 0x3a]
shl rcx, 0x10
or r11, rcx
movzx ecx, byte [rbx + 0x39]
shl rcx, 8
or r11, rcx
movzx ecx, byte [rbx + 0x38]
or r11, rcx
xor rax, r11
cmp dword [rbx + 0x30], 0
jbe 0x1402f6c76
mov ecx, dword [rbx + 0x30]
nop dword [rax]
nop dword [rax + rax]
add r10, r9
add rdi, rax
rol r9, 0xd
xor r9, r10
rol rax, 0x10
xor rax, rdi
rol r10, 0x20
add rdi, r9
add r10, rax
rol r9, 0x11
rol rax, 0x15
xor r9, rdi
xor rax, r10
rol rdi, 0x20
sub rcx, 1
jne 0x1402f6c40
xor r10, r11
mov ecx, 0xff
cmp r14d, 0x10
mov r8d, 0xee
cmovne r8d, ecx
mov ecx, dword [rbx + 0x34]
xor r8, rdi
test ecx, ecx
je 0x1402f6cd6
nop word [rax + rax]
add r10, r9
add r8, rax
rol r9, 0xd
xor r9, r10
rol rax, 0x10
xor rax, r8
rol r10, 0x20
add r8, r9
add r10, rax
rol r9, 0x11
rol rax, 0x15
xor r9, r8
xor rax, r10
rol r8, 0x20
sub rcx, 1
jne 0x1402f6ca0
mov rdx, rax
xor rdx, r8
xor rdx, r9
xor rdx, r10
mov ecx, edx
mov byte [rsi], dl
shr ecx, 8
mov byte [rsi + 1], cl
mov ecx, edx
shr ecx, 0x10
mov byte [rsi + 2], cl
mov ecx, edx
shr ecx, 0x18
shr rdx, 0x20
mov byte [rsi + 3], cl
mov ecx, edx
shr ecx, 8
mov byte [rsi + 5], cl
mov ecx, edx
mov byte [rsi + 4], dl
shr ecx, 0x10
shr edx, 0x18
mov byte [rsi + 6], cl
mov byte [rsi + 7], dl
cmp dword [rbx + 0x2c], 8
je 0x1402f6da8
mov ecx, dword [rbx + 0x34]
xor r9, 0xdd
test ecx, ecx
je 0x1402f6d67
add r10, r9
add r8, rax
rol r9, 0xd
xor r9, r10
rol rax, 0x10
xor rax, r8
rol r10, 0x20
add r8, r9
add r10, rax
rol r9, 0x11
rol rax, 0x15
xor r9, r8
xor rax, r10
rol r8, 0x20
sub rcx, 1
jne 0x1402f6d31
xor rax, r8
xor rax, r9
xor rax, r10
mov ecx, eax
mov byte [rsi + 8], al
shr ecx, 8
mov byte [rsi + 9], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rsi + 0xa], cl
mov ecx, eax
shr ecx, 0x18
shr rax, 0x20
mov byte [rsi + 0xb], cl
mov ecx, eax
shr ecx, 8
mov byte [rsi + 0xd], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rsi + 0xc], al
shr eax, 0x18
mov byte [rsi + 0xf], al
mov byte [rsi + 0xe], cl
mov eax, 1
jmp 0x1402f6db1
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
ret
Function at 0x1402f6f40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x20
call fcn.1401520e0
sub rsp, rax
add qword [rcx], r8
mov r14, rcx
mov rsi, qword [rcx + 8]
mov r15, r8
mov rdi, qword [rcx + 0x10]
mov r13, rdx
mov rbp, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x20]
mov ecx, dword [rcx + 0x28]
test ecx, ecx
je 0x1402f706b
mov r12d, 8
sub r12d, ecx
add rcx, 0x38
add rcx, r14
cmp r8, r12
jae 0x1402f6faf
call fcn.1403453d0
add dword [r14 + 0x28], r15d
jmp 0x1402f7161
mov r8, r12
call fcn.1403453d0
movzx eax, byte [r14 + 0x3e]
lea r11, [r14 + 0x38]
movzx ecx, byte [r14 + 0x3f]
sub r15, r12
shl rcx, 8
add r13, r12
or rcx, rax
movzx eax, byte [r14 + 0x3d]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x3c]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x3b]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x3a]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x39]
shl rcx, 8
or rcx, rax
movzx eax, byte [r11]
shl rcx, 8
or rcx, rax
mov eax, dword [r14 + 0x30]
xor rbx, rcx
test eax, eax
je 0x1402f7066
nop dword [rax]
nop dword [rax + rax]
add rsi, rdi
add rbp, rbx
rol rdi, 0xd
xor rdi, rsi
rol rbx, 0x10
xor rbx, rbp
rol rsi, 0x20
add rbp, rdi
add rsi, rbx
rol rdi, 0x11
rol rbx, 0x15
xor rdi, rbp
xor rbx, rsi
rol rbp, 0x20
sub rax, 1
jne 0x1402f7030
xor rsi, rcx
jmp 0x1402f706f
lea r11, [r14 + 0x38]
mov r12d, r15d
mov rdx, r13
and r12d, 7
sub rdx, r12
add rdx, r15
cmp r13, rdx
je 0x1402f713d
mov r10d, dword [r14 + 0x30]
lea r9, [r13 + 6]
movzx eax, byte [r9]
movzx r8d, byte [r9 + 1]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 1]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 2]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 3]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 4]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 5]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 6]
shl r8, 8
or r8, rax
xor rbx, r8
test r10d, r10d
je 0x1402f7129
mov rax, r10
add rsi, rdi
add rbp, rbx
rol rdi, 0xd
xor rdi, rsi
rol rbx, 0x10
xor rbx, rbp
rol rsi, 0x20
add rbp, rdi
add rsi, rbx
rol rdi, 0x11
rol rbx, 0x15
xor rdi, rbp
xor rbx, rsi
rol rbp, 0x20
sub rax, 1
jne 0x1402f70f3
add r9, 8
xor rsi, r8
lea rax, [r9 - 6]
cmp rax, rdx
jne 0x1402f7090
test r12d, r12d
je 0x1402f714d
mov r8, r12
mov rcx, r11
call fcn.1403453d0
mov dword [r14 + 0x28], r12d
mov qword [r14 + 8], rsi
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], rbp
mov qword [r14 + 0x20], rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14030e370
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push r12
push r13
push r14
mov eax, 0x50
call fcn.1401520e0
sub rsp, rax
mov r14, qword [rsp + 0xa8]
lea r10, [rax - 0x51]
mov rbp, qword [rsp + 0xb0]
xor r11d, r11d
cmp r14, 1
mov eax, r11d
mov r13, r9
mov r12, r8
mov r9, qword [rcx]
setne al
add rax, rbp
mov rsi, rcx
cmp rax, r9
jbe 0x14030e3ce
xor eax, eax
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
mov qword [rsp + 0x80], rbx
cmp r14, 1
je 0x14030e4d3
lea r10, [r8 - 1]
add r10, r9
movzx ebx, byte [r10]
cmp dword [rsp + 0xb8], r11d
je 0x14030e40b
sub r9, rbx
mov eax, 1
sub r9, rbp
dec r9
mov qword [rcx], r9
jmp 0x14030e50a
lea rcx, [rbx + rax]
mov qword [rsp + 0x98], r15
mov r15d, 0x100
mov r8, r9
sub r8, rcx
mov rax, r9
xor r8, rcx
xor rax, rcx
or r8, rax
xor r8, r9
shr r8, 0x3f
dec r8
cmp r9, r15
cmovb r15, r9
test r15, r15
je 0x14030e4ad
mov qword [rsp + 0x90], rdi
mov rdi, rbx
shr rdi, 0x3f
nop dword [rax]
nop dword [rax + rax]
mov rax, r11
lea r10, [r10 - 1]
shr rax, 0x3f
mov rcx, rbx
sub rcx, r11
inc r11
shr rcx, 0x3f
xor cl, al
xor al, dil
or cl, al
xor cl, dil
dec cl
movzx edx, cl
movzx ecx, byte [r10 + 1]
xor rcx, rbx
and rdx, rcx
not rdx
and r8, rdx
cmp r11, r15
jb 0x14030e460
mov rdx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov r15, qword [rsp + 0x98]
lea rax, [rbx + 1]
not r8
movzx r10d, r8b
dec r10
shr r10, 0x3f
neg r10
and rax, r10
sub r9, rax
mov qword [rsi], r9
mov rax, qword [rsp + 0xc0]
mov r9, r13
mov qword [rsp + 0x40], rax
mov r8, r12
mov rax, qword [rsp + 0xa0]
mov rcx, rsi
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.14030dfa0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
Function at 0x14030ea80
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x68
call fcn.1401520e0
sub rsp, rax
mov rax, qword [0x14042e200]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [rcx + 0x3c]
mov rdi, r9
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test eax, eax
je 0x14030ebb4
movups xmm0, xmmword [rcx + 0x10]
mov r15, qword [rcx + 0x20]
lea rbx, [rcx + 0x10]
dec eax
mov dword [rsp + 0x28], 1
mov dword [rcx + 0x3c], eax
xor r9d, r9d
mov eax, dword [rbx + 8]
xor r8d, r8d
and al, 0x7f
mov dword [rsp + 0x30], edi
movups xmmword [rsp + 0x48], xmm0
and byte [rsp + 0x54], 0x7f
xor edx, edx
mov byte [rsp + 0x50], al
mov rcx, r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.14020a3d0
test eax, eax
je 0x14030ebb4
mov eax, dword [rsp + 0x30]
lea r8, [rsp + 0x30]
mov r9, r14
mov dword [rsp + 0x20], eax
mov rdx, rbp
mov rcx, r15
call fcn.14020b060
test eax, eax
je 0x14030ebb4
mov r9, rdi
lea rdx, [rsp + 0x38]
mov r8, rbp
mov rcx, rsi
call fcn.14030f0d0
test eax, eax
je 0x14030ebb4
lea rax, [rbx + 0xf]
xor r8d, r8d
lea rcx, [rsp + 0x38]
cmp rcx, rax
ja 0x14030eb89
lea rax, [rsp + 0x47]
cmp rax, rbx
jb 0x14030eb89
lea rcx, [rsp + 0x38]
mov eax, r8d
sub rbx, rcx
nop
lea rdx, [rsp + 0x38]
add rdx, rax
inc rax
movzx ecx, byte [rbx + rdx]
xor byte [rdx], cl
cmp rax, 0x10
jl 0x14030eb70
jmp 0x14030eb9d
movdqu xmm1, xmmword [rsp + 0x38]
movdqu xmm0, xmmword [rbx]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x38], xmm1
mov rax, qword [rsp + 0x38]
or rax, qword [rsp + 0x40]
je 0x14030ebd0
mov rdx, rdi
mov rcx, rbp
call fcn.140001240
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140151510
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rsi + 0x38], r8d
mov eax, edi
jmp 0x14030ebb6
Function at 0x1403209c8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1403207f4

Function at 0x1403209d4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14032085b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14032085b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14032085b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14032085b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14032085b
cmp dword [rcx + 0x84], 0xe
jbe 0x14032085b
cmp dword [rcx + 0xf8], 0
je 0x14032085b
mov ecx, ebx
call fcn.1403208fc
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1403206ec
cmp dword [rbp + 0x20], 0
je 0x1403208a8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1403208b0
int3
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1403207f4
Function at 0x140342000
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x14034515c
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
test rcx, rcx
jne 0x14034517b
call fcn.140345330
jmp 0x14034522c
and qword [rbp - 0x30], 0
lea rcx, [rbp - 0x50]
and qword [rbp - 0x28], 0
xor edx, edx
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
call fcn.14031c0fc
mov rax, qword [rbp - 0x48]
mov r8d, 0xfde9
cmp dword [rax + 0xc], r8d
jne 0x1403451c6
cmp byte [rbp - 0x38], 0
je 0x1403451fb
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1403451fb
call fcn.140332920
test eax, eax
jne 0x1403451e7
cmp byte [rbp - 0x38], al
je 0x1403451df
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, 1
jmp 0x1403451fb
cmp byte [rbp - 0x38], 0
je 0x1403451f8
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140321138
test eax, eax
je 0x140345210
or ebx, 0xffffffff
jmp 0x14034521b
mov rcx, qword [rbp - 0x20]
call fcn.140345330
mov ebx, eax
cmp byte [rbp - 8], 0
je 0x14034522a
mov rcx, qword [rbp - 0x20]
call fcn.140331fec
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret

Function at 0x140345330
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140345350
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14031b3a0
or eax, 0xffffffff
jmp 0x140345352
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400011a0
Capabilities:
Access peb ldr_data

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x178
mov rax, qword [0x14001b008]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp dword [rsp + 0x180], 0
jne 0x1400011ce
xor eax, eax
jmp 0x1400012d7
mov rax, qword gs:[0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400012d5
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x48]
test eax, eax
je 0x1400012c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x48]
cmp eax, 0x104
jge 0x1400012c1
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x140001272
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movzx eax, word [rcx + rax*2]
mov ecx, eax
call fcn.140005d28
mov ecx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x50], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x140001231
mov eax, dword [rsp + 0x20]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0x104
jae 0x140001288
jmp 0x14000128d
call fcn.140001b88
mov rax, qword [rsp + 0x30]
mov byte [rsp + rax + 0x50], 0
lea rcx, [rsp + 0x50]
call section..text
cmp eax, dword [rsp + 0x180]
jne 0x1400012bf
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx + rax + 0x20]
jmp 0x1400012d7
jmp 0x1400012c3
jmp 0x1400012d5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
jmp 0x1400011f8
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140001db0
add rsp, 0x178
ret
Function at 0x140001300
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x178
mov rax, qword [0x14001b008]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x190], 0
je 0x140001339
cmp dword [rsp + 0x198], 0
jne 0x140001340
xor eax, eax
jmp 0x14000149b
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000136d
xor eax, eax
jmp 0x14000149b
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4550
je 0x14000139a
xor eax, eax
jmp 0x14000149b
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, pe_nt_image_headers64
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0xe0]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0
jmp 0x14000142e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jae 0x140001499
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x60]
call section..text
cmp dword [rsp + 0x198], eax
jne 0x140001497
mov rax, qword [rsp + 0x68]
jmp 0x14000149b
jmp 0x140001424
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140001db0
add rsp, 0x178
pop rdi
pop rsi
ret
Function at 0x140001540
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x34], 1
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400015c7
mov dword [rsp + 0x34], 0
jmp 0x140001747
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x2400
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14000160d
mov dword [rsp + 0x34], 0
jmp 0x140001747
mov edx, 0x400
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000163c
mov dword [rsp + 0x34], 0
jmp 0x140001747
xor eax, eax
cmp eax, 1
je 0x14000172a
lea r9, [rsp + 0x30]
mov r8d, 0x400
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001678
mov dword [rsp + 0x34], 0
jmp 0x140001747
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x38], 0
jne 0x1400016ac
mov eax, dword [rsp + 0x30]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x38], rax
jmp 0x1400016c7
mov r8d, 0x42
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400016db
mov dword [rsp + 0x34], 0
jmp 0x140001747
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, qword [rsp + 0x40]
call fcn.140002a50
mov eax, dword [rsp + 0x30]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1400030f0
cmp dword [rsp + 0x30], 0x400
jae 0x140001725
jmp 0x14000172a
jmp 0x14000163c
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
cmp qword [rsp + 0x48], 0
je 0x14000175a
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp qword [rsp + 0x58], 0
je 0x14000176d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp qword [rsp + 0x48], 0
je 0x140001788
xor r9d, r9d
xor r8d, r8d
mov edx, 0x27
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
cmp qword [rsp + 0x40], 0
je 0x14000179b
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rsp + 0x34]
add rsp, 0x68
ret