joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10000a74c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
cmp dword [rcx + 0x10], 0
mov ebp, r8d
mov rbx, rdx
mov rsi, rcx
jne 0x10000a77b
lea rdx, [0x100003b30]
mov rcx, rbx
call fcn.100009150
jmp 0x10000a82f
lea rdx, [0x100003b34]
lea rcx, [rsp + 0x78]
call fcn.100009088
mov dword [rsp + 0x60], 0x100
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov edx, 8
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
jne 0x10000a7c7
lea rdx, [0x100003b34]
mov rcx, rbx
call fcn.100009088
jmp 0x10000a825
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov rcx, qword [rsi + 8]
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8, rax
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x10000a804
lea rcx, [rsp + 0x78]
mov rdx, rdi
call fcn.1000092a8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.100008dd8
lea rcx, [rsp + 0x78]
call fcn.100008fcc
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x10000a848
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbp, rcx
mov ebx, dword [rcx + 0x14]
lea rcx, [0x100004790]
mov qword [rax - 0x40], rcx
xor esi, esi
mov dword [rax - 0x30], esi
mov qword [rax - 0x38], rsi
mov ecx, 0x20019
cmp ebx, esi
cmove ebx, ecx
lea rcx, [rax - 0x38]
mov qword [rax - 0x58], rcx
mov r9d, ebx
xor r8d, r8d
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, esi
cmp eax, esi
sete cl
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x4c], ebx
mov rbx, qword [0x100022848]
mov qword [rsp + 0x80], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x38]
call fcn.10000a5f0
cmp rbx, qword [rax]
je 0x10000a8ef
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.100009238
mov rbx, qword [rsp + 0x80]
lea rdx, [0x100003b30]
lea rcx, [rsp + 0x90]
call fcn.100009150
mov r11, rbx
mov rdx, qword [rsp + 0x90]
sub rdx, rbx
movzx ecx, word [r11]
movzx eax, word [r11 + rdx]
sub ecx, eax
jne 0x10000a926
add r11, 2
test eax, eax
jne 0x10000a911
mov edi, esi
cmp ecx, esi
setne dil
lea rcx, [rsp + 0x90]
call fcn.100008fcc
lea rcx, [rsp + 0x98]
call fcn.100008fcc
cmp edi, esi
je 0x10000a983
cmp dword [rsp + 0x48], esi
je 0x10000a967
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.10000a848
cmp eax, esi
jne 0x10000a8ba
lea rcx, [rsp + 0x80]
call fcn.100008fcc
nop
lea rcx, [rsp + 0x38]
call fcn.10000a5b8
xor eax, eax
jmp 0x10000a9b5
lea rcx, [rsp + 0x80]
call fcn.100008fcc
nop
lea rcx, [rsp + 0x38]
call fcn.10000a5b8
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, esi
sete sil
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x10000aad4
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x100021380]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x114
xor ebx, ebx
call fcn.100014da0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
jne 0x10000ab28
cmp dword [rsp + 0x24], 5
lea eax, [rbx + 1]
cmovae ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.10000c740
add rsp, 0x150
pop rbx
ret

Function at 0x10000b014
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [0x100024010]
xor esi, esi
mov rbx, rcx
cmp rdi, rsi
jne 0x10000b05f
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], rsi
mov qword [rcx + 0x30], rsi
mov qword [rcx + 0x38], rsi
mov qword [rcx + 0x40], rsi
mov qword [rcx + 0x48], rsi
xor eax, eax
jmp 0x10000b16d
mov edx, 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 8], rax
cmp rax, rsi
jne 0x10000b09c
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x48], rsi
jmp 0x10000b058
mov edx, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
cmp rax, rsi
je 0x10000b076
mov edx, 6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
cmp rax, rsi
je 0x10000b076
mov edx, 9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
cmp rax, rsi
je 0x10000b076
mov edx, 0xb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
cmp rax, rsi
je 0x10000b076
mov edx, 0xd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
cmp rax, rsi
je 0x10000b076
mov edx, 0xf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
cmp rax, rsi
je 0x10000b076
mov edx, 0x11
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
cmp rax, rsi
je 0x10000b076
mov edx, 0x13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
cmp rax, rsi
je 0x10000b076
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x10000b1e0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [0x100024010]
xor esi, esi
mov rbx, rcx
cmp rdi, rsi
jne 0x10000b233
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], rsi
mov qword [rcx + 0x30], rsi
mov qword [rcx + 0x38], rsi
mov qword [rcx + 0x40], rsi
mov qword [rcx + 0x48], rsi
mov qword [rcx + 0x50], rsi
mov qword [rcx + 0x58], rsi
xor eax, eax
jmp 0x10000b37f
mov edx, 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 8], rax
cmp rax, rsi
jne 0x10000b278
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x50], rsi
mov qword [rbx + 0x58], rsi
jmp 0x10000b22c
mov edx, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
cmp rax, rsi
je 0x10000b24a
mov edx, 6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
cmp rax, rsi
je 0x10000b24a
mov edx, 9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
cmp rax, rsi
je 0x10000b24a
mov edx, 0xb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
cmp rax, rsi
je 0x10000b24a
mov edx, 0xd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
cmp rax, rsi
je 0x10000b24a
mov edx, 0xf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
cmp rax, rsi
je 0x10000b24a
mov edx, 0x11
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
cmp rax, rsi
je 0x10000b24a
mov edx, 0x13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
cmp rax, rsi
je 0x10000b24a
mov edx, 7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x50], rax
cmp rax, rsi
je 0x10000b24a
mov edx, 0x14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x58], rax
cmp rax, rsi
je 0x10000b24a
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x10000bc24
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xd0
mov rax, qword [0x100021380]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor r13d, r13d
mov rsi, rdx
mov rdi, rcx
cmp rdx, r13
jne 0x10000bc5e
xor eax, eax
jmp 0x10000be3e
cmp word [rdx], r13w
je 0x10000bc57
call fcn.10000ba44
mov rbx, rax
cmp rax, r13
je 0x10000bda9
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x80
call fcn.100014da0
xor r11d, r11d
lea r12, [0x100003b34]
lea r9, [rsp + 0x30]
lea rdx, [0x1000047f8]
lea rcx, [0x100004810]
mov r8, r12
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [0x100004838]
lea rcx, [rsp + 0x30]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r13d
jne 0x10000bced
cmp ebp, r13d
jbe 0x10000bced
lea rdx, [0x100004840]
lea rcx, [0x100003c18]
jmp 0x10000bcfb
lea rdx, [0x100004858]
lea rcx, [0x100003bb0]
lea r9, [rsp + 0x40]
mov r8, r12
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, r13d
jbe 0x10000bda9
mov rbp, qword [rdi + 8]
mov ebx, eax
cmp rbp, r13
jne 0x10000bd3d
mov rdx, rsi
mov rcx, rdi
call fcn.10000b8e0
mov rbp, rax
cmp rax, r13
je 0x10000bd93
mov rcx, rbp
call fcn.10000ac64
lea r12, [rax + rbx + 2]
lea rcx, [r12 + r12]
call fcn.10000abb8
mov rbx, rax
cmp rax, r13
je 0x10000bd93
lea rax, [rsp + 0x40]
lea r8, [0x1000047e8]
mov r9, rbp
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1000055e4
cmp eax, r13d
je 0x10000bd8a
mov rcx, rbx
call fcn.10000ac30
mov rbx, r13
cmp rbx, r13
jne 0x10000be37
lea rcx, [rsp + 0x40]
call fcn.10000acac
mov rbx, rax
cmp rax, r13
jne 0x10000be37
lea rcx, [0x100004870]
call fcn.10000acac
mov rbp, qword [rdi + 8]
mov rbx, rax
cmp rbp, r13
jne 0x10000bdd4
mov rdx, rsi
mov rcx, rdi
call fcn.10000b8e0
mov rbp, rax
cmp rax, r13
je 0x10000be37
mov rcx, rbp
call fcn.10000ac64
mov rcx, rbx
mov r9, rax
call fcn.10000ac64
lea r12, [r9 + rax + 2]
cmp r12, 2
jbe 0x10000be37
lea rcx, [r12 + r12]
call fcn.10000abb8
mov rsi, rax
cmp rax, r13
je 0x10000be37
lea r8, [0x1000047e8]
mov r9, rbp
mov rdx, r12
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.1000055e4
cmp eax, r13d
jne 0x10000be2f
mov rcx, rbx
call fcn.10000ac30
mov rbx, rsi
jmp 0x10000be37
mov rcx, rsi
call fcn.10000ac30
mov qword [rdi + 0x10], rbx
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.10000c740
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x10000c268
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xd0
mov rax, qword [0x100021380]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor r13d, r13d
mov rbx, rdx
mov r12, rcx
cmp rdx, r13
jne 0x10000c2a2
xor eax, eax
jmp 0x10000c481
cmp word [rdx], r13w
je 0x10000c29b
mov rcx, rdx
call fcn.10000acac
mov rdi, rax
cmp rax, r13
je 0x10000c2db
mov edx, 0x5c
mov rcx, rax
call fcn.10000c82c
cmp rax, r13
je 0x10000c2d0
mov word [rax], r13w
jmp 0x10000c2db
mov rcx, rdi
call fcn.10000ac30
mov rdi, r13
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x80
call fcn.100014da0
xor r11d, r11d
lea rbp, [0x100003b34]
lea r9, [rsp + 0x30]
lea rdx, [0x1000047f8]
lea rcx, [0x100004810]
mov r8, rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [0x100004838]
lea rcx, [rsp + 0x30]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r13d
jne 0x10000c353
cmp esi, r13d
jbe 0x10000c353
lea rdx, [0x100004840]
lea rcx, [0x100003c18]
jmp 0x10000c361
lea rdx, [0x100004858]
lea rcx, [0x100003bb0]
lea r9, [rsp + 0x40]
mov r8, rbp
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r11d, eax
cmp eax, r13d
jbe 0x10000c3f4
cmp rdi, r13
je 0x10000c3e2
mov rcx, rdi
call fcn.10000ac64
mov ecx, r11d
lea rsi, [rax + rcx + 2]
lea rcx, [rsi + rsi]
call fcn.10000abb8
mov rbx, rax
cmp rax, r13
je 0x10000c3e2
lea rax, [rsp + 0x40]
lea r8, [0x1000047e8]
mov r9, rdi
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1000055e4
cmp eax, r13d
je 0x10000c3d9
mov rcx, rbx
call fcn.10000ac30
mov rbx, r13
cmp rbx, r13
jne 0x10000c46c
lea rcx, [rsp + 0x40]
call fcn.10000acac
mov rbx, rax
cmp rax, r13
jne 0x10000c46c
lea rcx, [0x100004870]
call fcn.10000acac
mov rbx, rax
cmp rdi, r13
je 0x10000c479
mov rcx, rdi
call fcn.10000ac64
mov rcx, rbx
mov r9, rax
call fcn.10000ac64
lea rbp, [r9 + rax + 2]
cmp rbp, 2
jbe 0x10000c46c
lea rcx, [rbp + rbp]
call fcn.10000abb8
mov rsi, rax
cmp rax, r13
je 0x10000c46c
lea r8, [0x1000047e8]
mov r9, rdi
mov rdx, rbp
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.1000055e4
cmp eax, r13d
jne 0x10000c464
mov rcx, rbx
call fcn.10000ac30
mov rbx, rsi
jmp 0x10000c46c
mov rcx, rsi
call fcn.10000ac30
cmp rdi, r13
je 0x10000c479
mov rcx, rdi
call fcn.10000ac30
mov qword [r12 + 0x10], rbx
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.10000c740
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x10000c740
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100021380]
jne 0x10000c75b
rol rcx, 0x10
test cx, 0xffff
jne 0x10000c757
ret 0
ror rcx, 0x10
jmp 0x10000f1c8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100023300]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1000233f8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10000f24d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100023300]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x10000f26f
mov rax, qword [rsp + 0x88]
mov qword [0x1000233f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100023398], rax
mov rax, qword [0x1000233f8]
mov qword [0x100023270], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100023380], rax
mov dword [0x100023260], 0xc0000409
mov dword [0x100023264], 1
mov rax, qword [0x100021380]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100021388]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001b40]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x10000d2f4
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov dword [rax + 0x18], r8d
push r12
sub rsp, 0x30
mov edi, r8d
mov ebx, edx
mov r12d, ecx
mov ecx, 8
call fcn.100012630
nop
cmp dword [0x100022d1c], 1
je 0x10000d3a7
mov dword [0x100022d18], 1
mov byte [0x100022cd4], dil
test ebx, ebx
jne 0x10000d393
mov rcx, qword [0x1000252d0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov rcx, qword [0x1000252c8]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov qword [rsp + 0x20], rax
test rsi, rsi
je 0x10000d380
sub rbx, 8
mov qword [rsp + 0x20], rbx
cmp rbx, rsi
jb 0x10000d380
mov rcx, qword [rbx]
test rcx, rcx
je 0x10000d37e
call rcx
jmp 0x10000d366
lea rdx, [0x1000014f0]
lea rcx, [0x1000014d8]
call fcn.10000d144
lea rdx, [0x100001500]
lea rcx, [0x1000014f8]
call fcn.10000d144
nop
test edi, edi
je 0x10000d3b5
mov ecx, 8
call fcn.100012520
test edi, edi
jne 0x10000d3dd
mov dword [0x100022d1c], 1
lea ecx, [rdi + 8]
call fcn.100012520
mov ecx, r12d
call fcn.10000d0c8
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
xor r8d, r8d
xor edx, edx
jmp 0x10000d2f4
Function at 0x10000d3fc
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov dword [rax + 0x18], r8d
push r12
sub rsp, 0x30
mov edi, r8d
mov ebx, edx
mov r12d, ecx
mov ecx, 8
call fcn.100012630
nop
cmp dword [0x100022d1c], 1
je 0x10000d3a7
mov dword [0x100022d18], 1
mov byte [0x100022cd4], dil
test ebx, ebx
jne 0x10000d393
mov rcx, qword [0x1000252d0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov rcx, qword [0x1000252c8]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov qword [rsp + 0x20], rax
test rsi, rsi
je 0x10000d380
sub rbx, 8
mov qword [rsp + 0x20], rbx
cmp rbx, rsi
jb 0x10000d380
mov rcx, qword [rbx]
test rcx, rcx
je 0x10000d37e
call rcx
jmp 0x10000d366
lea rdx, [0x1000014f0]
lea rcx, [0x1000014d8]
call fcn.10000d144
lea rdx, [0x100001500]
lea rcx, [0x1000014f8]
call fcn.10000d144
nop
test edi, edi
je 0x10000d3b5
mov ecx, 8
call fcn.100012520
test edi, edi
jne 0x10000d3dd
mov dword [0x100022d1c], 1
lea ecx, [rdi + 8]
call fcn.100012520
mov ecx, r12d
call fcn.10000d0c8
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
xor r8d, r8d
xor edx, edx
jmp 0x10000d2f4

Function at 0x10000d40c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x10000d2f4
Function at 0x10000df9c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r13
sub rsp, 0x30
lea r13, [0x100021120]
mov ebx, ecx
xor edi, edi
mov rax, r13
cmp ecx, dword [rax]
je 0x10000dfce
inc edi
add rax, 0x10
cmp edi, 0x17
jb 0x10000dfbf
cmp edi, 0x17
jae 0x10000e17c
mov ebp, 3
mov ecx, ebp
call fcn.100013a54
cmp eax, 1
je 0x10000e134
mov ecx, ebp
call fcn.100013a54
test eax, eax
jne 0x10000e004
cmp dword [0x100021100], 1
je 0x10000e134
cmp ebx, 0xfc
je 0x10000e17c
lea rbx, [0x100022d20]
mov ebp, 0x314
lea r8, [0x100001b20]
mov rcx, rbx
mov rdx, rbp
call fcn.1000139dc
test eax, eax
je 0x10000e047
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100010108
lea rdx, [0x100022d39]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x100022e3d], 0
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10000e098
lea r8, [0x100001b08]
lea rcx, [0x100022d39]
mov edx, 0x2fb
call fcn.1000139dc
test eax, eax
je 0x10000e098
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100010108
lea r8, [0x100022d39]
mov rdx, rbp
mov rcx, rbx
call fcn.10001394c
test eax, eax
je 0x10000e0c3
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100010108
lea r8, [0x100001b00]
mov rdx, rbp
mov rcx, rbx
call fcn.10001394c
test eax, eax
je 0x10000e0ee
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100010108
movsxd r8, edi
mov rdx, rbp
mov rcx, rbx
add r8, r8
mov r8, qword [r13 + r8*8 + 8]
call fcn.10001394c
test eax, eax
je 0x10000e11d
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100010108
lea rdx, [0x100001ad8]
mov r8d, 0x12010
mov rcx, rbx
call fcn.100013714
jmp 0x10000e17c
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r11, rax
test rax, rax
je 0x10000e17c
or rcx, 0xffffffffffffffff
cmp rax, rcx
je 0x10000e17c
movsxd rdx, edi
xor eax, eax
lea r9, [rsp + 0x48]
and qword [rsp + 0x20], rax
add rdx, rdx
mov rdx, qword [r13 + rdx*8 + 8]
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r13
ret

Function at 0x10000f064
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x10000f0b1
cmp rcx, 0xffffffffffffffff
je 0x10000f0b1
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10000f0a9
cmp dword [rcx + 0x3c], edx
jl 0x10000f0a9
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10000f0a9
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x10000f0b1
mov rax, rdx
add rsp, 0x18
ret
Function at 0x100010108
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x100010173
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x100010193
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, [0x100001b68]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret
Function at 0x100013714
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov ebx, r8d
mov r12, rdx
mov r13, rcx
call fcn.10000ec5c
xor ebp, ebp
and dword [rsp + 0x88], ebp
and dword [rsp + 0x30], ebp
mov rdi, rax
cmp qword [0x100023aa8], rbp
jne 0x10001384c
lea rcx, [0x100001d40]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rax, rax
jne 0x100013778
xor eax, eax
jmp 0x10001392c
lea rdx, [0x100001d30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x100013771
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x100001d20]
mov rcx, rsi
mov qword [0x100023aa8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x100001d08]
mov rcx, rsi
mov qword [0x100023ab0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rcx, [rsp + 0x88]
mov qword [0x100023ab8], rax
call fcn.10000d180
test eax, eax
je 0x1000137ff
and qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100010108
cmp dword [rsp + 0x88], 2
jne 0x10001384c
lea rdx, [0x100001ce8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x100023ac8], rax
test rax, rax
je 0x10001384c
lea rdx, [0x100001cd0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x100023ac0], rax
mov rcx, qword [0x100023ac0]
cmp rcx, rdi
je 0x1000138de
cmp qword [0x100023ac8], rdi
je 0x1000138de
call sub.KERNEL32.dll_DecodePointer
call rax
mov rsi, rax
test rax, rax
je 0x1000138a9
mov rcx, qword [0x100023ac8]
call sub.KERNEL32.dll_DecodePointer
lea rcx, [rsp + 0x34]
mov r9d, 0xc
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x38]
mov rcx, rsi
call rax
test eax, eax
je 0x1000138a9
test byte [rsp + 0x40], 1
jne 0x1000138de
lea rcx, [rsp + 0x30]
call fcn.10000d1cc
test eax, eax
je 0x1000138cb
and qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100010108
cmp dword [rsp + 0x30], 4
jb 0x1000138d8
bts ebx, 0x15
jmp 0x100013912
bts ebx, 0x12
jmp 0x100013912
mov rcx, qword [0x100023ab0]
cmp rcx, rdi
je 0x100013912
call sub.KERNEL32.dll_DecodePointer
call rax
mov rbp, rax
test rax, rax
je 0x100013912
mov rcx, qword [0x100023ab8]
cmp rcx, rdi
je 0x100013912
call sub.KERNEL32.dll_DecodePointer
mov rcx, rbp
call rax
mov rbp, rax
mov rcx, qword [0x100023aa8]
call sub.KERNEL32.dll_DecodePointer
mov r9d, ebx
mov r8, r12
mov rdx, r13
mov rcx, rbp
call rax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret