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

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140007094]
test esi, esi
mov rbx, rcx
jle 0x140001ce0
mov rax, qword [0x140007098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001bfb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001c85
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001be0
mov rcx, rbx
call fcn.140002600
test rax, rax
mov rdi, rax
je 0x140001d02
mov rax, qword [0x140007098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002740
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140007098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001ce7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001c7e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001c90
add dword [0x140007094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140007098]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001c7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001b40
nop dword [rax]
xor esi, esi
jmp 0x140001c08
mov rax, qword [0x140007098]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.140001b40
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.140001b40
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002270
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140007100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x1400022cc
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 0x1400022c3
test rsi, rsi
je 0x1400022c3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400022a8
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 0x140002600
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043e0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002620
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002628
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002620
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000267d
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 0x140002674
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002620
add rax, 0x28
cmp rax, r9
jne 0x140002660
xor eax, eax
ret

Function at 0x140002680
Capabilities:
Parse pe header

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

Function at 0x140002740
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043e0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000275f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002768
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140420058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1404201df
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 0x140420089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14042006f
add dl, dl
jne 0x140420096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1404200f6
xor eax, eax
add dl, dl
jne 0x1404200a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1404201ad
add dl, dl
jne 0x1404200b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1404200c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1404200d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1404200dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1404200ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14042007e
mov eax, 1
add dl, dl
jne 0x140420106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140420113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1404200fb
sub eax, ebx
mov ebx, 1
jne 0x14042014c
mov ecx, 1
add dl, dl
jne 0x14042012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14042013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140420123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14042007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140420168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140420175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14042015d
cmp eax, 0x7d00
jae 0x14042019b
cmp eax, 0x500
jb 0x140420196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14042007e
cmp eax, 0x7f
ja 0x14042019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14042007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1404201d2
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 0x14042007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001000
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push r13
sub rsp, 0x138
xor r13d, r13d
mov r8, qword [section..data]
mov qword [rsp + 0x128], r8
lea rcx, [rsp + 0x20]
lea rdx, str.ORAIMR11.DLL
call sub.MSVCR80.dll_strcpy
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test r14, r14
je 0x140001131
mov rcx, r14
mov edx, 5
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140007360], rax
mov rcx, r14
mov edx, 6
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140007368], rax
mov rcx, r14
mov edx, 7
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140007370], rax
mov rcx, r14
mov edx, 8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140007378], rax
mov rcx, r14
mov edx, 4
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140007380], rax
mov rcx, r14
mov edx, 9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140007390], rax
mov rcx, r14
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [0x140007360]
mov qword [0x140007388], rax
test rdx, rdx
je 0x140001150
mov rdx, qword [0x140007368]
test rdx, rdx
je 0x140001150
mov rdx, qword [0x140007370]
test rdx, rdx
je 0x140001150
mov rdx, qword [0x140007378]
test rdx, rdx
je 0x140001150
mov rdx, qword [0x140007390]
test rdx, rdx
je 0x140001150
mov rdx, qword [0x140007380]
test rdx, rdx
je 0x140001150
xor edx, edx
inc edx
xor r13d, r13d
cmp rax, 0
cmovne r13d, edx
jmp 0x140001150
call qword [sym.imp.MSVCR80.dll___iob_func]
lea r8, [rsp + 0x20]
add rax, 0x30
mov rcx, rax
lea rdx, str.Unable_to_load__s_n
call qword [sym.imp.MSVCR80.dll_fprintf]
mov rcx, qword [rsp + 0x128]
call fcn.140003820
mov eax, r13d
add rsp, 0x138
pop r13
pop r14
ret
Function at 0x1400038c0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x140007fe0], rbx
je 0x140003916
cmp rax, rbx
jne 0x140003909
mov edi, 1
jmp 0x140003916
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400038f0
mov eax, dword [0x140007fd8]
cmp eax, 1
jne 0x14000392b
lea ecx, [rax + 0x1e]
call fcn.140096000
jmp 0x14000396a
mov eax, dword [0x140007fd8]
test eax, eax
jne 0x140003960
mov dword [0x140007fd8], 1
lea rdx, [0x140005298]
lea rcx, [0x140005280]
call sub.MSVCR80.dll__initterm_e
test eax, eax
je 0x14000396a
mov eax, 0xff
jmp 0x140003ac4
mov dword [0x1400073bc], 1
mov eax, dword [0x140007fd8]
cmp eax, 1
jne 0x140003992
lea rdx, [0x140005278]
lea rcx, [0x140005268]
call sub.MSVCR80.dll__initterm
mov dword [0x140007fd8], 2
test edi, edi
jne 0x14000399f
xor eax, eax
xchg qword [0x140007fe0], rax
cmp qword [0x140007ff8], 0
je 0x1400039c8
lea rcx, [0x140007ff8]
call fcn.140003fd0
test eax, eax
je 0x1400039c8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x140007ff8]
mov rax, qword [sym.imp.MSVCR80.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
nop
nop
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x140003a5a
test cl, cl
je 0x1400039f0
test edi, edi
jne 0x140003a5a
movzx eax, byte [rbx]
test al, al
je 0x140003a06
cmp al, 0x20
ja 0x140003a06
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x1400039f0
test byte [rsp + 0x6c], 1
je 0x140003a15
movzx r9d, word [rsp + 0x70]
jmp 0x140003a1b
mov r9d, 0xa
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400037d0
mov dword [0x1400073b8], eax
cmp dword [0x14000739c], 0
jne 0x140003a43
mov ecx, eax
call qword [sym.imp.MSVCR80.dll_exit]
cmp dword [0x1400073bc], 0
jne 0x140003a58
call qword [sym.imp.MSVCR80.dll__cexit]
mov eax, dword [0x1400073b8]
jmp 0x140003abd
cmp cl, 0x22
jne 0x140003a6c
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, cl
call qword [sym.imp.MSVCR80.dll__ismbblead]
test eax, eax
je 0x140003a82
add rbx, 1
mov qword [rsp + 0x28], rbx
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x1400039e0
jmp 0x140003ac4
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.140004050
add rsp, 0x28
jmp 0x1400038c0
Function at 0x140003cb7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x14000383a
rol rcx, 0x10
test cx, 0xffff
jne 0x140003836
repz ret
ror rcx, 0x10
jmp 0x140003c10
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140007460]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140007558]
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 0x140003c95
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, [0x140007460]
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 0x140003cb7
mov rax, qword [rsp + 0x88]
mov qword [0x140007558], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400074f8], rax
mov rax, qword [0x140007558]
mov qword [0x1400073d0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400074e0], rax
mov dword [0x1400073c0], 0xc0000409
mov dword [0x1400073c4], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140007008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140007458], eax
mov ecx, 1
call sub.MSVCR80.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140005a60]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140007458], 0
jne 0x140003d3e
mov ecx, 1
call sub.MSVCR80.dll___crt_debugger_hook
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 0x140004e80
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
push rax
push rbx
push rcx
push rdx
push rdi
push rsi
mov rsi, rcx
mov ecx, dword [rsi]
xor rbx, rbx
lea rdi, [r8 + r9]
xor rax, rax
mov bl, byte [r8]
mov al, cl
inc r8
xor al, bl
shr ecx, 8
mov ebx, dword [rdx + rax*4]
xor ecx, ebx
cmp rdi, r8
jne 0x140004e96
mov dword [rsi], ecx
pop rsi
pop rdi
pop rdx
pop rcx
pop rbx
pop rax
leave
ret
Function at 0x140008650
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x10060
call fcn.1400417b0
sub rsp, rax
mov rax, qword [0x1400681b8]
xor rax, rsp
mov qword [rsp + 0x10050], rax
mov rax, qword [rdx]
mov r12, rdx
mov r15d, ecx
mov rbx, qword [rax]
cmp rbx, rax
je 0x140008821
lea r13, [0x140000000]
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [rbx + 0x10]
cmp dword [rbp + 0x14], 0
jne 0x140008814
mov rax, qword [r13 + r15*8 + 0x680a0]
lea r8, str._s._s
mov r9, qword [rbp + 0x58]
lea rcx, [rsp + 0x50]
mov edx, 0x7fff
mov qword [rsp + 0x20], rax
call fcn.14000a100
cmp dword [0x140083324], 0
je 0x140008700
lea rcx, [rsp + 0x50]
call fcn.1400215a0
test eax, eax
jne 0x140008814
lea rcx, [rsp + 0x50]
mov edi, 0x80
call fcn.1400215a0
test eax, eax
je 0x140008720
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140008861
mov rcx, rax
call fcn.140024dd0
test eax, eax
je 0x140008861
test r15d, r15d
jne 0x140008788
cmp dword [0x1400815dc], r15d
je 0x140008788
mov rcx, rsi
call fcn.140025320
mov edi, eax
test eax, eax
jne 0x140008854
cmp dword [0x140081a24], 0
je 0x1400087bc
mov rcx, qword [rbp + 0x60]
mov rdi, qword [rbp + 0x58]
call fcn.140021d70
sub rax, rdi
mov rdx, rbp
sar rax, 1
mov rcx, rsi
mov r8d, eax
call fcn.140024e50
mov edi, eax
test eax, eax
jne 0x140008854
cmp dword [r13 + r15*4 + 0x8332c], 0
mov rdi, qword [rbp + 0x58]
jne 0x1400087d6
mov rcx, rdi
call fcn.140021d70
mov rdi, rax
lea rcx, [rbp + 0x78]
mov dword [rsp + 0x40], r15d
lea rdx, [rsp + 0x40]
call fcn.140006700
xor r9d, r9d
mov rdx, rdi
test r15d, r15d
mov rcx, rsi
mov r8, qword [rax + 0x80]
sete r9b
call fcn.1400250f0
mov rcx, rsi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x14000885d
mov rbx, qword [rbx]
cmp rbx, qword [r12]
jne 0x1400086b0
xor eax, eax
mov rcx, qword [rsp + 0x10050]
xor rcx, rsp
call fcn.140041820
lea r11, [rsp + 0x10060]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x140008823
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140008823
Function at 0x140009b60
Capabilities:
Timestomp file
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x10070
call fcn.1400417b0
sub rsp, rax
mov rax, qword [0x1400681b8]
xor rax, rsp
mov qword [rsp + 0x10060], rax
movzx eax, word [0x140055908]
mov ebx, edx
mov rdi, rcx
mov word [rsp + 0x60], ax
xor edx, edx
lea rcx, [rsp + 0x62]
mov r8d, 0xfffc
call fcn.140042d50
mov r9d, ebx
lea r8, [0x140055f04]
mov edx, 9
lea rcx, [rsp + 0x50]
call fcn.14000a040
mov edx, 0x7fff
lea rax, [rsp + 0x60]
mov r8d, edx
lea rcx, [rsp + 0x60]
sub rdi, rax
nop dword [rax + rax]
lea rax, [r8 + 0x7fff7fff]
test rax, rax
je 0x140009c02
movzx eax, word [rdi + rcx]
test ax, ax
je 0x140009c02
mov word [rcx], ax
add rcx, 2
sub r8, 1
jne 0x140009be0
test r8, r8
lea rax, [rcx - 2]
cmovne rax, rcx
xor esi, esi
mov rcx, rdx
mov word [rax], si
lea rax, [rsp + 0x60]
nop word [rax + rax]
cmp word [rax], si
je 0x140009c2f
add rax, 2
sub rcx, 1
jne 0x140009c20
mov rax, rdx
mov r8, rsi
sub rax, rcx
test rcx, rcx
cmovne r8, rax
je 0x140009c92
lea rcx, [rsp + 0x60]
lea rcx, [rcx + r8*2]
sub rdx, r8
je 0x140009c84
lea rax, [r8 + 0x7fff8000]
add rax, rdx
lea r9, str.:CRC32
sub r9, rcx
test rax, rax
je 0x140009c84
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140009c84
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140009c63
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], si
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x28], esi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140009d19
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileTime]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rsi
mov r8d, 8
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140009d1d
test edi, edi
je 0x140009d10
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140009d42
test edi, edi
je 0x140009d34
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x10060]
xor rcx, rsp
call fcn.140041820
lea r11, [rsp + 0x10070]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000bc80
Capabilities:
Encode data using xor
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov r8d, 0x88
xor edx, edx
mov rbx, rcx
call fcn.140042d50
xor eax, eax
lea rcx, [0x14005666f]
lea rdx, [rbx + 0x1f]
lea r10, [0x140056650]
cmp rbx, rcx
ja 0x14000bcbb
cmp rdx, r10
jae 0x14000bcc9
lea rcx, [rdi + 0x1f]
cmp rbx, rcx
ja 0x14000bcfa
cmp rdx, rdi
jb 0x14000bcfa
mov r8, rdi
mov r9, rbx
sub r8, r10
sub r9, r10
nop word [rax + rax]
lea rdx, [rax + r10]
inc rax
movzx ecx, byte [r8 + rdx]
xor cl, byte [rdx]
mov byte [r9 + rdx], cl
cmp rax, 0x20
jb 0x14000bce0
jmp 0x14000bd33
mov rdx, rdi
mov r8, rbx
sub rdx, r10
sub r8, r10
nop word [rax + rax]
movdqu xmm0, xmmword [rax + r10]
lea rcx, [rax + r10]
add rax, 0x10
movdqu xmm1, xmmword [rdx + rcx]
pxor xmm1, xmm0
movdqu xmmword [r8 + rcx], xmm1
cmp rax, 0x20
jb 0x14000bd10
movzx eax, byte [rdi]
mov qword [rbx + 0x78], rax
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000c080
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400681b8]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rax, [rdx - 1]
mov rsi, rdx
mov r14, rcx
cmp rax, 0x1f
ja 0x14000c211
add rcx, 0x4c8
xor edx, edx
mov r8d, 0x200
call fcn.140042d50
xor eax, eax
mov qword [r14 + 0x6d0], rsi
xor r15d, r15d
mov qword [rbp - 0x20], rax
lea rcx, [r14 + 0x440]
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x30]
mov qword [r14 + 0x6c8], r15
mov byte [rbp - 0x30], sil
mov word [rbp - 0x2f], 0x800
mov byte [rbp - 0x2d], 2
mov qword [rbp - 0x2c], r15
mov dword [rbp - 0x24], 0x20010000
call fcn.14000bc80
test eax, eax
js 0x14000c211
mov ebx, r15d
mov rdi, r14
nop dword [rax + rax]
xor eax, eax
mov byte [rbp - 0x30], sil
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rax
mov rcx, rdi
mov qword [rbp - 0x18], rax
mov word [rbp - 0x2f], 0x800
mov byte [rbp - 0x2d], 2
mov dword [rbp - 0x2c], r15d
mov dword [rbp - 0x28], ebx
mov dword [rbp - 0x24], 0x20000000
call fcn.14000bc80
movzx ecx, byte [rbp - 0x21]
mov qword [rdi + 0x78], rcx
test eax, eax
js 0x14000c211
inc rbx
add rdi, 0x88
cmp rbx, 8
jb 0x14000c120
lea rdi, [0x140068f80]
mov rbx, r15
lea rsi, [0x140068dc0]
nop dword [rax]
nop word [rax + rax]
xor r9d, r9d
mov dword [rbx + rsi + 0x30], r15d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rbx + rsi + 0x18], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea r9, [rbx + rsi]
mov qword [rsp + 0x28], r15
lea r8, [0x14000be50]
mov qword [rbx + rsi + 0x20], rax
xor edx, edx
mov dword [rsp + 0x20], r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + rsi + 0x28], rax
lea rdi, [rdi + 8]
mov rax, qword [rbx + rsi + 0x20]
add rbx, 0x38
mov qword [rdi - 8], rax
cmp rbx, 0x1c0
jb 0x14000c190
mov byte [r14 + 0x4c0], 1
xor eax, eax
mov byte [r14 + 0x438], 1
jmp 0x14000c216
mov eax, 0xffffffff
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140041820
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140011800
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
cmp qword [0x140068fc0], 0
jne 0x14001192a
mov qword [rsp + 0x30], rbx
lea r8, [0x140068fd0]
xor eax, eax
mov ebx, eax
mov r9, r8
mov r10d, 0x10
nop dword [rax + rax]
mov ecx, ebx
lea r9, [r9 + 0x400]
shr ecx, 1
mov edx, ecx
xor edx, 0x82f63b78
and bl, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov ebx, ecx
xor ebx, 0x82f63b78
and dl, 1
cmove ebx, ecx
mov ecx, ebx
shr ecx, 1
mov edx, ecx
xor edx, 0x82f63b78
and bl, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov ebx, ecx
xor ebx, 0x82f63b78
and dl, 1
cmove ebx, ecx
mov ecx, ebx
shr ecx, 1
mov edx, ecx
xor edx, 0x82f63b78
and bl, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov ebx, ecx
xor ebx, 0x82f63b78
and dl, 1
cmove ebx, ecx
mov ecx, ebx
shr ecx, 1
mov edx, ecx
xor edx, 0x82f63b78
and bl, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov ebx, ecx
xor ebx, 0x82f63b78
and dl, 1
cmove ebx, ecx
mov dword [r9 - 0x400], ebx
sub r10, 1
jne 0x140011830
inc eax
add r8, 4
cmp eax, 0x100
jl 0x140011820
xor ecx, ecx
mov byte [0x140068fc8], 1
mov eax, 1
cpuid
mov rbx, qword [rsp + 0x30]
bt ecx, 0x14
jae 0x14001191c
call fcn.140011930
lea rax, [0x140011b80]
mov qword [0x140068fc0], rax
add rsp, 0x38
ret
lea rax, [0x140011e60]
mov qword [0x140068fc0], rax
add rsp, 0x38
ret