joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004efe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x141682c50]
mov rcx, qword [rax + 0x4db8]
mov r9, qword [rax + 0x4018]
movups xmm0, xmmword [r9 + 0x238]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x298]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x238], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x298]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [rcx + 0x232]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x298]
add rsp, 0x38
jmp fcn.140049800

Function at 0x14004f0c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x141682c50]
mov rcx, qword [rax + 0x4db8]
mov r10, qword [rax + 0x4018]
movsxd rax, dword [rcx + 0x74]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x70
mov rax, qword [r10 + 0x298]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x238], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x298]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [r9 + 0x5c]
mov rdx, qword [r10 + 0x298]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp fcn.140049800
Function at 0x140085300
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13f0
call fcn.140145810
sub rsp, rax
mov rax, qword [0x14018a080]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov esi, edx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov dword [rsp + 0x20], ecx
movups xmm0, xmmword [0x14016d030]
movups xmmword [rsp + 0x28], xmm0
movzx eax, byte [0x14016d040]
mov byte [rsp + 0x38], al
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rcx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], cl
mov ebx, 1
mov dword [rsp + 0x20], ebx
call qword [0x14014d588]
mov ecx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
nop word [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, ebx
mov dword [rsp + rbx*4 + 0x54], ecx
inc rbx
cmp rbx, 0x270
jb 0x140085390
mov dword [rsp + 0x50], 0x270
test esi, esi
jle 0x140085416
mov rbx, rsi
nop
lea rcx, [rsp + 0x50]
call fcn.140088ac0
mov eax, eax
shl rax, 4
shr rax, 0x20
cdqe
movzx r9d, byte [rsp + rax + 0x28]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140085408
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400853fd
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140085410
mov rcx, rdi
call fcn.14005f530
sub rbx, 1
jne 0x1400853c0
mov rax, rdi
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.140144da0
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140088ac0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140088b21
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140088ae0
mov ecx, dword [r9]
jmp 0x140088c0b
cmp ecx, 0x4e0
jb 0x140088c0b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140088b40
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140088b90
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14008c740
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14018a080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edx, 0x1000
mov dword [rsp + 0x50], 0x1000
mov ecx, 0x40
call qword [0x14014d1d0]
lea r8, [rsp + 0x50]
mov ecx, 0x250000
mov rdx, rax
mov rbx, rax
call qword [0x14014d4b8]
test eax, eax
jne 0x14008c972
movups xmm0, xmmword [0x14016e0c8]
movzx eax, word [0x14016e0e0]
xor ecx, ecx
cmp dword [0x14018a0d8], 2
movups xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x38], ax
movsd xmm0, qword [0x14016e0d8]
movzx eax, byte [0x14016e0e2]
movsd qword [rsp + 0x30], xmm0
mov byte [rsp + 0x3a], al
jl 0x14008c909
movdqa xmm0, xmmword [0x1401741b0]
lea rdx, [rsp + 0x24]
movdqa xmm5, xmmword [0x140174030]
movdqa xmm4, xmmword [0x140174390]
movdqa xmmword [rsp + 0x40], xmm0
mov r8d, dword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x140174070]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140174190]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140174190]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x14008c800
movaps xmm6, xmmword [rsp + 0x60]
cmp ecx, 0x1b
jge 0x14008c94d
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ecx, 0x1b
jl 0x14008c920
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [0x14014d1d8]
test eax, eax
jne 0x14008c972
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140144da0
add rsp, 0x70
pop rbx
ret
test rbx, rbx
je 0x14008c980
mov rcx, rbx
call qword [0x14014d3c0]
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140144da0
add rsp, 0x70
pop rbx
ret
Function at 0x14008cd30
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
movups xmm0, xmmword [0x14016e218]
movzx eax, byte [0x14016e230]
xor ecx, ecx
cmp dword [0x14018a0d8], 2
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x48], al
movsd xmm0, qword [0x14016e228]
movsd qword [rsp + 0x40], xmm0
jl 0x14008cea9
movdqa xmm0, xmmword [0x1401741b0]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x140174030]
movdqa xmm4, xmmword [0x140174390]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [0x140174070]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140174190]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140174190]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x14008cda0
movaps xmm6, xmmword [rsp + 0x50]
cmp ecx, 0x19
jge 0x14008ceed
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ecx, 0x19
jl 0x14008cec0
xor r9d, r9d
lea r8, [rsp + 0x30]
xor edx, edx
xor ecx, ecx
call qword [0x14014d8a8]
test rax, rax
sete al
add rsp, 0x68
ret
Function at 0x14008f280
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x14018a080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, dword [0x14016e2c0]
xor r10d, r10d
cmp dword [0x14018a0d8], 2
mov rdi, rcx
movsd xmm0, qword [0x14016e2b8]
mov r8d, r10d
mov dword [rsp + 0x28], eax
movzx eax, byte [0x14016e2c4]
mov byte [rsp + 0x2c], al
movsd qword [rsp + 0x20], xmm0
jl 0x14008f3d6
movdqa xmm2, xmmword [0x140174030]
mov r8d, 8
movdqa xmm4, xmmword [0x140174390]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140174050]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140174070]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x14016e2b8]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140174190]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401741b0]
xorps 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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140174070]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x24]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140174190]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401741b0]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x14008f3e1
xorps xmm0, xmm0
mov qword [rsp + 0x40], r10
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x48], r10
movups xmmword [rsp + 0x30], xmm0
mov r8, rbx
lea rax, [rsp + 0x20]
inc r8
cmp byte [rax + r8], r10b
jne 0x14008f433
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140058ef0
cmp qword [rsp + 0x48], 0xf
lea r14, [rsp + 0x30]
mov rbp, qword [rdi + 0x10]
cmova r14, qword [rsp + 0x30]
cmp qword [rdi + 0x18], 0xf
jbe 0x14008f46a
mov rdi, qword [rdi]
mov rsi, qword [rsp + 0x40]
mov qword [rsp + 0x80], r15
test rsi, rsi
jne 0x14008f485
cmp rbp, rbx
cmovb rbx, rbp
jmp 0x14008f4c4
cmp rsi, rbp
ja 0x14008f4d7
movzx r15d, byte [r14]
mov rax, rbp
sub rax, rsi
cmp rax, rbx
cmovb rbx, rax
add rbx, rdi
nop
cmp byte [rbx], r15b
jne 0x14008f4b7
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call fcn.1401466dc
test eax, eax
je 0x14008f4c1
cmp rbx, rdi
je 0x14008f4d7
dec rbx
jmp 0x14008f4a0
sub rbx, rdi
cmp rbx, 0xffffffffffffffff
je 0x14008f4d7
lea rax, [rbx + rsi]
cmp rax, rbp
jne 0x14008f4d7
mov bl, 1
jmp 0x14008f4d9
xor bl, bl
lea rcx, [rsp + 0x30]
call fcn.14003d4b0
mov r15, qword [rsp + 0x80]
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140144da0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140145bbc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x14014d338]
test rax, rax
je 0x140145c06
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140145c06
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140145c06
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140145c06
cmp dword [rcx + 0x84], 0xe
jbe 0x140145c06
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140145c08
xor al, al
add rsp, 0x28
ret
Function at 0x140014140
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x328
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x210]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x140014373
lea rcx, [rsp + 0x33]
call fcn.14000b1f0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140014800
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0xd8]
call fcn.140006750
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
cmp byte [rax + rcx], 0
jne 0x1400141d9
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x88]
call fcn.1400130e0
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0xb8]
call fcn.140006560
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0xd8]
call fcn.140012c60
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x100]
call fcn.140006040
nop
cmp qword [rsp + 0x188], 0
je 0x140014290
mov byte [rsp + 0x30], 1
jmp 0x140014295
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x140014320
lea rcx, [rsp + 0x34]
call fcn.14000ba60
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.140014980
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x100]
call fcn.1400011f0
mov qword [rsp + 0xa8], rax
lea rax, [0x1400053e0]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xa8]
call qword [rsp + 0xb0]
lea rcx, [rsp + 0x100]
call fcn.140013f90
nop
lea rax, [rsp + 0x1a8]
mov rcx, rax
call fcn.140008fd0
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
lea rcx, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x48]
lea rcx, vtable.std::ios_base.0
mov qword [rax], rcx
mov rcx, qword [rsp + 0x48]
call fcn.14001e254
nop
lea rcx, [rsp + 0xb8]
call fcn.140012c60
add rsp, 0x328
ret
Function at 0x140018270
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0x10
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x1400182be
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.140006750
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x60]
jmp 0x1400182fb
lea rcx, [rsp + 0x20]
call fcn.14000ab60
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140015000
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.140006750
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x60]
add rsp, 0x58
ret
Function at 0x140020b30
Capabilities:
Parse pe header

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

Function at 0x140027594
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 0x1400273ff
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400273ff
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400273ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400273ff
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400273ff
cmp dword [rcx + 0x84], 0xe
jbe 0x1400273ff
cmp dword [rcx + 0xf8], 0
je 0x1400273ff
mov ecx, ebx
call fcn.1400274b0
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.14002728c
nop
cmp dword [rbp + 0x20], 0
je 0x14002744d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140027458
int3
xor r8d, r8d
xor edx, edx
jmp 0x140027390
Function at 0x1400384ec
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140020060
sub rsp, rax
mov rax, qword [0x14005e100]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140036b40
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14003853b
mov rax, rbp
jmp 0x140038643
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x607f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400397d4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x607f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14003863f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003863f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400397d4
test rax, rax
js 0x14003863f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14003863f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140038631
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140038631
cmp byte [rcx], 0xd
jne 0x140038617
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140038626
cmp byte [rcx + 1], 0xa
jne 0x140038626
inc rcx
jmp 0x140038626
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x5e540]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400385f9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140038643
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400206a0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140038960
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140038976
mov al, 1
jmp 0x1400389d6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140038987
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400389d4
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003d7bc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400389d4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400389d4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400389d4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400389d6
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140038b74
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400607f0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140038bcb
cmp word [rdx], r13w
jne 0x140038bcb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140038bd0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140038cf5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140038d16
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140038c09
mov rdx, r9
mov word [rbx], cx
jmp 0x140038c30
cmp r9, r8
jae 0x140038c40
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140038bea
jmp 0x140038cf5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140038cea
cmp dword [rsp + 0x80], esi
je 0x140038cea
lea r8, [0x1400607f0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140038cc2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140038c92
mov word [rbx], r13w
jmp 0x140038cf2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140038c9f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140038cf2
cmp word [rsp + 0x70], r13w
jne 0x140038ccf
cmp rbx, r14
je 0x140038c8c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400397dc
cmp word [rsp + 0x70], r13w
je 0x140038cf5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400607f0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140038cef
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140038cf5