joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b2f80
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x1400b302e
mov r10, qword [rcx]
mov r11, qword [rcx + 5]
shr r11, 0x18
mov r12d, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
ret
cmp r8, 0x10
jb 0x1400b30d9
add r10, qword [rcx]
adc r11, qword [rcx + 8]
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
lea rcx, [rcx + 0x10]
sub r8, 0x10
jmp 0x1400b302e
cmp r8, 0
je 0x1400b319f
xor r13, r13
xor r14, r14
xor r15, r15
add rcx, r8
shld r14, r13, 8
shl r13, 8
movzx r15, byte [rcx - 1]
xor r13, r15
dec rcx
dec r8
jne 0x1400b30ef
add r10, r13
adc r11, r14
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
ret
Function at 0x1400cb970
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, 0x20
mov rsi, rcx
mov rdi, rdx
mov r15d, 8
sub rsi, r8
mov rbx, r8
mov rdx, r8
mov r8d, r15d
mov r14, rcx
mov rax, qword [rsi + rdx]
xor qword [rdx], rax
add rdx, r15
sub r8, 1
jne 0x1400cb9a3
cmp rdi, 1
jbe 0x1400cb9f6
add rsi, 0x40
lea rbp, [rdi - 1]
mov rcx, rbx
call fcn.1400cc244
mov rcx, rbx
call fcn.1400cc13c
call fcn.1400cbc60
mov rcx, rbx
mov rdx, r15
mov rax, qword [rsi + rcx]
xor qword [rcx], rax
add rcx, r15
sub rdx, 1
jne 0x1400cb9dc
add rsi, 0x40
sub rbp, 1
jne 0x1400cb9c1
mov rcx, rbx
call fcn.1400cc244
mov rcx, rbx
call fcn.1400cc13c
shl rdi, 6
mov rcx, r15
sub rdi, rbx
add rdi, r14
mov rax, qword [rdi + rbx]
xor qword [rbx], rax
add rbx, r15
sub rcx, 1
jne 0x1400cba13
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400cbacc
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
movups xmm0, xmmword [r8]
mov rsi, rcx
lea rcx, [rax - 0x68]
movups xmm1, xmmword [r8 + 0x10]
mov rdi, rdx
movaps xmmword [rax - 0x68], xmm0
movups xmm0, xmmword [r8 + 0x20]
movaps xmmword [rax - 0x58], xmm1
movups xmm1, xmmword [r8 + 0x30]
movaps xmmword [rax - 0x48], xmm0
movaps xmmword [rax - 0x38], xmm1
call fcn.1400cc618
xor ebx, ebx
test rdi, rdi
je 0x1400cbc4a
mov r14d, 0xffff0000
movabs r15, 0xff000000ff00
movabs r12, 0xf000f000f000f0
mov r9, qword [rsp + rbx*8 + 0x40]
mov r8, qword [rsp + rbx*8 + 0x20]
mov rdx, r9
shl rdx, 0x20
mov eax, r8d
or rdx, rax
shr r8, 0x20
mov rcx, rdx
shr rcx, 0x10
xor rcx, rdx
and rcx, r14
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 8
xor rcx, rdx
and rcx, r15
mov rax, rcx
shl rax, 8
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 4
xor rcx, rdx
and rcx, r12
mov rax, rcx
shl rax, 4
xor rax, rcx
xor rax, rdx
lea rdx, [rsp + 0x98]
mov qword [rsp + 0x98], rax
movabs rax, 0xffffffff00000000
and r9, rax
or r9, r8
mov r8d, 8
mov rcx, r9
shr rcx, 0x10
xor rcx, r9
and rcx, r14
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor r9, rax
mov rcx, r9
shr rcx, 8
xor rcx, r9
and rcx, r15
mov rax, rcx
shl rax, 8
xor rax, rcx
xor r9, rax
mov rcx, r9
shr rcx, 4
xor rcx, r9
and rcx, r12
mov rax, rcx
shl rax, 4
xor rax, rcx
mov rcx, rsi
xor rax, r9
mov qword [rsp + 0xa0], rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsi + 8]
mov r8d, 8
lea rdx, [rsp + 0xa0]
call sub.VCRUNTIME140.dll_memcpy
inc rbx
add rsi, 0x10
cmp rbx, rdi
jb 0x1400cbb36
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400cbed4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
mov dword [rcx + 0xf0], 0xa
lea rcx, [rsp + 0x20]
call fcn.1400cb870
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
add rbx, 0x10
mov edi, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400cc1b8
lea rax, [0x14065da40]
xor r9d, r9d
movzx r10d, byte [rdi + rax - 1]
mov rdx, qword [rsp + r9*8 + 0x30]
mov cl, r9b
shl cl, 2
mov rax, rdx
shr rax, 0x10
mov r8, r10
shr r8, cl
movabs rcx, 0xf000000000000
and r8d, 0xf
and rdx, rcx
or rax, rdx
shr rax, 0x24
xor r8, rax
xor r8, qword [rsp + r9*8 + 0x20]
mov rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
mov qword [rsp + r9*8 + 0x20], rax
inc r9
cmp r9, 2
jb 0x1400cbf30
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
inc rdi
add rbx, 0x10
cmp rdi, 0xa
jbe 0x1400cbf11
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400cbfc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rdi, rcx
mov dword [rcx + 0xf0], 0xe
lea rcx, [rbp - 0x30]
mov rbx, rdx
call fcn.1400cb870
mov esi, 0x10
lea rdx, [rbp - 0x30]
mov r8d, esi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbx + 0x10]
lea rcx, [rbp - 0x20]
call fcn.1400cb870
lea rcx, [rdi + 0x10]
mov r8d, esi
lea rdx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memcpy
add rdi, 0x20
lea ebx, [rsi - 0xe]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call fcn.1400cc1b8
mov rax, rbx
lea rcx, [0x14065da40]
shr rax, 1
xor r9d, r9d
movzx r10d, byte [rax + rcx - 1]
mov rdx, qword [rbp + r9*8 - 0x10]
mov cl, r9b
shl cl, 2
mov rax, rdx
shr rax, 0x10
mov r8, r10
shr r8, cl
movabs rcx, 0xf000000000000
and r8d, 0xf
and rdx, rcx
or rax, rdx
shr rax, 0x24
xor r8, rax
xor r8, qword [rbp + r9*8 - 0x30]
mov rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
mov qword [rbp + r9*8 - 0x30], rax
inc r9
cmp r9, 2
jb 0x1400cc04b
mov r8, rsi
lea rdx, [rbp - 0x30]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
cmp rbx, 0xe
je 0x1400cc124
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x10]
call fcn.1400cc1b8
movdqu xmm0, xmmword [rbp - 0x20]
lea rcx, [rdi + 0x10]
mov r8, rsi
movdqu xmm2, xmmword [rbp - 0x10]
lea rdx, [rbp - 0x20]
psrlq xmm2, 0x30
xorps xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmm0, xmm2
psllq xmm1, 0x10
xorps xmm1, xmm2
psllq xmm0, 0x20
xorps xmm1, xmm0
psllq xmm2, 0x30
xorps xmm1, xmm2
movdqu xmmword [rbp - 0x20], xmm1
call sub.VCRUNTIME140.dll_memcpy
add rbx, 2
add rdi, 0x20
cmp rbx, 0xe
jbe 0x1400cc028
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
Function at 0x1400cc754
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400cc944
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x1406a70c0]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov r14, qword [rbp + 0x430]
mov r12, rdx
mov r15, rcx
mov qword [rsp + 0x30], r9
mov rdx, r9
lea rcx, [rbp - 0x80]
mov rsi, r8
call fcn.1400cba3c
lea rbx, [rbp + 0x340]
mov edi, 4
mov r8d, 0x10
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
add rbx, 0x10
sub rdi, 1
jne 0x1400cc7ba
lea r13d, [rdi + 4]
mov r8d, r13d
lea rdx, [rbp + 0x34c]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov r14d, dword [rsp + 0x20]
lea rax, [rbp + 0x380]
sub r15, rax
lea rax, [rbp + 0x380]
sub r12, rax
bswap r14d
xor ebx, ebx
lea rdi, [rbp + 0x34c]
lea eax, [rbx + r14]
mov r8, r13
bswap eax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
inc rbx
add rdi, 0x10
cmp rbx, r13
jb 0x1400cc812
mov r13, qword [rsp + 0x30]
lea rdx, [rbp + 0x340]
mov edi, 4
lea rcx, [rsp + 0x40]
cmp rsi, rdi
mov rbx, rsi
cmovae rbx, rdi
mov r8, rbx
mov qword [rsp + 0x20], rbx
call fcn.1400cc5a0
mov edx, dword [r13 + 0xf0]
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400cb970
lea r8, [rsp + 0x40]
mov rdx, rbx
lea rcx, [rbp + 0x380]
call fcn.1400cbacc
test rbx, rbx
je 0x1400cc900
lea rdi, [rbp + 0x380]
mov r13, rbx
mov ebx, 2
lea rdx, [r15 + rdi]
mov r8d, 8
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 8
lea rcx, [rsp + 0x38]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x38]
lea rcx, [r12 + rdi]
xor qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
mov r8d, 8
call sub.VCRUNTIME140.dll_memcpy
add rdi, 8
sub rbx, 1
jne 0x1400cc8a2
sub r13, 1
jne 0x1400cc89d
mov rbx, qword [rsp + 0x20]
lea edi, [r13 + 4]
sub rsi, rbx
je 0x1400cc91b
add r15, 0x40
add r12, 0x40
add r14d, edi
mov r13d, 4
jmp 0x1400cc809
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400d5560
mov rbx, qword [rsp + 0x520]
add rsp, 0x4d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400cf4a0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov al, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and al, 0x3f
or al, 0x40
mov byte [rcx + 0x1f], al
ret
Function at 0x1400d2f10
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
test r8, r8
je 0x1400d2f2c
sub rdx, rcx
mov al, byte [rcx + rdx]
xor al, byte [rcx]
inc rcx
or r9b, al
sub r8, 1
jne 0x1400d2f1b
movzx eax, r9b
ret

Function at 0x1400d2f34
Capabilities:
Encode data using xor

Disassembly:
neg r8
mov r9, rcx
mov r11, r8
sub rdx, rcx
not r11
mov r10d, 4
mov rcx, qword [r9 + rdx]
mov rax, qword [r9]
and rcx, r8
and rax, r11
xor rcx, rax
mov qword [r9], rcx
lea r9, [r9 + 8]
sub r10, 1
jne 0x1400d2f49
ret

Function at 0x1400d3914
Capabilities:
Encode data using xor

Disassembly:
or rax, 0xffffffffffffffff
mov r9, rdx
mov r10, rcx
test r8, r8
je 0x1400d394f
sub r10, rdx
mov rcx, qword [r9 + r10]
xor rcx, qword [r9]
lea r9, [r9 + 8]
lea rdx, [rcx - 1]
not rcx
shr rdx, 0x3f
shr rcx, 0x3f
and rdx, rcx
neg rdx
and rax, rdx
sub r8, 1
jne 0x1400d3926
ret

Function at 0x1400d4f7c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r10d, 1
xor r9d, r9d
lea r11d, [r10 + 0x3f]
mov r8, r10
shr r9, 1
and r8d, 1
neg r8
mov rdx, r8
and rdx, rcx
mov rax, rdx
xor rax, r10
and r10, rdx
shr rax, 1
add r10, rax
movabs rax, 0x8000000000000000
and r8, rax
add r9, r8
sub r11, 1
jne 0x1400d4f8e
mov rbx, qword [rsp + 8]
mov rax, r9
ret

