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

Disassembly:
sub rsp, 0x28
call sym.realloc
test rax, rax
je 0x140047383
add rsp, 0x28
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x1c
mov edx, 1
lea rcx, str.____out_of_memory__aborting_n
mov r9, rax
call sym.fwrite
call sym.abort
nop
nop

Function at 0x1400473b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
test rax, rax
jne 0x1400473c8
test rbx, rbx
jne 0x1400473ce
add rsp, 0x20
pop rbx
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x1c
mov edx, 1
lea rcx, str.____out_of_memory__aborting_n
mov r9, rax
call sym.fwrite
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x140047c60
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x140048932
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140183488]
test eax, eax
je 0x1400489ca
lea rax, [0x140183460]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140183490]
mov qword [rbp - 8], rax
jmp 0x1400489ae
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 0x1400489a2
cmp qword [rbp - 0x10], 0
je 0x1400489a2
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 0x140048968
lea rax, [0x140183460]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400489cb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140048ad0
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 0x140048af8
mov eax, 0
jmp 0x140048b46
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 0x140048b21
mov eax, 0
jmp 0x140048b46
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 0x140048b41
mov eax, 0
jmp 0x140048b46
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140048b4c
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 0x140048bca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140048bc1
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 0x140048bc1
mov rax, qword [rbp - 8]
jmp 0x140048bdf
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 0x140048b94
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140008280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400082b3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400082f6
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x1400082f1
cmp rbx, r11
jae 0x1400082f6
dec edi
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x1400082e0
cmp rbx, r11
jb 0x1400082fa
xor eax, eax
jmp 0x140008306
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140008410
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x278], rbx
mov rax, qword [0x14003d880]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
lea rcx, [0x14003e798]
mov rax, qword [0x14003e798]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rdx, str.AutoItX3.dll
test rdx, 0xffffffffffff0000
jne 0x14000848a
movzx ebx, dx
mov ecx, ebx
call fcn.140008320
test rax, rax
je 0x14000849b
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14000c2f0
jmp 0x14000849b
mov r8d, 0xc
lea rcx, [rsp + 0x20]
call fcn.14000c420
nop
call fcn.14000ecf0
test eax, eax
je 0x1400084bb
mov r8d, 0x10
lea rdx, str.AutoItX3_x64.dll
lea rcx, [rsp + 0x20]
call fcn.14000c420
xor eax, eax
mov word [rsp + 0x40], ax
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.14001b8e0
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.14000a250
mov rdx, qword [rax]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140008526
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000853a
jmp 0x1400085f1
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rdi + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi + 0x20]
test rcx, rcx
jne 0x14000855d
jmp 0x1400085f1
lea rdx, str.AU3_ControlClick
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi], rax
lea rdx, str.AU3_ControlCommand
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 8], rax
lea rdx, str.AU3_WinWait
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x10], rax
lea rdx, str.AU3_WinActivate
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x18], rax
cmp qword [rdi], 0
je 0x1400085f1
cmp qword [rdi + 8], 0
je 0x1400085f1
cmp qword [rdi + 0x10], 0
je 0x1400085f1
test rax, rax
je 0x1400085f1
mov dword [rdi + 0x28], 1
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x1400085ea
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, 1
jmp 0x140008610
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14000860e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140014a20
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x1400097f0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov r12, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], 0
jne 0x140009839
mov rdx, qword [rdx]
sub rdx, 0x18
or edi, 0xffffffff
lock xadd dword [rdx + 0x10], edi
dec edi
test edi, edi
jg 0x140009832
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x140009a54
lea rcx, [0x14003e798]
mov rax, qword [0x14003e798]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xb0], rax
lea r9, str.click_events.json
mov r8, qword [r12]
lea rdx, [0x140034d90]
lea rcx, [rsp + 0xb0]
call fcn.14000cb70
mov rbx, qword [rsp + 0xb0]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400098b5
lea rdx, [rbx - 0x18]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400098a8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [r12]
sub rdx, 0x18
jmp 0x14000981e
lea rcx, [0x14003e798]
mov rax, qword [0x14003e798]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0xa0], rdi
test rbx, rbx
je 0x140009904
test rbx, 0xffffffffffff0000
jne 0x140009904
movzx ebx, bx
mov ecx, ebx
call fcn.140008320
test rax, rax
je 0x14000991c
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14000c1b0
jmp 0x140009914
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.14000b310
mov rdi, qword [rsp + 0xa0]
mov rcx, rdi
call fcn.140009560
mov rbx, rax
lea rdx, [rdi - 0x18]
or edi, 0xffffffff
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140009945
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov ecx, 0xf8
call fcn.140015020
test rax, rax
je 0x140009a1c
mov qword [rsp + 0x28], rax
mov qword [rax], rax
mov qword [rax + 8], rax
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140008990
mov rcx, rbx
call fcn.140014c70
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x58]
call fcn.14000a460
mov rdx, rax
mov rcx, rsi
call fcn.140009a60
nop
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rbp]
mov qword [rbp], rbp
mov qword [rbp + 8], rbp
cmp rsi, rbp
je 0x1400099cd
mov rbx, qword [rsi]
lea rcx, [rsi + 0x10]
call fcn.140009480
mov rcx, rsi
call fcn.140014c70
mov rsi, rbx
cmp rbx, rbp
jne 0x1400099b1
mov rcx, rbp
call fcn.140014c70
nop
mov rdx, qword [rsp + 0xb0]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400099f9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [r12]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
dec edi
test edi, edi
jg 0x140009a15
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, 1
jmp 0x140009a54
mov qword [rsp + 0xb8], rbp
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x40]
call fcn.140014b34
lea r11, vtable.std::bad_alloc.0
mov qword [rsp + 0x40], r11
lea rdx, [0x14003b970]
lea rcx, [rsp + 0x40]
call fcn.140019a98
nop
add rsp, 0x70
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000d0c0
Capabilities:
Check if file exists
Print debug messages

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, rdx
cmp ecx, 4
jge 0x14000d0eb
xor eax, eax
jmp 0x14000d215
mov rsi, qword [rdx + 8]
mov rbx, qword [rdx + 0x10]
lea rdx, str.mobogenie
mov rcx, qword [rax + 0x18]
call fcn.140017db8
test eax, eax
jne 0x14000d0e4
lea rcx, [0x14003e798]
mov rax, qword [0x14003e798]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rcx, [0x14003e798]
mov rax, qword [0x14003e798]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rcx, [0x14003e798]
mov rax, qword [0x14003e798]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
xor edi, edi
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x70], edi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rcx, [rsp + 0x48]
call fcn.140008410
nop
lea rcx, str.Begin_InstallDriver_Driver
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000d19f
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14000d7b0
mov edi, eax
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000d1b5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000d1d7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000d1f6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14000d213
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, edi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000d7b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
xor ebx, ebx
mov qword [rsp + 0x30], rbp
mov rsi, rcx
mov rbp, r8
test rdx, rdx
jne 0x14000d7d0
mov ecx, ebx
jmp 0x14000d7ec
mov qword [rsp + 0x38], rdi
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasw ax, word [rdi]
mov rdi, qword [rsp + 0x38]
not rcx
dec rcx
mov r8d, ecx
mov rcx, rsi
call fcn.14000c420
lea rcx, str.Begin_Unzip_Driver_Files
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, rbp
mov rcx, rsi
call fcn.14000d880
mov rbp, qword [rsp + 0x30]
test eax, eax
jne 0x14000d826
or eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov rcx, rsi
call fcn.14000db30
sub eax, 3
je 0x14000d865
dec eax
je 0x14000d850
dec eax
jne 0x14000d86f
mov rcx, rsi
call fcn.14000e6a0
mov ebx, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov rcx, rsi
call fcn.14000e5d0
mov ebx, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov rcx, rsi
call fcn.14000de40
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x14000de40
Capabilities:
Print debug messages

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov rbp, rcx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor r12d, r12d
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 1]
mov r8, qword [rbp + 0x10]
mov rdx, qword [rbp]
xor ecx, ecx
call qword [sym.imp.newdev.dll_UpdateDriverForPlugAndPlayDevicesW]
test eax, eax
jne 0x14000dff0
or edi, 0xffffffff
nop word [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rcx, [0x14003e798]
mov rdx, qword [0x14003e798]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov r8d, esi
lea rdx, str.Driver_Error_Code___d
lea rcx, [rsp + 0x60]
call fcn.14000cb70
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, 0xe0000243
jne 0x14000defc
lea rcx, [0x140035040]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
jmp 0x14000df19
cmp esi, 0x103
je 0x14000dfbe
cmp esi, 2
jne 0x14000df7a
mov rcx, rbp
call fcn.14000e140
test eax, eax
je 0x14000df5b
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000df33
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rsp + 0x20], r12
mov r9d, 1
mov r8, qword [rbp + 0x10]
mov rdx, qword [rbp]
xor ecx, ecx
call qword [sym.imp.newdev.dll_UpdateDriverForPlugAndPlayDevicesW]
test eax, eax
je 0x14000dea0
jmp 0x14000dff0
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
dec edi
test edi, edi
jg 0x14000df73
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, 2
jmp 0x14000dff2
cmp esi, 0xe0000203
jne 0x14000dfd4
mov qword [rsp + 0x20], r12
mov r9d, 1
mov r8, qword [rbp + 0x10]
lea rdx, str.USBClass_ffSubClass_42
xor ecx, ecx
call qword [sym.imp.newdev.dll_UpdateDriverForPlugAndPlayDevicesW]
test eax, eax
je 0x14000dfcc
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
dec edi
test edi, edi
jg 0x14000dff0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14000dff0
mov rcx, rbp
call fcn.14000e010
test eax, eax
je 0x14000dfcc
jmp 0x14000dfa4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
dec edi
test edi, edi
jg 0x14000dfec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, esi
jmp 0x14000dff2
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x14000e5d0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x90
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x6c]
call fcn.14001b8e0
mov rax, qword [rbx + 0x10]
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x50], ecx
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x70
mov dword [rsp + 0x24], 0x40
mov qword [rsp + 0x38], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rbx + 8]
sub rcx, 0x18
call fcn.14000c510
lea rcx, [rbx + 0x18]
lea rdx, [rsp + 0xa0]
add rax, 0x18
mov qword [rsp + 0xa0], rax
call fcn.1400097f0
cmp dword [rsp + 0x58], 0x20
jle 0x14000e688
mov rcx, qword [rsp + 0x88]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000e67d
mov rcx, rbx
call fcn.14000e8a0
xor eax, eax
add rsp, 0x90
pop rbx
ret
mov eax, 1
add rsp, 0x90
pop rbx
ret

