joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005e8c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
mov rdi, r8
mov rbx, rdx
mov dword [rax - 0x20], 0x80
xor r8d, r8d
mov dword [rax - 0x28], 2
mov edx, 0x40000000
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140005f05
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140005f05
cmp dword [rsp + 0x68], edi
jne 0x140005f05
mov eax, 1
jmp 0x140005f07
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140006150
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
call fcn.140004260
mov rdi, rax
test rax, rax
jne 0x140006187
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, rbx
lea rdx, [0x14000e380]
mov r9d, eax
lea ecx, [rdi + 1]
call fcn.140006e5c
jmp 0x1400061fa
lock inc dword [0x14000b1f8]
and qword [rsp + 0x28], 0
lea r8, [0x140006208]
and dword [rsp + 0x20], 0
mov r9, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1400061c2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400061fc
lock dec dword [0x14000b1f8]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, rbx
lea rdx, [0x14000d500]
mov r9d, eax
mov ecx, 1
call fcn.140006e5c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400062bc
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
mov rbp, rsp
sub rsp, 0x60
lea rcx, [0x1400121bc]
mov dword [rbp + 0x10], 0x20
mov qword [0x14000b158], rcx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rcx, eax
lea rdx, [rbp + 0x10]
mov qword [0x14000b160], rcx
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
neg eax
sbb ecx, ecx
and ecx, dword [rbp + 0x10]
mov eax, ecx
mov dword [rbp + 0x10], ecx
cmp rax, 0xf
jae 0x14000632a
lea rcx, [rbp - 0x40]
mov dl, 0x20
lea r8d, [rbx + 0xf]
add rcx, rax
sub r8, rax
call sub.msvcrt.dll_memset
xor al, al
lea rsi, [0x14001219c]
mov byte [rbp - 0x31], al
xor ecx, ecx
add al, byte [rbp + rcx - 0x40]
mov byte [rbp - 0x31], al
movsx rax, byte [rcx + rsi]
add rbx, rax
xor byte [rbp + rcx - 0x40], bl
inc rcx
cmp rcx, 0xf
jae 0x140006359
mov al, byte [rbp - 0x31]
jmp 0x140006338
lea rdx, [rbp - 0x20]
lea rcx, [0x140010730]
call fcn.1400031d8
mov rcx, qword [0x14000b158]
lea rdx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
mov rcx, rax
test rax, rax
je 0x1400063ff
lea rbx, [0x14000dac0]
mov r9, rcx
mov r8d, 0x20
sub r9, rsi
mov rdx, rsi
mov al, byte [rdx]
mov byte [r9 + rdx], al
inc rdx
sub r8, 1
jne 0x140006398
add rcx, 0x20
xor edx, edx
movzx eax, byte [rbp + rdx - 0x40]
shr rax, 4
mov al, byte [rax + rbx]
mov byte [rcx], al
lea rcx, [rcx + 2]
movzx eax, byte [rbp + rdx - 0x40]
inc rdx
and eax, 0xf
mov al, byte [rax + rbx]
mov byte [rcx - 1], al
cmp rdx, 0x10
jb 0x1400063ad
lea rdx, [rbp - 0x20]
lea rcx, [0x140010730]
call fcn.1400031d8
mov rcx, qword [0x14000b158]
lea rdx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
mov rcx, rax
test rax, rax
jne 0x140006389
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140006414
Capabilities:
Manipulate console buffer

Disassembly:
sub rsp, 0x28
call fcn.1400083e4
jmp 0x1400030e0
mov ecx, 2
call fcn.140004778
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x14000b1f8], 0
jne 0x1400030cb
mov ecx, 3
add rsp, 0x28
jmp fcn.140004778
sub rsp, 0x28
lea rdx, [0x140010180]
mov ecx, 3
call fcn.140006e5c
call fcn.1400082dc
add rsp, 0x28
jmp 0x1400030c0
Function at 0x1400065b4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rbp, rdx
mov rsi, rcx
or rbx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rbx + 9]
mov r8d, 0x10219
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
jne 0x140006614
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rsi
lea rdx, [0x140010de0]
mov r8d, eax
lea ecx, [rbx + 2]
call fcn.140006e5c
xor eax, eax
jmp 0x1400066e0
mov qword [rax + 0x210], rbp
mov rdx, rsi
lea rbp, [rax + 4]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp qword [0x14000b6b0], 0
mov esi, 1
je 0x140006687
lea rbx, [rdi + 0x218]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, qword [0x14000b6b0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatW]
and qword [rsp + 0x30], 0
xor r9d, r9d
and dword [rsp + 0x28], 0
mov r8d, esi
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov r9, rdi
lea r8, [0x14000730c]
mov edx, esi
mov rcx, rbp
call fcn.140007090
mov ebp, eax
cmp rbx, 0xffffffffffffffff
je 0x1400066ca
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8d, esi
lea rdx, [0x14000ec30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebp
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x1400066f8
Capabilities:
Get file size

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
mov rbx, rdx
and dword [rax - 0x20], 0
mov rdi, rcx
mov rcx, rbx
mov dword [rax - 0x28], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0010000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
jne 0x14000675f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rbx
lea rdx, [0x14000e490]
mov r8d, eax
mov ecx, 1
call fcn.140006e5c
lock inc dword [0x14000b25c]
xor eax, eax
jmp 0x1400067a4
lea rdx, [rdi + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14000679f
lock inc dword [0x14000b25c]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rbx
lea rdx, [0x14000e860]
mov r8d, eax
mov ecx, 1
call fcn.140006e5c
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000675b
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400069f8
Capabilities:
Get domain controller name

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x180]
sub rsp, 0x280
xor ebx, ebx
mov rsi, rcx
mov qword [rbp + 0x1b0], rbx
cmp qword [rcx + 0x30], rbx
jne 0x140006a2b
mov eax, 0x80005008
jmp 0x140006b84
lea rdx, [rsp + 0x30]
lea rcx, [0x14000dad8]
call fcn.1400031d8
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp qword [rsi], rbx
je 0x140006a61
mov rdx, qword [rsi]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x140006aac
lea r8, [rbp + 0x1b0]
xor edx, edx
xor ecx, ecx
call sub.NETAPI32.dll_NetGetDCName
mov ecx, 0x995
cmp eax, ecx
jne 0x140006a81
mov eax, ecx
jmp 0x140006b84
test eax, eax
jne 0x140006aac
mov rdx, qword [rbp + 0x1b0]
test rdx, rdx
je 0x140006aac
add rdx, 4
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rcx, qword [rbp + 0x1b0]
call sub.NETAPI32.dll_NetApiBufferFree
mov r8, qword [rsi + 0x10]
lea rax, [rbp + 0x1a0]
mov rdx, qword [rsi + 8]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [0x14000fe80]
mov qword [rsp + 0x20], rax
call sub.ACTIVEDS.dll_ADsOpenObject
test eax, eax
jne 0x140006b84
mov rcx, qword [rbp + 0x1a0]
lea rdx, [rbp + 0x1a8]
mov r9d, dword [rsi + 0x28]
mov r8, qword [rsi + 0x20]
mov qword [rsp + 0x20], rdx
mov rax, qword [rcx]
mov rdx, qword [rsi + 0x18]
call qword [rax + 0x20]
mov edi, eax
test eax, eax
jne 0x140006b6c
mov rcx, qword [rbp + 0x1a0]
mov rdx, qword [rbp + 0x1a8]
mov rax, qword [rcx]
call qword [rax + 0x30]
jmp 0x140006b51
mov r8, qword [rsi + 0x38]
mov rdx, qword [rbp + 0x1a8]
mov rcx, qword [rbp + 0x1a0]
call qword [rsi + 0x30]
mov edi, eax
test eax, eax
jne 0x140006b57
mov rcx, qword [rbp + 0x1a0]
mov rdx, qword [rbp + 0x1a8]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
je 0x140006b22
mov rcx, qword [rbp + 0x1a0]
mov rdx, qword [rbp + 0x1a8]
mov r8, qword [rcx]
call qword [r8 + 0x60]
mov rcx, qword [rbp + 0x1a0]
cmp edi, 0x5012
cmovne ebx, edi
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, ebx
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000740c
Capabilities:
Create process on windows
Get common file path
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
lea rdx, [rbp + 0x20]
lea rcx, [0x14000f760]
call fcn.1400031d8
lea rdx, [rbp + 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rdx, [rsp + 0x50]
mov ebx, eax
lea rcx, [0x140010008]
call fcn.1400031d8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rbp + 0x80]
mov r8d, eax
lea rcx, [rcx + rbx*2]
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd r8, eax
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x80]
call fcn.140005e8c
xor edi, edi
test eax, eax
je 0x14000753b
lea ebx, [rdi + 0x68]
xor edx, edx
mov r8d, ebx
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x50]
mov dword [rbp - 0x70], ebx
lea rcx, [0x14000f310]
mov dword [rbp - 0x34], 1
mov word [rbp - 0x30], di
call fcn.1400031d8
lea r9, [0x14000b290]
lea r8, [rbp + 0x80]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x290]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rbp]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x290]
lea rax, [rbp - 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000753b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea r11, [rsp + 0x5a0]
xor eax, eax
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140007554
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov eax, dword [0x14000b6d8]
mov rsi, rdx
mov rbx, qword [rdx + 8]
mov rbp, rcx
test eax, eax
je 0x140007585
cmp rax, rbx
cmovl rbx, rax
xor edi, edi
test rbx, rbx
jle 0x140007654
lea r15, [rdx + 0x38]
mov r12d, 0x100000
mov rax, rbx
sub rax, rdi
cmp rax, r12
jle 0x1400075aa
mov r14, r12
jmp 0x1400075b0
mov r14d, ebx
sub r14d, edi
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400076a0
mov rcx, qword [rsi]
lea r9, [rsp + 0x68]
and qword [rsp + 0x20], 0
mov r8d, r14d
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000768a
mov r8d, dword [rsp + 0x68]
lea r9, [rsi + 0x18]
mov rdx, r15
mov qword [rsp + 0x20], r9
mov rcx, r15
call fcn.140001240
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400076a0
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x68]
mov rcx, qword [rsi]
mov rdx, r15
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140007674
lock xadd qword [0x14000b280], r14
add rdi, r12
cmp rdi, rbx
jl 0x14000759a
mov qword [rsi + 0x10], rbx
mov eax, 1
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lock inc dword [0x14000b268]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x14000ebb0]
jmp 0x1400076b4
lock inc dword [0x14000b264]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x140010ac0]
jmp 0x1400076b4
lock inc dword [0x14000b26c]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x14000dd30]
mov r8d, eax
mov r9, rbp
mov ecx, 1
call fcn.140006e5c
xor eax, eax
jmp 0x14000765d
Function at 0x1400076c8
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x170
mov eax, dword [0x140012198]
lea rdx, [0x14000b040]
mov dword [r11 - 0x13], eax
mov rbx, rcx
mov eax, dword [0x14000b6d8]
mov ecx, 2
mov byte [r11 - 0x14], 0x34
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x64]
lea r8d, [rcx + 0x7e]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rax + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
add rdx, r8
movups xmmword [rax + 0x60], xmm0
add rax, r8
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x140007704
lea r9, [0x14000b020]
lea r8d, [rcx + 0x20]
mov qword [rsp + 0x20], r9
lea rcx, [rsp + 0x44]
lea rdx, [rbx + 0x18]
call fcn.140001240
mov rcx, qword [rbx]
mov r9d, 2
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400077be
mov rcx, qword [rbx]
lea r9, [rsp + 0x180]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
mov r8d, 0x139
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400077be
cmp dword [rsp + 0x180], 0x139
jne 0x1400077be
mov eax, 1
jmp 0x1400077c0
xor eax, eax
add rsp, 0x170
pop rbx
ret

Function at 0x140007914
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
and dword [rdx + 0x20], 0
mov rbx, rdx
mov rdi, rcx
lea rdx, [rsp + 0x20]
lea rcx, [0x140010da0]
call fcn.1400031d8
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x140007a1e
lea rdx, [rsp + 0x20]
lea rcx, [0x14000d0a8]
call fcn.1400031d8
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x140007a1e
lea rdx, [rsp + 0x20]
lea rcx, [0x14000e6a0]
call fcn.1400031d8
mov r8d, dword [rbx + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.140004a70
cmp qword [rbx + 0x18], 0
lea rdx, [rsp + 0x20]
mov qword [rbx], rax
je 0x1400079d3
lea rcx, [0x14000f610]
call fcn.1400031d8
mov r9, qword [0x14000b6a8]
lea rcx, [rsp + 0x20]
mov r8d, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x18]
call fcn.140004a70
jmp 0x1400079f3
lea rcx, [0x140010bf0]
call fcn.1400031d8
mov r8, qword [0x14000b6a8]
lea rcx, [rsp + 0x20]
mov rdx, qword [rbx]
call fcn.140004a70
mov qword [rbx + 8], rax
lea rcx, [0x14000b290]
mov rdx, qword [rbx]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [rbx + 0x20], eax
test eax, eax
je 0x140007a15
xor eax, eax
jmp 0x140007a23
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x24], eax
mov eax, 1
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
Function at 0x140007acc
Capabilities:
Accept command line arguments
Get hostname
Get memory capacity
Get session user name
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov r14d, 3
lea rdx, [0x140010550]
mov ecx, r14d
call fcn.140006e5c
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r8d, dword [rsp + 0x60]
lea rdx, [0x140010298]
mov ecx, r14d
call fcn.140006e5c
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov r8, qword [rsp + 0x78]
lea rdx, [0x14000e958]
shr r8, 0x14
mov ecx, r14d
call fcn.140006e5c
mov ebx, 0x11c
lea rcx, [rbp - 0x50]
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x50], ebx
call qword [sym.imp.ntdll.dll_RtlGetVersion]
xor esi, esi
test eax, eax
jne 0x140007b8f
movzx eax, word [rbp + 0xc4]
lea rdx, [0x14000ec38]
mov r9d, dword [rbp - 0x48]
mov ecx, r14d
mov r8d, dword [rbp - 0x4c]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x44]
mov dword [rsp + 0x20], eax
call fcn.140006e5c
xor r9d, r9d
lea rdx, [rsp + 0x30]
lea r8d, [r9 + 0xc]
lea ecx, [r9 + 1]
call qword [sym.imp.ntdll.dll_RtlGetNativeSystemInformation]
test eax, eax
jne 0x140007bcb
cmp word [rsp + 0x30], 9
lea rdx, [0x14000d988]
mov eax, 0x40
mov ecx, r14d
lea r8d, [rax - 0x20]
cmove r8d, eax
call fcn.140006e5c
mov ebx, 0xfa
lea rdx, [rbp + 0x2f0]
lea rcx, [rbp + 0xd0]
mov dword [rbp + 0x2f0], ebx
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x140007c12
mov eax, dword [rbp + 0x2f0]
lea r8, [rbp + 0xd0]
lea rdx, [0x14000e7d0]
mov ecx, r14d
mov word [rbp + rax*2 + 0xd0], si
call fcn.140006e5c
lea rdx, [rbp + 0x2f0]
mov dword [rbp + 0x2f0], ebx
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x140007c54
mov eax, dword [rbp + 0x2f0]
lea r8, [rbp + 0xd0]
lea rdx, [0x14000e8f0]
mov ecx, r14d
mov word [rbp + rax*2 + 0xd0], si
call fcn.140006e5c
call fcn.140004f04
test eax, eax
lea rbx, [0x14000dfc0]
mov r8, rbx
lea rdi, [0x14000fab0]
cmovne r8, rdi
lea rdx, [0x14000e838]
mov ecx, r14d
call fcn.140006e5c
cmp dword [0x14000b168], esi
lea rdx, [0x14000d868]
mov ecx, r14d
cmovne rbx, rdi
mov r8, rbx
call fcn.140006e5c
call fcn.1400045a4
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [0x14000fea8]
mov ecx, r14d
mov r8, rax
call fcn.140006e5c
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140007cd0
Capabilities:
Connect network resource

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
mov rax, r8
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x38], rcx
mov r8, rdx
lea rcx, [rsp + 0x20]
mov r9d, 4
mov rdx, rax
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x40], xmm0
call sub.MPR.dll_WNetAddConnection2W
add rsp, 0x58
ret
Function at 0x140007d0c
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
xor r12d, r12d
mov r15, r9
mov qword [rbp + 0xf8], r12
mov rdi, r8
mov qword [rbp + 0xf0], r12
mov rbx, rdx
mov rsi, rcx
mov r14d, r12d
test rdx, rdx
je 0x140007d5e
movzx eax, word [rdx]
neg ax
sbb r9, r9
and rbx, r9
test rdi, rdi
je 0x140007d70
movzx eax, word [r8]
neg ax
sbb rcx, rcx
and rdi, rcx
test rsi, rsi
je 0x140007d81
movzx eax, word [rsi]
neg ax
sbb rcx, rcx
and rsi, rcx
xor edx, edx
lea rax, [rbp + 0xf8]
lea r9, [0x140009460]
mov qword [rsp + 0x20], rax
lea rcx, [0x140009450]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x140007f44
cmp qword [rbp + 0xf8], r12
je 0x140007f3f
lea rdx, [rbp - 0x80]
test rsi, rsi
je 0x140007df4
lea rcx, [0x14000e668]
call fcn.1400031d8
mov r8, rsi
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rbp + 0xf0]
mov qword [rsp + 0x40], rdx
lea rdx, [rbp - 0x40]
jmp 0x140007e10
lea rcx, [0x1400103e8]
call fcn.1400031d8
lea rdx, [rbp + 0xf0]
mov qword [rsp + 0x40], rdx
lea rdx, [rbp - 0x80]
mov rcx, qword [rbp + 0xf8]
mov r9, rdi
mov qword [rsp + 0x38], r12
mov r8, rbx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov rax, qword [rcx]
mov qword [rsp + 0x20], r12
call qword [rax + 0x18]
mov rcx, qword [rbp + 0xf8]
mov esi, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
test esi, esi
je 0x140007e51
mov eax, esi
jmp 0x140007f44
mov rcx, qword [rbp + 0xf0]
test rcx, rcx
je 0x140007f3f
test rbx, rbx
je 0x140007ef6
xorps xmm0, xmm0
mov rcx, rdi
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x7c], 2
mov qword [rsp + 0x70], rdi
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [0x14000d5b4]
mov rcx, rbx
mov dword [rsp + 0x78], eax
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x140007ece
mov rcx, rax
mov qword [rsp + 0x60], rbx
sub rcx, rbx
sar rcx, 1
mov dword [rsp + 0x68], ecx
lea rcx, [rax + 2]
mov qword [rsp + 0x50], rcx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x140007ee6
mov rcx, rbx
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], r12d
mov rcx, qword [rbp + 0xf0]
lea r14, [rsp + 0x50]
mov dword [rsp + 0x58], eax
mov eax, 3
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov dword [rsp + 0x20], eax
lea edx, [rax + 7]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
je 0x140007f31
mov rcx, qword [rbp + 0xf0]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
jmp 0x140007f3b
mov rax, qword [rbp + 0xf0]
mov qword [r15], rax
mov eax, ebx
jmp 0x140007f44
mov eax, 0x80004003
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140008220
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14000b1ec]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
jne 0x140008275
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rdi + 8]
mov r8d, 0x110051
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x140008284
mov ecx, dword [0x14000b1ec]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rdx, rsi
mov rcx, rdi
call fcn.1400066f8
test eax, eax
jne 0x140008288
xor eax, eax
jmp 0x1400082cc
and qword [rdi + 0x100040], 0
lea rbx, [rdi + 0x10004c]
mov rcx, rbx
mov byte [rdi + 0x100038], 1
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x14000b16c]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rdi + 0x100048], eax
mov rax, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140008430
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xe0
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14000b1ec], eax
cmp eax, 0xffffffff
jne 0x14000846f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x14000df00]
mov r8d, eax
mov ecx, 3
call fcn.140006e5c
xor eax, eax
jmp 0x140008568
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rdx, [rsp + 0x20]
lea rcx, [0x140010a68]
call fcn.1400031d8
lea rcx, [rsp + 0x20]
call fcn.140008880
lea rdx, [rsp + 0x20]
lea rcx, [0x14000df58]
call fcn.1400031d8
lea rcx, [rsp + 0x20]
call fcn.140008880
call fcn.140007f60
mov edi, 0xa
lea rbx, [0x14000b020]
mov rcx, rbx
call fcn.140004168
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rdi, 1
jne 0x1400084c1
mov edi, 0x20
mov ecx, edi
mov al, byte [rbx]
mov byte [rbx + 0x20], al
inc rbx
sub rcx, 1
jne 0x1400084e1
call fcn.140003f8c
mov r8d, edi
lea rdx, [0x14000b040]
lea rcx, [0x140012084]
call fcn.14000860c
test eax, eax
jne 0x140008520
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x14000d470]
jmp 0x14000845b
call fcn.1400062bc
lea rdx, [rsp + 0x60]
lea rcx, [0x14000eb40]
call fcn.1400031d8
lea rdx, [rsp + 0x60]
lea rcx, [0x14000b16c]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x60]
lea rcx, [0x14000eb40]
call fcn.1400031d8
lea rcx, [rsp + 0x60]
call fcn.14000857c
mov eax, 1
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret