joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a706c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140083864
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400a70f6
cmp byte [rbp - 0x21], r15b
je 0x1400a70f1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400a712c
call fcn.140097d7c
test eax, eax
jne 0x1400a7118
cmp byte [rbp - 0x21], r15b
je 0x1400a7110
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400a712c
cmp byte [rbp - 0x21], r15b
je 0x1400a7129
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14008ae5c
test eax, eax
jne 0x1400a71cc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140083864
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400a716b
cmp byte [rbp - 0x21], r15b
je 0x1400a71a0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400a71a0
call fcn.140097d7c
test eax, eax
jne 0x1400a718c
cmp byte [rbp - 0x21], r15b
je 0x1400a7185
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400a71a0
cmp byte [rbp - 0x21], r15b
je 0x1400a719d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14008ae5c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400a71cc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400a71cf
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400a71dd
mov rcx, rdi
call fcn.1400973f8
cmp byte [rbp + 0x3f], r15b
je 0x1400a71ec
mov rcx, qword [rbp + 0x27]
call fcn.1400973f8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400a833c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14009a6e0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14009a6e0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400a848c
cmp rax, 0xffffffffffffffff
je 0x1400a848c
xor edi, edi
test rbp, rbp
jle 0x1400a8437
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400979e4
mov rbx, rax
test rax, rax
jne 0x1400a83c4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400a842d
mov edx, 0x8000
mov ecx, r14d
call fcn.140093b78
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140096e88
cmp eax, 0xffffffff
je 0x1400a840d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400a83d4
mov edx, r15d
mov ecx, r14d
call fcn.140093b78
jmp 0x1400a842d
cmp byte [rsi + 0x38], dil
je 0x1400a8424
cmp dword [rsi + 0x34], 5
jne 0x1400a8424
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400a842d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400973f8
jmp 0x1400a84a0
jns 0x1400a84a0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14009a6e0
cmp rax, 0xffffffffffffffff
jne 0x1400a8458
cmp byte [rsi + 0x30], dil
je 0x1400a84a0
mov edi, dword [rsi + 0x2c]
jmp 0x1400a84a0
mov ecx, r14d
call fcn.1400a0674
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400a84a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400a84a0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400a8499
mov eax, dword [rsi + 0x2c]
jmp 0x1400a849e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14009a6e0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140001710
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
xor bl, bl
mov qword [rcx], rdx
mov rsi, r9
mov rdi, rcx
test r8b, r8b
je 0x140001806
xorps xmm0, xmm0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x14000176a
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rdi]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400017f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
sete bl
je 0x1400017fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400017fb
mov rax, qword [rsp + 0x48]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov ecx, 2
lea rax, [rsi + 1]
mov qword [rsp + 0x28], rsi
test rax, 0xfffffffffffffffe
mov dword [rsp + 0x70], 0
mov eax, 1
mov r9d, 0xffffffff
cmove ecx, eax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x1400017fb
mov rcx, qword [rdi]
lea r8, [rsp + 0x70]
xor r9d, r9d
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x1400017fb
mov bl, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x68]
movzx eax, bl
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140001a60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, qword [rcx + 0x18]
mov r15, rdx
mov rbx, qword [rcx + 0x10]
mov rax, rdi
sub rax, rbx
mov rsi, rcx
cmp rax, 0x1000
jae 0x140001ad0
mov rax, qword [rcx + 0x20]
sub rax, rbx
cmp rax, 0x1000
jae 0x140001ab1
add rcx, 0x10
call fcn.140001ed0
jmp 0x140001ad0
sub rbx, rdi
xor edx, edx
add rbx, 0x1000
mov rcx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + rdi]
mov qword [rsi + 0x18], rax
xorps xmm0, xmm0
mov qword [r15], 0x1000
mov rbx, qword [rsi + 0x10]
mov ebp, 1
mov edx, ebp
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
xor dil, dil
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140001c0f
mov r8d, dword [r15]
lea rax, [rsp + 0x30]
mov rcx, qword [rsi]
mov r9, r15
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140001c2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140001bff
cmp byte [rsi + 8], dil
je 0x140001bda
mov r9d, 0x3e8
mov dword [rsp + 0x20], 0x1cff
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov ecx, ebp
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
movzx ecx, byte [rsi + 8]
test eax, eax
je 0x140001bdc
cmp eax, ebp
jne 0x140001b43
xor r9d, r9d
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140001b43
nop word [rax + rax]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140001ba0
jmp 0x140001b43
xor cl, cl
xor r9d, r9d
lea rdx, [rsp + 0x30]
test cl, cl
mov r8, r15
mov rcx, qword [rsi]
sete r9b
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
movzx edi, dil
cmovne edi, ebp
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
jne 0x140001c39
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsi + 0x10]
jmp 0x140001c11

Function at 0x140002b30
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.___svc:OnMsgArgCountError
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
add rsp, 0x28
ret

Function at 0x140002b50
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str.___svc:OnMsgArgCountError
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
add rsp, 0x28
ret
Function at 0x14004f4dd
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
Function at 0x140012530
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x3e], 0
mov rdx, rcx
je 0x140012678
movdqa xmm3, xmmword [0x1400163d0]
lea r8, [rcx + 8]
movdqa xmm4, xmmword [0x140016400]
xor eax, eax
mov r9d, 0xd2fb
nop dword [rax]
movd xmm1, dword [r8 - 8]
lea rcx, [r9 - 5]
xorps xmm0, xmm0
lea r8, [r8 + 0x10]
punpcklwd xmm1, xmm0
movq xmm2, rax
punpckldq xmm1, xmm0
add rax, 8
punpcklqdq xmm2, xmm2
paddq xmm2, xmm4
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rcx
pshuflw xmm1, xmm0, 0xd8
lea rcx, [r9 - 3]
movd dword [r8 - 0x18], xmm1
xorps xmm0, xmm0
movd xmm1, dword [r8 - 0x14]
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rcx
pshuflw xmm1, xmm0, 0xd8
lea rcx, [r9 - 1]
movd dword [r8 - 0x14], xmm1
xorps xmm0, xmm0
movd xmm1, dword [r8 - 0x10]
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rcx
pshuflw xmm1, xmm0, 0xd8
movq xmm0, r9
movd dword [r8 - 0x10], xmm1
add r9, 8
movd xmm1, dword [r8 - 0xc]
punpcklqdq xmm2, xmm0
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [r8 - 0xc], xmm1
cmp r9, 0xd313
jb 0x140012560
cmp rax, 0x1e
jae 0x140012674
mov r8d, 0x2d0c
nop word [rax + rax]
movzx ecx, ax
sub cx, r8w
xor word [rdx + rax*2], cx
inc rax
cmp rax, 0x1e
jb 0x140012660
mov byte [rdx + 0x3e], 0
mov rax, rdx
ret

Function at 0x14001267c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400126b6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400126bb
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140012704
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140015410]
cmp byte [rcx + rax], 0
je 0x140012704
dec r8
sub rdx, 1
jne 0x1400126ea
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14001387c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400138c6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400138c6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400138c6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400138c6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400138c6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400138c8
xor al, al
add rsp, 0x28
ret
Function at 0x140002f80
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x38
movsxd rax, dword [rsp + 0x58]
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rsp + 0x58]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x50]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
xor r9d, r9d
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, rax
call qword [sym.imp.GDI32.dll_EnumFontsW]
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x140003600
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140039060]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x80], 0
jg 0x140003634
xor eax, eax
jmp 0x1400037e0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x14000365c
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140004330
jmp 0x1400037e0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x70]
call fcn.140005c10
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x1400036f8
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.140003800
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x70]
call fcn.140005dd0
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140006af0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
call fcn.140005d30
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x1400037d0
mov rcx, qword [rsp + 0x70]
call fcn.1400055c0
mov qword [rsp + 0x38], 0xfff
cmp qword [rsp + 0x40], 0xfff
jbe 0x140003798
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.140010ce0
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140003796
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x1400037e0
jmp 0x14000371e
cmp qword [rsp + 0x40], 0
jbe 0x1400037d0
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.140010ce0
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140009be0
add rsp, 0x68
ret
Function at 0x140005670
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140039060]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x68], 0
je 0x1400056ad
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400056b4
mov al, 1
jmp 0x1400057fc
call fcn.140006a10
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rcx
mov edx, eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x48]
call qword [rax + 0x18]
mov dword [rsp + 0x38], eax
call fcn.140006a10
mov dword [rsp + 0x3c], eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x3c]
call fcn.140006a70
movzx eax, al
test eax, eax
je 0x140005705
xor al, al
jmp 0x1400057fc
mov qword [rsp + 0x50], 0x20
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
add rcx, 0x74
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x60]
mov rdx, rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x68]
call fcn.140006bd0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000576a
cmp dword [rsp + 0x30], 1
je 0x140005776
cmp dword [rsp + 0x30], 3
je 0x1400057ea
jmp 0x1400057fa
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jbe 0x1400057c1
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140010624
cmp qword [rsp + 0x40], rax
je 0x1400057c1
xor al, al
jmp 0x1400057fc
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400057db
mov dword [rsp + 0x34], 1
jmp 0x1400057e3
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400057fc
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400057fc
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140009be0
add rsp, 0x98
ret

