joyce8/EMBER2024-capa huggingface dataset:
Function at 0x109f39c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
cmp dword [0x010e5378], edi
jne 0x109f3c5
cmp dword [0x010e537c], edi
jne 0x109f3c5
mov eax, 0x80070006
jmp 0x109f551
mov qword [rcx + 0xc8], rdi
mov qword [rcx + 0xd0], rdi
mov qword [rcx + 0xd8], rdi
mov qword [rcx + 0xe0], rdi
mov qword [rcx + 0xe8], rdi
mov qword [rcx + 0xf0], rdi
mov qword [rcx + 0xf8], rdi
mov qword [rcx + 0x100], rdi
mov qword [rcx + 0x108], rdi
mov qword [rcx + 0x110], rdi
mov qword [rcx + 0x118], rdi
lea rcx, [0x0108a418]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp rax, rdi
mov qword [rbx + 0x58], rax
je 0x109f541
lea rdx, [0x0108a448]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x58]
lea rdx, [0x0108a460]
mov qword [rbx + 0xc8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x58]
lea rdx, [0x0108a480]
mov qword [rbx + 0xd0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x010e537c], edi
mov qword [rbx + 0xf8], rax
je 0x109f54f
mov rcx, qword [rbx + 0x58]
lea rdx, [0x0108a498]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x58]
lea rdx, [0x0108a4b8]
mov qword [rbx + 0xd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x58]
lea rdx, [0x0108a4d8]
mov qword [rbx + 0xe0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x58]
lea rdx, [0x0108a4f0]
mov qword [rbx + 0xe8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x58]
lea rdx, [0x0108a448]
mov qword [rbx + 0xf0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x58]
lea rdx, [0x0108a508]
mov qword [rbx + 0x100], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x58]
lea rdx, [0x0108a508]
mov qword [rbx + 0x108], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x58]
lea rdx, [0x0108a528]
mov qword [rbx + 0x110], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x118], rax
jmp 0x109f54f
lea rdx, [0x0108a540]
xor ecx, ecx
call fcn.01091f4c
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x109fe0c
Capabilities:
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
test edx, edx
mov rbx, rcx
mov edi, 0x80004005
je 0x109fe62
cmp dword [rcx + 0x120], 0
jne 0x109fe8a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor r9d, r9d
lea rdx, [0x0109fa80]
lea ecx, [r9 + 0xd]
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
test rax, rax
mov qword [0x010e5328], rax
je 0x109fe8a
mov dword [rbx + 0x120], 1
jmp 0x109fe88
mov rcx, qword [0x010e5328]
test rcx, rcx
je 0x109fe8a
cmp dword [rbx + 0x120], 0
je 0x109fe8a
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
je 0x109fe8a
and dword [rbx + 0x120], 0
xor edi, edi
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x10a04c4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rsi, qword [0x010e5310]
xor ebx, ebx
movaps xmmword [rsp + 0x70], xmm6
cmp dword [0x010e53ac], ebx
jne 0x10a04ec
xor eax, eax
jmp 0x10a0662
mov rcx, rsi
mov dword [rsp + 0xb0], ebx
mov dword [rsp + 0x48], ebx
call fcn.0109f7f8
cmp rax, rbx
mov rdi, rax
jne 0x10a051d
lea rdx, [0x0108ad10]
mov ecx, 0x1d
call fcn.01091f4c
jmp 0x10a0660
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0xb0]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
xor r8d, r8d
mov edx, 0x2206b8
mov rcx, rdi
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, ebx
je 0x10a0574
cmp dword [rsp + 0x48], ebx
mov ecx, 0xc
je 0x10a0633
lea rdx, [0x0108a3d0]
call fcn.01091f4c
lea r8, [rsp + 0x40]
lea rdx, [0x010823e8]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0xa8], ebx
mov dword [rsp + 0xb8], 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov rcx, qword [rsp + 0x40]
cmp rcx, rbx
je 0x10a0651
lea rax, [rsp + 0xb8]
lea rdx, [0x0108ad70]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa8]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x10a0646
cvtsi2ss xmm6, dword [rsp + 0xa8]
lea rdx, [0x0108ad90]
mov ecx, 0x1d
mulss xmm6, dword [0x0108dc8c]
cvtss2sd xmm2, xmm6
movq r8, xmm2
call fcn.01091f4c
movaps xmm1, xmm6
mov rcx, rsi
call fcn.010a014c
cmp eax, ebx
je 0x10a0641
lea rdx, [0x0108ade0]
mov r8d, eax
mov ecx, 0x1d
call fcn.01091f4c
jmp 0x10a0646
lea rdx, [0x0108a3f0]
call fcn.01091f4c
jmp 0x10a0651
mov ebx, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp rdi, 0xffffffffffffffff
je 0x10a0660
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x10a1340
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xe0
mov rsi, rcx
mov rdi, rdx
mov ebx, 0x68
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8, rbx
call fcn.010a84b0
mov dword [rsp + 0x70], ebx
xor ebx, ebx
cmp rsi, rbx
mov dword [rsp + 0xac], 0x80
mov word [rsp + 0xb0], bx
jne 0x10a1394
mov eax, 0x80004005
jmp 0x10a141f
lea rax, [rsp + 0x50]
lea rcx, [0x0108b330]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rax, [0x0108b2f0]
mov rdx, rsi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000020
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
jne 0x10a13e6
mov ebx, 0x80004005
jmp 0x10a141d
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp rdi, rbx
je 0x10a1407
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x10a15e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x010e5310]
xor edi, edi
lea r8, [rax + 0x20]
and qword [rax + 0x20], rdi
and dword [rax + 0x10], edi
lea rdx, [0x01084640]
mov rcx, 0xffffffff80000002
mov dword [rax + 0x18], 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x10a1662
lea rax, [rsp + 0x50]
lea rdx, [0x010899e0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10a1657
mov eax, 0x80070006
jmp 0x10a16c7
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call fcn.0109f39c
mov r11, qword [rbx + 0xc8]
test r11, r11
je 0x10a1699
xor r8d, r8d
xor edx, edx
cmp dword [rsp + 0x48], 0x10000
lea rcx, [0x0108a1a8]
je 0x10a1693
lea rcx, [0x01089a08]
call r11
mov rdi, rax
mov dl, 1
mov rcx, rdi
call qword [rbx + 0xf0]
mov r11, qword [rbx + 0xf8]
test r11, r11
je 0x10a16b6
mov rcx, rdi
call r11
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x10a16c5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x10a17a4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, qword [0x010e5308]
mov ebx, 0x80040901
cmp qword [rdi + 8], 0
jne 0x10a17d0
mov eax, 0x80070006
jmp 0x10a187c
lea r8, [rsp + 0x40]
lea rdx, [0x0108b6c0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x10a1863
or rcx, 0xffffffffffffffff
lea rdx, [rdi + 0x10]
xor eax, eax
mov rdi, rdx
lea r9d, [rax + 1]
xor r8d, r8d
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
add ecx, ecx
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea rdx, [0x0108b708]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10a183f
lea rdx, [0x0108b750]
lea ecx, [rax + 0x1c]
xor ebx, ebx
call fcn.01091f4c
jmp 0x10a1856
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x0108b7a0]
xor ecx, ecx
mov r8d, eax
call fcn.01091f4c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10a187a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x0108b7f0]
xor ecx, ecx
mov r8d, eax
call fcn.01091f4c
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x10a1e74
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, 0x1d
lea rdx, [0x0108b9d0]
mov ecx, ebx
call fcn.01091f4c
lea rcx, [0x0108b9f8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov qword [0x010e52a8], rax
jne 0x10a1ecb
lea rcx, [0x0108ba18]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov qword [0x010e52a8], rax
jne 0x10a1ecb
lea rdx, [0x0108ba38]
jmp 0x10a1fec
lea rdx, [0x0108ba80]
mov ecx, ebx
call fcn.01091f4c
mov rcx, qword [0x010e52a8]
lea rdx, [0x0108bad0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x010e52b0], rax
jne 0x10a1f05
lea rdx, [0x0108baf0]
jmp 0x10a1fec
mov rcx, qword [0x010e52a8]
lea rdx, [0x0108bb40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x010e52b8], rax
jne 0x10a1f31
lea rdx, [0x0108bb50]
jmp 0x10a1fec
mov rcx, qword [0x010e52a8]
lea rdx, [0x0108bb90]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x010e52c0], rax
jne 0x10a1f5d
lea rdx, [0x0108bbb0]
jmp 0x10a1fec
mov rcx, qword [0x010e52a8]
lea rdx, [0x0108bc00]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x010e52c8], rax
jne 0x10a1f86
lea rdx, [0x0108bc20]
jmp 0x10a1fec
mov rcx, qword [0x010e52a8]
lea rdx, [0x0108bc70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x010e52d0], rax
jne 0x10a1faf
lea rdx, [0x0108bc90]
jmp 0x10a1fec
mov ecx, 0x40
call fcn.010a7648
test rax, rax
mov qword [0x010e5400], rax
je 0x10a1fe5
lea rdx, [0x0108bcf0]
mov ecx, ebx
call fcn.01091f4c
lea rdx, [0x0108bda0]
mov ecx, ebx
call fcn.01091f4c
xor eax, eax
jmp 0x10a1ff8
lea rdx, [0x0108bd50]
mov ecx, ebx
call fcn.01091f4c
mov eax, 0x80004005
add rsp, 0x20
pop rbx
ret
Function at 0x10a4f44
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x40
xor r13d, r13d
mov rdi, rcx
cmp qword [rcx + 0x98], r13
mov ebp, r13d
jne 0x10a4fa8
mov rax, qword [rcx + 0x60]
mov rsi, qword [rax]
mov qword [rax], rax
mov rax, qword [rcx + 0x60]
mov qword [rax + 8], rax
cmp rsi, qword [rcx + 0x60]
mov qword [rcx + 0x68], r13
je 0x10a519d
mov rbx, qword [rsi]
lea rcx, [rsi + 0x10]
call fcn.010a341c
mov rcx, rsi
call fcn.010a67f8
cmp rbx, qword [rdi + 0x60]
mov rsi, rbx
jne 0x10a4f86
jmp 0x10a519d
cmp qword [rcx + 0x68], r13
jne 0x10a504c
mov rax, qword [rcx + 0x90]
mov qword [rsp + 0x78], r13
lea r8, [rsp + 0x78]
mov rcx, qword [rax]
mov rax, qword [rdi + 0x70]
mov rdx, qword [rcx + 0x10]
mov r9, qword [rax]
mov rcx, rax
call qword [r9 + 0x28]
cmp eax, r13d
mov ebp, eax
je 0x10a502f
mov ecx, eax
call fcn.010b7690
lea rcx, [0x01088210]
lea r8, [0x0108d860]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rdx, [0x01082320]
xor ecx, ecx
mov r9d, 0x160
mov dword [rsp + 0x20], ebp
call fcn.01091f4c
mov rcx, qword [rsp + 0x78]
cmp rcx, r13
je 0x10a519d
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x10a519d
mov rdx, qword [rsp + 0x78]
mov rcx, rdi
call fcn.010a4748
mov rcx, qword [rsp + 0x78]
cmp rcx, r13
je 0x10a504c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi + 0x60]
mov rbx, qword [rax]
cmp rbx, rax
je 0x10a519d
cmp dword [rbx + 0x3c], r13d
jne 0x10a5190
mov r8, qword [rbx + 0x70]
lea rdx, [0x0108d210]
mov ecx, 0x1d
call fcn.01091f4c
cmp dword [rbx + 0x3c], r13d
jne 0x10a5190
mov rcx, qword [rbx + 0x28]
cmp rcx, r13
jne 0x10a50ba
lea rax, [0x01085868]
lea r8, [0x0108d240]
lea rdx, [0x01085590]
mov r9d, 0x70
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.01091f4c
jmp 0x10a5190
cmp qword [rbx + 0x30], r13
jne 0x10a5190
mov rax, qword [rcx]
mov rdx, qword [rbx + 0x68]
lea r8, [rbx + 0x30]
call qword [rax + 0x28]
cmp qword [rbx + 0x30], r13
je 0x10a5190
cmp qword [rbx + 0x48], r13
jne 0x10a50f6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x48], rax
cmp qword [rbx + 0x50], r13
jne 0x10a5110
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x50], rax
cmp qword [rbx + 0x20], r13
jne 0x10a5190
lea rax, [rsp + 0x70]
lea r9, [rbx + 0x10]
lea r8, [0x010a3410]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, r13
mov qword [rbx + 0x20], rax
jne 0x10a515d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rbx + 0x70]
lea rdx, [0x0108d2d0]
xor ecx, ecx
call fcn.01091f4c
jmp 0x10a5177
mov r9d, dword [rsp + 0x70]
mov r8, qword [rbx + 0x70]
lea rdx, [0x0108d320]
mov ecx, 0x1d
call fcn.01091f4c
mov eax, 1
mov dword [rbx + 0x3c], 1
xchg dword [rbx + 0x18], eax
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [rbx]
cmp rbx, qword [rdi + 0x60]
jne 0x10a505c
mov eax, ebp
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x10a5b50
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 8], ecx
push rbx
sub rsp, 0x30
and qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
lea rdx, [0x0108daa8]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
mov ebx, eax
jne 0x10a5bb3
mov rcx, qword [rsp + 0x48]
lea r9d, [rax + 4]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], r9d
lea rdx, [0x0108dad0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x10a5bc4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
and dword [rax + 0x10], 0
mov rdi, rcx
lea r8, [rax - 0x18]
lea rdx, [0x0108daa8]
mov rcx, 0xffffffff80000001
mov dword [rax + 0x20], 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
mov ebx, eax
jne 0x10a5c4e
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
lea rdx, [0x0108dad0]
xor r8d, r8d
mov dword [rsp + 0x60], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov ebx, eax
jne 0x10a5c43
mov eax, dword [rsp + 0x58]
mov dword [rdi], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x10a649c
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x010d71a0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.010a84b0
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x01000000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call fcn.010a84b0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x10a652f
cmp dword [rsp + 0x24], 5
jb 0x10a6549
jmp 0x10a6545
cmp dword [rsp + 0x30], esi
jne 0x10a6549
cmp dword [rsp + 0x24], 4
ja 0x10a6545
jne 0x10a6549
cmp dword [rsp + 0x28], 0
jbe 0x10a6549
mov byte [rbx + 0x18], sil
lea rax, [0x010016c0]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.010a62c8
movzx ecx, byte [0x010e540c]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x010e540c], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.010a6e90
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x10a6be8
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x010d71a0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, dword [0x010d7198]
call fcn.010aa900
mov dword [0x010d7198], eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [rsp + 0xa0], 0x114
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x10a6c4a
mov eax, 0xff
jmp 0x10a6e25
mov r8d, dword [rsp + 0xac]
and r8d, 0x7fff
mov r9d, dword [rsp + 0xb0]
cmp r9d, 2
je 0x10a6c6c
bts r8d, 0xf
mov edx, dword [rsp + 0xa4]
mov ecx, edx
shl ecx, 8
mov eax, dword [rsp + 0xa8]
add ecx, eax
mov dword [0x010dacd4], r9d
mov dword [0x010dacdc], ecx
mov dword [0x010dace0], edx
mov dword [0x010dace4], eax
mov dword [0x010dacd8], r8d
cmp word [0x01000000], 0x5a4d
jne 0x10a6cff
movsxd rax, dword [0x0100003c]
lea rdi, [0x01000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x10a6ccd
xor ebx, ebx
mov dword [rsp + 0x20], ebx
jmp 0x10a6d0c
cmp word [rax + 0x18], 0x20b
je 0x10a6cdd
xor ebx, ebx
mov dword [rsp + 0x20], ebx
jmp 0x10a6d0c
cmp dword [rax + 0x84], 0xe
ja 0x10a6cee
xor ebx, ebx
mov dword [rsp + 0x20], ebx
jmp 0x10a6d0c
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0x20], ebx
jmp 0x10a6d0c
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rdi, [0x01000000]
mov ecx, 1
call fcn.010aa834
test eax, eax
jne 0x10a6d3c
cmp dword [0x010dacc0], 1
jne 0x10a6d28
call fcn.010a99e0
mov ecx, 0x1c
call fcn.010a97e0
mov ecx, 0xff
call fcn.010a9430
call fcn.010aa7ac
test eax, eax
jne 0x10a6d68
cmp dword [0x010dacc0], 1
jne 0x10a6d53
call fcn.010a99e0
mov ecx, 0x10
call fcn.010a97e0
mov ecx, 0xff
call fcn.010a9430
nop
call fcn.010aa104
test eax, eax
jns 0x10a6d7b
mov ecx, 0x1b
call fcn.010a93bc
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x010e6670], rax
call fcn.010aa064
mov qword [0x010dacb8], rax
call fcn.010a9f64
test eax, eax
jns 0x10a6da6
mov ecx, 8
call fcn.010a93bc
call fcn.010a9c5c
test eax, eax
jns 0x10a6db9
mov ecx, 9
call fcn.010a93bc
mov ecx, 1
call fcn.010a9544
test eax, eax
je 0x10a6dce
mov ecx, eax
call fcn.010a93bc
call fcn.010a9c04
test byte [rsp + 0x6c], 1
movzx edx, word [rsp + 0x70]
mov r9d, 0xa
cmovne r9d, edx
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.0108e0f8
mov edi, eax
mov dword [rsp + 0x24], eax
test ebx, ebx
jne 0x10a6e05
mov ecx, eax
call fcn.010a9730
call fcn.010a9754
jmp 0x10a6e23
mov eax, edi
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.010a6e90
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rdi
ret
sub rsp, 0x28
call fcn.0117c000
add rsp, 0x28
jmp 0x10a6be8
Function at 0x10a7078
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x30
xor ebx, ebx
test r8, r8
mov rbp, r9
mov rsi, r8
mov r12d, edx
mov r13, rcx
jne 0x10a70cb
call fcn.010aac48
and qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], 0x16
call fcn.010aabd8
or rax, 0xffffffffffffffff
jmp 0x10a7164
call fcn.010b0844
mov edx, 0x2d8
mov ecx, 1
call fcn.010a844c
test rax, rax
mov rdi, rax
je 0x10a714f
call fcn.010aa59c
mov rcx, rdi
mov rdx, qword [rax + 0xc0]
call fcn.010aa438
mov rcx, qword [rsp + 0x78]
or qword [rdi + 8], 0xffffffffffffffff
mov eax, dword [rsp + 0x70]
test rcx, rcx
lea r8, [rsp + 0x60]
cmovne r8, rcx
mov rdx, r12
mov r9, rdi
mov qword [rsp + 0x28], r8
lea r8, [0x010a6fd8]
mov rcx, r13
mov qword [rdi + 0x90], rsi
mov qword [rdi + 0x98], rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x10a7164
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.010a7704
test ebx, ebx
je 0x10a7162
mov ecx, ebx
call fcn.010aac98
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret

Function at 0x10a8a2c
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r12
push r13
sub rsp, 0x90
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rdi
mov rax, qword [0x010d71a0]
xor rax, rbp
mov qword [rbp + 0x68], rax
mov eax, dword [rsp]
sub rsp, 0x10
lea r12, [rsp + 0x20]
mov eax, dword [r12]
lea rdx, [rbp + 8]
mov r8d, 0x30
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x10a8b32
mov r13, qword [rbp + 0x10]
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rbp + 0x3c]
lea rcx, [rbp]
xor ebx, ebx
and dword [rbp], ebx
call qword [sym.imp.KERNEL32.dll_SetThreadStackGuarantee]
cmp eax, 1
jne 0x10a8aba
mov eax, dword [rbp]
test eax, eax
cmovne ebx, eax
lea edx, [rdi - 1]
lea ecx, [rdx + rbx]
cmp ecx, ebx
jb 0x10a8b32
mov eax, edx
not eax
and ecx, eax
je 0x10a8ad5
lea eax, [rcx + rdi]
cmp eax, ecx
jb 0x10a8b32
mov ecx, eax
lea eax, [rdi + rdi*2]
mov ebx, edx
cmp ecx, eax
not rbx
cmovb ecx, eax
and rbx, r12
lea rax, [r13 + rdi]
mov esi, ecx
sub rbx, rsi
cmp rbx, rax
jb 0x10a8b32
mov r9d, 4
mov r8d, 0x1000
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x10a8b32
lea r9, [rbp + 4]
mov r8d, 0x104
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10a8b32
mov eax, 1
jmp 0x10a8b34
xor eax, eax
mov rcx, qword [rbp + 0x68]
xor rcx, rbp
call fcn.010a6e90
mov rbx, qword [rbp + 0x90]
mov rsi, qword [rbp + 0x98]
mov rdi, qword [rbp + 0xa0]
lea rsp, [rbp + 0x70]
pop r13
pop r12
pop rbp
ret