Function at 0x14000e6a0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rbx, rcx
mov ecx, 0x208
call fcn.140014708
xor edx, edx
mov r8d, 0x104
mov rcx, rax
mov rdi, rax
call fcn.14001b8e0
mov r8, qword [rbx + 0x10]
lea rdx, str.__i__s__qn
mov rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
xor edx, edx
lea rcx, [rsp + 0x24]
lea r8d, [rdx + 0x6c]
call fcn.14001b8e0
xor ecx, ecx
lea rax, str.msiexec.exe
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x70
mov dword [rsp + 0x24], 0x40
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x50], 5
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x14000e763
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call fcn.140014c78
mov eax, 1
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov rcx, qword [rsp + 0x88]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call fcn.140014c78
mov rbx, qword [rsp + 0xa0]
xor eax, eax
add rsp, 0x90
pop rdi
ret

Function at 0x14000ecf0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xor eax, eax
lea rcx, str.kernel32.dll
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x20]
test rax, rax
je 0x14000ed4d
call rax
xor eax, eax
cmp word [rsp + 0x20], 9
sete al
add rsp, 0x58
ret
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
cmp word [rsp + 0x20], 9
sete al
add rsp, 0x58
ret
Function at 0x140010b50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r11d, r8d
mov r10, rdx
mov r9d, ecx
test rdx, rdx
jne 0x140010b69
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rdi
not r9d
lea rdi, [0x1400345b0]
cmp r11d, 8
jb 0x140010c61
mov qword [rsp + 0x10], rbx
mov rbx, r11
shr rbx, 3
nop dword [rax]
movzx ecx, byte [r10]
mov eax, r9d
shr r9d, 8
xor rcx, rax
add r10, 8
add r11d, 0xfffffff8
movzx eax, cl
movzx ecx, byte [r10 - 7]
mov edx, dword [rdi + rax*4]
xor edx, r9d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 6]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 5]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 4]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 3]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 2]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 1]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov r9d, dword [rdi + rax*4]
xor r9d, edx
dec rbx
jne 0x140010b90
mov rbx, qword [rsp + 0x10]
test r11d, r11d
je 0x140010c8f
nop word [rax + rax]
movzx ecx, byte [r10]
mov eax, r9d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r9d, dword [rdi + rdx*4]
xor r9d, eax
dec r11d
jne 0x140010c70
mov rdi, qword [rsp]
not r9d
mov eax, r9d
add rsp, 8
ret

Function at 0x140011570
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rdi, r9
mov rbp, rdx
mov r10, rcx
imul esi, edx
cmp byte [r9], 0
je 0x1400115c0
mov rdx, rcx
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x48]
mov r8d, esi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400115ba
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
jmp 0x1400115f1
mov edx, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
mov qword [rsp + 0x40], rbx
lea eax, [rdx + rsi]
cmp eax, ecx
jbe 0x1400115d8
sub ecx, edx
mov esi, ecx
add rdx, qword [r9 + 0x20]
mov r8d, esi
mov rcx, r10
call fcn.140014c90
add dword [rdi + 0x2c], esi
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x58]
xor edx, edx
div rbp
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140011610
Capabilities:
Read file on windows

Disassembly:
push rbx
push r12
sub rsp, 0x38
cmp byte [rcx], 0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x30], rdi
mov edi, 1
mov r12, rdx
mov rbx, rcx
je 0x140011660
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14001165a
mov byte [rbx + 0x10], dil
mov esi, dword [rsp + 0x60]
jmp 0x14001169a
mov qword [rsp + 0x58], rbp
mov ebp, dword [rcx + 0x2c]
mov ecx, dword [rcx + 0x28]
lea eax, [rbp + 1]
cmp eax, ecx
jbe 0x140011676
mov edi, ecx
sub edi, ebp
mov rdx, rbp
lea rcx, [rsp + 0x50]
mov r8d, edi
add rdx, qword [rbx + 0x20]
mov esi, edi
call fcn.140014c90
lea r11d, [rbp + rdi]
mov rbp, qword [rsp + 0x58]
mov dword [rbx + 0x2c], r11d
mov rdi, qword [rsp + 0x30]
cmp esi, 1
mov rsi, qword [rsp + 0x68]
jne 0x1400116bc
movzx eax, byte [rsp + 0x50]
mov dword [r12], eax
xor eax, eax
add rsp, 0x38
pop r12
pop rbx
ret
cmp byte [rbx], 0
je 0x1400116b2
cmp byte [rbx + 0x10], 0
je 0x1400116b2
or eax, 0xffffffff
add rsp, 0x38
pop r12
pop rbx
ret