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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rcx
cmp qword [rcx + 0x80], 0
je 0x1800063a9
cmp byte [rcx + 0x89], 0
je 0x1800063a9
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18000637d
mov edx, 0xf
mov qword [rbp - 0x10], rdx
mov byte [rbp - 0x28], 0
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x18], 8
lea rax, [rbp - 0x28]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], cl
xor r12d, r12d
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
nop word [rax + rax]
lea rdx, [rbp - 0x28]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp - 0x28]
cmovae r8, r10
mov rcx, qword [rdi + 0x80]
mov r10, qword [rcx]
mov rax, qword [rbp - 0x18]
lea r9, [rdx + rax]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x8c]
call qword [r10 + 0x30]
test eax, eax
je 0x180006248
dec eax
jne 0x180006347
jmp 0x18000624f
mov byte [rdi + 0x89], r12b
lea rax, [rbp - 0x28]
mov r10, qword [rbp - 0x28]
mov r9, qword [rbp - 0x10]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rbp + 0x20]
sub rbx, rax
je 0x18000629d
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x98]
mov r8, rbx
mov edx, 1
call fcn.180012874
cmp rbx, rax
jne 0x18000636d
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
cmp byte [rdi + 0x89], r12b
je 0x18000639b
test rbx, rbx
jne 0x180006200
or rax, 0xffffffffffffffff
mov r8, qword [rbp - 0x18]
sub rax, r8
cmp rax, 8
jbe 0x18000638e
lea rbx, [r8 + 8]
cmp rbx, 0xfffffffffffffffe
ja 0x180006381
cmp r9, rbx
jae 0x1800062f1
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.18000a950
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
jmp 0x18000630e
test rbx, rbx
jne 0x180006317
mov qword [rbp - 0x18], r12
lea rax, [rbp - 0x28]
cmp r9, 0x10
cmovae rax, r10
mov byte [rax], r12b
jmp 0x1800061eb
test rbx, rbx
je 0x180006200
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov rax, qword [rbp - 0x18]
xor edx, edx
mov qword [rcx + rax], rdx
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rax + rbx], dl
jmp 0x1800061eb
sub eax, 2
je 0x180006360
cmp qword [rbp - 0x10], 0x10
jb 0x18000637d
mov rcx, qword [rbp - 0x28]
call fcn.180012658
xor al, al
jmp 0x1800063ab
cmp qword [rbp - 0x10], 0x10
jb 0x1800063a9
mov rcx, qword [rbp - 0x28]
jmp 0x1800063a4
cmp qword [rbp - 0x10], 0x10
jb 0x18000637d
mov rcx, qword [rbp - 0x28]
call fcn.180012658
xor al, al
jmp 0x1800063ab
lea rcx, str.string_too_long
call fcn.1800100dc
int3
lea rcx, str.string_too_long
call fcn.1800100dc
nop
cmp r9, 0x10
jb 0x1800063a9
mov rcx, r10
call fcn.180012658
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x18000d1d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r9, rcx
lea r10, [rcx + 0x9c4]
mov r11d, 0xe3
mov edx, dword [r10]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
add r10, 4
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
dec r11
mov dword [r10 - 0x9c4], ecx
jne 0x18000d1e0
lea r10, [r9 + 0xd50]
mov r11d, 0x18c
nop word [rax + rax]
mov edx, dword [r10 + 4]
xor edx, dword [r10]
btr edx, 0x1f
xor edx, dword [r10]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
add r10, 4
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
dec r11
mov dword [r10 - 0x9c4], ecx
jne 0x18000d230
mov edx, dword [r9 + 0x1380]
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
mov dword [r9], r11d
ret

Function at 0x18000d2b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
lea r10, [rcx + 0x638]
mov r11d, 0x68
nop dword [rax]
mov r8d, dword [r10 - 0x630]
mov r9d, dword [r10 - 0x62c]
mov edx, dword [r10 - 0x634]
xor edx, r8d
btr edx, 0x1f
xor edx, dword [r10 - 0x634]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
mov edx, r9d
xor ecx, dword [r10]
xor edx, r8d
btr edx, 0x1f
mov dword [r10 + 0x38c], ecx
xor edx, r8d
mov r8d, dword [r10 - 0x628]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 4]
xor ecx, edx
mov edx, r8d
xor edx, r9d
mov dword [r10 + 0x390], ecx
btr edx, 0x1f
xor edx, r9d
mov r9d, dword [r10 - 0x624]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 8]
xor ecx, edx
mov edx, r9d
xor edx, r8d
mov dword [r10 + 0x394], ecx
btr edx, 0x1f
xor edx, r8d
mov r8d, dword [r10 - 0x620]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0xc]
xor ecx, edx
mov edx, r8d
xor edx, r9d
mov dword [r10 + 0x398], ecx
btr edx, 0x1f
xor edx, r9d
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x10]
xor ecx, edx
mov edx, dword [r10 - 0x61c]
xor edx, r8d
mov dword [r10 + 0x39c], ecx
btr edx, 0x1f
xor edx, r8d
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x14]
shr edx, 1
xor ecx, edx
add r10, 0x18
dec r11
mov dword [r10 + 0x388], ecx
jne 0x18000d2c0
repz ret
Function at 0x18000d804
Capabilities:
Hash data with crc32

Disassembly:
lea r8, [0x18002b460]
sub rax, rax
test rcx, rcx
je 0x18000d91f
dec rax
test rdx, rdx
je 0x18000d91d
test rcx, 3
je 0x18000d849
xor al, byte [rcx]
add rcx, 1
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
add rdx, 0xffffffffffffffff
jne 0x18000d823
mov r10, rdx
and r10, 7
shr rdx, 3
je 0x18000d8f8
xor eax, dword [rcx]
add rcx, 4
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
xor eax, dword [rcx]
add rcx, 4
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
add rdx, 0xffffffffffffffff
jne 0x18000d85a
mov rdx, r10
test rdx, rdx
je 0x18000d91d
xor al, byte [rcx]
add rcx, 1
mov r9, 0xff
and r9, rax
shr eax, 8
xor eax, dword [r8 + r9*4]
add rdx, 0xffffffffffffffff
jne 0x18000d900
not eax
ret

Function at 0x18001e7f7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180037b70]
jne 0x18001434a
rol rcx, 0x10
test cx, 0xffff
jne 0x180014346
repz ret
ror rcx, 0x10
jmp 0x18001e750
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180289510]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180289608]
mov qword [rsp + 0x58], rax
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 0x18001e7d5
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, [0x180289510]
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 0x18001e7f7
mov rax, qword [rsp + 0x88]
mov qword [0x180289608], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1802895a8], rax
mov rax, qword [0x180289608]
mov qword [0x180289480], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180289590], rax
mov dword [0x180289470], 0xc0000409
mov dword [0x180289474], 1
mov rax, qword [0x180037b70]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180037b78]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180289508], eax
mov ecx, 1
call fcn.180021aac
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18002e158]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180289508], 0
jne 0x18001e87e
mov ecx, 1
call fcn.180021aac
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 0x1800227cc
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x180037b70]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180018590
xor ebx, ebx
cmp qword [0x180289a10], rbx
mov rdi, rax
jne 0x1800228df
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1800229b6
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800229b6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180289a10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180289a18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x18002ed58]
mov rcx, rsi
mov qword [0x180289a20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180289a30], rax
test rax, rax
je 0x1800228d6
lea rdx, [0x18002ed40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x180289a28], rax
jmp 0x1800228e6
mov rax, qword [0x180289a28]
jmp 0x1800228ed
mov rax, qword [0x180289a28]
mov r11, qword [0x180289a30]
cmp rax, rdi
je 0x180022954
cmp r11, rdi
je 0x180022954
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180289a30]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180022954
test rax, rax
je 0x180022954
call rsi
test rax, rax
je 0x18002294e
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18002294e
test byte [rsp + 0x40], 1
jne 0x180022954
bts ebp, 0x15
jmp 0x180022994
mov rcx, qword [0x180289a18]
cmp rcx, rdi
je 0x180022994
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180022994
call rax
mov rbx, rax
test rax, rax
je 0x180022994
mov rcx, qword [0x180289a20]
cmp rcx, rdi
je 0x180022994
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180022994
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180289a10]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800229b6
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1800229b8
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180014330
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000a4c0
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, rdx
xor edi, edi
mov rbx, rcx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [rdi + 7]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 0x18], rax
cmp rax, 0xffffffffffffffff
jne 0x14000a52b
mov byte [rbx], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 4], eax
lea rax, [0x140027888]
mov qword [rbx + 8], rax
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x14000a572
mov qword [rbx + 0x20], 0xffffffffffffffff
mov byte [rbx], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x18]
mov dword [rbx + 4], eax
lea rax, [0x140027898]
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov eax, eax
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rbx + 0x20], rax
lea r8d, [r9 + 2]
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbx + 0x28], rax
test rax, rax
jne 0x14000a5cc
mov byte [rbx], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x18]
mov dword [rbx + 4], eax
lea rax, [0x1400278a8]
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14000a626
mov byte [rbx], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x28]
mov dword [rbx + 4], eax
lea rax, [0x1400278c0]
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov byte [rbx], dil
mov rax, rbx
mov dword [rbx + 4], edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14000a760
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14002b008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a7a5
xor al, al
jmp 0x14000a7f2
cmp word [rbx], 0
je 0x14000a7bd
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a7b0
cmp word [rsp + 0x30], 0
je 0x14000a7eb
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a813
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a7d0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b870
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000f6f8
int3
Function at 0x14000af20
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x140030da0]
test rcx, rcx
je 0x14000af5b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000af4e
mov rcx, qword [0x140030da0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x140030da0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140032e20], 0
je 0x14000b04e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140027ab0]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140030e00]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b02f
test al, 0x10
je 0x14000b02f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000afd5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000f6ec
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000f57f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f57f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f57f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f57f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f57f
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f57f
cmp dword [rcx + 0xf8], 0
je 0x14000f57f
mov ecx, ebx
call fcn.14000f620
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000f410
cmp dword [rbp + 0x20], 0
je 0x14000f5cc
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f5d4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f518
Function at 0x1400019d0
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 7
syscall
ret

Function at 0x140002484
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400024ce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400024ce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400024ce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400024ce
cmp dword [rcx + 0x84], 0xe
jbe 0x1400024ce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400024d0
xor al, al
add rsp, 0x28
ret
Function at 0x416a60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416beb
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.00434f20
xorps xmm15, xmm15
mov r14, qword [0x006b9128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x416ac5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416ad4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416af3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416b03
cmp rbx, 0x1000
jae 0x416acb
jmp 0x416b6d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x416b15
xor edx, edx
jmp 0x416b64
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.00434f20
xorps xmm15, xmm15
mov r14, qword [0x006b9128]
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 0x416af9
jmp 0x416ae8
call fcn.004688e0
xorps xmm15, xmm15
mov r14, qword [0x006b9128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00438fc0
lea rax, [0x0050be60]
mov ebx, 0x18
nop dword [rax]
call fcn.00439840
mov rax, qword [rsp + 0x38]
call fcn.00439580
lea rax, [0x0050c53b]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00439840
mov rax, qword [rsp + 0x30]
call fcn.00439580
call fcn.00439200
call fcn.00439020
lea rax, [0x0050f188]
mov ebx, 0x21
call fcn.00437520
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004651c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416a60
Function at 0x416c20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416e46
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.00434fa0
xorps xmm15, xmm15
mov r14, qword [0x006b9128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x416c93
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x416ca2
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x416cc5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x416cd5
cmp rbx, 0x1000
jae 0x416c99
nop
jmp 0x416d58
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 0x416ced
xor esi, esi
jmp 0x416d4a
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.00434fa0
xorps xmm15, xmm15
mov r14, qword [0x006b9128]
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 0x416ccb
jmp 0x416cb6
call fcn.004688e0
xorps xmm15, xmm15
mov r14, qword [0x006b9128]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x416de0
nop dword [rax + rax]
call fcn.00438fc0
lea rax, [0x0050c554]
mov ebx, 0x19
call fcn.00439840
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00439580
lea rax, [0x0050c53b]
mov ebx, 0x19
call fcn.00439840
mov eax, dword [rsp + 0x34]
call fcn.00439580
nop
call fcn.00439200
call fcn.00439020
lea rax, [0x00507fed]
mov ebx, 0xd
call fcn.00437520
nop dword [rax + rax]
cmp eax, 0x5af
je 0x416d80
call fcn.00438fc0
lea rax, [0x0050c554]
mov ebx, 0x19
call fcn.00439840
mov rax, qword [rsp + 0x38]
call fcn.00439580
lea rax, [0x0050c53b]
mov ebx, 0x19
call fcn.00439840
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00439580
call fcn.00439200
call fcn.00439020
lea rax, [0x0050e820]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00437520
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004651c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00416c20