Function at 0x140015610
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001543c
Function at 0x1400014d4
Capabilities:
Get disk size

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0xc8
cmp qword [rcx + 0x18], 7
jbe 0x1400014ee
mov rcx, qword [rcx]
call fcn.1400348ac
test eax, eax
mov byte [rbx + 0x60], 1
sete al
mov byte [rbx + 0x61], al
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14000a7cc
mov ecx, dword [rbx + 0x58]
add rsp, 0x20
pop rbx
jmp fcn.140012ce0

Function at 0x140004564
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rcx + 0x60], 0
mov rbx, rcx
jne 0x140004595
mov rcx, qword [rcx + 0xf0]
test rcx, rcx
je 0x140004587
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [rbx + 0x58]
mov word [rbx + 0x60], 1
call fcn.140012ce0
add rsp, 0x20
pop rbx
ret
Function at 0x1400068c4
Capabilities:
Terminate process
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rcx + 0x60], 0
mov rbx, rcx
jne 0x140006904
mov rcx, qword [rcx + 0xd0]
xor edx, edx
test rcx, rcx
je 0x1400068ed
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbx + 0xc8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [rbx + 0x58]
mov dl, 1
call fcn.140012fa8
add rsp, 0x20
pop rbx
ret

Function at 0x140006a28
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140015e5c
nop
mov r8d, dword [rdi + 0xd0]
mov rdx, qword [rdi + 0xc8]
mov rcx, qword [rax]
call fcn.14000e670
nop
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x140006a8e
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140006a8e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140006a8e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rdi + 0xc8]
call fcn.14002dc14
and qword [rdi + 0xc8], 0
and dword [rdi + 0xd0], 0
mov word [rdi + 0x60], 0x101
mov ecx, dword [rdi + 0x58]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140012ce0

Function at 0x140007e08
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ecx, ecx
call fcn.14001715c
mov rbx, qword [0x140071038]
lea rcx, [0x140071038]
mov rdx, rcx
mov r8, qword [rbx + 8]
call fcn.140007d84
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
and qword [0x140071040], 0
mov ecx, dword [rdi + 0x58]
mov word [rdi + 0x60], 0x101
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140012ce0

Function at 0x1400085c8
Capabilities:
Get disk size

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0xc8]
call fcn.140008540
mov byte [rbx + 0x61], al
test al, al
jne 0x1400085f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14000a7cc
mov ecx, dword [rbx + 0x58]
mov byte [rbx + 0x60], 1
add rsp, 0x20
pop rbx
jmp fcn.140012ce0

Function at 0x140008b20
Capabilities:
Get disk size

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0xc8]
call fcn.14001715c
mov ecx, dword [rbx + 0x58]
mov byte [rbx + 0x61], al
mov byte [rbx + 0x60], 1
add rsp, 0x20
pop rbx
jmp fcn.140012ce0

Function at 0x14000aa70
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 0x60], 0
mov rbx, rcx
jne 0x14000aac9
mov rcx, qword [rcx + 0xb0]
test rcx, rcx
je 0x14000aac9
cmp dword [rbx + 0x64], 0
je 0x14000aab6
and qword [rsp + 0x28], 0
lea r8, [0x14000aad0]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x30
pop rbx
ret
call fcn.140028c38
mov ecx, dword [rbx + 0x58]
mov word [rbx + 0x60], 1
call fcn.140012ce0
add rsp, 0x30
pop rbx
ret
Function at 0x14000ed08
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
mov rax, qword [0x14006f100]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov rsi, rcx
mov qword [rsp + 0x40], rdx
lea rcx, [rbp - 0x70]
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov edx, 8
lea rcx, [rsp + 0x48]
call qword [sym.imp.WINMM.dll_timeGetDevCaps]
test eax, eax
jne 0x14000ed73
lea ecx, [rax + 1]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeEndPeriod]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov r15d, 0x400
lea rcx, [rbp - 0x20]
mov r8d, r15d
xor edx, edx
call fcn.1400526b0
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x10
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, r15d
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000edf9
lea rax, [rsp + 0x50]
mov rcx, rbx
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, r15d
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000ee3e
lea rax, [rsp + 0x70]
mov rcx, rbx
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x30], 0
lea rcx, str.T.txt
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x14000ee7c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, r15
lea rcx, [rbp + 0x3e0]
xor edx, edx
call fcn.1400526b0
lea rcx, [rsi + 0x18]
mov rdx, rdi
call fcn.14000cdd8
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14000eecd
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000eecd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000eecd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.14002dcb0
lea r11, [rsp + 0x8f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret