joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002430
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180002650
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180002537
mov rax, qword [0x180010008]
cmp qword [rsp + 0x20], rax
jb 0x180002494
mov rax, qword [0x180010010]
cmp qword [rsp + 0x20], rax
ja 0x180002494
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180002456
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800024c3
jmp 0x180002537
cmp dword [rsp + 0x50], 0x10000
jne 0x18000251a
cmp qword [rsp + 0x48], 0x10000
jb 0x18000251a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180002508
mov rax, qword [rsp + 0x28]
jmp 0x180002539
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180002532
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180002650
mov qword [rsp + 0x20], rax
jmp 0x180002456
xor eax, eax
add rsp, 0x68
ret

Function at 0x180002540
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180002690
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180002643
mov rax, qword [0x180010008]
cmp qword [rsp + 0x20], rax
jb 0x18000259b
mov rax, qword [0x180010010]
cmp qword [rsp + 0x20], rax
ja 0x18000259b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18000255d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800025ca
jmp 0x180002643
cmp dword [rsp + 0x50], 0x10000
jne 0x180002621
cmp qword [rsp + 0x48], 0x10000
jb 0x180002621
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18000260f
mov rax, qword [rsp + 0x28]
jmp 0x180002645
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18000263e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180002690
mov qword [rsp + 0x20], rax
jmp 0x18000255d
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800079f0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.180008390
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.180008390
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.180008390
mov ecx, dword [0x1800103b8]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 0xc
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.180009740
call fcn.180008390
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret
Function at 0x18000a970
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x180010040]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18000a9ac
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.18000763c
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x18000aa68
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x18000aace
test ebx, ebx
jne 0x18000aace
lea ecx, [rax + 2]
call fcn.18000763c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.180006bc0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x140002d30
Capabilities:
Encrypt data using rc4 via systemfunction032

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x140025008]
xor rax, rsp
mov qword [rbp + 0x37], rax
cmp qword [0x140026c38], 0
lea rax, [rbp + 0x1f]
mov rbx, qword [rcx + 8]
mov rdi, rcx
mov qword [rbp - 0x61], rax
mov dword [rbp - 0x69], 0x10
mov dword [rbp - 0x65], 0x10
je 0x140002f33
cmp dword [0x140026c30], 0
je 0x140002f33
cmp dword [rcx], 0x14
jb 0x140002f23
test rbx, rbx
je 0x140002f23
lea rcx, [rbp - 0x39]
mov qword [rsp + 0x110], r14
call qword [sym.imp.cryptdll.dll_MD5Init]
mov r8d, dword [0x140026c30]
lea rcx, [rbp - 0x39]
mov rdx, qword [0x140026c38]
call qword [sym.imp.cryptdll.dll_MD5Update]
mov r8d, 0x10
lea rcx, [rbp - 0x39]
mov rdx, rbx
call qword [sym.imp.cryptdll.dll_MD5Update]
lea rcx, [rbp - 0x39]
call qword [sym.imp.cryptdll.dll_MD5Final]
mov eax, dword [rdi]
lea r14, [rbx + 0x10]
sub eax, 0x10
mov qword [rbp - 0x51], r14
lea rdx, [rbp - 0x69]
mov dword [rbp - 0x55], eax
lea rcx, [rbp - 0x59]
mov dword [rbp - 0x59], eax
call qword [sym.imp.ADVAPI32.dll_SystemFunction032]
test eax, eax
js 0x140002f13
mov qword [rsp + 0x108], rsi
lea rdx, [rbp - 0x79]
mov esi, dword [rdi]
mov ecx, 0xffffff7c
sub esi, 0x14
mov qword [rsp + 0x118], r15
call qword [sym.imp.cryptdll.dll_CDLocateCheckSum]
test eax, eax
js 0x140002f05
mov rax, qword [rbp - 0x79]
lea rdx, [rbp - 0x71]
xor ecx, ecx
call qword [rax + 0x10]
test eax, eax
js 0x140002f05
mov rax, qword [rbp - 0x79]
lea r15, [rbx + 0x14]
mov rcx, qword [rbp - 0x71]
mov r8, r15
mov edx, esi
call qword [rax + 0x18]
mov rax, qword [rbp - 0x79]
lea rdx, [rbp - 0x49]
mov rcx, qword [rbp - 0x71]
call qword [rax + 0x20]
mov rdx, qword [rbp - 0x79]
lea rcx, [rbp - 0x71]
mov ebx, eax
call qword [rdx + 0x28]
test ebx, ebx
js 0x140002f05
mov r8d, dword [r14]
mov edx, dword [rbp - 0x49]
cmp edx, r8d
jne 0x140002ec8
mov r14, qword [rdi + 8]
mov ecx, 0x40
mov edx, esi
mov ebx, esi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rdi + 8], rax
test rax, rax
je 0x140002ed4
mov r8d, ebx
mov rdx, r15
mov rcx, rax
call fcn.140004f90
mov rcx, r14
mov dword [rdi], esi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x140002ed6
lea rcx, str._x__ProcessGetNCChangesReply_decrypt:_Checksums_dont_match__C:0x_08x___R:0x_08x__n
call fcn.140003220
xor eax, eax
mov rsi, qword [rsp + 0x108]
mov r15, qword [rsp + 0x118]
mov r14, qword [rsp + 0x110]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140003770
add rsp, 0xe0
pop rdi
pop rbx
pop rbp
ret
lea rcx, str._x__ProcessGetNCChangesReply_decrypt:_Unable_to_calculate_CRC32_n
call fcn.140003220
jmp 0x140002ed4
lea rcx, str._x__ProcessGetNCChangesReply_decrypt:_RtlEncryptDecryptRC4_n
call fcn.140003220
xor eax, eax
jmp 0x140002ee6
lea rcx, str._x__ProcessGetNCChangesReply_decrypt:_No_valid_data_n
call fcn.140003220
xor eax, eax
jmp 0x140002eee
lea rcx, str._x__ProcessGetNCChangesReply_decrypt:_No_Session_Key_n
call fcn.140003220
xor eax, eax
jmp 0x140002eee
Function at 0x140003330
Capabilities:
Get user security identifier

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140025008]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, qword [rsp + 0xb0]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x44]
xor ebx, ebx
lea rax, [rsp + 0x40]
mov rdi, rdx
mov qword [rsp + 0x28], rax
mov rsi, r8
mov qword [rsp + 0x20], rbx
mov rbp, rcx
mov dword [rsp + 0x44], ebx
mov rdx, rcx
mov dword [rsp + 0x40], ebx
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x140003420
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140003420
mov edx, dword [rsp + 0x44]
lea ecx, [rbx + 0x40]
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rdi], rax
test rax, rax
je 0x140003420
mov edx, dword [rsp + 0x40]
lea ecx, [rbx + 0x40]
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsi], rax
test rax, rax
je 0x140003414
mov r8, qword [rdi]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x30], rdx
lea r9, [rsp + 0x44]
lea rdx, [rsp + 0x40]
mov rcx, r14
mov qword [rsp + 0x28], rdx
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test eax, eax
jne 0x140003422
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsi], rax
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rdi], rax
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140003770
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140009f64
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140009d90
Function at 0x1407b4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407b41df
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 0x1407b4089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b406f
add dl, dl
jne 0x1407b4096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b40f6
xor eax, eax
add dl, dl
jne 0x1407b40a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b41ad
add dl, dl
jne 0x1407b40b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b40c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b40d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b40dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407b40ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407b407e
mov eax, 1
add dl, dl
jne 0x1407b4106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b4113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b40fb
sub eax, ebx
mov ebx, 1
jne 0x1407b414c
mov ecx, 1
add dl, dl
jne 0x1407b412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407b413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b4123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407b4168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407b4175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b415d
cmp eax, 0x7d00
jae 0x1407b419b
cmp eax, 0x500
jb 0x1407b4196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b407e
cmp eax, 0x7f
ja 0x1407b419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407b41d2
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 0x1407b407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x6bfc24a0
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, qword [fcn.6bfdfd20]
xor ecx, ecx
call rdi
mov rsi, qword [sym.imp.msvcrt.dll_exit_5]
mov rcx, rax
call rsi
mov rbx, qword [sym.imp.msvcrt.dll_exit_9]
mov edx, 0x8000
mov ecx, eax
call rbx
mov ecx, 1
call rdi
mov rcx, rax
call rsi
mov edx, 0x8000
mov ecx, eax
call rbx
mov ecx, 2
call rdi
mov rcx, rax
call rsi
mov edx, 0x8000
mov ecx, eax
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp rax

