joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002790
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x1400a77c4], 0
lea rdi, [0x1400a77c0]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140002868
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x1400027c0
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14000289e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x140002880
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x1400028df
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400028c3
cmp byte [r8], r9b
jne 0x1400028c3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x1400028b0
not eax
pop rdi
ret

Function at 0x140002b50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140002b7e
mov r8d, 0x569
lea rdx, str.C:UsersokDocumentsgodpasterImguiimgui.cpp
lea rcx, str.filename__file_open_mode
call fcn.140068764
test rdi, rdi
je 0x140002b8a
mov qword [rdi], 0
lea rdx, [0x140091fd8]
mov rcx, rbx
call fcn.1400028f0
mov rbx, rax
test rax, rax
jne 0x140002bac
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call fcn.14005b8e0
test eax, eax
jne 0x140002c76
mov rcx, rbx
call fcn.14005ae00
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140002c76
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14005b8e0
test eax, eax
jne 0x140002c76
mov rax, qword [0x1400a74b0]
mov rbp, rsi
test rax, rax
je 0x140002c0a
inc dword [rax + 0x3c8]
mov rdx, qword [0x1400a74a0]
mov rcx, rbp
call fcn.140001d60
mov rsi, rax
test rax, rax
je 0x140002c76
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call fcn.1400629b0
mov rcx, rbx
cmp rax, rbp
je 0x140002c64
call fcn.14005b5e8
mov rax, qword [0x1400a74b0]
test rax, rax
je 0x140002c53
dec dword [rax + 0x3c8]
mov rdx, qword [0x1400a74a0]
mov rcx, rsi
call fcn.140001d70
jmp 0x140002c7e
call fcn.14005b5e8
test rdi, rdi
je 0x140002c71
mov qword [rdi], rbp
mov rax, rsi
jmp 0x140002c80
mov rcx, rbx
call fcn.14005b5e8
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001d530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push rbp
push r13
push r14
sub rsp, 0xb0
xor eax, eax
movsxd r13, r9d
mov dword [rsp + 0xe8], eax
mov r14, rdx
mov qword [rsp + 0x60], r13
mov rbp, rcx
test r9d, r9d
jle 0x14001d77e
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
mov r11d, pe_nt_image_headers64
movss xmm8, dword [0x140099a10]
nop dword [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001d5ec
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x14001d60b
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
movzx eax, byte [rbp + 0x20]
xor edi, edi
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
movzx eax, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x14001d726
mov r15, qword [rsp + 0xf0]
mov rax, r12
mov r13d, dword [rsp + 0xe8]
add r15, 6
shl rax, 4
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001d660
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x14001d663
mov edx, dword [rax + rsi]
mov rcx, r14
call fcn.1400183c0
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.14001ae10
movzx eax, word [rbp + 0x20]
inc r13d
sub ax, word [rsp + 0x50]
inc r12
dec ax
inc edi
add ax, word [rbp + 0x1c]
add rsi, 4
add ax, word [rsp + 0x54]
mov word [r15 - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x58]
dec ax
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x5c]
mov word [r15], ax
add r15, 0x10
cmp edi, dword [rbx - 0x10]
jl 0x14001d650
mov dword [rsp + 0xe8], r13d
mov r11d, pe_nt_image_headers64
mov r13, qword [rsp + 0x60]
add rbx, 0x28
sub r13, 1
mov qword [rsp + 0x60], r13
jne 0x14001d5a0
mov eax, dword [rsp + 0xe8]
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop r14
pop r13
pop rbp
ret
Function at 0x1400210e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x140021297
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x140021176
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.140020ac0
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.1400200d0
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x140021167
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140015f50
mov dword [rbx + 0x80], 0
jmp 0x140021283
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14001eff0
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14004b010
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, qword [0x1400a74b0]
xorps xmm2, xmm2
movaps xmmword [rsp + 0x40], xmm6
xorps xmm0, xmm0
unpcklps xmm0, xmm2
xorps xmm1, xmm1
unpcklps xmm1, xmm2
movsd qword [rbx + 0x1ae4], xmm0
movsd qword [rbx + 0x1aec], xmm1
mov dword [rbx + 0x1ac8], 2
test rbx, rbx
jne 0x14004b070
mov r8d, 0xb37
lea rdx, str.C:UsersokDocumentsgodpasterImguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call fcn.140068764
mov rbx, qword [0x1400a74b0]
movsd xmm0, qword [rbx + 0x10]
lea rcx, [rbx + 0x1a78]
movaps xmm6, xmmword [0x1400997a0]
lea rdx, [rsp + 0x20]
movsd qword [rbx + 0x1af4], xmm0
mov dword [rbx + 0x1acc], 2
movups xmm0, xmmword [rbx + 0x1610]
mov dword [rsp + 0x20], 2
movups xmmword [rsp + 0x24], xmm0
call fcn.140015e50
mov eax, dword [0x140098f20]
xor r8d, r8d
movsd xmm0, qword [0x140098f18]
mov dword [rsp + 0x28], eax
movzx eax, byte [0x140098f24]
movups xmmword [rbx + 0x1610], xmm6
cmp dword [0x1400a4018], 2
mov byte [rsp + 0x2c], al
movsd qword [rsp + 0x20], xmm0
jl 0x14004b203
movdqa xmm2, xmmword [0x140099670]
mov eax, 5
movdqa xmm3, xmmword [0x140099680]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140099a20]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov r8d, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140099690]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x140098f18]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400996b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x20], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140099690]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x24]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400996b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
pxor xmm2, xmm0
movd dword [rsp + 0x24], xmm2
mov eax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x14004b210
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x201f
call fcn.14000a4f0
call fcn.14000d410
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
jmp fcn.14000dfc0
Function at 0x140069744
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400695a3
xor ecx, ecx
call qword [0x140082280]
test rax, rax
je 0x1400695a3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400695a3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400695a3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400695a3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400695a3
cmp dword [rcx + 0xf8], 0
je 0x1400695a3
mov ecx, ebx
call fcn.140069660
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140069430
nop
cmp dword [rbp + 0x20], 0
je 0x1400695f1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400695fc
int3
xor r8d, r8d
xor edx, edx
jmp 0x140069534

Function at 0x140073574
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x1400735a6
call fcn.14006b260
mov dword [rax], 0x16
call fcn.140069c88
jmp 0x1400736c5
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400736c5
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400736c5
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400735d5
lock or dword [rcx + 0x14], 0x10
jmp 0x1400736c5
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400735e9
call fcn.140079c44
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14006e128
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14006eff0
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1400736b3
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14007367e
mov rcx, rsi
call fcn.14006e128
cmp eax, edi
je 0x140073669
mov rcx, rsi
call fcn.14006e128
cmp eax, 0xfffffffe
je 0x140073669
mov rcx, rsi
call fcn.14006e128
movsxd rbx, eax
lea r14, [0x1400a6d70]
mov rcx, rsi
sar rbx, 6
call fcn.14006e128
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140073670
lea rdx, [0x1400a44b0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14007367e
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1400736a2
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1400736a2
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1400736a2
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x1400736c8
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140eb69d4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140eb69de
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140eb6a07
pop rbp
sub rbp, 0x33
sub rbp, 0xeb69d4
sub rsp, 0x20
jmp 0x140eb6a26
mov rax, 0xeb69d4
add rax, rbp
add rax, 0x84
mov rcx, 0x60e
mov rdx, 0x6d86475b
xor byte [rax], dl
inc rax
dec rcx
jne 0x140eb6a45
jmp 0x140eb6a5c
adc edx, edx
mov dl, 0xd0
shl byte [rdi + 0x5b], cl
pop rbx
pop rbx
adc ebx, edx
invalid
Function at 0x140005cf0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push r13
push r14
mov eax, 0x10b8
call fcn.1400191f0
sub rsp, rax
mov rax, qword [0x14005e060]
xor rax, rsp
mov qword [rsp + 0x1090], rax
mov r14, rdx
mov qword [rsp + 0x48], r9
mov rdx, qword [rsp + 0x1100]
xor ebp, ebp
mov qword [rsp + 0x40], rdx
mov r13, r8
mov qword [rsp + 0x50], rcx
test r8, r8
je 0x140005db5
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x90]
mov qword [rsp + 0x78], rax
lea r9d, [rbp + 0x28]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
mov dword [rsp + 0x28], ebp
mov edx, 0x80862007
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x60], 0x33
mov qword [rsp + 0x80], 0x1000
mov dword [rsp + 0x58], ebp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140005dbd
lea rdx, str.____Cant_read_module_headers
lea rcx, [0x14005f750]
call fcn.14000af50
mov rcx, rax
call fcn.14000b1e0
mov rdx, rbp
jmp 0x140005e96
mov qword [rsp + 0x10e8], rsi
mov qword [rsp + 0x10b0], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x10a8], r12
mov qword [rsp + 0x10a0], r15
inc rdi
cmp byte [r14 + rdi], bpl
jne 0x140005de4
movsxd rax, dword [rsp + 0xcc]
lea rcx, [rsp + 0x90]
add rcx, rax
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r15d, word [rcx + 6]
add r12, rax
test r15d, r15d
je 0x140005e58
nop word [rax + rax]
mov eax, esi
mov r8, rdi
mov rdx, r14
lea rcx, [rax + rax*4]
lea rbx, [r12 + rcx*8]
mov rcx, rbx
call fcn.14001b250
test eax, eax
jne 0x140005e51
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x140005e43
cmp rdi, rax
je 0x140005ed0
inc esi
cmp esi, r15d
jb 0x140005e20
lea rdx, str.____Cant_find_section
lea rcx, [0x14005f750]
call fcn.14000af50
mov rcx, rax
call fcn.14000b1e0
mov rdx, rbp
mov r12, qword [rsp + 0x10a8]
mov rdi, qword [rsp + 0x10b0]
mov rsi, qword [rsp + 0x10e8]
mov r15, qword [rsp + 0x10a0]
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.140005b20
mov rcx, qword [rsp + 0x1090]
xor rcx, rsp
call fcn.140018650
add rsp, 0x10b8
pop r14
pop r13
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x140005e58
mov ecx, dword [rbx + 8]
mov edx, eax
lea rax, [rsp + 0x90]
add rax, rdx
je 0x140005e58
test ecx, ecx
je 0x140005e58
mov ebp, ecx
add rdx, r13
jmp 0x140005e76
Function at 0x140006dc0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140006de2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140006e5c
mov rdi, r14
mov rcx, rbx
call fcn.1400095f0
test rax, rax
jle 0x140006e34
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14001a960
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140006e4c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140006e54
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140006df6
sub r14, rdi
jmp 0x140006f49
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140006e73
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140006e75
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140006eaa
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14001a960
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140006f46
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x140006ee5
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140006f21
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140021b3c
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x140006f5f
cmp rbp, rax
ja 0x140006ef1
mov r8, rdi
test rdi, rdi
je 0x140006f46
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140021b3c
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x140006f49
Function at 0x140007370
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14005e060]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000739d
xor eax, eax
jmp 0x1400074e3
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400073d7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400073d7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400074e3
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400074d6
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000741a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140007429
movsx ecx, dil
jmp 0x14000747d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x140007497
sub eax, 1
je 0x140007497
cmp eax, 2
jne 0x1400074d6
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.14001ec80
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400074db
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400074c4
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.14002120c
cmp rsi, rax
jne 0x1400074d6
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x1400074db
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140018650
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140012170
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140012297
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140012297
mov r8d, dword [rax + rcx + 0xd8]
test r8d, r8d
jne 0x1400121c2
lea rdx, str.___Load_config_directory_wasnt_found__probably_StackCookie_not_defined__fix_cookie_skipped
lea rcx, [0x14005f750]
call fcn.14000af50
mov rcx, rax
call fcn.14000b1e0
mov al, 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rdi
mov rdi, qword [r8 + rcx + 0x58]
test rdi, rdi
jne 0x1400121f8
lea rdx, str.___StackCookie_not_defined__fix_cookie_skipped
lea rcx, [0x14005f750]
call fcn.14000af50
mov rcx, rax
call fcn.14000b1e0
mov rdi, qword [rsp + 0x20]
mov al, 1
add rsp, 0x28
ret
sub rcx, rdx
mov qword [rsp + 0x38], rsi
add rdi, rcx
movabs rsi, 0x2b992ddfa232
lea rcx, [0x14005f750]
cmp qword [rdi], rsi
je 0x14001223e
lea rdx, str.____StackCookie_already_fixed___this_probably_wrong
call fcn.14000af50
mov rcx, rax
call fcn.14000b1e0
mov rsi, qword [rsp + 0x38]
xor al, al
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rdx, str.___Fixing_stack_cookie
mov qword [rsp + 0x30], rbx
call fcn.14000af50
mov rcx, rax
call fcn.14000b1e0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
movabs rcx, 0x2b992ddfa233
xor rax, rbx
mov rbx, qword [rsp + 0x30]
xor rax, rsi
cmp rax, rsi
mov rsi, qword [rsp + 0x38]
cmove rax, rcx
mov qword [rdi], rax
mov al, 1
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret