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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x70
mov rbp, r8
mov rsi, rdx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [rbx + 8], rdi
jne 0x10000b971
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 8], rax
test rax, rax
jne 0x10000b854
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], 1
jmp 0x10000b94d
lea rdx, [0x100005d18]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x10000b87f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], 2
jmp 0x10000b94d
mov rcx, qword [rbx + 8]
lea rdx, [0x100005d30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
test rax, rax
jne 0x10000b8ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], 3
jmp 0x10000b94d
mov rcx, qword [rbx + 8]
lea rdx, [0x100005d48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
test rax, rax
jne 0x10000b8d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], 4
jmp 0x10000b94d
mov rcx, qword [rbx + 8]
lea rdx, [0x100005d60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x10000b8fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], 5
jmp 0x10000b94d
mov rcx, qword [rbx + 8]
lea rdx, [0x100005d70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x10000b926
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], 6
jmp 0x10000b94d
mov rcx, qword [rbx + 8]
lea rdx, [0x100005d88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x10000b971
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], 7
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov eax, 0x80004005
test edi, edi
cmovns edi, eax
test edi, edi
jns 0x10000b971
mov rcx, rbx
call fcn.10000bcb4
lea rcx, [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x10000ba8c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push r12
sub rsp, 0xa0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov ebx, r8d
mov r12d, edx
mov rsi, rcx
cmp dword [rcx], 0
jne 0x10000bb6e
lea rcx, [0x100016100]
mov rax, qword [0x100016100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x88], r12d
mov dword [rsp + 0x8c], ebx
lea r8, [rsp + 0xe0]
mov qword [rsp + 0x78], r8
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x90]
call fcn.10000c618
nop
lea rcx, [rsi + 0x40]
lea rdx, [rsp + 0x88]
call fcn.10000c828
nop
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x10000bb3b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x10000bc9f
cmp ebx, dword [rcx + 0x98]
jbe 0x10000bb7d
xor eax, eax
jmp 0x10000bc9f
test ebx, ebx
je 0x10000bc9d
sub ebx, 1
je 0x10000bbb5
sub ebx, 1
je 0x10000bbae
sub ebx, 1
je 0x10000bba7
cmp ebx, 1
je 0x10000bba0
mov ecx, 0x4000000
jmp 0x10000bbba
mov ecx, 0x4000000
jmp 0x10000bbba
mov ecx, 0x4000000
jmp 0x10000bbba
mov ecx, 0x3000000
jmp 0x10000bbba
mov ecx, 0x2000000
lea rbx, [rsp + 0xe0]
mov qword [rsp + 0x80], rbx
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x10000bc39
cmp qword [rsi + 0x20], 0
je 0x10000bc39
cmp qword [rsi + 0x30], 0
je 0x10000bc39
mov r8, rbx
mov rdx, r9
call rax
mov rbx, rax
call qword [rsi + 0x30]
and dword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
and dword [rsp + 0x40], 0
mov qword [rsp + 0x38], rax
lea rax, [0x100005d98]
mov qword [rsp + 0x30], rax
lea rax, [0x100005dc0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xe6
xor r9d, r9d
lea r8, [0x100005e00]
mov edx, r12d
mov rcx, rbx
call qword [rsi + 0x20]
jmp 0x10000bc93
lea rcx, [0x100016100]
mov rax, qword [0x100016100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov r8, rbx
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x68]
call fcn.10000c618
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x10000bc93
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
xor eax, eax
jmp 0x10000bc9f
xor eax, eax
add rsp, 0xa0
pop r12
pop rsi
pop rbx
ret
Function at 0x10000c264
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x280
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1000161a0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r12, rdx
mov qword [rsp + 0x38], rdx
xor edi, edi
mov word [rsp + 0x60], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call sub.msvcrt.dll_memset
lea rcx, [0x100016100]
mov rax, qword [0x100016100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rcx, [0x100016100]
mov rax, qword [0x100016100]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
mov qword [r12], rdi
lea rcx, [rsp + 0x30]
call fcn.10000d920
mov esi, eax
cmp eax, edi
jl 0x10000c426
lea r9, [0x100005d00]
mov r8, qword [rsp + 0x30]
lea rdx, [0x100005e60]
lea rcx, [rsp + 0x20]
call fcn.10000c940
nop
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.10000e0dc
cmp eax, edi
jne 0x10000c3bc
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, edi
jne 0x10000c361
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
cmp eax, edi
cmovle esi, eax
jmp 0x10000c3bc
lea r9, [0x100005d00]
lea r8, [rsp + 0x60]
lea rdx, [0x100005e60]
lea rcx, [rsp + 0x20]
call fcn.10000c940
nop
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.10000e0dc
cmp eax, edi
jne 0x10000c3bc
mov esi, 0x80070002
jmp 0x10000c426
cmp esi, edi
jl 0x10000c426
mov edx, dword [rbx - 0x10]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
cmp rax, rdi
jne 0x10000c3d6
call fcn.1000089d0
mov qword [r12], rax
jmp 0x10000c426
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, edi
jg 0x10000c444
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, edi
jg 0x10000c463
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, esi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.10000f3f0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x10000da94
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x10000db5a
test rdx, rdx
je 0x10000db5a
xor r9d, r9d
lea rdx, [0x1000061c0]
lea esi, [r9 + 1]
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
jne 0x10000dadb
xor ebx, ebx
jmp 0x10000daea
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
lea rdx, [0x1000061c0]
xor r9d, r9d
mov r8, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x10000db11
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rbx, rbx
je 0x10000db4f
test rax, rax
je 0x10000db4f
mov ecx, 0xfecdfecd
cmp dword [rbx], ecx
jne 0x10000db49
cmp dword [rax], ecx
jne 0x10000db49
mov rdx, qword [rbx + 0x1c]
cmp rdx, qword [rax + 0x1c]
jne 0x10000db40
mov rdx, qword [rbx + 0x24]
cmp rdx, qword [rax + 0x24]
jne 0x10000db40
xor eax, eax
jmp 0x10000db45
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10000db4b
xor esi, esi
mov eax, esi
jmp 0x10000db5c
mov ecx, 0xd
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x10000dc40
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1000161a0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov eax, dword [0x10002ef68]
test eax, eax
jne 0x10000dd45
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x11c
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x10000dca3
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [rsp + 0x30]
mov edx, dword [rsp + 0x24]
xor eax, eax
lea r8d, [rax + 1]
mov dword [0x10002ef68], eax
sub ecx, r8d
je 0x10000dd25
cmp ecx, r8d
jne 0x10000dd45
cmp edx, 5
jne 0x10000dd13
mov ecx, dword [rsp + 0x28]
test ecx, ecx
je 0x10000dd0c
sub ecx, r8d
je 0x10000dcf7
cmp ecx, r8d
je 0x10000dce1
lea eax, [rdx + 0xf]
jmp 0x10000dd3f
cmp word [rsp + 0x134], r8w
mov ecx, 0x10
cmovae eax, ecx
or eax, 4
jmp 0x10000dd3f
mov edx, 8
lea ecx, [rdx - 6]
cmp word [rsp + 0x134], cx
cmovae eax, edx
jmp 0x10000dcf2
mov eax, 4
jmp 0x10000dd3f
cmp edx, 4
ja 0x10000dd5d
mov ecx, 2
mov eax, ecx
mov dword [0x10002ef68], ecx
cmp edx, 4
jne 0x10000dd45
mov ecx, dword [rsp + 0x28]
test ecx, ecx
je 0x10000dd3c
cmp ecx, 0xa
je 0x10000dd3c
cmp ecx, 0x5a
jne 0x10000dd45
mov eax, r8d
mov dword [0x10002ef68], eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.10000f3f0
add rsp, 0x158
ret
mov eax, 0x20
jmp 0x10000dd3f
Function at 0x10000e0dc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, ebx
cmp rcx, rbx
je 0x10000e158
cmp bx, word [rcx]
je 0x10000e158
xor edx, edx
call fcn.10000e17c
mov rsi, rax
cmp rax, rbx
je 0x10000e144
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10000e126
test al, 0x10
je 0x10000e11f
lea edi, [rbx + 2]
jmp 0x10000e12e
mov ebx, 1
jmp 0x10000e12e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10000e14c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
jmp 0x10000e165
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x10000ed58
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1000161a0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call sub.msvcrt.dll_memset
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x100000000]
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 sub.msvcrt.dll_memset
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 0x10000edeb
cmp dword [rsp + 0x24], 5
jb 0x10000ee05
jmp 0x10000ee01
cmp dword [rsp + 0x30], esi
jne 0x10000ee05
cmp dword [rsp + 0x24], 4
ja 0x10000ee01
jne 0x10000ee05
cmp dword [rsp + 0x28], 0
jbe 0x10000ee05
mov byte [rbx + 0x18], sil
lea rax, [0x100001678]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.10000b310
movzx ecx, byte [0x10002ef48]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x10002ef48], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.10000f3f0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x10000f0b8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
push r12
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x10002ef78], rdi
je 0x10000f111
cmp rax, rdi
jne 0x10000f104
mov esi, 1
jmp 0x10000f111
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10000f0eb
mov eax, dword [0x10002ef70]
cmp eax, 1
jne 0x10000f126
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10000f18b
mov eax, dword [0x10002ef70]
test eax, eax
jne 0x10000f181
mov dword [0x10002ef70], 1
lea r12, [0x1000015e8]
lea rdi, [0x1000015d0]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
cmp rdi, r12
jae 0x10000f173
test eax, eax
jne 0x10000f173
mov rcx, qword [rdi]
test rcx, rcx
je 0x10000f168
call rcx
mov dword [rsp + 0x30], eax
add rdi, 8
mov qword [rsp + 0x38], rdi
jmp 0x10000f151
test eax, eax
je 0x10000f18b
mov eax, 0xff
jmp 0x10000f2d5
mov dword [0x10001674c], 1
mov eax, dword [0x10002ef70]
cmp eax, 1
jne 0x10000f1b3
lea rdx, [0x1000015c8]
lea rcx, [0x100001588]
call sub.msvcrt.dll__initterm
mov dword [0x10002ef70], 2
test esi, esi
jne 0x10000f1c0
xor eax, eax
xchg qword [0x10002ef78], rax
cmp qword [0x10002ef90], 0
je 0x10000f1e9
lea rcx, [0x10002ef90]
call fcn.10000fbac
test eax, eax
je 0x10000f1e9
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x10002ef90]
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rdi, qword [rax]
mov qword [rsp + 0x28], rdi
mov esi, dword [rsp + 0x20]
cmp byte [rdi], 0x20
ja 0x10000f274
cmp byte [rdi], 0
je 0x10000f20a
test esi, esi
jne 0x10000f274
cmp byte [rdi], 0
je 0x10000f21e
cmp byte [rdi], 0x20
ja 0x10000f21e
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10000f20a
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rdi
xor edx, edx
lea rcx, [0x100000000]
call fcn.100007b54
mov dword [0x100016748], eax
cmp dword [0x10001672c], 0
jne 0x10000f25d
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x10001674c], 0
jne 0x10000f272
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100016748]
jmp 0x10000f2d5
cmp byte [rdi], 0x22
jne 0x10000f286
xor eax, eax
test esi, esi
sete al
mov esi, eax
mov dword [rsp + 0x20], eax
movzx ecx, byte [rdi]
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x10000f29b
inc rdi
mov qword [rsp + 0x28], rdi
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10000f1fc
lea r11, [rsp + 0xb0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r12
ret
sub rsp, 0x28
call fcn.10000fcc0
add rsp, 0x28
jmp 0x10000f0b8
Function at 0x10000f3f0
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1000161a0]
jne 0x10000f40b
rol rcx, 0x10
test cx, 0xffff
jne 0x10000f407
ret 0
ror rcx, 0x10
jmp 0x10000fd7c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100016800]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x1000168f8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10000fe01
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, [0x100016800]
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.ntdll.dll_RtlVirtualUnwind
jmp 0x10000fe23
mov rax, qword [rsp + 0x88]
mov qword [0x1000168f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100016898], rax
mov rax, qword [0x1000168f8]
mov qword [0x100016770], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100016880], rax
mov dword [0x100016760], 0xc0000409
mov dword [0x100016764], 1
mov rax, qword [0x1000161a0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1000161a8]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001780]
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 0x10000f664
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x10000f6cf
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.ntdll.dll_RtlVirtualUnwind]
jmp 0x10000f6ef
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, [0x100001748]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret

Function at 0x10000fc18
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x10000fc65
cmp rcx, 0xffffffffffffffff
je 0x10000fc65
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10000fc5d
cmp dword [rcx + 0x3c], edx
jl 0x10000fc5d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10000fc5d
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 0x10000fc65
mov rax, rdx
add rsp, 0x18
ret
Function at 0x413340
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4134cb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004324e0
xorps xmm15, xmm15
mov r14, qword [0x00694490]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x4133a5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4133b4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4133d3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4133e3
cmp rbx, 0x1000
jae 0x4133ab
jmp 0x41344d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4133f5
xor edx, edx
jmp 0x413444
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004324e0
xorps xmm15, xmm15
mov r14, qword [0x00694490]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x4133d9
jmp 0x4133c8
call fcn.00470d80
xorps xmm15, xmm15
mov r14, qword [0x00694490]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004370a0
lea rax, [0x0053e915]
mov ebx, 0x18
nop dword [rax]
call fcn.00437920
mov rax, qword [rsp + 0x38]
call fcn.00437660
lea rax, [0x0053eded]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00437920
mov rax, qword [rsp + 0x30]
call fcn.00437660
call fcn.004372e0
call fcn.00437100
lea rax, [0x00541403]
mov ebx, 0x21
call fcn.00467d20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046d640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00413340
Function at 0x413500
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x413726
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00432560
xorps xmm15, xmm15
mov r14, qword [0x00694490]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x413573
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x413582
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4135a5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x4135b5
cmp rbx, 0x1000
jae 0x413579
nop
jmp 0x413638
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x4135cd
xor esi, esi
jmp 0x41362a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00432560
xorps xmm15, xmm15
mov r14, qword [0x00694490]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x4135ab
jmp 0x413596
call fcn.00470d80
xorps xmm15, xmm15
mov r14, qword [0x00694490]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4136c0
nop dword [rax + rax]
call fcn.004370a0
lea rax, [0x0053ee06]
mov ebx, 0x19
call fcn.00437920
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00437660
lea rax, [0x0053eded]
mov ebx, 0x19
call fcn.00437920
mov eax, dword [rsp + 0x34]
call fcn.00437660
nop
call fcn.004372e0
call fcn.00437100
lea rax, [0x0053b60a]
mov ebx, 0xd
call fcn.00467d20
nop dword [rax + rax]
cmp eax, 0x5af
je 0x413660
call fcn.004370a0
lea rax, [0x0053ee06]
mov ebx, 0x19
call fcn.00437920
mov rax, qword [rsp + 0x38]
call fcn.00437660
lea rax, [0x0053eded]
mov ebx, 0x19
call fcn.00437920
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00437660
call fcn.004372e0
call fcn.00437100
lea rax, [0x00540b8e]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00467d20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046d640
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00413500