joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140039144
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x40
and qword [r11 - 0x28], 0
lea r9, [r11 - 0x18]
mov qword [rsp + 0x38], rdx
mov rbx, rdx
mov eax, dword [rdx + 0x10]
mov rdi, rcx
mov rcx, qword [rcx + 8]
lea rdx, [r11 - 0x10]
and dword [rsp + 0x30], 0
add eax, eax
mov r8d, 4
mov dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [rbx + 0x10]
mov rdx, rbx
add r8d, r8d
cmp qword [rbx + 0x18], 8
jb 0x14003919a
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call fcn.140021660
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140039b78
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x140039d0b
cmp ecx, 0x7c
je 0x140039d0b
cmp ecx, 0x29
jne 0x140039bc0
cmp dword [rbx + 0x1c], 0
jne 0x140039d0b
test dword [rbx + 0x80], 0x10000000
je 0x140039d24
jmp 0x140039cb8
cmp ecx, 0x2e
jne 0x140039be0
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.140020984
mov rcx, rbx
call fcn.14003b88c
jmp 0x140039cf9
cmp ecx, 0x5c
jne 0x140039c44
mov rcx, rbx
call fcn.14003b88c
test byte [rbx + 0x80], 0x80
je 0x140039c37
cmp word [rbx + 0x78], 0x62
jne 0x140039c18
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.140020984
mov rcx, rbx
call fcn.14003b88c
jmp 0x140039d01
cmp word [rbx + 0x78], 0x42
jne 0x140039c37
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140020984
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x140039c0b
mov rcx, rbx
call fcn.140039d50
jmp 0x140039cf9
cmp ecx, 0x5b
jne 0x140039c68
mov rcx, rbx
call fcn.14003b88c
mov rcx, rbx
call fcn.140039f8c
cmp dword [rbx + 0x7c], 0x5d
jne 0x140039d32
jmp 0x140039bd3
cmp ecx, 0x28
jne 0x140039c8c
mov rcx, rbx
call fcn.14003b88c
mov rcx, rbx
call fcn.14003be64
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x140039d24
jmp 0x140039cec
cmp ecx, 0x5e
jne 0x140039c99
lea edx, [rcx - 0x5c]
jmp 0x140039c02
cmp ecx, 0x24
jne 0x140039ca6
lea edx, [rcx - 0x21]
jmp 0x140039c02
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140039d16
cmp ecx, 0x3f
je 0x140039d16
cmp ecx, 0x7b
je 0x140039d16
cmp ecx, 0x7d
jne 0x140039ccb
test dword [rbx + 0x80], 0x10000000
je 0x140039d40
jmp 0x140039cdc
cmp ecx, 0x5d
jne 0x140039cdc
test dword [rbx + 0x80], 0x10000000
je 0x140039d32
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.1400391c4
mov dil, 1
mov rcx, rbx
call fcn.14003b88c
test dil, dil
je 0x140039d01
mov rcx, rbx
call fcn.14003b8dc
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x140039b8a
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.14001f000
int3
mov edx, 5
mov rcx, rbx
call fcn.14001f000
int3
mov edx, 4
mov rcx, rbx
call fcn.14001f000
int3
mov edx, 6
mov rcx, rbx
call fcn.14001f000
int3
Function at 0x14003c054
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14002f6b6
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14002f699
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14002f684

Function at 0x14003c210
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x1400d9448]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r15, r9
mov r12, r8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x30], rdx
mov rdi, qword [rsp + 0xd0]
call fcn.140040b7c
xor ebp, ebp
test al, al
jne 0x14003c27a
mov qword [rbx], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, rbx
call fcn.140021bc0
jmp 0x14003c383
mov ecx, 0x208
mov r13d, 1
call fcn.140071d38
mov rsi, rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], bp
mov ebp, 0x104
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x14003c2b7
mov rax, qword [r14]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14003c2c4
mov r8, qword [rdi]
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x14003c2d1
mov rdx, qword [r15]
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x14003c2e0
mov rcx, qword [r12]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [rbp - 1]
cmp eax, ecx
jb 0x14003c35d
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14003c306
mov rcx, qword [rdi]
mov rax, rsi
sub rcx, rsi
movzx edx, word [rax]
movzx r8d, word [rax + rcx]
sub edx, r8d
jne 0x14003c322
add rax, 2
test r8d, r8d
jne 0x14003c30c
test edx, edx
je 0x14003c35d
mov rcx, rsi
call fcn.1400716ac
inc r13d
imul ebp, r13d, 0x104
mov ecx, ebp
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140071d38
mov rsi, rax
jmp 0x14003c2aa
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140021bc0
mov rcx, rsi
call fcn.1400716ac
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140071cb0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14003c788
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov ebx, ecx
mov r14, r8
xor ecx, ecx
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, bx
mov r8, rdi
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14003c7fb
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rdi
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
mov qword [r14], rcx
test rbx, rbx
je 0x14003c7fb
test eax, eax
je 0x14003c7fb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x14003c7fd
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

Function at 0x14003c854
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
sub rsp, 0x38
and dword [rax + 0x10], 0
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
mov r8d, 4
mov rcx, qword [rcx + 8]
mov dword [rax + 8], edx
lea rdx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
add rsp, 0x38
ret
Function at 0x140040674
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1400d9448]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140021bc0
mov dword [rsp + 0x30], 1
lea r8d, [rdi + 0xd]
lea rdx, [0x1400a54c0]
mov rcx, rbx
call fcn.140021a48
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140071cb0
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret

Function at 0x14004071c
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x270
mov rax, qword [0x1400d9448]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor r15d, r15d
mov dword [rsp + 0x24], r15d
mov qword [rcx], r15
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], 7
mov word [rcx], r15w
lea rdx, [0x14009f848]
call fcn.140021bc0
mov dword [rsp + 0x24], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140074190
mov ebx, 0x104
mov r8d, ebx
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14004084f
cmp eax, ebx
je 0x14004084f
mov dword [rsp + 0x20], r15d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r14d, eax
test eax, eax
je 0x14004084f
mov ecx, r14d
call fcn.140071d38
mov rsi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], r15
mov r8d, r14d
xor edx, edx
mov rcx, rax
call fcn.140074190
mov dword [rsp + 0x28], r15d
mov r9, rsi
mov r8d, r14d
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140040842
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, str.StringFileInfo000004b0ProductVersion
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140040842
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
call fcn.140021bc0
nop
test rsi, rsi
je 0x14004084f
mov rcx, rsi
call fcn.1400716ac
mov rax, rdi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140071cb0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140040880
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x270
mov rax, qword [0x1400d9448]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor r15d, r15d
mov dword [rsp + 0x24], r15d
mov qword [rcx], r15
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], 7
mov word [rcx], r15w
lea rdx, [0x14009f848]
call fcn.140021bc0
mov dword [rsp + 0x24], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140074190
mov ebx, 0x104
mov r8d, ebx
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400409b3
cmp eax, ebx
je 0x1400409b3
mov dword [rsp + 0x20], r15d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r14d, eax
test eax, eax
je 0x1400409b3
mov ecx, r14d
call fcn.140071d38
mov rsi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], r15
mov r8d, r14d
xor edx, edx
mov rcx, rax
call fcn.140074190
mov dword [rsp + 0x28], r15d
mov r9, rsi
mov r8d, r14d
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400409a6
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, str.StringFileInfo000004b0ProductName
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400409a6
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
call fcn.140021bc0
nop
test rsi, rsi
je 0x1400409b3
mov rcx, rsi
call fcn.1400716ac
mov rax, rdi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140071cb0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400409e4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x1400d9448]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, [rbp + 0xf]
call fcn.140040114
nop
lea rcx, [rbp + 0xf]
mov rbx, qword [rbp + 0xf]
mov rsi, qword [rbp + 0x27]
cmp rsi, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], 5
lea r9, str.x64_
xor r8d, r8d
mov rdx, qword [rbp + 0x1f]
call fcn.140025f38
xor edi, edi
cmp rax, 0xffffffffffffffff
je 0x140040b0f
mov qword [rbp + 0x2f], rdi
mov qword [rbp + 0x3f], rdi
mov qword [rbp + 0x47], 7
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x2f]
call fcn.14003bf7c
lea rcx, [rbp + 0xf]
call fcn.140021660
movups xmm0, xmmword [rbp + 0x2f]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rbp + 0x3f]
movups xmmword [rbp + 0x1f], xmm1
movabs rax, 0x7ffffffffffffffe
movq rcx, xmm1
sub rax, rcx
cmp rax, 0xa
jb 0x140040b74
lea r9, [rbp + 0xf]
cmp qword [rbp + 0x47], 8
cmovae r9, qword [rbp + 0x2f]
mov qword [rsp + 0x30], 0xa
lea rax, str.cover.jpg
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0xf]
mov dl, byte [rbp + 7]
lea rcx, [rbp + 0x2f]
call fcn.140007b1c
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rcx, qword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne dil
lea rcx, [rbp + 0x2f]
call fcn.140021660
mov rsi, qword [rbp + 0x27]
mov rbx, qword [rbp + 0xf]
cmp rsi, 8
jb 0x140040b46
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140040b3e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040b6e
mov rcx, rbx
call fcn.1400716ac
mov al, dil
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140071cb0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400780a4
nop
call fcn.140021918
nop
int3

Function at 0x140040b7c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x140040b8a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret
Function at 0x140045e38
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400d9448]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [0x1400db9a8]
xor edi, edi
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
lea edx, [rdi + 0x28]
call rbx
test eax, eax
je 0x140045ee2
mov rax, qword [0x1400db9b0]
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call rax
test eax, eax
je 0x140045ed7
mov rax, qword [rsp + 0x38]
lea r9d, [rdi + 0x10]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rdi
xor edx, edx
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], rdi
call qword [0x1400db9b8]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete dil
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, dil
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140071cb0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x1400486f4
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rcx, qword [0x1400db920]
test rcx, rcx
je 0x1400487bb
mov edx, 0xa
call fcn.14003c854
nop
mov qword [rbp - 8], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp - 0x10], SafeArrayDestroy
movsd xmm0, qword [str.SAVE_SETTINGS]
movsd qword [rbp - 0x20], xmm0
mov eax, dword [0x1400a5c80]
mov dword [rbp - 0x18], eax
mov al, byte [0x1400a5c84]
mov byte [rbp - 0x14], al
mov byte [rbp - 0x13], 0
lea rdx, [rbp - 0x20]
mov rcx, qword [0x1400db920]
call fcn.140039084
and dword [rbp + 0x18], 0
and dword [rbp + 0x20], 0
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x20]
mov r8d, 4
lea rdx, [rbp + 0x18]
mov rcx, qword [0x1400db920]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp + 0x18], 1
jne 0x1400487bb
and dword [rbp + 0x20], 0
and dword [rbp + 0x18], 0
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x18]
mov r8d, 4
lea rdx, [rbp + 0x20]
mov rcx, qword [0x1400db920]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
add rsp, 0x50
pop rbp
ret
Function at 0x14004e86c
Capabilities:
Resume thread

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1400d9448]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rax, qword [0x1400db948]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0xa0]
call rax
mov rbx, rax
test rax, rax
jne 0x14004e99d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov byte [rsp + 0x20], 1
mov r9b, 1
lea r8d, [rdi + 0x10]
lea rcx, [rbp + 0x17]
call fcn.14003dfdc
nop
lea r8, [0x1400dbc30]
cmp qword [0x1400dbc48], 8
cmovae r8, qword [0x1400dbc30]
mov r9, qword [0x1400dbc40]
xor edx, edx
mov rcx, rax
call fcn.14002ec14
mov qword [rbp - 9], rdi
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], rdi
lea ebx, [rdi + 7]
mov qword [rax + 0x18], rbx
mov word [rax], di
xor r9d, r9d
mov r8b, 1
lea rdx, [0x1400dba10]
lea rcx, [rbp - 9]
call fcn.14004125c
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x14004e984
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e97f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e9c8
call fcn.1400716ac
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], rbx
mov word [rbp - 9], di
lea rcx, [rbp + 0x17]
call fcn.140021660
xor al, al
jmp 0x14004e9b1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140071cb0
add rsp, 0x90
pop rdi
pop rbx
pop rbp
ret
call fcn.1400780a4
nop
int3
Function at 0x14004e9d0
Capabilities:
Resume thread

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1400d9448]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rax, qword [0x1400db948]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0xa0]
call rax
mov rbx, rax
test rax, rax
jne 0x14004eb01
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov byte [rsp + 0x20], 1
mov r9b, 1
lea r8d, [rdi + 0x10]
lea rcx, [rbp + 0x17]
call fcn.14003dfdc
nop
lea r8, [0x1400dbc30]
cmp qword [0x1400dbc48], 8
cmovae r8, qword [0x1400dbc30]
mov r9, qword [0x1400dbc40]
xor edx, edx
mov rcx, rax
call fcn.14002ec14
mov qword [rbp - 9], rdi
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], rdi
lea ebx, [rdi + 7]
mov qword [rax + 0x18], rbx
mov word [rax], di
xor r9d, r9d
mov r8b, 1
lea rdx, [0x1400dba10]
lea rcx, [rbp - 9]
call fcn.14004125c
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x14004eae8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004eae3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004eb38
call fcn.1400716ac
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], rbx
mov word [rbp - 9], di
lea rcx, [rbp + 0x17]
call fcn.140021660
xor al, al
jmp 0x14004eb21
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140071cb0
add rsp, 0x90
pop rdi
pop rbx
pop rbp
ret
call fcn.1400780a4
nop
int3
Function at 0x14005bca0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov ebp, r9d
xor r8d, r8d
mov rsi, rdx
mov rbx, rcx
cmp rdi, 0xffffffffffffffff
jne 0x14005bd04
movzx eax, byte [rdx]
mov edi, r8d
test al, al
je 0x14005bcf8
nop dword [rax]
nop word [rax + rax]
imul r8d, r8d, 0x1003f
inc rdi
movzx eax, al
add r8d, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x14005bce0
test rdi, rdi
jne 0x14005bd32
xor eax, eax
jmp 0x14005bdb9
mov rdx, r8
test rdi, rdi
je 0x14005bcfd
nop dword [rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x14005bd2c
imul r8d, r8d, 0x1003f
inc rdx
add r8d, eax
cmp rdx, rdi
jb 0x14005bd10
jmp 0x14005bcf8
mov r8d, 0x11
mov eax, dword [rcx + 0x128]
mov edx, r8d
movzx ecx, byte [rcx + 0x12c]
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, r8d
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x14005bdb1
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x14005bd9e
cmp dword [rbx + 0x14], ebp
jne 0x14005bd9e
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x14005bd8f
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.1400739e0
test eax, eax
je 0x14005bda8
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14005bd76
jmp 0x14005bdb1
test rbx, rbx
je 0x14005bdb1
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14005dec0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x1400d9448]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x14005dfb2
xor ebp, ebp
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, rbp
test rbx, rbx
je 0x14005df47
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r10 + r8]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, ebp
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x14005df20
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14005d770
mov dword [r14], eax
test eax, eax
jne 0x14005dfd8
mov rax, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rax + 0x48]
call fcn.140066bc0
mov dword [r14], eax
test eax, eax
jne 0x14005dfd8
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14005dc40
test eax, eax
je 0x14005dfb2
mov ecx, dword [rsi]
test eax, ecx
jne 0x14005dfd1
or ecx, eax
xor r8d, r8d
mov dword [rsi], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.140067140
cmp al, 2
jne 0x14005dfb2
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x14005df00
mov eax, 0x1a
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140071cb0
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 0x37
jmp 0x14005dfb7
lea rcx, [r15 + 8]
xor r8d, r8d
mov rdx, rdi
call fcn.140067140
cmp al, 2
jne 0x14005e051
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x14005e051
mov r11, qword [rdi + 8]
mov r10, rbp
test rdx, rdx
je 0x14005e039
lea rax, [rsp + 0x20]
sub r11, rax
nop dword [rax]
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, ebp
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x14005e010
lea rcx, [rsp + 0x20]
call fcn.14005dc40
cmp eax, 0x10
jne 0x14005e051
or dword [rsi], eax
xor eax, eax
jmp 0x14005dfb7
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x14005dfb7