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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45dae3
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 0x45dadd
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 [0x005f2d90]
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 0x4697e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x46993e
movzx edx, byte [rax]
test edx, edx
jne 0x469814
nop dword [rax]
test r8b, r8b
jne 0x469814
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x469827
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x469903
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 0x4698f4
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 0x4698ea
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x46987d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x4698ba
mov eax, 1
cmp rax, rbx
ja 0x4698ab
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
add r8d, 7
mov eax, r11d
cmp rax, rbx
jae 0x4698e2
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
shlx r9d, r9d, r8d
lea r11d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x4698b3
mov eax, r11d
jmp 0x469882
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
call sym.runtime.panicIndex
mov eax, r8d
mov rcx, rbx
call sym.runtime.panicSliceB
add r9d, 7
cmp rbx, rdx
jbe 0x469934
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
shlx r10d, r10d, r9d
inc edx
or r8d, r10d
nop
test r11b, 0x80
jne 0x4698ff
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x46982d
mov eax, edx
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
call sym.runtime.panicIndex
nop
int3
Function at 0x46b0a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46b14f
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 [0x005f2d90]
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 0x46e620
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005f2b69], 0
je 0x46e62e
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

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

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

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

Disassembly:
cmp byte [0x005f2b69], 0
je 0x46e695
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005f31a0]
aesenc xmm0, xmmword [0x005f31b0]
aesenc xmm0, xmmword [0x005f31c0]
movq rax, xmm0
ret
jmp sym.runtime.memhash32Fallback

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

Disassembly:
cmp byte [0x005f2b69], 0
je 0x46e6d6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005f31a0]
aesenc xmm0, xmmword [0x005f31b0]
aesenc xmm0, xmmword [0x005f31c0]
movq rax, xmm0
ret
jmp sym.runtime.memhash64Fallback
Function at 0x46fca0
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 [0x005f2d90]
mov rax, qword gs:[rax]
cmp rax, 0
je 0x46fd3b
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 0x46ff60
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 [0x005f2d90]
mov rax, qword gs:[rax]
cmp rax, 0
jne 0x46fff7
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 0x4703c0
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 0x4703f4
mov rcx, 0x28
jmp 0x4703ff
shl rcx, 3
add rcx, 0x1480
mov qword [0x005f2d90], rcx
pop rbp
ret
Function at 0x4889c0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4890ff
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4889ed
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x488c71
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x488c9d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x00511600]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004c7840]
lea rbx, [0x00510000]
call sym.runtime.gopanic
inc rax
cmp rax, r8
jge 0x488cc2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x488cf7
lea rdi, [0x004c78c0]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4889e3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x488cdb
jmp 0x488cb0
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 0x4892a0
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 0x4892b7
inc rax
cmp rax, 4
jge 0x4892cf
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4892b4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4892e0
inc rax
cmp rax, 4
jge 0x4892ee
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x489317
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 0x4892fb
jmp 0x4892dd
Function at 0x48ed00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48edca
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 [0x005f2d90]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48edaf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004c7940]
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 0x48ed9e
mov edi, 1
lea rsi, [0x004c7940]
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, [0x00510148]
lea rsi, [0x0050f850]
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 0x49f220
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x49f2cc
push rbp
mov rbp, rsp
sub rsp, 0x40
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x61], dil
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], cl
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x005f2d90]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x49f293
lea rax, [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call sym.runtime.stringtoslicebyte
movzx edx, byte [rsp + 0x61]
movzx esi, byte [rsp + 0x60]
xor ecx, ecx
jmp 0x49f2a6
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
inc rcx
cmp rbx, rcx
jle 0x49f2b9
movzx edi, byte [rax + rcx]
cmp dil, sil
jne 0x49f2a3
mov byte [rax + rcx], dl
jmp 0x49f2a3
mov rcx, rbx
mov rbx, rax
xor eax, eax
call sym.runtime.slicebytetostring
add rsp, 0x40
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
mov byte [rsp + 0x19], dil
nop
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
movzx edi, byte [rsp + 0x19]
jmp sym.internal_filepathlite.replaceStringByte
Function at 0x140001350
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x108
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x30]
call fcn.140002080
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x1400013fc
lea rcx, [rsp + 0x30]
call fcn.140002570
lea rcx, [rsp + 0x38]
call fcn.1400024b0
test rax, rax
jne 0x1400013d8
mov rax, qword [rsp + 0x30]
xor r8d, r8d
mov edx, 2
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xor eax, eax
lea r8, str.script.vbs
mov dword [rsp + 0x28], eax
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x30]
call fcn.140001290
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140002aa0
add rsp, 0x158
ret
Function at 0x140001e10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140001e3d
xor eax, eax
jmp 0x140001fa9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140001e77
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140001e77
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 0x140001fa9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140001f9c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140001eba
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 0x140001ee5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140001fa1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140001f54
sub eax, 1
je 0x140001f54
cmp eax, 2
jne 0x140001f9c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140001fa1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140001f82
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140001f9c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140001fa1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140002aa0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400023c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002493
cmp byte [rcx + 0x71], 0
je 0x140002493
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000248f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002454
sub eax, 1
je 0x140002458
cmp eax, 2
jne 0x14000248f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002aa0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002486
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000248f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000243c
xor al, al
jmp 0x14000243c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002aa0
add rsp, 0x60
pop rbx
ret

Function at 0x140003454
Capabilities:
Parse pe header

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

Disassembly:
test rax, rax
push 0xffffffff9a913d86
lea rsp, [rsp + 0x28]
je 0x180571073
push r9
lea rdx, [0x180571ce8]
mov r9d, 0xf1275f04
shr r9, 0xa1
xor r9b, byte [r10 + r9]
xor r9d, edi
push 0x69246399
and r9d, 0xff
mov r9d, dword [rdx + r9*4]
shr edi, 8
xor edi, r9d
ror word [rsp + 2], 0xa9
inc r10
xor edi, 0x69b514ad
dec rax
lea rsp, [rsp + 8]
jne 0x18055c800
call fcn.180582dcc
call fcn.18058127e
push 0xffffffffe51d2e34
xor edi, edi
jmp 0x18055c7e4
Function at 0x18000d7b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1800b6040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [rcx]
mov rdi, rdx
mov rbx, rcx
test rax, rax
jne 0x18000d843
movdqa xmm0, xmmword [0x1800a40d0]
lea rdx, [rbp - 0x30]
movdqu xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x1a], 0x353020
movdqa xmm0, xmmword [0x1800a4560]
movdqu xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x20], 0x20383420
mov word [rbp - 0x1c], 0x4238
mov byte [rbp - 0x16], al
mov word [rbp - 0x35], 0x6c
mov dword [rbp - 0x40], 0x2d73656d
mov dword [rbp - 0x3c], 0x65766966
mov word [rbp - 0x38], 0x642e
mov byte [rbp - 0x36], 0x6c
mov byte [rbp - 0x33], al
call fcn.18000d180
mov qword [rbx], rax
mov qword [rbp - 0x28], rax
lea rcx, section..text
xor eax, eax
mov qword [rbp - 0x30], rcx
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov qword [rbp - 0x20], rax
xor r8d, r8d
lea rax, [rbp - 0x30]
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.18008dee0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18008f450
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1800116c0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
call fcn.18000cdf0
mov r11, rax
test rax, rax
je 0x180011763
mov eax, 0x5a4d
cmp word [r11], ax
jne 0x180011763
movsxd rcx, dword [r11 + 0x3c]
cmp dword [rcx + r11], 0x4550
jne 0x180011763
mov eax, dword [rcx + r11 + 0x88]
test eax, eax
je 0x180011763
mov ebx, dword [rax + r11 + 0x1c]
xor r9d, r9d
mov r10d, dword [rax + r11 + 0x20]
mov ebp, dword [rax + r11 + 0x24]
add r10, r11
add rbp, r11
lea rsi, [r11 + rbx]
test ebx, ebx
je 0x180011763
nop dword [rax]
mov r8d, dword [r10]
mov rax, rdi
add r8, r11
sub r8, rdi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180011753
inc rax
test ecx, ecx
jne 0x180011740
test edx, edx
je 0x18001177a
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x180011730
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
movzx ecx, word [rbp + r9*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
jmp 0x180011765
Function at 0x1800146b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x99], 0
je 0x1800146d8
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x45]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x98
jb 0x1800146c0
mov byte [rcx + 0x99], 0
ret

Function at 0x1800253f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rdi
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov rax, qword [0x1800b6040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
mov rbx, rcx
cmp edx, 1
jne 0x18002558a
mov rax, qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor r9d, r9d
mov qword [rbp + 0x3f], rax
xor r8d, r8d
xor eax, eax
mov qword [r11 + 0x10], rsi
mov qword [rbp + 0x47], rax
lea rsi, section..text
lea rax, [rbp + 0x37]
mov qword [r11 - 0x70], rdi
xor edx, edx
mov qword [r11 - 0x78], rax
mov qword [rbp + 0x37], rsi
call fcn.18008dee0
movdqa xmm0, xmmword [0x1800a48a0]
lea rdx, [rbp + 0x37]
lea rcx, [rbp + 0x27]
mov qword [0x1800b7c60], rbx
movdqu xmmword [rbp + 0x37], xmm0
mov word [rbp + 0x47], di
mov dword [rbp + 0x2d], 0x6c6c64
mov dword [rbp + 0x27], 0x6c64746e
mov word [rbp + 0x2b], 0x2e6c
mov byte [rbp + 0x31], dil
call fcn.1800116c0
mov qword [rsp + 0x50], rdi
lea rcx, [0x1800835a0]
mov qword [rsp + 0x48], rdi
mov r9, 0xffffffffffffffff
mov qword [rsp + 0x40], rdi
xor r8d, r8d
mov qword [rsp + 0x38], rdi
mov edx, 0x1fffff
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rcx
lea rcx, [0x1800b7be0]
call rax
lea rdx, [rbp + 0x27]
mov dword [rbp + 0x2f], 0x656c64
lea rcx, [rbp + 0x37]
mov dword [rbp + 0x27], 0x736f6c43
mov ebx, eax
mov dword [rbp + 0x2b], 0x6e614865
mov byte [rbp + 0x33], dil
mov word [rbp + 0x42], 0x6c
mov dword [rbp + 0x37], 0x6e72656b
mov dword [rbp + 0x3b], 0x32336c65
mov word [rbp + 0x3f], 0x642e
mov byte [rbp + 0x41], 0x6c
mov byte [rbp + 0x44], dil
call fcn.1800116c0
test ebx, ebx
js 0x180025586
mov rcx, qword [0x1800b7be0]
xor r9d, r9d
mov qword [rbp + 0x3f], rax
xor r8d, r8d
xor eax, eax
mov qword [rsp + 0x28], rdi
mov qword [rbp + 0x47], rax
xor edx, edx
lea rax, [rbp + 0x37]
mov qword [rbp + 0x37], rsi
mov qword [rsp + 0x20], rax
call fcn.18008dee0
mov eax, 1
mov rsi, qword [rsp + 0xa8]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.18008f450
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
xor eax, eax
jmp 0x18002555d
test edx, edx
sete dil
mov eax, edi
jmp 0x180025565