joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d7910
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
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400d7952
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 [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400d7999
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400d79f2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400d79b0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400d7a33
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14010352b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14010352c]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400d7a00
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400d8be0
Capabilities:
Parse pe header

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

Disassembly:
mov r11, rsp
push rbx
push rdi
sub rsp, 0x278
mov rax, qword [0x140086080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov qword [r11 + 0x10], rbp
xor edx, edx
mov rbp, rcx
mov qword [r11 + 0x18], rsi
lea rcx, [rsp + 0x20]
mov r8d, 0x238
mov ebx, 2
xor esi, esi
call fcn.14003a810
xor edx, edx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400037f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1400038a3
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400038a3
mov qword [rsp + 0x270], r14
lea r14, str.explorer.exe
nop
lea rdx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r14 + rax*2 + 2]
jne 0x140003851
add rax, rbx
cmp rax, 0xd
je 0x140003865
movzx ecx, word [rdx + rax*2]
cmp cx, word [r14 + rax*2]
je 0x140003830
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140003820
jmp 0x14000389b
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r8, rbp
mov edx, 0xf01ff
mov rcx, rax
mov rsi, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140003893
xor ebx, ebx
jmp 0x14000389b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r14, qword [rsp + 0x270]
mov rbp, qword [rsp + 0x298]
test rsi, rsi
je 0x1400038b9
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x2a0]
test rdi, rdi
je 0x1400038cf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140038070
add rsp, 0x278
pop rdi
pop rbx
ret
Function at 0x140003c20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x2a0
mov rax, qword [0x140086080]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1400081a0
nop
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov rax, r8
sub rax, rdx
xor ebp, ebp
cmp rax, 0x17
jb 0x140003ca1
lea rdi, [rdx + 0x17]
mov qword [rsp + 0x40], rdi
lea rbx, [rsp + 0x30]
cmp r8, 8
cmovae rbx, qword [rsp + 0x30]
lea rcx, [rbx + rdx*2]
lea r8d, [rbp + 0x2e]
lea rdx, str.WsToastNotification.exe
call fcn.14003a160
mov word [rbx + rdi*2], bp
jmp 0x140003cc0
mov qword [rsp + 0x20], 0x17
lea r9, str.WsToastNotification.exe
mov edx, 0x17
lea rcx, [rsp + 0x30]
call fcn.140005b20
mov edi, ebp
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
test rax, rax
je 0x140003d73
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140003d6a
lea rcx, [rsp + 0x7c]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], di
jne 0x140003d00
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
cmp rdx, rax
jne 0x140003d58
lea rax, [rsp + 0x7c]
test rdx, rdx
je 0x140003d4a
lea rcx, [rsp + 0x7c]
sub r8, rcx
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x140003d58
add rax, 2
sub rdx, 1
jne 0x140003d36
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [rsp + 0x58]
cmp ecx, eax
jne 0x140003d68
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x140003cef
mov edi, ecx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
setg al
test edi, edi
jg 0x140003d86
lea rcx, [rsp + 0x30]
call fcn.1400038f0
cmp byte [rsi + 0x98], bpl
je 0x140003db3
test al, al
je 0x140003da3
mov ecx, 0x36ee80
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003cc0
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003cc0
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140003df1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003dec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e1a
call fcn.140038090
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140038070
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14003eae4
int3
Function at 0x140006360
Capabilities:
Modify service

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140086080]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 8]
lea r8, [rsp + 0x20]
mov r9, rdx
mov qword [rsp + 0x20], rax
mov edx, 1
mov rcx, qword [r9]
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
setne al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140038070
add rsp, 0x38
ret

Function at 0x1400063e0
Capabilities:
Stop service

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140086080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, qword [rdx]
lea r8, [rsp + 0x20]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
setne al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140038070
add rsp, 0x58
ret

Function at 0x140006440
Capabilities:
Start service

Disassembly:
sub rsp, 0x28
mov rcx, qword [rdx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x140006480
Capabilities:
Delete service

Disassembly:
sub rsp, 0x28
mov rcx, qword [rdx]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x140007170
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140086080]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor esi, esi
mov edi, esi
mov dword [rsp + 0x40], esi
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14000a660
nop
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140007267
lea rcx, [rax - 1]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
cmp rax, rcx
jb 0x1400073a7
sub rax, rcx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
lea rdx, [rax + rcx*2]
lea rcx, [rsp + 0x20]
call fcn.140004f60
lea edi, [rsi + 3]
lea r8, [rsp + 0x20]
mov r9, qword [rsp + 0x20]
mov r10, qword [rsp + 0x38]
cmp r10, 8
cmovae r8, r9
cmp qword [rsp + 0x30], 1
jne 0x140007260
lea edx, [rsi + 1]
lea rcx, str.._
sub r8, rcx
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140007260
add rcx, 2
sub rdx, 1
jne 0x140007243
mov bl, 1
mov rax, qword [rsp + 0x58]
jmp 0x140007273
mov rax, qword [rsp + 0x58]
jmp 0x140007271
mov r10, qword [rsp + 0x38]
mov r9, qword [rsp + 0x20]
xor bl, bl
test dil, 1
je 0x1400072b9
cmp r10, 8
jb 0x1400072b9
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x1400072ac
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400073a1
mov rcx, r9
call fcn.140038090
mov rax, qword [rsp + 0x58]
test bl, bl
je 0x1400072e4
lea rcx, [rax - 1]
cmp rax, rcx
jb 0x1400073a7
mov qword [rsp + 0x58], rcx
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
mov word [rax + rcx*2], si
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140007330
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
shr ebx, 4
and bl, 1
jmp 0x140007332
xor bl, bl
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140007370
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000736b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000739b
call fcn.140038090
movzx eax, bl
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140038070
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14003eae4
nop
call fcn.14003eae4
nop
call fcn.14000b7f0
int3
Function at 0x140008f70
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140008f92
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14000900c
mov rdi, r14
mov rcx, rbx
call fcn.14000ae80
test rax, rax
jle 0x140008fe4
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14003a160
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140008ffc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140009004
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140008fa6
sub r14, rdi
jmp 0x1400090f9
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140009023
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140009025
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000905a
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14003a160
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400090f6
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x140009095
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x1400090d1
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400476fc
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x14000910f
cmp rbp, rax
ja 0x1400090a1
mov r8, rdi
test rdi, rdi
je 0x1400090f6
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400476fc
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x1400090f9
Function at 0x140009c30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x140009dc4
mov r15, qword [rsp + 0x60]
lea r9d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x140009dc4
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r9w, dx
jae 0x140009ccb
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x140009deb
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x140009ce2
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x140009ce2
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140009cf5
movzx r8d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x140009d42
mov r8d, eax
cmp eax, 0x800
jae 0x140009d0f
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x140009d42
cmp eax, 0x10000
jae 0x140009d29
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x140009d42
shr r8d, 0x12
mov r10d, 3
movzx r11d, sil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r9d
cmp rdx, rcx
jl 0x140009dc4
add qword [r14], 2
test sil, sil
jne 0x140009d63
cmp r10d, 3
jae 0x140009d6f
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
test r9d, r9d
je 0x140009da1
lea r8d, [r10 + r10*2]
add r8d, r8d
nop dword [rax + rax]
sub r8d, 6
mov edx, eax
mov ecx, r8d
dec r9d
shr edx, cl
mov rcx, qword [rbx]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [rbx]
test r9d, r9d
jg 0x140009d80
shr eax, 0xa
mov r9d, 1
test sil, sil
mov ecx, r9d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x140009c7f
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x140009dd2
Function at 0x14000c830
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140086080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14008a338], eax
jle 0x14000c9d3
lea rcx, [0x14008a338]
call fcn.1400384fc
cmp dword [0x14008a338], 0xffffffff
jne 0x14000c9d3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x14008a340], xmm0
movups xmmword [0x14008a350], xmm0
movups xmmword [0x14008a370], xmm0
movups xmmword [0x14008a380], xmm0
movups xmmword [0x14008a390], xmm0
mov qword [0x14008a3a0], rax
lea rax, vtable.simpleLog::Log.0
mov qword [0x14008a340], rax
xor edi, edi
mov qword [0x14008a350], rdi
movdqa xmm0, xmmword [0x14007b160]
movdqa xmmword [0x14008a360], xmm0
mov word [0x14008a350], di
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x14008a378], rax
lea rcx, [0x14008a380]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov qword [0x14008a348], rdi
lea rdi, [0x14008a350]
cmp rdi, rbx
je 0x14000c933
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000c927
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140004f60
mov dword [0x14008a370], 3
mov rdx, rdi
call fcn.14000d1f0
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.14000cc00
cmp qword [rax + 0x18], 8
jb 0x14000c95c
mov rax, qword [rax]
cmp qword [0x14008a368], 8
cmovae rdi, qword [0x14008a350]
mov rdx, rax
mov rcx, rdi
call fcn.14004a8c0
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000c9ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c9b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ca8f
call fcn.140038090
nop
lea rcx, [0x1400693b0]
call fcn.140038844
nop
lea rcx, [0x14008a338]
call fcn.14003849c
lea rax, [0x14008a340]
mov qword [0x14008a328], rax
lea rcx, [rsp + 0x50]
call fcn.140008910
nop
mov rbx, qword [0x14008a328]
test rbx, rbx
je 0x14000ca30
lea rdi, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdi, qword [rsp + 0x50]
mov rbx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
mov qword [rsp + 0x20], rdi
lea r8, str._INFO___d___version__s_
mov edx, 3
mov rcx, qword [0x14008a328]
call qword [rbx]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14000ca69
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ca64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ca89
call fcn.140038090
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140038070
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
call fcn.14003eae4
nop
call fcn.14003eae4
nop
int3
Function at 0x14003e5b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14003e5e7
call fcn.140047020
mov dword [rax], 0x16
call fcn.14003eac4
xor eax, eax
jmp 0x14003e675
mov rdx, r9
mov rcx, r8
call fcn.14003e54c
mov rbx, rax
test rax, rax
je 0x14003e672
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14003e478]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14003e65f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140046f94
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14003e646
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14003e655
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140054ec4
jmp 0x14003e672
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14003e66f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140045868
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140086080]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x14006e518]
mov rbp, rcx
call fcn.1400584d4
xor edi, edi
test rax, rax
je 0x14004594e
mov ebx, edi
call fcn.140047020
mov r14d, dword [rax]
call fcn.140047020
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.140058420
mov rsi, rax
test rax, rax
je 0x1400458df
call fcn.140047020
mov dword [rax], r14d
jmp 0x140045909
call fcn.140047020
cmp dword [rax], 0x22
jne 0x140045946
call fcn.140047020
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.140058420
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x140045946
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x14004590d
cmp rax, 3
je 0x140045928
mov rcx, rsi
call fcn.1400457c4
test al, al
je 0x140045939
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140045939
mov dil, 1
mov rcx, rbx
call fcn.14003e6c4
mov al, dil
jmp 0x140045950
mov rcx, rbx
call fcn.14003e6c4
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140038070
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14004a898
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004a8b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140046f94
or eax, 0xffffffff
jmp 0x14004a8ba
xor eax, eax
add rsp, 0x28
ret
Function at 0x140057fb0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140057fc6
mov al, 1
jmp 0x140058026
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140057fd7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140058024
mov ecx, dword [rcx + 0x18]
nop
call fcn.140058b70
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140058024
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140058024
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140058024
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140058026
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14005a4c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140038970
sub rsp, rax
mov rax, qword [0x140086080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140057548
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14005a50f
mov rax, rbp
jmp 0x14005a617
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x89da0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14005b4d4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x89da0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14005a613
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005a613
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14005b4d4
test rax, rax
js 0x14005a613
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14005a613
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14005a605
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14005a605
cmp byte [rcx], 0xd
jne 0x14005a5eb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14005a5fa
cmp byte [rcx + 1], 0xa
jne 0x14005a5fa
inc rcx
jmp 0x14005a5fa
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x86470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14005a5cd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14005a617
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140038070
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret