joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006500
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov bl, 1
xor r12d, r12d
mov byte [rsp + 0x90], bl
mov r13d, r12d
mov r14, rcx
nop word [rax + rax]
cmp r13d, dword [r14 + 0x48]
jae 0x14000672b
mov eax, r13d
mov ebp, r12d
imul r15, rax, 0x3b0
mov rax, qword [r14 + 0x50]
cmp dword [r15 + rax + 0x248], 0
jbe 0x1400066ef
nop word [rax + rax]
mov r12, qword [0x140089e58]
lea rsi, [r15 + rax]
mov eax, ebp
mov ecx, 0xb8
imul rdi, rax, 0x230
add rdi, qword [rsi + 0x340]
call fcn.140015aa0
mov rbx, rax
test rax, rax
je 0x1400066df
xor eax, eax
xor edx, edx
mov r8d, 0xb8
mov qword [rbx + 0x70], rax
mov rcx, rbx
mov dword [rbx + 0x78], eax
call fcn.140016d00
mov eax, dword [rsp + 0x88]
lea r8, [0x140004d50]
mov qword [rbx + 0x10], r12
mov r9, rbx
xor r12d, r12d
mov qword [rbx + 0x28], rdi
mov dword [rbx + 0x3c], r12d
xor ecx, ecx
mov byte [rbx + 0x60], r12b
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x18], r14
lea edx, [r12 + 8]
mov dword [rbx + 0x38], eax
movups xmm0, xmmword [r14 + 0x6750]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
movups xmmword [rbx + 0x82], xmm0
movups xmm0, xmmword [r14 + 0x6760]
movups xmmword [rbx + 0xa2], xmm0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x50], rax
test rax, rax
je 0x1400066d0
test rdi, rdi
je 0x14000666d
cmp qword [rdi + 0x1c8], r12
jne 0x140006646
mov qword [rdi + 0x1c0], rbx
mov qword [rdi + 0x1c8], rbx
mov qword [rbx], r12
mov qword [rbx + 8], r12
inc dword [rdi + 0x1d0]
jmp 0x1400066b2
mov qword [rbx], r12
mov rax, qword [rdi + 0x1c8]
mov qword [rbx + 8], rax
mov rax, qword [rdi + 0x1c8]
mov qword [rax], rbx
inc dword [rdi + 0x1d0]
mov qword [rdi + 0x1c8], rbx
jmp 0x1400066b2
cmp qword [rsi + 0x3a0], r12
jne 0x14000668d
mov qword [rsi + 0x398], rbx
mov qword [rsi + 0x3a0], rbx
mov qword [rbx], r12
mov qword [rbx + 8], r12
jmp 0x1400066ac
mov qword [rbx], r12
mov rax, qword [rsi + 0x3a0]
mov qword [rbx + 8], rax
mov rax, qword [rsi + 0x3a0]
mov qword [rax], rbx
mov qword [rsi + 0x3a0], rbx
inc dword [rsi + 0x3a8]
mov rax, qword [r14 + 0x50]
inc ebp
cmp ebp, dword [r15 + rax + 0x248]
jb 0x140006560
movzx ebx, byte [rsp + 0x90]
jmp 0x1400066ef
mov edx, 0xb8
mov rcx, rbx
call fcn.140015adc
jmp 0x1400066e2
xor r12d, r12d
mov rax, qword [r14 + 0x50]
xor bl, bl
mov byte [rsp + 0x90], bl
mov rcx, qword [0x140089e58]
lea rdx, [r15 + rax]
mov r9d, dword [rsp + 0x88]
xor r8d, r8d
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x28], rcx
mov rcx, r14
mov dword [rsp + 0x20], r12d
call fcn.140005d00
test al, al
je 0x140006746
inc r13d
test bl, bl
jne 0x140006530
movzx eax, bl
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor al, al
jmp 0x14000672e
Function at 0x140006810
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ebx, edx
lea rcx, str.NotifyAmdlogState_Enter_n
call fcn.14000d440
sub ebx, 1
je 0x1400068ab
sub ebx, 1
je 0x140006895
sub ebx, 1
je 0x1400068ab
cmp ebx, 1
jne 0x140006924
lea rcx, str.NotifyAmdlogState_Driver_SystemChange_is_called_n
call fcn.14000d440
mov rcx, qword [rdi + 0x6740]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call fcn.140007b20
mov rcx, qword [0x140089e48]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
cmp qword [0x140089e58], 0
jne 0x140006888
mov rcx, rdi
call fcn.1400079b0
mov rcx, rdi
call fcn.1400083f0
jmp 0x140006917
mov rcx, rdi
call fcn.1400079b0
lea rcx, str.NotifyAmdlogState_Driver_Loaded_n
call fcn.14000d440
jmp 0x140006924
lea rcx, str.NotifyAmdlogState_Driver_Unload_Or_End_is_called_n
call fcn.14000d440
mov rcx, qword [rdi + 0x6740]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call fcn.140007b20
mov rcx, qword [0x140089e58]
test rcx, rcx
je 0x14000690a
mov r8, qword [0x140089e38]
xor r9d, r9d
mov rdx, qword [rdi + 0x6748]
call sym.amdfendrsr.exe_amdlogumlib_register_systemchangeevent2
mov rcx, qword [0x140089e58]
call sym.amdfendrsr.exe_close_amdlog_umlib
mov qword [0x140089e58], 0
mov rcx, qword [0x140089e38]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rdi + 0x6740]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea rcx, str.NotifyAmdlogState_exit_n
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14000d440
Function at 0x14000ba30
Capabilities:
Compress data via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
push rbx
push rdi
push r15
sub rsp, 0x80
mov rdi, rcx
xor r15b, r15b
xor ecx, ecx
mov ebx, 0x200
mov dword [rax + 8], ecx
mov r11d, ebx
mov dword [rax - 0x58], ecx
mov r10d, dword [rdi + 4]
sub r10d, 1
je 0x14000ba78
cmp r10d, 1
jne 0x14000ba7b
mov r11d, pe_nt_image_headers64
jmp 0x14000ba7b
mov r11d, ecx
mov ecx, dword [rdi]
mov qword [rsp + 0x70], rsi
sub ecx, 1
je 0x14000baa1
sub ecx, 1
je 0x14000ba9a
cmp ecx, 1
jne 0x14000bc10
lea esi, [rcx + 3]
jmp 0x14000baa6
mov esi, 3
jmp 0x14000baa6
mov esi, 2
cmp r11d, ebx
je 0x14000bc10
test rdx, rdx
je 0x14000bc10
test r8d, r8d
je 0x14000bc10
test r9, r9
je 0x14000bc10
mov qword [rsp + 0x68], r12
mov r12d, dword [rsp + 0xc0]
test r12d, r12d
je 0x14000bc0b
mov qword [rsp + 0x60], r13
mov r13, qword [rsp + 0xc8]
test r13, r13
je 0x14000bc06
lea rcx, str.ntdll.dll
mov qword [rsp + 0x78], rbp
or si, r11w
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
test rax, rax
je 0x14000bc01
lea rdx, str.RtlGetCompressionWorkSpaceSize
mov qword [rsp + 0x58], r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.RtlCompressBuffer
mov rcx, rbp
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
test r14, r14
je 0x14000bbfc
test rax, rax
je 0x14000bbfc
lea r8, [rsp + 0x40]
movzx ecx, si
lea rdx, [rsp + 0xa0]
call r14
test eax, eax
jne 0x14000bbfc
mov eax, dword [rsp + 0xa0]
test eax, eax
je 0x14000bbfc
mov ecx, eax
call fcn.140015b1c
mov rbp, rax
test rax, rax
je 0x14000bbfc
mov edx, dword [rdi + 8]
sub edx, 1
je 0x14000bbb1
sub edx, 1
je 0x14000bbac
sub edx, 1
je 0x14000bba5
mov ebx, 0x1000
jmp 0x14000bbb1
mov ebx, 0x800
jmp 0x14000bbb1
mov ebx, 0x400
mov r9, qword [rsp + 0xb8]
movzx ecx, si
mov r8d, dword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r12d
call qword [rsp + reloc.ODBC32.dll_SQLBindParameter]
mov rcx, rbp
mov ebx, eax
call fcn.140015b24
test ebx, ebx
movzx r15d, r15b
mov eax, 1
cmove r15d, eax
mov r14, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x78]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
movzx eax, r15b
add rsp, 0x80
pop r15
pop rdi
pop rbx
ret
Function at 0x14000bc30
Capabilities:
Compress data via winapi

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rsi, r9
mov ebp, r8d
mov r14, rdx
mov edi, 0xffffffff
cmp ecx, 1
jne 0x14000bcbd
lea rcx, str.ntdll.dll
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x14000bcb8
lea rdx, str.RtlDecompressBuffer
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
test rax, rax
je 0x14000bcaf
mov rax, qword [rsp + 0x68]
mov r9, rsi
mov qword [rsp + 0x28], rax
mov r8d, ebp
mov eax, dword [rsp + 0x60]
mov rdx, r14
mov ecx, 2
mov dword [rsp + 0x20], eax
call r10
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
test edi, edi
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
sete al
add rsp, 0x30
pop r14
ret
Function at 0x14000bcf0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xa0
xor edi, edi
movzx ebp, r8b
mov qword [rcx], rdi
mov esi, edx
mov qword [rcx + 8], rdi
mov r14, rcx
add rcx, 0x10
xor edx, edx
mov r8d, pe_nt_image_headers64
mov r15d, r9d
call fcn.140016d00
mov qword [r14 + 0x110], rdi
mov qword [r14 + 0x118], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
xorps xmm0, xmm0
lea rcx, [rsp + 0x60]
mov qword [r14 + 0x110], rax
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rdx, [0x140089010]
mov eax, edi
mov rcx, rdx
nop dword [rax + rax]
cmp esi, dword [rcx]
je 0x14000bd81
inc eax
add rcx, 0xc
cmp eax, 0xa
jb 0x14000bd70
jmp 0x14000bd8a
lea rcx, [rax + rax*2]
mov rdi, qword [rdx + rcx*4 + 4]
xorps xmm0, xmm0
lea rcx, [rsp + 0x70]
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x90], rax
dec rcx
movups xmmword [rsp + 0x80], xmm0
nop dword [rax]
cmp byte [rcx + 1], al
lea rcx, [rcx + 1]
jne 0x14000bdb0
mov eax, dword [0x140072390]
lea rdx, [r14 + 0x10]
movsd xmm0, qword [str._SystemRoot_]
mov r8d, pe_nt_image_headers64
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, byte [0x140072394]
mov byte [rcx + 0xc], al
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea rcx, [r14 + 0xf]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14000bdf1
movups xmm0, xmmword [str.System32AMDReal_]
movups xmmword [rcx], xmm0
mov eax, dword [0x140072b68]
mov dword [rcx + 0x10], eax
test bpl, bpl
je 0x14000be32
lea rcx, [r14 + 0xf]
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14000be20
mov eax, dword [0x140072b6c]
mov dword [rcx], eax
lea rcx, [r14 + 0xf]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14000be36
movzx eax, word [0x140072b70]
mov word [rcx], ax
movzx eax, byte [0x140072b72]
mov byte [rcx + 2], al
lea rcx, [r14 + 0xf]
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14000be60
xor edx, edx
nop dword [rax]
movzx eax, byte [rdi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14000be70
lea rcx, [r14 + 0xf]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14000be83
movzx eax, word [0x140072b74]
movzx edx, word [rsp + 0x6e]
movzx r8d, word [rsp + 0x6c]
movzx r9d, word [rsp + 0x6a]
movzx r10d, word [rsp + 0x68]
movzx r11d, word [rsp + 0x66]
movzx edi, word [rsp + 0x62]
movzx esi, word [rsp + 0x60]
mov word [rcx], ax
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r14 + rax + 0x10], 0
jne 0x14000bec5
mov dword [rsp + 0x50], edx
lea rcx, [r14 + 0x10]
mov dword [rsp + 0x48], r8d
lea rdx, str.grp__d_cat__d__d__d__d__d__d__d__d.log
mov dword [rsp + 0x40], r9d
mov r8d, r15d
mov r9d, dword [rsp + 0xe0]
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r11d
mov eax, eax
mov dword [rsp + 0x28], edi
add rcx, rax
mov dword [rsp + 0x20], esi
call fcn.140008f10
lea r11, [rsp + 0xa0]
mov rax, r14
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
Function at 0x14000c800
Capabilities:
Get session information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov dil, 1
xor esi, esi
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov ebx, eax
inc eax
test eax, 0xfffffffe
jne 0x14000c832
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000c814
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rsi
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 8
mov edx, ebx
xor ecx, ecx
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x14000c879
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rdx]
test ecx, ecx
je 0x14000c86e
cmp ecx, 1
je 0x14000c86e
mov dil, 1
jmp 0x14000c871
xor dil, dil
mov rcx, rdx
call sub.WTSAPI32.dll_WTSFreeMemory
test dil, dil
je 0x14000c88b
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000c814
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14000cab0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp dword [0x140089e34], 0
je case.default.0x14000cae4
xor eax, eax
movsxd r9, ecx
mov qword [rsp + 0x28], rax
lea r8, [0x14000c220]
xor ecx, ecx
mov dword [rsp + 0x20], eax
lea edx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
add rsp, 0x38
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x38
ret

