joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1802073c0
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1802073f0
xor eax, eax
jmp 0x1802074b3
mov rbp, rbx
cmp word [rax], si
je 0x180207415
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1802073fc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1802073f8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1801fbea4
movsxd r14, eax
test eax, eax
jne 0x180207453
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1802073e9
mov rcx, r14
call fcn.1801f4bb0
mov rdi, rax
test rax, rax
jne 0x18020746c
xor ecx, ecx
call fcn.1801f4804
jmp 0x180207448
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1801fbea4
test eax, eax
jne 0x18020749d
mov rcx, rdi
call fcn.1801f4804
jmp 0x1802074a7
xor ecx, ecx
call fcn.1801f4804
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1802074d0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x180207557
mov rsi, rbx
cmp word [rax], bp
je 0x180207516
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x180207500
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1802074fc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1801f4bb0
mov rdi, rax
test rax, rax
je 0x180207544
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.18018c9d0
mov rbp, rdi
xor ecx, ecx
call fcn.1801f4804
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18020e870
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.18019e15c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x18020e8fa
cmp byte [rbp - 0x21], r15b
je 0x18020e8f5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x18020e930
call fcn.1801f8324
test eax, eax
jne 0x18020e91c
cmp byte [rbp - 0x21], r15b
je 0x18020e914
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x18020e930
cmp byte [rbp - 0x21], r15b
je 0x18020e92d
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.1801cbcb8
test eax, eax
jne 0x18020e9d0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.18019e15c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x18020e96f
cmp byte [rbp - 0x21], r15b
je 0x18020e9a4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x18020e9a4
call fcn.1801f8324
test eax, eax
jne 0x18020e990
cmp byte [rbp - 0x21], r15b
je 0x18020e989
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x18020e9a4
cmp byte [rbp - 0x21], r15b
je 0x18020e9a1
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.1801cbcb8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x18020e9d0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x18020e9d3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x18020e9e1
mov rcx, rdi
call fcn.1801f4804
cmp byte [rbp + 0x3f], r15b
je 0x18020e9f0
mov rcx, qword [rbp + 0x27]
call fcn.1801f4804
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 0x140011519
Capabilities:
Terminate process

Disassembly:
jmp 0x140021b80
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001163b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140020a30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140020a50
xor al, al
jmp 0x140020ad1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140020a63
xor al, al
jmp 0x140020ad1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140020a8d
xor al, al
jmp 0x140020ad1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140020aa1
xor al, al
jmp 0x140020ad1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140020ab3
xor al, al
jmp 0x140020ad1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140020acf
xor al, al
jmp 0x140020ad1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400116ae
Capabilities:
Create thread

Disassembly:
jmp 0x14001b230
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rcx, [0x140036117]
call fcn.1400118bb
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14001146f]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14001b28e
mov edx, 0xffffffff
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x14001b293
mov eax, 1
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x2fc4d8e40
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d9f20
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d9842
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fc108]
test eax, eax
je 0x2fc4d98da
lea rax, [0x2fc4fc0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fc110]
mov qword [rbp - 8], rax
jmp 0x2fc4d98be
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d98b2
cmp qword [rbp - 0x10], 0
je 0x2fc4d98b2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d9878
lea rax, [0x2fc4fc0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d98db
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d99e0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d9a08
mov eax, 0
jmp 0x2fc4d9a56
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d9a31
mov eax, 0
jmp 0x2fc4d9a56
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d9a51
mov eax, 0
jmp 0x2fc4d9a56
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d9a5c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d9ada
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d9ad1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d9ad1
mov rax, qword [rbp - 8]
jmp 0x2fc4d9aef
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d9aa4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x141250058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1412501df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141250089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14125006f
add dl, dl
jne 0x141250096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1412500f6
xor eax, eax
add dl, dl
jne 0x1412500a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1412501ad
add dl, dl
jne 0x1412500b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412500c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412500d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412500dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1412500ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14125007e
mov eax, 1
add dl, dl
jne 0x141250106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141250113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1412500fb
sub eax, ebx
mov ebx, 1
jne 0x14125014c
mov ecx, 1
add dl, dl
jne 0x14125012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14125013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141250123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14125007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141250168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141250175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14125015d
cmp eax, 0x7d00
jae 0x14125019b
cmp eax, 0x500
jb 0x141250196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14125007e
cmp eax, 0x7f
ja 0x14125019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14125007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1412501d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14125007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140025a70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0
cmp qword [rsp + 0x50], 0
je 0x140025b87
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add eax, 1
mov edx, eax
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
add rdx, rcx
shl rdx, 1
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140025ae6
xor eax, eax
jmp 0x140025b8c
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
sub eax, 1
mov ecx, eax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + rcx*2]
cmp eax, 0x5c
je 0x140025b2d
mov edx, dword [rsp + 0x30]
mov ecx, 0x5c
mov rax, qword [rsp + 0x28]
mov word [rax + rdx*2], cx
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], 0
jmp 0x140025b42
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov edx, dword [rsp + 0x20]
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
cmp rdx, rcx
jae 0x140025b87
mov edi, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
mov eax, dword [rsp + 0x30]
add eax, ecx
mov edx, eax
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + rdi*2]
mov word [rcx + rdx*2], ax
jmp 0x140025b37
mov rax, qword [rsp + 0x28]
add rsp, 0x40
pop rdi
ret
Function at 0x140028790
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test rcx, rcx
jle 0x140028867
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp rcx, 0x64
jle 0x1400287fc
imul rax, rbx, 0xfffffffffffffff6
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x50], rax
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
xor r9d, r9d
lea rdx, [rsp + 0x50]
mov rbx, rax
xor r8d, r8d
xor eax, eax
mov rcx, rbx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x40
pop rbx
ret
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x30], xmm6
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movss xmm6, dword [0x1401700f8]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x50]
xorps xmm1, xmm1
sub rax, qword [rsp + 0x58]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x60]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
mulss xmm1, xmm6
mulss xmm1, xmm6
cvttss2si rax, xmm1
cmp rax, rbx
jl 0x140028820
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
ret

Function at 0x1400293c0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [0x14018ff80], 0
mov ebx, ecx
je 0x1400293d7
call fcn.14003d4f0
mov r8d, dword [0x14019013c]
lea rdx, str.stopping__d_threads
mov ecx, 3
mov byte [0x140190370], 1
call fcn.140033450
mov ecx, dword [0x14019013c]
lea r10, [0x14018ffa8]
xor r9d, r9d
mov al, 1
mov r8d, r9d
test ecx, ecx
jle 0x140029434
mov rdx, r10
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
movzx eax, al
mov ecx, dword [0x14019013c]
cmove eax, r9d
inc r8d
cmp r8d, ecx
jl 0x140029412
test al, al
je 0x140029406
lea rdx, str.resetting_GPUs
mov ecx, 3
call fcn.140033450
call fcn.14009daf0
mov rcx, qword [0x140190390]
test rcx, rcx
je 0x14002945c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.1400c9dd0
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1400306b0
Capabilities:
Encode data using xor

Disassembly:
push rdi
mov r9d, r8d
xor r10d, r10d
shr r9d, 3
mov edi, r8d
mov r11, rcx
mov r8d, r9d
test r9d, r9d
je 0x140030766
mov qword [rsp + 0x10], rbx
cmp r9d, 4
jb 0x140030736
lea eax, [r9 - 1]
lea rbx, [rcx + rax*8]
lea rax, [rdx + rax*8]
cmp rcx, rax
ja 0x1400306ef
cmp rbx, rdx
jae 0x140030736
and r8d, 3
mov ebx, r9d
sub ebx, r8d
nop dword [rax]
movdqu xmm0, xmmword [rcx + r10*8]
lea eax, [r10 + 2]
movdqu xmm1, xmmword [rdx + r10*8]
pxor xmm1, xmm0
movdqu xmmword [rcx + r10*8], xmm1
add r10d, 4
movdqu xmm1, xmmword [rdx + rax*8]
movdqu xmm0, xmmword [rcx + rax*8]
pxor xmm1, xmm0
movdqu xmmword [rcx + rax*8], xmm1
cmp r10d, ebx
jb 0x140030700
cmp r10d, r9d
jae 0x140030761
mov rbx, rdx
lea rcx, [rcx + r10*8]
sub rbx, r11
sub r9d, r10d
mov r8d, r9d
nop dword [rax + rax]
mov rax, qword [rbx + rcx]
xor qword [rcx], rax
lea rcx, [rcx + 8]
sub r8, 1
jne 0x140030750
mov rbx, qword [rsp + 0x10]
mov eax, edi
and eax, 7
je 0x1400307a0
mov ecx, edi
sub ecx, eax
cmp ecx, edi
jae 0x1400307a0
mov eax, ecx
sub rdx, r11
add rax, r11
sub edi, ecx
mov r8d, edi
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax + rdx]
xor byte [rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x140030790
pop rdi
ret
Function at 0x1400321f0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14017f8e0]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, qword [rbp + 0x60]
lea rax, [rsp + 0x20]
xor edx, edx
mov rdi, rcx
mov qword [rbp - 0x20], rdx
mov dword [rbp - 0x20], 0x1012020
lea ecx, [rdx + 2]
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
lea rax, [rax + 0x40]
mov qword [rax - 0x28], rdx
mov qword [rax - 0x20], rdx
mov qword [rax - 0x18], rdx
mov qword [rax - 0x10], rdx
mov qword [rax - 8], rdx
sub rcx, 1
jne 0x140032231
movups xmm0, xmmword [r8]
mov qword [rax], rdx
lea rcx, [rsp + 0x20]
movups xmm1, xmmword [r8 + 0x10]
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rdx
mov rax, qword [rbp - 0x20]
xor rax, qword [0x14012ecc8]
mov qword [rsp + 0x20], rax
mov rax, qword [0x14012ecd0]
mov qword [rsp + 0x28], rax
mov rax, qword [0x14012ecd8]
mov qword [rsp + 0x30], rax
mov rax, qword [0x14012ece0]
mov dword [rbp - 0x30], edx
mov qword [rbp], rdx
mov qword [rbp + 8], rdx
mov qword [rbp + 0x10], rdx
mov qword [rbp + 0x18], rdx
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x38], rax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm1
call fcn.140032030
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140032030
mov eax, dword [rbp - 0x30]
cmp eax, 0x40
jbe 0x140032373
add dword [rsp + 0x40], 0x40
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.1400307b0
mov eax, dword [rbp - 0x30]
add eax, 0xffffffc0
mov edx, eax
mov dword [rbp - 0x30], eax
shr edx, 3
mov edi, eax
test edx, edx
je 0x140032334
lea rcx, [rsp + 0x50]
nop dword [rax]
mov rax, qword [rcx + 0x40]
mov qword [rcx], rax
lea rcx, [rcx + 8]
sub rdx, 1
jne 0x140032320
mov eax, dword [rbp - 0x30]
mov ecx, edi
and ecx, 7
je 0x140032373
mov edx, edi
sub edx, ecx
cmp edx, edi
jae 0x140032373
mov eax, edx
lea rcx, [rsp + 0x50]
add rcx, rax
sub edi, edx
mov edx, edi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + 0x40]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140032360
mov eax, dword [rbp - 0x30]
add dword [rsp + 0x40], eax
lea r8, [rsp + 0x50]
add r8, rax
mov dword [rsp + 0x48], 0xffffffff
mov edx, 0x80
sub edx, eax
mov eax, edx
shr eax, 3
test eax, eax
je 0x1400323a1
mov ecx, eax
mov rdi, r8
xor eax, eax
rep stosq qword [rdi], rax
mov eax, edx
and eax, 7
je 0x1400323b9
mov edi, edx
sub edi, eax
cmp edi, edx
jae 0x1400323b9
add rdi, r8
mov ecx, eax
xor eax, eax
rep stosb byte [rdi], al
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.1400307b0
movaps xmm1, xmmword [rsp + 0x20]
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm1
movups xmmword [rbx + 0x10], xmm0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140111120
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140034580
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x260
mov rax, qword [0x14017f8e0]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor r15d, r15d
mov rsi, rdx
mov edi, r15d
or rbx, 0xffffffffffffffff
mov rbp, rcx
inc rbx
cmp byte [rdx + rbx], dil
jne 0x1400345b0
mov byte [rdx + rbx], 0xa
inc rbx
mov qword [rsp + 0x2a0], r14
test rbx, rbx
jle 0x14003463c
nop dword [rax]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 3
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
mov qword [rsp + 0x48], rbp
xor edx, edx
mov dword [rsp + 0x40], 1
lea ecx, [rbp + 1]
call qword [sym.imp.WS2_32.dll_select]
cmp eax, 1
jl 0x140034664
lea rdx, [rsi + rdi]
xor r9d, r9d
mov r8d, ebx
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14003462f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140034664
mov eax, r15d
cdqe
add rdi, rax
sub rbx, rax
test rbx, rbx
jg 0x1400345d0
mov al, 1
mov r14, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140111120
add rsp, 0x260
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor al, al
jmp 0x14003463e

Function at 0x140034670
Capabilities:
Get socket status

Disassembly:
sub rsp, 0x268
mov rax, qword [0x14017f8e0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdx, qword [rcx + 0x28]
mov r8d, dword [0x14017f948]
test rdx, rdx
jne 0x1400346b3
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140111120
add rsp, 0x268
ret
mov qword [rsp + 0x260], rbx
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x1400346c0
test rax, rax
jne 0x14003470c
mov rax, qword [rcx + 0x18]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov dword [rsp + 0x30], r8d
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x40], 1
lea ecx, [rax + 1]
mov dword [rsp + 0x34], ebx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x140034711
mov ebx, 1
movzx eax, bl
mov rbx, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140111120
add rsp, 0x268
ret
Function at 0x140040020
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, r8
mov r10, rdx
not ecx
test r8, r8
je 0x140040060
lea r11, [0x14012f040]
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r10]
lea r10, [r10 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [r11 + r8*4]
xor ecx, eax
sub r9, 1
jne 0x140040040
not ecx
mov eax, ecx
ret