Function at 0x6bfcf060
Capabilities:
Terminate process

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [0x6c0527d0]
mov rbx, rcx
test rax, rax
je 0x6bfcf07f
call rax
test al, al
je 0x6bfcf140
mov rax, qword [0x6c0527d8]
test rax, rax
je 0x6bfcf098
mov rcx, rbx
call rax
test al, al
je 0x6bfcf140
cmp qword [0x6c0527a8], 0
je 0x6bfcf150
mov rsi, qword [0x6c0527a0]
test rsi, rsi
je 0x6bfcf0b7
add qword [rsi - 0x10], 8
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x6bfcf0e5
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
sub rdx, 8
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x6bfcf0e5
mov rdx, rcx
lea rcx, [0x6c04fbd8]
call fcn.6bfc5ac0
add qword [rbx - 0x10], 8
mov rax, qword [0x6c0527a0]
mov qword [rbx + 0x28], rsi
test rax, rax
je 0x6bfcf11f
mov rsi, qword [rax - 0x10]
lea rcx, [rax - 0x10]
lea rdx, [rsi - 8]
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x6bfcf11f
mov rdx, rcx
lea rcx, [0x6c04fbd8]
call fcn.6bfc5ac0
mov rax, qword [0x6c0527a8]
mov qword [0x6c0527a0], rbx
mov edx, 1
lea rcx, [rax + 0x10]
call qword [sym.imp.msvcrt.dll_exit_19]
nop
nop dword [rax]
add rsp, 0x28
pop rbx
pop rsi
ret
mov rax, qword [0x6c0527c0]
test rax, rax
je 0x6bfcf161
mov rcx, rbx
call rax
mov rcx, rbx
call fcn.6bfceca0
mov ecx, 1
call sub.msvcrt.dll_exit_13
nop
nop word cs:[rax + rax]
nop
mov qword [rcx + 0x10], rdx
test rdi, rdi
je 0x6bfcf220
mov rcx, qword [rbx + 0x20]
lea rdx, [0x6c052c80]
call fcn.6bfcf330
mov rbp, rax
test rax, rax
je 0x6bfcf1ca
add qword [rax - 0x10], 8
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x6bfcf1f8
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
sub rdx, 8
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x6bfcf1f8
mov rdx, rcx
lea rcx, [0x6c04fbd8]
call fcn.6bfc5ac0
mov qword [rbx + 0x20], rbp
mov rax, qword [rbp]
lea rdx, [rax + 1]
lea rax, [rax + rax*2]
mov qword [rbp], rdx
mov rdx, qword [rbx + 0x20]
lea rax, [rdx + rax*8]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], rdi

Function at 0x6bfcf180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov r12, qword [rsp + 0x70]
mov rbx, rcx
mov rsi, r8
mov rdi, r9
jne 0x6bfcf1a3
test rsi, rsi
je 0x6bfcf220
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.6bfcf060
Function at 0x6bfd2af0
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
test rcx, rcx
je 0x6bfd2b52
mov r8, qword [0x6c053b40]
mov r9, qword [0x6c053b48]
cmp rcx, 0xffffffffffffffff
je 0x6bfd2b60
mov rax, 0xffffffffffffffff
xor edx, edx
div rcx
lea rax, [r8 + r9]
xor r9, r8
ror r8, 9
mov r11, rdx
mov r10, r9
xor r8, r9
ror r9, 0x1c
shl r10, 0xe
xor r8, r10
add r11, rax
jb 0x6bfd2b17
add rcx, 1
xor edx, edx
mov qword [0x6c053b40], r8
div rcx
mov qword [0x6c053b48], r9
mov rax, rdx
ret
mov rax, r8
mov rdx, r8
xor rax, r9
ror rdx, 9
mov rcx, rax
xor rdx, rax
ror rax, 0x1c
shl rcx, 0xe
mov qword [0x6c053b48], rax
xor rdx, rcx
mov qword [0x6c053b40], rdx
lea rdx, [r8 + r9]
mov rax, rdx
ret
Function at 0x6bfd40b0
Capabilities:
Access peb ldr_data

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov edx, 0x31f94306
lea rbp, [0x6bfe44a0]
mov rsi, rcx
lea rcx, [0x6bfe44e0]
lea rbx, [rsp + 0x28]
call fcn.6bfd2bd0
mov edx, 0x5c7eae86
mov rcx, rax
call fcn.6bfd35f0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rdi, qword [rax + 0x20]
lea r12, [rax + 0x20]
nop
movzx eax, word [rsi]
mov qword [rsp + 0x28], rsi
mov rdx, rsi
test ax, ax
je 0x6bfd4139
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x6bfd411f
add eax, 0x20
mov word [rdx], ax
mov edx, 1
mov rcx, rbx
call fcn.6bfd2bc0
mov rdx, qword [rsp + 0x28]
movzx eax, word [rdx]
test ax, ax
jne 0x6bfd4110
mov r13, qword [rdi + 0x50]
mov qword [rsp + 0x28], r13
movzx eax, word [r13]
test ax, ax
je 0x6bfd4179
mov rdx, r13
nop
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x6bfd415f
add eax, 0x20
mov word [rdx], ax
mov edx, 1
mov rcx, rbx
call fcn.6bfd2bc0
mov rdx, qword [rsp + 0x28]
movzx eax, word [rdx]
test ax, ax
jne 0x6bfd4150
mov rdx, r13
mov rcx, rsi
call fcn.6bfd3fd0
mov edx, 0x56114406
mov rcx, rbp
mov r13, rax
call fcn.6bfd2bd0
mov edx, 0xfa89f86
mov rcx, rax
call fcn.6bfd35f0
test r13, r13
je 0x6bfd41cb
mov rdi, qword [rdi]
cmp r12, rdi
jne 0x6bfd4100
mov edx, 1
mov rcx, rsi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.6bfd3780
mov rax, qword [rdi + 0x20]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x6bfd4240
Capabilities:
Access peb ldr_data

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r12, [0x6bfe44a0]
mov rdi, rcx
mov r14d, edx
lea rcx, [0x6bfe44e0]
mov edx, 0x31f94306
call fcn.6bfd2bd0
mov edx, 0x5c7eae86
lea rbx, [rsp + 0x28]
mov rcx, rax
call fcn.6bfd35f0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rbp, qword [rax + 0x20]
lea r13, [rax + 0x20]
nop dword [rax + rax]
movzx eax, word [rdi]
mov qword [rsp + 0x28], rdi
mov rdx, rdi
test ax, ax
je 0x6bfd42d9
nop dword [rax + rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x6bfd42bf
add eax, 0x20
mov word [rdx], ax
mov edx, 1
mov rcx, rbx
call fcn.6bfd2bc0
mov rdx, qword [rsp + 0x28]
movzx eax, word [rdx]
test ax, ax
jne 0x6bfd42b0
mov rsi, qword [rbp + 0x50]
mov qword [rsp + 0x28], rsi
movzx eax, word [rsi]
test ax, ax
je 0x6bfd4319
mov rdx, rsi
nop dword [rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x6bfd42ff
add eax, 0x20
mov word [rdx], ax
mov edx, 1
mov rcx, rbx
call fcn.6bfd2bc0
mov rdx, qword [rsp + 0x28]
movzx eax, word [rdx]
test ax, ax
jne 0x6bfd42f0
mov rdx, rsi
mov rcx, rdi
call fcn.6bfd3fd0
mov edx, 0x56114406
mov rcx, r12
mov rsi, rax
call fcn.6bfd2bd0
mov edx, 0xfa89f86
mov rcx, rax
call fcn.6bfd35f0
test rsi, rsi
je 0x6bfd436c
mov rbp, qword [rbp]
cmp r13, rbp
jne 0x6bfd4298
mov edx, r14d
mov rcx, rdi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp fcn.6bfd3780
mov rax, qword [rbp + 0x20]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x6bfd5130
Capabilities:
Parse pe header

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, qword [0x6c03d4c0]
mov rax, qword [rcx + 0x18]
mov rax, qword [rax + 0x20]
mov r13, qword [rax]
mov r12, rdx
lea rdi, [r13 - 0x10]
mov rsi, rdi
mov rbx, qword [rsi + 0x50]
mov rcx, rbx
call qword [rbp]
mov rcx, rbx
movsxd rdx, eax
call fcn.6bfd0b70
mov rbx, rax
test rax, rax
je 0x6bfd51d8
cmp qword [rax], 0
je 0x6bfd51d8
xor ecx, ecx
call fcn.6bfd1f90
mov rdx, rbx
mov rcx, rax
call fcn.6bfd0890
test al, al
jne 0x6bfd51d8
mov rcx, qword [rsi + 0x30]
cmp word [rcx], 0x5a4d
movsxd rax, dword [rcx + 0x3c]
je 0x6bfd51b0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
add rax, rcx
cmp dword [rax], 0x4550
jne 0x6bfd51a0
movsxd rdx, dword [rax + 0x88]
mov r8, r12
add rdx, rcx
call fcn.6bfd4f40
test al, al
jne 0x6bfd51a2
nop dword [rax]
mov r13, qword [r13]
lea rsi, [r13 - 0x10]
cmp rdi, rsi
jne 0x6bfd5158
jmp 0x6bfd51a0

Function at 0x6bfd51f0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.6bfd4e90
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.6bfd5130
Function at 0x6bfda700
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x6c054380]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6c054360]
test rbx, rbx
je 0x6bfda75c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6bfda753
test rsi, rsi
je 0x6bfda753
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6bfda738
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x6bfdaa90
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x6c03d6d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x6bfdaab0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x6bfdaab8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x6bfdaab0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x6bfdab0d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6bfdab04
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6bfdaab0
add rax, 0x28
cmp rax, r9
jne 0x6bfdaaf0
xor eax, eax
ret

Function at 0x6bfdab10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x6c03d6d0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x6bfdab2f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x6bfdab38
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x6bfdab2f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x6bfdabd0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x6c03d6d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x6bfdabef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x6bfdabf8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x6bfdd4f0
Capabilities:
Terminate process

Disassembly:
mov edx, 1
mov rax, rcx
mov ecx, dword [rcx - 4]
shl edx, cl
movd xmm0, ecx
lea rcx, [rax - 4]
movd xmm1, edx
punpckldq xmm0, xmm1
movq qword [rax + 4], xmm0
jmp fcn.6bfdf180

Function at 0x6bfdf180
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
mov rbx, rcx
je 0x6bfdf1c6
cmp dword [rcx + 8], 9
jle 0x6bfdf1a0
add rsp, 0x20
pop rbx
jmp sub.msvcrt.dll_exit_16
xor ecx, ecx
call fcn.6bfdef50
movsxd rdx, dword [rbx + 8]
lea rax, [0x6c054d20]
cmp dword [0x6c054d70], 2
mov rcx, qword [rax + rdx*8]
mov qword [rax + rdx*8], rbx
mov qword [rbx], rcx
je 0x6bfdf1d0
add rsp, 0x20
pop rbx
ret
lea rcx, [0x6c054d80]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]