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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x448188
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x448188
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x448198
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [sym.imp.kernel32.dll_RtlLookupFunctionEntry]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005763f0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x448271
mov rcx, qword [rsp + 0x58]
mov rdx, qword [sym.imp.kernel32.dll_RtlVirtualUnwind]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call sym.runtime.stdcall8.abi0
xorps xmm15, xmm15
mov r14, qword [0x005763f0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x448271
cmp qword [rcx + 8], rax
ja 0x448193
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x45ac60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45ad03
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call sym.runtime._traceMap_.put
nop
test bl, bl
je 0x45acfd
mov qword [rsp + 0x18], rax
lea rcx, [sym.runtime._traceStringTable_.put.func1]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x005763f0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp sym.runtime._traceStringTable_.put

Function at 0x465da0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x465f17
movzx edx, byte [rax]
test edx, edx
jne 0x465dd4
nop dword [rax]
test r8b, r8b
jne 0x465dd4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x465de7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x465ed7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x465ec5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x465eb7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x465e3d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x465e80
mov eax, 1
cmp rax, rbx
ja 0x465e6b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call sym.runtime.panicSliceB
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x465eaf
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x465e73
mov rcx, r11
mov eax, r12d
jmp 0x465e42
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
mov eax, r8d
mov rcx, rbx
call sym.runtime.panicSliceB
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x465f0d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x465ed0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x465ded
mov eax, edx
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
nop
int3
Function at 0x467420
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4674cf
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
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 rsi, [sym.runtime.callers.func1]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x005763f0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp sym.runtime.callers

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

Disassembly:
cmp byte [0x005761cd], 0
je 0x46a92e
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

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

Disassembly:
cmp byte [0x005761cd], 0
je 0x46a955
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback

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

Disassembly:
cmp byte [0x005761cd], 0
je 0x46a995
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005767e0]
aesenc xmm0, xmmword [0x005767f0]
aesenc xmm0, xmmword [0x00576800]
movq rax, xmm0
ret
jmp sym.runtime.memhash32Fallback

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

Disassembly:
cmp byte [0x005761cd], 0
je 0x46a9d6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005767e0]
aesenc xmm0, xmmword [0x005767f0]
aesenc xmm0, xmmword [0x00576800]
movq rax, xmm0
ret
jmp sym.runtime.memhash64Fallback
Function at 0x46c020
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
xorps xmm15, xmm15
xor r14, r14
mov rax, qword [0x005763f0]
mov rax, qword gs:[rax]
cmp rax, 0
je 0x46c0bb
mov r14, qword [rax]
sub rsp, 0x10
mov rax, rcx
mov rbx, rdx
call sym.runtime.sigtrampgo
add rsp, 0x10
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
pop rbp
ret

Function at 0x46c2e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x28
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
mov rax, qword [0x005763f0]
mov rax, qword gs:[rax]
cmp rax, 0
jne 0x46c377
int 3
mov r14, qword [rax]
sub rsp, 0x28
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], r9
call sym.runtime.sehhandler.abi0
mov eax, dword [rsp + 0x20]
add rsp, 0x28
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
add rsp, 0x28
pop rbp
ret
Function at 0x46c740
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46c774
mov rcx, 0x28
jmp 0x46c77f
shl rcx, 3
add rcx, 0x1480
mov qword [0x005763f0], rcx
pop rbp
ret

Function at 0x474c60
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47539f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x474c8d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x474f11
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x474f3d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004c0800]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x00488fe0]
lea rbx, [0x004bfae0]
call sym.runtime.gopanic
inc rax
cmp rax, r8
jge 0x474f62
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x474f97
lea rdi, [0x00489060]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x474c83
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x474f7b
jmp 0x474f50
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.internal_bisect.Hash

Function at 0x475540
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x475557
inc rax
cmp rax, 4
jge 0x47556f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x475554
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x475580
inc rax
cmp rax, 4
jge 0x47558e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4755b7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x47559b
jmp 0x47557d
Function at 0x478f00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x478fca
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x005763f0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x478faf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004890e0]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x478f9e
mov edi, 1
lea rsi, [0x004890e0]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004bfb88]
lea rsi, [0x004bf788]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString
Function at 0x140004610
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r12
sub rsp, 0x30
cmp dword [rcx + 0x58], 0
mov ebp, r8d
mov r12, rdx
mov rsi, rcx
je 0x14000463d
mov r8, rbp
xor edx, edx
mov rcx, r12
add rsp, 0x30
pop r12
pop rsi
pop rbp
jmp fcn.1401a9240
test r8d, r8d
je 0x140004732
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x58], rbx
mov dword [rcx + 0x28], ebp
mov qword [rsp + 0x60], rdi
mov qword [rcx + 0x20], rdx
xor r13d, r13d
nop
cmp dword [rsi + 0x10], r13d
jne 0x1400046a2
mov rdx, qword [rsi + 0x50]
mov rcx, qword [rsi]
lea r9, [rsp + 0x50]
mov r8d, 0x10000
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000473b
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x14000473b
mov rax, qword [rsi + 0x50]
mov dword [rsi + 0x10], ecx
mov qword [rsi + 8], rax
cmp dword [rsi + 0x5c], r13d
je 0x1400046d7
mov edi, dword [rsi + 0x28]
mov eax, dword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi + 0x20]
cmp edi, eax
cmova edi, eax
mov r8d, edi
mov ebx, edi
call fcn.1401a8ef0
add qword [rsi + 8], rbx
add qword [rsi + 0x20], rbx
sub dword [rsi + 0x10], edi
sub dword [rsi + 0x28], edi
jne 0x140004660
jmp 0x140004723
lea rcx, [rsi + 8]
call fcn.1401818f0
test eax, eax
je 0x1400046e9
cmp eax, 4
jne 0x140004757
cmp dword [rsi + 0x28], r13d
je 0x140004723
cmp eax, 4
jne 0x140004660
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Unexpected_EOF_in_decompression_stream._n
call fcn.1400b3fe0
lea rcx, [rsi + 8]
call fcn.140181a20
mov r8, rbp
xor edx, edx
mov rcx, r12
mov dword [rsi + 0x58], 1
call fcn.1401a9240
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov r13, qword [rsp + 0x68]
add rsp, 0x30
pop r12
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b3fe0
cmp dword [rsi + 0x5c], r13d
jne 0x14000470f
jmp 0x140004706
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Failed_to_decompress._n
jmp 0x140004701
Function at 0x140004770
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x40
cmp dword [rcx + 0x58], 0
mov rsi, rcx
je 0x140004787
xor eax, eax
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rbx
mov dword [rcx + 0x28], 1
xor ebp, ebp
mov qword [rsp + 0x30], rdi
mov qword [rcx + 0x20], rax
cmp dword [rsi + 0x10], ebp
jne 0x1400047e9
mov rdx, qword [rsi + 0x50]
mov rcx, qword [rsi]
lea r9, [rsp + 0x58]
mov r8d, 0x10000
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140004891
mov ecx, dword [rsp + 0x58]
test ecx, ecx
je 0x140004876
mov rax, qword [rsi + 0x50]
mov dword [rsi + 0x10], ecx
mov qword [rsi + 8], rax
cmp dword [rsi + 0x5c], ebp
je 0x140004834
mov edi, dword [rsi + 0x28]
mov eax, dword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi + 0x20]
cmp edi, eax
cmova edi, eax
mov r8d, edi
mov ebx, edi
call fcn.1401a8ef0
add qword [rsi + 8], rbx
add qword [rsi + 0x20], rbx
sub dword [rsi + 0x10], edi
sub dword [rsi + 0x28], edi
jne 0x1400047a8
mov al, byte [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
pop rsi
ret
lea rcx, [rsi + 8]
call fcn.1401818f0
test eax, eax
je 0x140004846
cmp eax, 4
jne 0x1400048ac
cmp dword [rsi + 0x28], ebp
je 0x14000481b
cmp eax, 4
jne 0x1400047a8
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Unexpected_EOF_in_decompression_stream._n
call fcn.1400b3fe0
lea rcx, [rsi + 8]
call fcn.140181a20
mov dword [rsi + 0x58], 1
xor eax, eax
jmp 0x14000481f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b3fe0
cmp dword [rsi + 0x5c], ebp
jne 0x14000486b
jmp 0x140004862
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b3fe0
cmp dword [rsi + 0x5c], ebp
jne 0x14000486b
jmp 0x140004862
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Failed_to_decompress._n
jmp 0x14000485d
Function at 0x1400048c0
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x40
cmp dword [rcx + 0x58], 0
mov rsi, rcx
je 0x1400048d7
xor eax, eax
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], rbx
mov dword [rcx + 0x28], 8
xor ebp, ebp
mov qword [rsp + 0x30], rdi
mov qword [rcx + 0x20], rax
cmp dword [rsi + 0x10], ebp
jne 0x140004939
mov rdx, qword [rsi + 0x50]
mov rcx, qword [rsi]
lea r9, [rsp + 0x50]
mov r8d, 0x10000
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400049e2
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x1400049c7
mov rax, qword [rsi + 0x50]
mov dword [rsi + 0x10], ecx
mov qword [rsi + 8], rax
cmp dword [rsi + 0x5c], ebp
je 0x140004985
mov edi, dword [rsi + 0x28]
mov eax, dword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi + 0x20]
cmp edi, eax
cmova edi, eax
mov r8d, edi
mov ebx, edi
call fcn.1401a8ef0
add qword [rsi + 8], rbx
add qword [rsi + 0x20], rbx
sub dword [rsi + 0x10], edi
sub dword [rsi + 0x28], edi
jne 0x1400048f8
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
pop rsi
ret
lea rcx, [rsi + 8]
call fcn.1401818f0
test eax, eax
je 0x140004997
cmp eax, 4
jne 0x1400049fd
cmp dword [rsi + 0x28], ebp
je 0x14000496b
cmp eax, 4
jne 0x1400048f8
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Unexpected_EOF_in_decompression_stream._n
call fcn.1400b3fe0
lea rcx, [rsi + 8]
call fcn.140181a20
mov dword [rsi + 0x58], 1
xor eax, eax
jmp 0x140004970
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b3fe0
cmp dword [rsi + 0x5c], ebp
jne 0x1400049bc
jmp 0x1400049b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b3fe0
cmp dword [rsi + 0x5c], ebp
jne 0x1400049bc
jmp 0x1400049b3
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Failed_to_decompress._n
jmp 0x1400049ae
Function at 0x140004d80
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x40
cmp dword [rcx + 0x58], 0
mov rsi, rcx
je 0x140004d97
xor eax, eax
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rbx
mov dword [rcx + 0x28], 4
xor ebp, ebp
mov qword [rsp + 0x30], rdi
mov qword [rcx + 0x20], rax
cmp dword [rsi + 0x10], ebp
jne 0x140004df9
mov rdx, qword [rsi + 0x50]
mov rcx, qword [rsi]
lea r9, [rsp + 0x58]
mov r8d, 0x10000
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140004ea1
mov ecx, dword [rsp + 0x58]
test ecx, ecx
je 0x140004e86
mov rax, qword [rsi + 0x50]
mov dword [rsi + 0x10], ecx
mov qword [rsi + 8], rax
cmp dword [rsi + 0x5c], ebp
je 0x140004e44
mov edi, dword [rsi + 0x28]
mov eax, dword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi + 0x20]
cmp edi, eax
cmova edi, eax
mov r8d, edi
mov ebx, edi
call fcn.1401a8ef0
add qword [rsi + 8], rbx
add qword [rsi + 0x20], rbx
sub dword [rsi + 0x10], edi
sub dword [rsi + 0x28], edi
jne 0x140004db8
mov eax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
pop rsi
ret
lea rcx, [rsi + 8]
call fcn.1401818f0
test eax, eax
je 0x140004e56
cmp eax, 4
jne 0x140004ebc
cmp dword [rsi + 0x28], ebp
je 0x140004e2b
cmp eax, 4
jne 0x140004db8
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Unexpected_EOF_in_decompression_stream._n
call fcn.1400b3fe0
lea rcx, [rsi + 8]
call fcn.140181a20
mov dword [rsi + 0x58], 1
xor eax, eax
jmp 0x140004e2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b3fe0
cmp dword [rsi + 0x5c], ebp
jne 0x140004e7b
jmp 0x140004e72
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b3fe0
cmp dword [rsi + 0x5c], ebp
jne 0x140004e7b
jmp 0x140004e72
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Failed_to_decompress._n
jmp 0x140004e6d

Function at 0x140004ed0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140004770
cmp al, 0xff
jne 0x140004eef
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140004d80
movzx eax, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400056d0
Capabilities:
Delete service
Stop service

Disassembly:
push rbx
sub rsp, 0x50
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
mov rbx, rax
je 0x1400057e8
lea rdx, str.Everything_Client
mov r8d, 0x20
mov rcx, rax
mov qword [rsp + 0x60], rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
mov rdi, rax
je 0x140005731
lea r8, [rsp + 0x30]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rdx, str.Everything_Client
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
mov rdi, rax
je 0x1400057a0
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x140005783
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x140200708]
mov edx, reloc.WS2_32.dll_recv
mov r9, qword [r8 + 0x20a0]
mov r8, qword [r8]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400d5b50
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
mov rdi, qword [rsp + 0x60]
add rsp, 0x50
pop rbx
jmp qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
je 0x1400057d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x140200708]
mov edx, reloc.WS2_32.dll_recv
mov r9, qword [r8 + 0x2078]
mov r8, qword [r8]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400d5b50
mov rcx, rbx
mov rdi, qword [rsp + 0x60]
add rsp, 0x50
pop rbx
jmp qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [0x140200708]
mov edx, reloc.WS2_32.dll_recv
mov r9, qword [r8 + 0x2088]
mov r8, qword [r8]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400d5b50
add rsp, 0x50
pop rbx
ret