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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416b4a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.004319c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x41699b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4169ae
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4169d0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x4169e4
cmp rbx, 0x1000
jae 0x4169a5
jmp 0x416a6e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4169f6
xor esi, esi
jmp 0x416a60
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.004319c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x4169da
jmp 0x4169c2
call fcn.0045f300
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x416ae9
call fcn.00435d40
lea rax, [0x004f44b2]
mov ebx, 0x19
call fcn.00436640
mov rax, qword [rsp + 0x68]
call fcn.00436340
lea rax, [0x004f4115]
mov ebx, 0x19
nop
call fcn.00436640
mov eax, dword [rsp + 0x34]
call fcn.00436340
call fcn.00435fa0
call fcn.00435dc0
lea rax, [0x004f0f28]
mov ebx, 0xd
call fcn.004345a0
cmp eax, 0x5af
je 0x416a93
call fcn.00435d40
lea rax, [0x004f44b2]
mov ebx, 0x19
call fcn.00436640
mov rax, qword [rsp + 0x38]
call fcn.00436340
lea rax, [0x004f4115]
mov ebx, 0x19
nop dword [rax]
call fcn.00436640
mov eax, dword [rsp + 0x34]
call fcn.00436340
call fcn.00435fa0
call fcn.00435dc0
lea rax, [0x004f5c77]
mov ebx, 0x1f
call fcn.004345a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045b780
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416920
Function at 0x41e800
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x006074f2], 0
jne 0x41e8ef
nop
nop
nop
nop
sub rbx, qword [rax + 0x18]
nop
mov edx, dword [rax + 0x5c]
imul rbx, rdx
mov rdx, rbx
shr rbx, 0x20
nop
shr rdx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
nop
add rdx, qword [rax + 0x50]
lock or byte [rdx], dil
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41e8e5
lea rbx, [0x005d9950]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
nop dword [rax]
test al, bl
jne 0x41e8c7
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1248], rsi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.0045de80
lea rax, [0x004f7f29]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.004345a0
nop
int3
Function at 0x42da60
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42dd06
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42dcfa
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x006074f2], 0
jne 0x42dac2
xor edx, edx
xor ebx, ebx
nop
jmp 0x42db0b
xor edx, edx
jmp 0x42daee
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.0041e020
mov rcx, qword [rsp + 0x28]
lea rdx, [rcx + 1]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42dac6
add rax, 0x1260
call fcn.0042d8e0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42dc92
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax]
cmp rsi, 0x1000
jb 0x42db08
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.00412bc0
test rax, rax
jne 0x42db62
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42db08
nop
mov rsi, rcx
shr rcx, 3
and esi, 7
mov rdx, rcx
mov rcx, rsi
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rbx + 0x50]
movzx esi, byte [rdx]
test r8b, sil
je 0x42dba5
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x42db08
nop
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42dced
lea r10, [0x005d9950]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x21040]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x21040]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42dc2b
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42dc65
mov r8, qword [rsp + 0x48]
mov r9, qword [r8 + 0x1248]
add r9, qword [rbx + 0x68]
mov qword [r8 + 0x1248], r9
mov rax, r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42db08
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42dce5
mov r9, qword [rsp + 0x48]
mov qword [r9 + r8*8 + 0x1270], rax
lea rbx, [r8 + 1]
mov rax, r9
mov rdx, qword [rsp + 0x28]
jmp 0x42db08
cmp rbx, 0x200
ja 0x42dcd7
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00423c40
mov rdx, qword [rsp + 0x48]
lea rax, [rdx + 0x1260]
call fcn.0042d8e0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
nop
call fcn.0045dee0
mov rax, r8
call fcn.0045de60
mov rax, r8
mov ecx, 0x40
call fcn.0045de80
mov edx, 0x200
nop
call fcn.0045dec0
nop
mov qword [rsp + 8], rax
call fcn.0045fea0
mov rax, qword [rsp + 8]
jmp fcn.0042da60
Function at 0x44d780
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44d8f8
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44d7bc
test r8b, r8b
jne 0x44d7bc
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x44d7cf
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44d8b8
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x44d8a6
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x44d89c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x44d823
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x44d866
mov eax, 1
cmp rax, rbx
ja 0x44d855
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.0045df20
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x44d894
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x44d85d
mov r8d, eax
mov eax, r10d
jmp 0x44d828
mov rcx, rbx
call fcn.0045de60
xor eax, eax
mov rcx, rbx
call fcn.0045de60
mov eax, r8d
mov rcx, rbx
call fcn.0045df20
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44d8ee
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x44d8b1
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44d7d5
mov eax, edx
mov rcx, rbx
call fcn.0045de60
xor eax, eax
mov rcx, rbx
nop dword [rax]
call fcn.0045de60
nop
int3
Function at 0x454f60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45501b
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00455060]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045b640
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045b780
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00454f60
Function at 0x45d8a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402f4f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00409840
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045b780
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402f20
cmp byte [0x006074f1], 0
je 0x45d8b5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45a880
jmp 0x402f20

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

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x006077e0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x006074f1], 0
je 0x45d8f5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00607aa0]
aesenc xmm0, xmmword [0x00607ab0]
aesenc xmm0, xmmword [0x00607ac0]
movq rax, xmm0
ret
jmp 0x409a40

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

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x006077e0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x006074f1], 0
je 0x45d936
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00607aa0]
aesenc xmm0, xmmword [0x00607ab0]
aesenc xmm0, xmmword [0x00607ac0]
movq rax, xmm0
ret
jmp 0x409aa0

Function at 0x45f280
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x00607a20]
mov qword [rsp + 8], rdx
lea r8d, [0x0060750c]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045d7e0
add rsp, 0x30
ret
Function at 0x4bcac0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movd xmm0, dword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movdqu xmm1, xmmword [rsi]
movdqu xmm2, xmmword [rsi + 0x10]
movdqu xmm3, xmmword [rsi + 0x20]
movdqu xmm4, xmmword [rsi + 0x30]
pxor xmm1, xmm0
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jb 0x4bcb95
movdqa xmm0, xmmword [0x00518dc0]
movdqa xmm5, xmm1
movdqa xmm6, xmm2
movdqa xmm7, xmm3
movdqa xmm8, xmm4
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm2, xmm0, 0
pclmulqdq xmm3, xmm0, 0
pclmulqdq xmm4, xmm0, 0
movdqu xmm11, xmmword [rsi]
movdqu xmm12, xmmword [rsi + 0x10]
movdqu xmm13, xmmword [rsi + 0x20]
movdqu xmm14, xmmword [rsi + 0x30]
pclmulqdq xmm5, xmm0, 0x11
pclmulqdq xmm6, xmm0, 0x11
pclmulqdq xmm7, xmm0, 0x11
pclmulqdq xmm8, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm2, xmm6
pxor xmm3, xmm7
pxor xmm4, xmm8
pxor xmm1, xmm11
pxor xmm2, xmm12
pxor xmm3, xmm13
pxor xmm4, xmm14
add rdi, 0x40
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jge 0x4bcb01
movdqa xmm0, xmmword [0x00518dd0]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm2
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm3
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm4
cmp rcx, 0x10
jb 0x4bcc17
movdqu xmm10, xmmword [rsi]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm10
sub rcx, 0x10
add rsi, 0x10
cmp rcx, 0x10
jge 0x4bcbeb
pcmpeqb xmm3, xmm3
pclmulqdq xmm0, xmm1, 1
psrldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm2, xmm1
movq xmm0, qword [0x00518bc0]
psrlq xmm3, 0x20
psrldq xmm2, 4
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
movdqa xmm0, xmmword [0x00519180]
movdqa xmm2, xmm1
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0x10
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
mov dword [rsp + 0x28], eax
ret
Function at 0x142837058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1428371df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x142837089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14283706f
add dl, dl
jne 0x142837096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1428370f6
xor eax, eax
add dl, dl
jne 0x1428370a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1428371ad
add dl, dl
jne 0x1428370b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1428370c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1428370d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1428370dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1428370ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14283707e
mov eax, 1
add dl, dl
jne 0x142837106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142837113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1428370fb
sub eax, ebx
mov ebx, 1
jne 0x14283714c
mov ecx, 1
add dl, dl
jne 0x14283712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14283713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142837123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14283707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x142837168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142837175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14283715d
cmp eax, 0x7d00
jae 0x14283719b
cmp eax, 0x500
jb 0x142837196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14283707e
cmp eax, 0x7f
ja 0x14283719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14283707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1428371d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14283707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004628
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [0x140001688]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140001670]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [section..data], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140001698]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007008], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1400016b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007010], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1400016d0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007018], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1400016f4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007020], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1400016fc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007028], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140001704]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007030], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14000170c]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007038], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140001714]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140007040], rax
add rsp, 0x20
pop rbx
ret

Function at 0x140004798
Capabilities:
Check os version

Disassembly:
sub rsp, 0x148
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 6
setb al
add rsp, 0x148
ret
Function at 0x1400048c8
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov rdi, rcx
call fcn.140004798
test al, al
jne 0x1400048f0
mov eax, 2
jmp 0x1400049dd
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor ebx, ebx
lea rdx, [rsp + 0x20]
lea r8d, [rbx + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140004987
mov esi, 0x1000
mov ecx, dword [rsp + 0x78]
mov rax, qword [rsp + 0x20]
xor edx, edx
div rcx
test rdx, rdx
jne 0x14000495c
cmp qword [rsp + 0x38], rsi
jne 0x14000495c
cmp dword [rsp + 0x40], esi
jne 0x14000495c
cmp dword [rsp + 0x48], 0x20000
jne 0x14000495c
cmp dword [rsp + 0x44], 4
jne 0x14000495c
movabs rax, 0x74636a6e696d7678
cmp qword [rbx], rax
je 0x1400049f2
add rbx, qword [rsp + 0x38]
cmp rbx, 0x7fff0000
jae 0x1400048e6
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140004918
lea rsi, [0x140007060]
or edi, 0xffffffff
lea rdx, [0x140001358]
mov rcx, rsi
mov r8d, edi
call fcn.140006040
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0xa
mov edx, eax
mov rcx, rsi
call fcn.140005f90
lea rdx, [0x14000125c]
mov r8d, edi
mov rcx, rsi
call fcn.140006040
mov r8d, 0x10
mov edx, ebx
mov rcx, rsi
call fcn.140005f90
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov r8d, 0x20
mov rdx, rbx
mov rcx, rdi
call qword [0x140007020]
mov eax, 1
jmp 0x1400049dd
Function at 0x140004a18
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x840
call fcn.140004798
test al, al
je 0x140004a3a
mov eax, 2
jmp 0x140004c49
mov ebx, 0x400
lea rdx, [rsp + 0x40]
xor ecx, ecx
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140004c16
cmp eax, ebx
je 0x140004c16
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
xor r9d, r9d
lea r8d, [r9 + 7]
lea rcx, [rsp + 0x40]
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140004a9e
lea rdx, [0x140001200]
jmp 0x140004c1d
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
lea r8d, [r9 + 2]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rsi, rax
test rax, rax
jne 0x140004acf
lea rdx, [0x140001218]
jmp 0x140004c1d
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
mov qword [rsp + 0x20], 0x1000
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
test rax, rax
jne 0x140004aff
lea rdx, [0x140001230]
jmp 0x140004c1d
mov rcx, rax
call fcn.140004868
and qword [rsp + 0x868], 0
and dword [rsp + 0x860], 0
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor r9d, r9d
lea rax, [rbx + 0xc]
lea edx, [r9 + 4]
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
test rax, rax
jne 0x140004b9e
lea rdx, [0x140001248]
lea rcx, [0x140007060]
or r8d, 0xffffffff
call fcn.140006040
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8d, [rbp + 0xa]
lea rcx, [0x140007060]
mov edx, eax
call fcn.140005f90
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x140004c47
lea rdx, [0x14000125c]
lea rcx, [0x140007060]
or r8d, 0xffffffff
call fcn.140006040
jmp 0x140004bd9
add rbx, rax
lea rcx, [rsp + 0x868]
mov r8d, 8
mov rdx, rbx
call qword [0x140007020]
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x860]
mov r8d, 4
call qword [0x140007020]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movabs r11, 0x74636a6e696d7678
cmp qword [rsp + 0x868], r11
jne 0x140004a30
mov eax, 1
test byte [rsp + 0x860], al
jne 0x140004c49
jmp 0x140004a30
lea rdx, [0x1400011e8]
lea rcx, [0x140007060]
or r8d, 0xffffffff
call fcn.140006040
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140007060]
mov edx, eax
mov r8d, 0xa
call fcn.140005f90
xor eax, eax
mov rbx, qword [rsp + 0x870]
add rsp, 0x840
pop rdi
pop rsi
pop rbp
ret