joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140092eb0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov rbx, rcx
test rcx, rcx
je 0x140093092
mov rdi, qword [rcx + 0x18]
test rdi, rdi
je 0x140093092
cmp dword [rcx + 0x20], 0
je 0x140093092
cmp byte [rcx + 0x10], 0
jne 0x140093092
mov qword [rsp + 0x60], rbp
lea rbp, [rdi + 0x48]
mov rcx, rbp
mov qword [rsp + 0x68], rsi
call fcn.140092b30
cmp dword [rdi + 0xc], 0
je 0x140092f07
mov edi, 0x80002736
jmp 0x140092f12
cmp dword [rdi + 0x20], 0
jne 0x140092f50
mov edi, 0x8000276b
mov rcx, rbp
call fcn.140092b50
xor esi, esi
mov dword [rbx + 0x20], esi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x18], rsi
cmp byte [rbx + 0x10], sil
jne 0x140092f3d
mov rcx, qword [0x1401362e8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
mov rbp, qword [rsp + 0x60]
mov eax, edi
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rdi
pop rbx
ret
mov rax, qword [rdi + 0x118]
test rax, rax
je 0x140092f82
mov qword [rax + 0x30], rbx
mov rcx, rbp
mov qword [rdi + 0x118], rbx
call fcn.140092b50
mov rbp, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rdi
pop rbx
ret
xor eax, eax
mov qword [rdi + 0x120], rbx
mov qword [rdi + 0x118], rbx
mov qword [rsp + 0x70], r14
lea r14, [rdi + 0x148]
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
mov eax, dword [rbx + 0x20]
mov dword [rdi + 0x188], eax
mov rax, qword [rbx + 0x28]
mov qword [rdi + 0x190], rax
mov qword [rsp + 0x40], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rdi + 0x30]
lea rdx, [rdi + 0x188]
xor esi, esi
xor r9d, r9d
lea r8d, [rsi + 1]
cmp eax, dword [rdi + 0x198]
jne 0x140092ff6
lea rax, [fcn.140093410]
mov qword [rsp + 0x30], rax
jmp 0x140093009
mov rax, qword [rdi + 0x80]
mov qword [rdi + 0x160], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], esi
call qword [sym.imp.WS2_32.dll_WSASend]
mov r15, qword [rsp + 0x40]
test eax, eax
jne 0x140093041
mov rcx, rbp
call fcn.140092b50
xor eax, eax
mov r14, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rdi
pop rbx
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r14d, eax
mov rcx, rbp
cmp eax, 0x3e5
je 0x140093024
mov qword [rdi + 0x120], rsi
mov qword [rdi + 0x118], rsi
call fcn.140092b50
cmp byte [rbx + 0x10], 0
mov dword [rbx + 0x20], esi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x18], rsi
jne 0x140093088
mov rcx, qword [0x1401362e8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
mov ecx, r14d
call fcn.140092d00
jmp 0x14009302b
mov eax, 0x80000057
add rsp, 0x48
pop rdi
pop rbx
ret

Function at 0x140093270
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1c8
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14009329a
mov ecx, eax
call fcn.140092d00
add rsp, 0x1c8
ret
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x1400932b5
shr ax, 8
cmp al, 2
jne 0x1400932b5
xor eax, eax
add rsp, 0x1c8
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0x8000276c
add rsp, 0x1c8
ret
Function at 0x140093410
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x40
lea rbx, [r8 - 0x148]
test ecx, ecx
je 0x14009343b
call fcn.140092d00
mov r8d, 1
mov edx, eax
mov rcx, rbx
add rsp, 0x40
pop rbx
jmp fcn.140093120
mov qword [rsp + 0x50], rbp
lea rcx, [rbx + 0x48]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
call fcn.140092b30
mov rdx, qword [rbx + 0x120]
test rdx, rdx
je 0x14009355e
mov rax, qword [rdx + 0x30]
xor edi, edi
mov qword [rbx + 0x120], rax
mov dword [rdx + 0x20], edi
mov qword [rdx + 0x28], rdi
mov qword [rdx + 0x18], rdi
cmp byte [rdx + 0x10], dil
jne 0x14009348e
mov rcx, qword [0x1401362e8]
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
cmp qword [rbx + 0x120], rdi
jne 0x1400934ca
lea rcx, [rbx + 0x48]
mov qword [rbx + 0x118], rdi
call fcn.140092b50
cmp byte [rbx], 3
jne 0x140093567
cmp dword [rbx + 0x1c], edi
mov rcx, rbx
mov edx, dword [rbx + 0x38]
sete dil
mov r8d, edi
call fcn.140093120
jmp 0x140093567
xor eax, eax
lea r8, [rbx + 0x148]
mov qword [r8], rax
lea rdx, [rbx + 0x188]
mov qword [r8 + 8], rax
xor r9d, r9d
mov qword [r8 + 0x10], rax
mov qword [r8 + 0x18], rax
mov rcx, qword [rbx + 0x120]
mov eax, dword [rcx + 0x20]
mov dword [rdx], eax
mov rax, qword [rcx + 0x28]
mov rcx, qword [rbx + 0x30]
mov qword [rbx + 0x190], rax
lea rax, [fcn.140093410]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r8
lea r8d, [r9 + 1]
mov dword [rsp + 0x20], edi
call qword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
je 0x14009355e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
cmp eax, 0x3e5
je 0x14009355e
lea rcx, [rbx + 0x48]
mov dword [rbx + 0x20], edi
call fcn.140092b50
mov ecx, ebp
call fcn.140092d00
mov edx, eax
mov r8d, 1
mov rcx, rbx
call fcn.140093120
jmp 0x140093567
lea rcx, [rbx + 0x48]
call fcn.140092b50
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbx
ret
Function at 0x140093580
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov eax, dword [rcx + 0xb0]
lea r9, [rcx + 0x20214]
xor edi, edi
mov rbx, rcx
mov dword [rsp + 0x50], edi
mov r8d, 0x2006c
lea r10d, [rdi + 1]
test eax, eax
jne 0x1400935cb
lea rax, [rcx + 0x1a8]
lea rdx, [rcx + 0x168]
mov qword [rcx + 0x170], rax
mov dword [rdx], r8d
jmp 0x140093682
mov edx, dword [rcx + 0xf0]
sub r8, rax
mov rcx, rax
sub r8, rdx
mov rax, qword [rbx + 0xb8]
add rax, rcx
add rax, rdx
mov qword [rbx + 0x170], rax
cmp rax, r9
jb 0x140093600
add rax, 0xfffffffffffdff94
mov qword [rbx + 0x170], rax
mov rax, qword [rbx + 0xb8]
lea rdx, [rbx + 0x168]
cmp qword [rbx + 0x170], rax
jae 0x14009362b
mov ecx, eax
sub ecx, dword [rbx + 0x170]
mov dword [rdx], ecx
cmp r8, rcx
jae 0x140093682
mov dword [rdx], r8d
jmp 0x140093682
sub r9d, dword [rbx + 0x170]
mov eax, r9d
mov dword [rdx], eax
cmp r8, rax
jae 0x140093641
mov dword [rdx], r8d
jmp 0x140093682
jbe 0x140093682
mov r9d, dword [rdx]
lea rax, [rbx + 0x1a8]
mov qword [rbx + 0x180], rax
mov rcx, r8
mov eax, dword [rbx + 0xb8]
sub rcx, r9
sub eax, ebx
add eax, 0xfffffe58
mov dword [rbx + 0x178], eax
cmp rcx, rax
jae 0x14009367c
sub r8d, r9d
mov dword [rbx + 0x178], r8d
mov r10d, 2
xor ecx, ecx
lea rax, [rbx + 0x128]
mov qword [rax], rcx
xor r9d, r9d
mov qword [rax + 8], rcx
mov r8d, r10d
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
lea rcx, [0x1400932f0]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rbx + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x1400936d7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
cmove eax, edi
mov ecx, eax
call fcn.140092d00
mov edi, eax
test eax, eax
je 0x1400936f6
mov r8d, 1
mov edx, eax
mov rcx, rbx
call fcn.140093120
mov eax, edi
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400937a0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x30
mov r15, rcx
mov qword [rcx], 0
mov ecx, 0x20250
mov ebp, 0x80000008
call fcn.1400b79e8
mov r14, rax
test rax, rax
je 0x140093909
mov qword [rsp + 0x50], rbx
xor edx, edx
mov qword [rsp + 0x58], rsi
mov r8d, 0x1a8
mov rcx, rax
mov qword [rsp + 0x60], rdi
call fcn.1400b5f30
xor r8d, r8d
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov qword [r14 + 0x1a0], rax
test rax, rax
je 0x1400938fd
lea rbx, [r14 + 0x70]
xor edi, edi
mov rsi, rbx
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
mov qword [rsi], rax
test rax, rax
je 0x1400938c0
inc edi
add rsi, 8
cmp edi, 3
jb 0x140093816
lea rcx, [r14 + 0x48]
call fcn.140092af0
lea rax, [r14 + 0x198]
mov qword [r14 + 0x30], 0xffffffffffffffff
mov qword [rsp + 0x28], rax
lea r8, [0x140093ac0]
mov r9, r14
mov dword [rsp + 0x20], 0
xor edx, edx
mov byte [r14], 0
xor ecx, ecx
mov dword [r14 + 4], 1
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x1400938b5
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov qword [r15], r14
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
lea rcx, [r14 + 0x48]
call fcn.140092b10
jmp 0x1400938cf
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.140092d00
mov ebp, eax
mov edi, 3
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400938e2
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
add rbx, 8
sub rdi, 1
jne 0x1400938d4
mov rcx, qword [r14 + 0x1a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [r14 + 4], edi
mov rcx, r14
call fcn.1400b79e0
mov eax, ebp
jmp 0x14009389c
mov eax, ebp
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
Function at 0x140093e30
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
xor r14d, r14d
mov dword [rsp + 0x28], 1
movzx esi, r8w
mov dword [rcx + 0x38], r14d
mov ebp, edx
mov dword [rsp + 0x20], r14d
mov rbx, rcx
mov r15d, 2
lea edx, [r14 + 1]
xor r9d, r9d
lea r8d, [r14 + 6]
mov ecx, r15d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140093e9a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.140092d00
jmp 0x140093fd9
mov edx, 6
mov dword [rsp + 0x70], 1
lea r9, [rsp + 0x70]
mov dword [rsp + 0x20], 4
mov rcx, rax
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rdx, qword [rbx + 0x78]
mov r8d, setsockopt
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
je 0x140093ef1
mov ecx, eax
call fcn.140092d00
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, ebx
jmp 0x140093fd9
movzx eax, byte [rbx]
mov byte [rbx], 1
cmp al, 1
je 0x140093f0c
movzx edx, al
mov r8d, 1
mov rcx, rbx
call fcn.140094780
lea r8, [rsp + 0x42]
mov qword [rbx + 0x30], rdi
movzx edx, si
mov word [rsp + 0x40], r15w
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_WSAHtons]
lea r8, [rsp + 0x44]
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_WSAHtonl]
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov qword [rsp + 0x20], r14
lea r8d, [r9 + 0x10]
call qword [sym.imp.WS2_32.dll_WSAConnect]
test eax, eax
je 0x140093f6e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
cmove eax, r14d
mov ecx, eax
call fcn.140092d00
mov dword [rbx + 0x38], eax
mov edi, eax
test eax, eax
je 0x140093fd7
movzx esi, byte [rbx]
mov byte [rbx], r14b
test sil, sil
je 0x140093fd7
mov rcx, qword [rbx + 0x30]
cmp rcx, 0xffffffffffffffff
je 0x140093fa1
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx + 0x30], 0xffffffffffffffff
movzx edx, sil
xor r8d, r8d
mov rcx, rbx
mov dword [rbx + 0x20], r14d
mov dword [rbx + 0xb0], r14d
mov qword [rbx + 0xb8], r14
mov dword [rbx + 0xf0], r14d
mov qword [rbx + 0xf8], r14
mov dword [rbx + 0x110], r14d
call fcn.140094780
mov eax, edi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140094ea0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
movzx ecx, byte [rcx + 0x15]
test ecx, ecx
je 0x140094fed
mov qword [rsp + 0x30], rdi
sub ecx, 2
je 0x140094f3a
cmp ecx, 1
je 0x140094ee8
mov r9d, 0x1d9
lea r8, str.ISCiscsi_co.c
mov edx, 0x8000054f
mov rcx, rbx
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp fcn.140092290
mov edi, dword [rbx + 0x2dc0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jae 0x140094efe
sub eax, edi
dec eax
jmp 0x140094f00
sub eax, edi
cmp eax, 0xbb8
jbe 0x140094fe8
mov eax, dword [rbx + 0x4e0]
lea r8, str.ISCiscsi_co.c
test eax, eax
mov edx, 0x800005b4
mov r9d, 0x1d1
mov rcx, rbx
cmovne edx, eax
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp fcn.140092150
mov edi, dword [rbx + 0x2dc0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jae 0x140094f50
sub eax, edi
dec eax
jmp 0x140094f52
sub eax, edi
cmp eax, 0xbb8
jbe 0x140094f88
mov eax, dword [rbx + 0x4e0]
lea r8, str.ISCiscsi_co.c
test eax, eax
mov edx, 0x800005b4
mov r9d, 0x1a2
mov rcx, rbx
cmovne edx, eax
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp fcn.140092290
mov rcx, qword [rbx + 0x4d8]
call fcn.140093a90
test eax, eax
jne 0x140094fe8
movzx ecx, word [rbx + 0x10]
mov rax, qword [rbx + 0x4d0]
movzx r8d, word [rax + rcx*2 + 0x404]
mov edx, dword [rax + rcx*4 + 0x400]
mov rcx, qword [rbx + 0x4d8]
call fcn.140093710
test eax, eax
je 0x140094fe4
mov r9d, 0x1b6
lea r8, str.ISCiscsi_co.c
mov edx, eax
mov rcx, rbx
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp fcn.140092290
mov byte [rbx + 0x15], 3
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
Function at 0x1400952e0
Capabilities:
Check for time delay via queryperformancecounter
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x100
mov rsi, rcx
mov ecx, dword [rcx + 0x430]
mov eax, ecx
and eax, 0x38000000
cmp eax, 0x38000000
jne 0x140095520
and ecx, 0xc7ffffff
mov qword [rsp + 0x118], rbx
mov rbx, qword [rsi + 0x4d0]
lea rdx, str._s_s_f
mov dword [rsi + 0x430], ecx
mov rcx, rsi
mov r8, qword [str.CHAP_N]
lea r9, [rbx + 0x42a]
call fcn.14009ab20
lea rcx, [rsp + 0x20]
call fcn.14009ad40
lea rdx, [rsi + 0x16]
mov r8d, 1
lea rcx, [rsp + 0x20]
call fcn.14009ad70
movzx r8d, byte [rbx + 0x428]
lea rdx, [rbx + 0x406]
lea rcx, [rsp + 0x20]
call fcn.14009ad70
mov r8d, dword [rsi + 0x428]
lea rdx, [rsi + 0x27]
lea rcx, [rsp + 0x20]
call fcn.14009ad70
lea rcx, [rsp + 0x20]
call fcn.14009abe0
mov r8, qword [str.CHAP_R]
lea rdx, [0x1400f25a4]
mov rcx, rsi
call fcn.14009ab20
mov r8d, setsockopt
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14009aaa0
cmp byte [rbx + 0x429], 0
je 0x14009550e
mov qword [rsp + 0x120], rbp
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x128], rdi
mov byte [rsp + 0x80], 1
call fcn.14009ad40
mov r8d, 1
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x20]
call fcn.14009ad70
movzx r8d, byte [rbx + 0x429]
lea rdx, [rbx + 0x417]
lea rcx, [rsp + 0x20]
call fcn.14009ad70
lea rcx, [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov ebp, 0x80
shl ebx, 0x10
xor ebx, edi
lea rdi, [rsp + 0x80]
or ebx, 1
nop dword [rax]
imul ebx, ebx, 0x343fd
lea rcx, [rsp + 0x110]
add ebx, 0x269ec3
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, ebx
lea rdi, [rdi + 1]
shr eax, 0x10
xor al, byte [rsp + 0x110]
mov byte [rdi - 1], al
sub rbp, 1
jne 0x140095450
mov r8d, 0x80
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x20]
call fcn.14009ad70
lea rcx, [rsp + 0x20]
call fcn.14009abe0
movaps xmm0, xmmword [rsp + 0x20]
lea r9d, [rbp + 1]
movups xmmword [rsi + 0x17], xmm0
mov r8, qword [str.CHAP_I]
lea rdx, str._s_d_f
mov rcx, rsi
call fcn.14009ab20
mov r8, qword [str.CHAP_C]
lea rdx, [0x1400f25a4]
mov rcx, rsi
call fcn.14009ab20
mov r8d, 0x80
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.14009aaa0
or dword [rsi + 0x2dbc], 0xc000000
mov rdi, qword [rsp + 0x128]
mov rbp, qword [rsp + 0x120]
or dword [rsi + 0x430], 0x40000000
mov rbx, qword [rsp + 0x118]
xor eax, eax
add rsp, 0x100
pop rsi
ret
Function at 0x140098cf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor edx, edx
add rcx, 0x430
mov r8d, RegisterTypeLib
call fcn.1400b5f30
mov rax, qword [rbx + 0x4d0]
mov edx, dword [rax + 0x38]
mov dword [rbx + 0x458], edx
mov rcx, qword [rbx + 0x4d0]
inc dword [rcx + 0x34]
mov eax, dword [rcx + 0x34]
cmp eax, 0xffffffff
je 0x140098d37
test eax, eax
jne 0x140098d3f
mov eax, 1
mov dword [rcx + 0x34], eax
mov dword [rbx + 0x450], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x2dc0], eax
xor r8d, r8d
xor eax, eax
mov dl, 5
mov rcx, rbx
mov dword [rbx + 0x2dc8], eax
mov dword [rbx + 0xdb0], eax
mov qword [rbx + 0x2db4], rax
mov dword [rbx + 0x2dbc], eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140092180

Function at 0x14009a230
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140092c60
mov rbx, rax
test rax, rax
jne 0x14009a291
mov ebx, dword [rdi + 0x2dc8]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jae 0x14009a260
sub eax, ebx
dec eax
jmp 0x14009a262
sub eax, ebx
cmp eax, 0xbb8
jbe 0x14009a337
mov r9d, 0xe81
lea r8, str.ISCiscsi_task.c
mov edx, 0x800005b4
mov rcx, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140092150
mov qword [rsp + 0x30], rsi
xor esi, esi
mov dword [rdi + 0x2dc8], esi
mov dword [rax], 0x400
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov word [rax + 0x18], si
mov rcx, qword [rdi + 0x4d0]
inc dword [rcx + 0x34]
mov eax, dword [rcx + 0x34]
cmp eax, 0xffffffff
je 0x14009a2c6
test eax, eax
jne 0x14009a2ce
mov eax, 1
mov dword [rcx + 0x34], eax
mov dword [rbx + 0x1c], eax
mov dword [rbx + 0x20], eax
mov rax, qword [rdi + 0x4d0]
mov ecx, dword [rax + 0x38]
mov dword [rbx + 0x28], ecx
mov qword [rbx + 0x50], rsi
mov qword [rbx + 0x40], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov qword [rbx + 0x34], rsi
mov rsi, qword [rsp + 0x30]
mov dword [rbx + 0x48], eax
mov rax, qword [rdi + 0x518]
test rax, rax
jne 0x14009a31d
mov qword [rbx + 0x10], rbx
mov qword [rdi + 0x518], rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rax + 0x10]
mov qword [rbx + 0x10], rax
mov rax, qword [rdi + 0x518]
mov qword [rax + 0x10], rbx
mov qword [rdi + 0x518], rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14009cba0
Capabilities:
Enumerate files on windows

Disassembly:
push rbx
sub rsp, 0x490
mov rax, qword [0x14012dcd0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x270]
mov r8d, 0x210
call fcn.1400b5f30
mov r8, rbx
lea rcx, [rsp + 0x270]
mov edx, 0x108
call fcn.1400b7b10
lea r8, [0x1400f4420]
mov edx, 0x108
lea rcx, [rsp + 0x270]
call fcn.1400b7a90
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14009cc24
xor al, al
jmp 0x14009ccb3
mov qword [rsp + 0x4a8], rsi
mov qword [rsp + 0x4b0], rdi
xor edi, edi
mov esi, edi
nop dword [rax + rax]
movzx ecx, word [rsp + 0x4c]
cmp cx, word [0x1400e6370]
movzx eax, word [rsp + 0x4e]
jne 0x14009cc5c
cmp ax, word [0x1400e6372]
je 0x14009cc7c
cmp cx, word [0x1400f442c]
jne 0x14009cc90
cmp ax, word [0x1400f442e]
jne 0x14009cc90
movzx eax, word [rsp + 0x50]
cmp ax, word [0x1400f4430]
jne 0x14009cc90
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14009cc40
jmp 0x14009cc95
mov esi, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdi, qword [rsp + 0x4b0]
test esi, esi
mov rsi, qword [rsp + 0x4a8]
sete al
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400af8c0
add rsp, 0x490
pop rbx
ret
Function at 0x14009d070
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x290], rbx
mov rax, qword [0x14012dcd0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov eax, edx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov edx, 0x23
mov ecx, 0x1a
test eax, eax
cmovne edx, ecx
bts edx, 0xf
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
cmp qword [rdi + 0x18], 8
jb 0x14009d0ef
mov rax, qword [rdi]
jmp 0x14009d0f2
mov rax, rdi
mov word [rax], bx
cmp word [rsp + 0x50], bx
je 0x14009d10f
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14009d105
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14000b5b0
mov dword [rsp + 0x30], 1
mov r8d, 1
lea rdx, [0x1400de108]
mov rcx, rdi
call fcn.140008f00
mov r8d, shutdown
lea rdx, str.DAEMON_Tools_Lite
mov rcx, rdi
call fcn.140008f00
cmp qword [rdi + 0x18], 8
jb 0x14009d15d
mov rcx, qword [rdi]
jmp 0x14009d160
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov r8d, 1
lea rdx, [0x1400de108]
mov rcx, rdi
call fcn.140008f00
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400af8c0
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret

Function at 0x14009d1b0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov edx, 0x80
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [rbx + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14009d1f9
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
xor eax, eax
mov qword [rsp + 0x58], rbx
lea rdx, [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x58], rbx
mov rbx, qword [rsp + 0x50]
sete al
add rsp, 0x40
pop rdi
ret

Function at 0x14009d2a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14009d2b6
xor al, al
add rsp, 0x28
ret
shr al, 4
and al, 1
add rsp, 0x28
ret
Function at 0x14009d870
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x58
xor ecx, ecx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
lea rdx, str.SoftwareDisc_SoftDAEMON_Tools_LiteRebootFlag
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov qword [rsp + 0x60], rcx
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14009d8f7
mov rcx, qword [rsp + 0x60]
lea rax, str.temp
mov dword [rsp + 0x28], 0xa
lea rdx, [0x1400f441c]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x58
ret

Function at 0x14009d900
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
lea rax, [rsp + 0x68]
xor ecx, ecx
lea rdx, str.VolatileTest
mov qword [rsp + 0x40], rcx
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14009d964
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.VolatileTest
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor al, al
add rsp, 0x50
pop rbx
ret
cmp eax, 0x3fd
jne 0x14009d95c
mov al, 1
add rsp, 0x50
pop rbx
ret