Function at 0x14000ce80
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x14000cec0]
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
lea r9d, [rax + 1]
lea edx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
add rsp, 0x38
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]

Function at 0x14000d440
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x250
cmp byte [0x14008a089], 0
mov rbx, rcx
je 0x14000d4db
mov qword [rax - 0x10], rdi
lea rcx, [rsp + 0x40]
xor edx, edx
lea rdi, [rax + 0x10]
mov r8d, 0x200
call fcn.140016d00
call fcn.140008de0
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rbx
mov ebx, 0x1ff
mov rcx, qword [rax]
mov r9d, ebx
lea r8d, [rbx + 1]
call fcn.1400480e0
test eax, eax
mov ecx, 0xffffffff
cmovs eax, ecx
cmp eax, ecx
lea rcx, [rsp + 0x40]
cmove eax, ebx
cdqe
mov byte [rsp + rax + 0x40], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdi, qword [rsp + 0x248]
add rsp, 0x250
pop rbx
ret
Function at 0x14000d870
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rbx, r8
mov qword [rsp + 0x68], 0
mov r15, rdx
mov dword [rsp + 0x70], 0
mov rsi, rcx
xorps xmm0, xmm0
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8d, 0x338
mov r14d, r9d
movdqu xmmword [rsp + 0x58], xmm0
xor dil, dil
call fcn.140016d00
cmp rsi, 0xffffffffffffffff
je 0x14000da34
xor eax, eax
mov qword [rsp + 0x38], 0
test rbx, rbx
mov qword [rsp + 0x44], r15
mov r9d, 0x34
mov qword [rsp + 0x4c], rbx
setne al
mov dword [rsp + 0x54], r14d
add eax, 5
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], eax
mov edx, 0xdc7fe404
lea rax, [rbp + 0x370]
mov rcx, rsi
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], 0x338
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, 1
sete dil
jne 0x14000da34
cmp dword [rbp + 0x10], 0
jne 0x14000da34
mov rbx, qword [rbp + 0x390]
lea rdx, str.System32AMD
movups xmm0, xmmword [rbp + 0x14]
mov rcx, rbx
movups xmm1, xmmword [rbp + 0x24]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rbp + 0x34]
movups xmmword [rbx + 0x10], xmm1
movups xmm1, xmmword [rbp + 0x44]
movups xmmword [rbx + 0x20], xmm0
movups xmm0, xmmword [rbp + 0x54]
movups xmmword [rbx + 0x30], xmm1
movups xmm1, xmmword [rbp + 0x64]
movups xmmword [rbx + 0x40], xmm0
movups xmm0, xmmword [rbp + 0x74]
movups xmmword [rbx + 0x50], xmm1
movups xmm1, xmmword [rbp + 0x84]
movups xmmword [rbx + 0x60], xmm0
movups xmmword [rbx + 0x70], xmm1
mov eax, dword [0x140072390]
movsd xmm0, qword [str._SystemRoot_]
mov dword [rbp - 0x78], eax
movzx eax, byte [0x140072394]
mov byte [rbp - 0x74], al
xor eax, eax
movsd qword [rbp - 0x80], xmm0
xorps xmm0, xmm0
mov dword [rbp - 3], eax
movups xmmword [rbp - 0x73], xmm0
movups xmmword [rbp - 0x63], xmm0
movups xmmword [rbp - 0x53], xmm0
movups xmmword [rbp - 0x43], xmm0
movups xmmword [rbp - 0x33], xmm0
movups xmmword [rbp - 0x23], xmm0
movups xmmword [rbp - 0x13], xmm0
call fcn.140016e90
mov r9, rax
test rax, rax
je 0x14000da34
lea rcx, [rbp - 0x80]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14000d9f6
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + r8]
mov byte [rcx + r8], al
lea r8, [r8 + 1]
test al, al
jne 0x14000da10
mov r8d, 0x80
lea rcx, [rbp - 0x80]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea r11, [rsp + 0x450]
test dil, dil
mov rbx, qword [r11 + 0x28]
mov eax, 8
cmovne eax, dword [rbp + 0x10]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000dad0
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0xb0
mov eax, dword [0x140072390]
lea rdx, str.System32AMD
movsd xmm0, qword [str._SystemRoot_]
mov rbx, rcx
mov dword [rsp + 0x28], eax
movzx eax, byte [0x140072394]
mov byte [rsp + 0x2c], al
xor eax, eax
movsd qword [rsp + 0x20], xmm0
xorps xmm0, xmm0
mov dword [rsp + 0x9d], eax
movups xmmword [rsp + 0x2d], xmm0
movups xmmword [rsp + 0x3d], xmm0
movups xmmword [rsp + 0x4d], xmm0
movups xmmword [rsp + 0x5d], xmm0
movups xmmword [rsp + 0x6d], xmm0
movups xmmword [rsp + 0x7d], xmm0
movups xmmword [rsp + 0x8d], xmm0
call fcn.140016e90
mov r8, rax
test rax, rax
je 0x14000db84
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14000db50
xor edx, edx
nop dword [rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14000db60
mov r8d, 0x80
lea rcx, [rsp + 0x20]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
add rsp, 0xb0
pop rbx
ret
Function at 0x140010e30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov r12, r8
mov rsi, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x334
lea rcx, [rbp - 0x40]
mov r15, r9
call fcn.140016d00
xor r13d, r13d
mov ebx, r13d
cmp dword [rdi + 0x160], ebx
jbe 0x140011040
mov qword [rsp + 0x430], r14
nop dword [rax + rax]
mov rcx, qword [rdi]
lea r8, [rbp - 0x40]
mov r14d, ebx
mov rdx, qword [rdi + r14*8 + 0x60]
call sym.amdfendrsr.exe_amdlogumlib_get_driver_info
mov rdx, qword [rsi]
movsxd rax, dword [rbp - 0x40]
movzx ecx, dl
cmp rax, rcx
jne 0x140010ec2
shr rdx, 8
movzx eax, dl
cmp dword [rbp + 0x1cc], eax
je 0x140010ed0
inc ebx
cmp ebx, dword [rdi + 0x160]
jb 0x140010e90
xor al, al
jmp 0x140010ee7
mov rax, qword [rdi + r14*8 + 0x60]
mov qword [r12], rax
mov eax, dword [rsi]
bt rax, 0x18
jae 0x140010f0b
mov qword [r15], r13
mov al, 1
mov r14, qword [rsp + 0x430]
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
mov ebx, r13d
cmp dword [rbp + 0x200], ebx
jbe 0x140010ecc
nop word [rax + rax]
mov rdx, qword [r12]
lea r9, [rsp + 0x20]
mov rcx, qword [rdi]
xorps xmm0, xmm0
xor eax, eax
mov r14d, ebx
movups xmmword [rsp + 0x20], xmm0
mov qword [rbp - 0x50], rax
movups xmmword [rsp + 0x30], xmm0
mov r8, qword [rbp + r14*8 + 0x204]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
call sym.amdfendrsr.exe_amdlogumlib_get_device_info2
test eax, eax
je 0x140010f8c
mov r8, qword [rbp + r14*8 + 0x204]
lea r9, [rsp + 0x20]
mov rdx, qword [r12]
mov rcx, qword [rdi]
call sym.amdfendrsr.exe_amdlogumlib_get_device_info
mov eax, dword [rsp + 0x3c]
mov qword [r15], r13
movzx ecx, byte [rsi + 2]
cmp eax, 0xff
ja 0x140010fa2
cmp eax, ecx
jmp 0x140010fb5
movzx eax, al
cmp eax, ecx
jne 0x140010fb7
mov eax, dword [rsi]
shr rax, 0x19
xor al, byte [rsp + 0x44]
test al, 0x7f
je 0x140010fcc
inc ebx
cmp ebx, dword [rbp + 0x200]
jb 0x140010f20
xor al, al
jmp 0x140010ee7
mov rax, qword [rbp + 0x350]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + 0x30], xmm1
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rax + 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x80]
movups xmmword [rax + 0x50], xmm1
movaps xmm1, xmmword [rbp - 0x70]
movups xmmword [rax + 0x60], xmm0
movaps xmm0, xmmword [rbp - 0x60]
movups xmmword [rax + 0x70], xmm1
movsd xmm1, qword [rbp - 0x50]
movups xmmword [rax + 0x80], xmm0
movsd qword [rax + 0x90], xmm1
mov rax, qword [rbp + r14*8 + 0x204]
mov qword [r15], rax
jmp 0x140010ee5
xor al, al
jmp 0x140010eef
Function at 0x140011450
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
add rcx, 0x178
jmp 0x140011450
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
xorps xmm0, xmm0
xorps xmm1, xmm1
xor esi, esi
mov rax, r8
mov r14d, edx
mov rbx, rcx
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
test r8, r8
je 0x1400114f6
test r9d, r9d
je 0x1400114f6
mov r8d, r9d
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.140017350
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x14001151b
lea eax, [rsi + 0xa]
jmp 0x1400115cf
movups xmm0, xmmword [str.SystemRootSystem32AMD]
movzx eax, byte [0x140073430]
movsd xmm1, qword [0x140073428]
movaps xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
mov byte [rsp + 0x48], al
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x300], rdi
call fcn.14000dad0
lea r9, [rsp + 0x30]
mov edx, 0x80
lea r8, str._s.log
lea rcx, [rbp - 0x50]
call fcn.140011e40
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400115c5
lea rax, [rbp + 0xdc]
mov edx, 0x80
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rbp + 0x30]
call fcn.140011e40
mov r8d, r14d
lea rdx, [rbp + 0x30]
mov rcx, rbx
call fcn.140011600
mov esi, eax
test eax, eax
je 0x1400115a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0xf8], eax
lea rdx, [rbp + 0xb0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140011561
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdi, qword [rsp + 0x300]
mov eax, esi
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret