joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008dd30
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x24], 0xca
mov rbx, rcx
jne 0x14008dbe3
call fcn.14008de70
cmp byte [rbx + 0x58], 0
je 0x14008dbdc
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
mov eax, dword [rbx + 0x24]
cmp eax, 0xcb
jne 0x14008dc75
mov rax, qword [rbx + 0x238]
cmp byte [rax + 0x20], 0
je 0x14008dc5c
nop
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14008dc0e
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x238]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x14008dc54
cmp eax, 2
je 0x14008dc5c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14008dc00
dec eax
test eax, 0xfffffffd
jne 0x14008dc00
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x14008dc00
mov ecx, dword [rbx + 0x188]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x14008dc00
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x14008dd30
cmp eax, 0xcc
je 0x14008dc97
mov rax, qword [rbx]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14008dd30
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
xor ebp, ebp
cmp dword [rcx + 0x24], 0xcc
mov rbx, rcx
je 0x14008dd5e
mov rax, qword [rcx + 0x218]
call qword [rax]
mov dword [rbx + 0x98], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x218]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
cmp byte [rax + 0x10], bpl
je 0x14008de0d
nop dword [rax]
mov eax, dword [rbx + 0x98]
cmp eax, dword [rbx + 0x78]
jae 0x14008dddd
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14008ddaf
mov dword [rcx + 8], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rax, qword [rbx + 0x10]
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x220]
mov edi, dword [rbx + 0x98]
lea r8, [rbx + 0x98]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call qword [rax + 8]
mov eax, dword [rbx + 0x98]
cmp eax, edi
je 0x14008de35
cmp eax, dword [rbx + 0x78]
jb 0x14008dd90
mov rax, qword [rbx + 0x218]
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rbx + 0x218]
mov rcx, rbx
call qword [rax]
mov dword [rbx + 0x98], ebp
mov rax, qword [rbx + 0x218]
cmp byte [rax + 0x10], bpl
jne 0x14008dd80
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
xor al, al
jmp 0x14008de20
Function at 0x140092c80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
push r13
push r15
sub rsp, 0x30
cmp dword [rcx + 0x64], 1
mov r13, qword [rcx + 0x268]
mov rdi, rcx
jne 0x140092cac
mov ebx, 0x1fe
mov byte [r13 + 0x38], 1
jmp 0x140092cb2
xor ebx, ebx
mov byte [r13 + 0x38], bl
mov rax, qword [rcx + 8]
mov r9d, dword [rcx + 0x7c]
lea r8d, [rbx + 0x100]
mov edx, 1
call qword [rax + 0x10]
mov ebp, dword [r13 + 0x28]
xor r15d, r15d
mov qword [r13 + 0x30], rax
cmp dword [rdi + 0x7c], r15d
jle 0x140092e02
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x28], r12
movsxd rcx, ebx
mov qword [rsp + 0x20], r14
lea r12, [r13 + 0x3c]
mov qword [rsp + 0x68], rcx
xor r14d, r14d
nop dword [rax]
mov esi, dword [r12]
mov eax, ebp
cdq
idiv esi
mov ebp, eax
test rcx, rcx
je 0x140092d1c
mov rax, qword [r13 + 0x30]
add qword [rax + r14], 0xff
mov rax, qword [r13 + 0x30]
lea ecx, [rsi - 1]
xor r8d, r8d
mov rdi, qword [r14 + rax]
lea eax, [rcx + 0xff]
add ecx, ecx
cdq
xor r10d, r10d
idiv ecx
xor ebx, ebx
mov r9d, eax
nop dword [rax]
cmp r10d, r9d
jle 0x140092d77
imul eax, r8d, 0x1fe
lea ecx, [rsi + 0xfe]
lea r11d, [rsi*2 - 2]
add ecx, eax
nop dword [rax]
add ecx, 0x1fe
inc r8d
mov eax, ecx
cdq
idiv r11d
mov r9d, eax
cmp r10d, eax
jg 0x140092d60
movzx eax, r8b
inc rbx
inc r10d
imul bpl
mov byte [rbx + rdi - 1], al
cmp rbx, 0xff
jle 0x140092d40
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140092dd9
mov ecx, 1
lea rdx, [rdi - 1]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi]
inc rcx
lea rdx, [rdx - 1]
mov byte [rdx + 1], al
movzx eax, byte [rdi + 0xff]
mov byte [rdi + rcx + 0xfe], al
cmp rcx, 0xff
jle 0x140092db0
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
inc r15d
add r12, 4
add r14, 8
cmp r15d, dword [rax + 0x7c]
jl 0x140092d00
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r13
pop rdi
pop rbp
pop rbx
ret
Function at 0x1400bb620
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movzx ebx, byte [rcx]
mov rsi, rdx
mov rdi, rcx
test bl, bl
je 0x1400bb6fd
mov qword [rsp + 0x30], rbp
lea rbp, [0x140000000]
nop dword [rax]
movzx edx, byte [rsi]
test dl, dl
je 0x1400bb6f8
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x1400bb672
cdqe
mov ecx, dword [rbp + rax*4 + 0xbb72c]
add rcx, rbp
jmp rcx
mov bl, 0x41
jmp case.default.0x1400bb672
mov bl, 0x42
jmp case.default.0x1400bb672
mov bl, 0x43
jmp case.default.0x1400bb672
mov bl, 0x44
jmp case.default.0x1400bb672
mov bl, 0x45
jmp case.default.0x1400bb672
mov bl, 0x46
jmp case.default.0x1400bb672
mov bl, 0x47
jmp case.default.0x1400bb672
mov bl, 0x48
jmp case.default.0x1400bb672
mov bl, 0x49
jmp case.default.0x1400bb672
mov bl, 0x4a
jmp case.default.0x1400bb672
mov bl, 0x4b
jmp case.default.0x1400bb672
mov bl, 0x4c
jmp case.default.0x1400bb672
mov bl, 0x4d
jmp case.default.0x1400bb672
mov bl, 0x4e
jmp case.default.0x1400bb672
mov bl, 0x4f
jmp case.default.0x1400bb672
mov bl, 0x50
jmp case.default.0x1400bb672
mov bl, 0x51
jmp case.default.0x1400bb672
mov bl, 0x52
jmp case.default.0x1400bb672
mov bl, 0x53
jmp case.default.0x1400bb672
mov bl, 0x54
jmp case.default.0x1400bb672
mov bl, 0x55
jmp case.default.0x1400bb672
mov bl, 0x56
jmp case.default.0x1400bb672
mov bl, 0x57
jmp case.default.0x1400bb672
mov bl, 0x58
jmp case.default.0x1400bb672
mov bl, 0x59
jmp case.default.0x1400bb672
mov bl, 0x5a
movzx ecx, dl
call fcn.1400bb950
cmp bl, al
jne 0x1400bb6f8
movzx ebx, byte [rdi + 1]
inc rdi
inc rsi
test bl, bl
jne 0x1400bb650
mov rbp, qword [rsp + 0x30]
movzx ecx, byte [rdi]
call fcn.1400bb950
movzx ecx, byte [rsi]
movzx ebx, al
call fcn.1400bb950
mov rsi, qword [rsp + 0x40]
xor ecx, ecx
cmp bl, al
mov rbx, qword [rsp + 0x38]
sete cl
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x1400bb7a0
Capabilities:
Parse pe header

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, 0x20
movzx ebx, byte [rcx]
mov rsi, r8
mov r14, rdx
mov rdi, rcx
test bl, bl
je 0x1400bb895
lea rbp, [0x140000000]
nop word [rax + rax]
movzx edx, byte [r14]
test dl, dl
je 0x1400bb895
test rsi, rsi
je 0x1400bb89a
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x1400bb80c
cdqe
mov ecx, dword [rbp + rax*4 + 0xbb8dc]
add rcx, rbp
jmp rcx
mov bl, 0x41
jmp case.default.0x1400bb80c
mov bl, 0x42
jmp case.default.0x1400bb80c
mov bl, 0x43
jmp case.default.0x1400bb80c
mov bl, 0x44
jmp case.default.0x1400bb80c
mov bl, 0x45
jmp case.default.0x1400bb80c
mov bl, 0x46
jmp case.default.0x1400bb80c
mov bl, 0x47
jmp case.default.0x1400bb80c
mov bl, 0x48
jmp case.default.0x1400bb80c
mov bl, 0x49
jmp case.default.0x1400bb80c
mov bl, 0x4a
jmp case.default.0x1400bb80c
mov bl, 0x4b
jmp case.default.0x1400bb80c
mov bl, 0x4c
jmp case.default.0x1400bb80c
mov bl, 0x4d
jmp case.default.0x1400bb80c
mov bl, 0x4e
jmp case.default.0x1400bb80c
mov bl, 0x4f
jmp case.default.0x1400bb80c
mov bl, 0x50
jmp case.default.0x1400bb80c
mov bl, 0x51
jmp case.default.0x1400bb80c
mov bl, 0x52
jmp case.default.0x1400bb80c
mov bl, 0x53
jmp case.default.0x1400bb80c
mov bl, 0x54
jmp case.default.0x1400bb80c
mov bl, 0x55
jmp case.default.0x1400bb80c
mov bl, 0x56
jmp case.default.0x1400bb80c
mov bl, 0x57
jmp case.default.0x1400bb80c
mov bl, 0x58
jmp case.default.0x1400bb80c
mov bl, 0x59
jmp case.default.0x1400bb80c
mov bl, 0x5a
movzx ecx, dl
call fcn.1400bb950
cmp bl, al
jne 0x1400bb895
movzx ebx, byte [rdi + 1]
inc rdi
dec rsi
inc r14
test bl, bl
jne 0x1400bb7e0
test rsi, rsi
jne 0x1400bb8a1
mov eax, 1
jmp 0x1400bb8be
movzx ecx, byte [rdi]
call fcn.1400bb950
movzx ecx, byte [r14]
movzx ebx, al
call fcn.1400bb950
xor ecx, ecx
cmp bl, al
sete cl
mov eax, ecx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400bb950
Capabilities:
Parse pe header

Disassembly:
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x1400bb96f
lea r8, [0x140000000]
cdqe
mov edx, dword [r8 + rax*4 + 0xbb9c4]
add rdx, r8
jmp rdx
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
movzx eax, cl
ret
Function at 0x1400bba30
Capabilities:
Parse pe header

Disassembly:
mov r10, rcx
cmp r8, 1
jb 0x1400bbb07
sub r10, rdx
lea r11, [0x140000000]
nop word [rax + rax]
movsx r9d, byte [rdx]
lea eax, [r9 - 0x61]
cmp eax, 0x19
ja case.default.0x1400bba6e
cdqe
mov ecx, dword [r11 + rax*4 + 0xbbb08]
add rcx, r11
jmp rcx
mov r9b, 0x41
jmp case.default.0x1400bba6e
mov r9b, 0x42
jmp case.default.0x1400bba6e
mov r9b, 0x43
jmp case.default.0x1400bba6e
mov r9b, 0x44
jmp case.default.0x1400bba6e
mov r9b, 0x45
jmp case.default.0x1400bba6e
mov r9b, 0x46
jmp case.default.0x1400bba6e
mov r9b, 0x47
jmp case.default.0x1400bba6e
mov r9b, 0x48
jmp case.default.0x1400bba6e
mov r9b, 0x49
jmp case.default.0x1400bba6e
mov r9b, 0x4a
jmp case.default.0x1400bba6e
mov r9b, 0x4b
jmp case.default.0x1400bba6e
mov r9b, 0x4c
jmp case.default.0x1400bba6e
mov r9b, 0x4d
jmp case.default.0x1400bba6e
mov r9b, 0x4e
jmp case.default.0x1400bba6e
mov r9b, 0x4f
jmp case.default.0x1400bba6e
mov r9b, 0x50
jmp case.default.0x1400bba6e
mov r9b, 0x51
jmp case.default.0x1400bba6e
mov r9b, 0x52
jmp case.default.0x1400bba6e
mov r9b, 0x53
jmp case.default.0x1400bba6e
mov r9b, 0x54
jmp case.default.0x1400bba6e
mov r9b, 0x55
jmp case.default.0x1400bba6e
mov r9b, 0x56
jmp case.default.0x1400bba6e
mov r9b, 0x57
jmp case.default.0x1400bba6e
mov r9b, 0x58
jmp case.default.0x1400bba6e
mov r9b, 0x59
jmp case.default.0x1400bba6e
mov r9b, 0x5a
mov byte [r10 + rdx], r9b
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x1400bbb07
dec r8
jne 0x1400bba50
ret
Function at 0x1400ce0c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
mov r14, rdx
add rax, 0x18
add rcx, rax
call qword [0x14014c820]
mov rdi, rax
test rax, rax
jne 0x1400ce102
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rsp + 0x48], rsi
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400ce145
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + 8]
mov r14d, dword [rbx + 0x18]
mov rdx, qword [rdi + 8]
add r14, qword [rdi + 0x10]
mov rcx, r14
call qword [rbx + 0x10]
mov ebp, dword [rbx + 0x20]
mov rcx, qword [rdi + 8]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400ce1a1
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
mov r8d, 1
xor al, 0x36
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + 8]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
mov r8d, 1
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 0x10]
call qword [rbx + 8]
dec rbp
jne 0x1400ce160
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400ce1e3
nop dword [rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400f3702]
mov r8d, 1
call qword [rbx + 8]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400f3703]
mov r8d, 1
call qword [rbx + 8]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400ce1b0
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14000b7a0
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fdd8]
test rcx, rcx
je 0x14000b7db
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b7ce
mov rcx, qword [0x14002fdd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fdd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fde8], 0
je 0x14000b8ce
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140029970]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140040610]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b8af
test al, 0x10
je 0x14000b8af
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b855
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x140002c50
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov r14, rdx
mov r13, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov byte [rcx], 1
mov qword [rcx + 8], 0
mov byte [rcx + 0x10], 0
mov eax, dword [0x140319768]
mov ecx, dword [0x140311f48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140002e01
mov ecx, dword [0x140310d60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140002d84
movsxd rcx, dword [0x140319760]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x140319764]
jne 0x140002d84
mov rdi, qword [rax + rcx]
test rdi, rdi
je 0x140002d84
movabs r12, 0x6000000000000000
movabs r15, 0xffffffffffffff
mov rax, qword [rdi]
mov rbx, rax
and rbx, r15
and rax, r12
movabs rcx, 0x4000000000000000
cmp rax, rcx
jne 0x140002d4a
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140002d37
mov rsi, qword [rdi]
call qword [rcx + 8]
movabs rcx, 0xff00000000000000
and rcx, rsi
or rcx, rax
mov qword [rdi], rcx
movabs rax, 0xbfffffffffffffff
lock and qword [rdi], rax
mov byte [r13 + 0x10], 1
movabs rsi, 0x8000000000000001
mov qword [r13 + 8], rbx
lea rbx, [rsp + 0x20]
mov rcx, rbx
call qword [fcn.1400c45f0]
mov rax, qword [rbx]
lea rcx, [r14 + rsi]
cmp rcx, 2
jae 0x140002d8b
add rsi, rax
cmp rsi, 1
ja 0x140002dad
cmp rax, r14
je 0x140002dad
int3
mov byte [r13], 0
jmp 0x140002de1
xor ecx, ecx
mov rdx, rax
add rdx, r14
setns cl
movabs rdx, 0x7fffffffffffffff
add rdx, rcx
add rax, r14
cmovo rax, rdx
mov r14, rax
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140002dcf
mov rsi, qword [rdi]
call qword [rcx + 8]
movabs rcx, 0xff00000000000000
and rcx, rsi
or rcx, rax
mov qword [rdi], rcx
mov rax, qword [rdi]
and rax, r12
and r14, r15
or r14, rax
mov qword [rdi], r14
inc dword [rdi + 0x14]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140115e50
mov rax, r13
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140319768]
call fcn.1401120e4
cmp dword [0x140319768], 0xffffffff
jne 0x140002ca8
mov qword [0x140319760], 0
lea rcx, [0x140319760]
xor edx, edx
call fcn.1400bc270
lea rcx, [0x140319768]
call fcn.140112084
jmp 0x140002ca8
Function at 0x140003900
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov r12, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, qword [0x140314ba8]
test rdi, rdi
je 0x140003a09
lea r14, [0x1402d0bee]
mov rcx, rdi
mov rdx, r14
call fcn.1400f5d40
test al, al
jne 0x14000395c
lea rdx, str.vmodule
mov rcx, rdi
call fcn.1400f5d40
test al, al
je 0x140003a09
cmp qword [0x140314bb8], 0
jne 0x140003ac9
mov rax, qword [0x140314bc0]
mov qword [0x140314bb8], rax
mov ecx, 0x20
call fcn.140112048
mov rbx, rax
lea rax, str.vmodule
lea r8, [rsp + 0x48]
mov qword [r8], rax
mov qword [r8 + 8], 7
lea r15, [rsp + 0x58]
mov rcx, rdi
mov rdx, r15
call fcn.1400c08a0
lea r8, [rsp + 0x20]
mov qword [r8], r14
mov qword [r8 + 8], 1
lea rsi, [rsp + 0x30]
mov rcx, rdi
mov rdx, rsi
call fcn.1400c08a0
lea r9, [0x140314bc8]
mov rcx, rbx
mov rdx, rsi
mov r8, r15
call fcn.140200460
mov qword [0x140314bc0], rbx
cmp byte [rsi + 0x17], 0
jns 0x1400039f8
mov rcx, qword [rsp + 0x30]
call fcn.140112038
cmp byte [rsp + 0x6f], 0
jns 0x140003a09
mov rcx, qword [rsp + 0x58]
call fcn.140112038
mov eax, dword [r12]
mov dword [0x14030f308], eax
mov bl, 1
test al, 1
je 0x140003aac
mov rcx, qword [0x140314be8]
test rcx, rcx
je 0x140003a4f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140314be8], 0
mov rcx, qword [0x140314bd0]
test rcx, rcx
jne 0x140003a7d
and byte [0x14030f308], 0xfe
jmp 0x140003a5b
mov rcx, qword [0x140314bd0]
test rcx, rcx
jne 0x140003a7d
mov ecx, 0x18
call fcn.140112048
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x140314bd0], rax
mov rdx, qword [r12 + 8]
call fcn.1401099dc
cmp dword [r12 + 0x14], 0
jne 0x140003aa5
mov rcx, qword [0x140314bd0]
cmp byte [rcx + 0x17], 0
jns 0x140003a9f
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.14007f0e0
mov ebx, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140115e50
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
int3
Function at 0x140004b60
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140314d08]
cmp rsi, 1
jbe 0x140004ba5
mov ecx, dword [0x140310d60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140004bf7
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x140004bf7
mov rax, qword [rax + rcx]
test rax, rax
je 0x140004bf7
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140314d08]
call fcn.1400c4120
test al, al
je 0x140004beb
mov qword [0x140314d10], 0
lea rdi, [0x140314d08]
lea rsi, [0x140314d10]
mov rcx, rsi
xor edx, edx
call fcn.1400bc270
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.1400c4100
jmp 0x140004b73
mov rsi, qword [0x140314d08]
jmp 0x140004b73
int3
Function at 0x140006b10
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.1400ee4c0
test al, al
jne 0x140006b41
mov rcx, rsi
mov rdx, rbx
mov r8d, edi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400ee700
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi + 0x24], 0xfffffffb
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140006b60
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x140006b9c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140006ba6
add rdi, rbx
sub rsi, rbx
jne 0x140006b7a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3

Function at 0x140006e30
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r14, r8
mov ebp, edx
mov rsi, rcx
mov ebx, dword [0x14031c6b0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test edi, edi
jne 0x140006f15
cmp rbx, 1
je 0x140006e73
mov eax, dword [rsi + 0x1518]
test eax, eax
je 0x140006e7a
xor eax, eax
jmp 0x140006f0a
mov eax, 1
lock xadd dword [rsi + 0x1518], eax
cmp eax, 0x7fffffff
je 0x140006f61
mov rcx, rsi
call fcn.14009d230
mov rdi, rax
lock dec dword [rsi + 0x1518]
inc qword [rax + 0x5a0]
cmp bp, 0x29
jae 0x140006f22
movzx edx, bp
mov rsi, rdx
shl rsi, 4
mov rbx, rdi
add rbx, rsi
mov rax, qword [rdi + rsi]
test rax, rax
je 0x140006f35
inc qword [rdi + 0x5a8]
mov rcx, qword [rax]
test rcx, rcx
je 0x140006eed
mov rdx, rcx
not rdx
cmp qword [rax + 8], rdx
jne 0x140006f5c
bswap rcx
prefetcht0 byte [rcx]
jmp 0x140006eef
xor ecx, ecx
dec byte [rdi + rsi + 8]
mov qword [rbx], rcx
movzx ecx, word [rdi + rsi + 0xa]
mov qword [r14], rcx
movzx ecx, word [rdi + rsi + 0xa]
sub qword [rdi + 0x590], rcx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140006e63
inc qword [rdi + 0x5c0]
inc qword [rdi + 0x5b0]
jmp 0x140006e73
inc qword [rdi + 0x5b8]
inc qword [rdi + 0x5b0]
mov rcx, rdi
call fcn.1400bf470
mov rax, qword [rbx]
test rax, rax
jne 0x140006ed1
jmp 0x140006e73
call fcn.1401603a0
int3
Function at 0x140007390
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140314cf8]
cmp rsi, 1
jbe 0x1400073d5
mov ecx, dword [0x140310d60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140007427
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x140007427
mov rax, qword [rax + rcx]
test rax, rax
je 0x140007427
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140314cf8]
call fcn.1400c4120
test al, al
je 0x14000741b
mov qword [0x140314d00], 0
lea rdi, [0x140314cf8]
lea rsi, [0x140314d00]
mov rcx, rsi
xor edx, edx
call fcn.1400bc270
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.1400c4100
jmp 0x1400073a3
mov rsi, qword [0x140314cf8]
jmp 0x1400073a3
int3

Function at 0x140007430
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor ebx, ebx
test edx, edx
sete bl
xor ecx, ecx
mov edx, ebx
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x1400074ec
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400074b9
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140007494
mov qword [rsi], rdi
call fcn.1400bb620
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 1
inc rax
cmp rax, 1
jbe 0x1400074f0
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400bb620
mov r14, qword [rsi]
mov rcx, qword [0x1403198a0]
test rcx, rcx
je 0x1400074de
mov rax, qword [rcx]
mov rdx, r14
call qword [rax]
mov qword [rsi], 0
jmp 0x140007482
call fcn.140163330
mov rcx, qword [0x1403198a0]
jmp 0x1400074cd
mov byte [rsi + 8], 1
int3