Function at 0x1400d5a38
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400d5a82
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400d5a82
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400d5a82
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d5a82
cmp dword [rcx + 0x84], 0xe
jbe 0x1400d5a82
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400d5a84
xor al, al
add rsp, 0x28
ret
Function at 0x1400d7f10
Capabilities:
Resolve dns

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov r14, r8
inc r14
sete r13b
je 0x1400d808c
js 0x1400d8098
mov rdi, r9
mov rbx, r8
mov r12, rdx
mov rsi, rcx
movzx eax, byte [0x1406a72b1]
xor ecx, ecx
mov rdx, r14
call fcn.14006ef50
test rax, rax
je 0x1400d809d
mov r15, rax
mov rcx, rax
mov rdx, r12
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
cmp rbx, 0xf
ja 0x1400d7f91
test rbx, rbx
je 0x1400d7fe1
xor eax, eax
nop
cmp byte [r12 + rax], 0
je 0x1400d7fa3
inc rax
cmp rbx, rax
jne 0x1400d7f80
jmp 0x1400d7fe1
xor ecx, ecx
mov rdx, r12
mov r8, rbx
call fcn.14000ee80
test rax, rax
je 0x1400d7fe1
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
test r13b, r13b
jne 0x1400d807a
mov rcx, qword [0x1406a7220]
xor edx, edx
mov r8, r15
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp qword [sym.imp.kernel32.dll_HeapFree]
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], rbx
lea rcx, [rbp - 0x30]
call fcn.140008760
mov rbx, rax
mov r14, rdx
xorps xmm0, xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x28], 1
mov qword [rbp], 0
lea r8, [rbp - 0x30]
mov r9, rbp
mov rcx, rax
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1400d8045
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400d8059
mov rcx, qword [rdi]
mov rax, qword [rbp]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rbx], 0
test r14, r14
je 0x1400d807a
mov rcx, qword [0x1406a7220]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.library_alloc_src_ffic_str.rs
call fcn.1400d6620
call fcn.140008630
mov ecx, 1
mov rdx, r14
call fcn.1400d60e0
int3
Function at 0x140028d04
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c388
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c388
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028e54
cmp rax, 0xffffffffffffffff
je 0x140028e54
xor edi, edi
test rbp, rbp
jle 0x140028dff
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f014
mov rbx, rax
test rax, rax
jne 0x140028d8c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028df5
mov edx, 0x8000
mov ecx, r14d
call fcn.140019c38
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d070
cmp eax, 0xffffffff
je 0x140028dd5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028d9c
mov edx, r15d
mov ecx, r14d
call fcn.140019c38
jmp 0x140028df5
cmp byte [rsi + 0x38], dil
je 0x140028dec
cmp dword [rsi + 0x34], 5
jne 0x140028dec
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028df5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a574
jmp 0x140028e68
jns 0x140028e68
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c388
cmp rax, 0xffffffffffffffff
jne 0x140028e20
cmp byte [rsi + 0x30], dil
je 0x140028e68
mov edi, dword [rsi + 0x2c]
jmp 0x140028e68
mov ecx, r14d
call fcn.140018768
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028e68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140028e68
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028e61
mov eax, dword [rsi + 0x2c]
jmp 0x140028e66
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c388
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140029f60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029f88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029f88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1800010b0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800010e1
xor eax, eax
lea r8, section..text
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret
Function at 0x1424f10
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1424f1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1424f2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1424f15
lea eax, [rcx + 1]
jmp 0x1424f3b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1424f4e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1424f34
sub eax, 3
jb 0x1424f6e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1424fbd
sar eax, 1
movsxd rbp, eax
jb 0x1424fa4
jmp 0x1424f7c
add ebx, ebx
jne 0x1424f7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1424fa4
inc ecx
add ebx, ebx
jne 0x1424f8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1424fa4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1424f9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1424f8c
add ecx, 2
jmp 0x1424fa9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01424ed2
jmp 0x1424f1d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1010000]
mov eax, dword [rdi]
or eax, eax
je 0x1425019
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1025000]
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 0x1424fc9
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 0x1425013
mov qword [rbx], rax
add rbx, 8
jmp 0x1424fe9
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x142505d
cmp al, 0xef
ja 0x1425045
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1425025
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1425034
mov eax, dword [rdi]
add rdi, 4
jmp 0x1425034
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 + 0x1af]
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 0x14250b1
sub rsp, 0xffffffffffffff80
jmp 0x45bb20
Function at 0x1400036d4
Capabilities:
Get file size
Read file on windows

Disassembly:
xor r8d, r8d
jmp 0x1400036dc
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, rdx
xor edi, edi
mov r14d, r8d
mov qword [rax - 0x28], rdi
mov r15, rcx
mov dword [rax - 0x30], 0x80
lea r8d, [rdi + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rbx
mov dword [rax - 0x38], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140003819
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
movsxd rsi, eax
test r14b, 1
je 0x1400037ba
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140004174
mov rsi, rax
test rax, rax
je 0x140003810
mov rcx, qword [0x140018ab0]
mov rdx, r15
call fcn.140011144
mov r15d, 0x10000
mov rcx, rsi
mov dword [rax + 0x28], r15d
mov r14, rax
call fcn.1400042d0
mov rcx, rsi
mov rbx, rax
call fcn.1400042a8
mov r8d, r15d
mov edx, ebx
mov rcx, rax
call fcn.140003c84
mov qword [r14], rax
test rax, rax
je 0x1400037b0
mov qword [r14 + 0x20], rsi
mov rdi, r14
jmp 0x140003810
mov rcx, rsi
call fcn.1400042a0
jmp 0x140003810
mov rcx, qword [0x140018a30]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x140003810
lea r9, [rsp + 0x78]
mov r8d, esi
mov rdx, rax
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r8d, esi
mov rdx, rbx
mov rcx, r15
call fcn.1400030fc
mov rcx, qword [0x140018a30]
mov r8, rbx
xor edx, edx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rax, rdi
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1400036dc
Capabilities:
Get file size
Read file on windows

Disassembly:
xor r8d, r8d
jmp 0x1400036dc
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, rdx
xor edi, edi
mov r14d, r8d
mov qword [rax - 0x28], rdi
mov r15, rcx
mov dword [rax - 0x30], 0x80
lea r8d, [rdi + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rbx
mov dword [rax - 0x38], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140003819
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
movsxd rsi, eax
test r14b, 1
je 0x1400037ba
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140004174
mov rsi, rax
test rax, rax
je 0x140003810
mov rcx, qword [0x140018ab0]
mov rdx, r15
call fcn.140011144
mov r15d, 0x10000
mov rcx, rsi
mov dword [rax + 0x28], r15d
mov r14, rax
call fcn.1400042d0
mov rcx, rsi
mov rbx, rax
call fcn.1400042a8
mov r8d, r15d
mov edx, ebx
mov rcx, rax
call fcn.140003c84
mov qword [r14], rax
test rax, rax
je 0x1400037b0
mov qword [r14 + 0x20], rsi
mov rdi, r14
jmp 0x140003810
mov rcx, rsi
call fcn.1400042a0
jmp 0x140003810
mov rcx, qword [0x140018a30]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x140003810
lea r9, [rsp + 0x78]
mov r8d, esi
mov rdx, rax
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r8d, esi
mov rdx, rbx
mov rcx, r15
call fcn.1400030fc
mov rcx, qword [0x140018a30]
mov r8, rbx
xor edx, edx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rax, rdi
add rsp, 0x40
pop r15
pop r14
pop rdi
ret