joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f930
Capabilities:
Find taskbar

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
lea rcx, str.Shell_TrayWnd
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rdi, rax
test rax, rax
je 0x14000f97e
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [0x14000f860]
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnumChildWindows]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
lea rdx, [rsp + 0x20]
mov ecx, 5
mov dword [rsp + 0x20], 0x30
call qword [sym.imp.SHELL32.dll_SHAppBarMessage]
test rax, rax
je 0x14000fa02
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x14000f9da
sub eax, 1
je 0x14000f9b2
sub eax, 1
je 0x14000f9da
cmp eax, 1
jne 0x14000fa2a
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
mov dword [rbx + 4], eax
mov eax, dword [rsp + 0x44]
mov dword [rbx + 0xc], eax
lea eax, [rcx - 0x64]
mov dword [rbx], eax
lea eax, [rcx - 0x10]
mov dword [rbx + 8], eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov ecx, dword [rsp + 0x44]
lea eax, [rcx - 0x64]
mov dword [rbx + 4], eax
lea eax, [rcx - 0x10]
mov dword [rbx + 0xc], eax
mov eax, dword [rsp + 0x38]
mov dword [rbx], eax
mov eax, dword [rsp + 0x40]
mov dword [rbx + 8], eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
xor edx, edx
xor r9d, r9d
mov r8, rbx
lea ecx, [rdx + 0x30]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov r11d, dword [rbx + 8]
mov eax, dword [rbx + 0xc]
sub r11d, 0x96
sub eax, 0x1e
mov dword [rbx + 4], eax
mov dword [rbx], r11d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x140010130
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140074c00]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 6
mov eax, 1
jne 0x14001017a
cmp dword [rsp + 0x28], 2
jne 0x14001017a
mov byte [rbx + 0x94], al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14003d6d0
add rsp, 0x150
pop rbx
ret
Function at 0x140014970
Capabilities:
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov ebx, 5
lea r9, [0x14007b800]
lea r8, [0x140063864]
lea rdx, str.nCheckTime
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
jne 0x1400149e6
sub ebx, 1
jne 0x140014982
lea rcx, [0x14007b800]
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [0x14007b800]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r9, [0x14007b800]
lea r8, [0x140063864]
lea rdx, str.nCheckTime
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140015c80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_640
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x140015cbf
cmp dword [rcx + 0xa8], 0
jne 0x140015cbf
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.140019784
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.140015c24
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14001708c
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x1400170ca
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14001717e
call fcn.140015e30
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400170e9
mov ecx, 0x80004005
call fcn.140003b20
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14003e954
test eax, eax
je 0x140017151
cmp eax, 0xc
je 0x14001714b
cmp eax, 0x16
je 0x140017145
cmp eax, 0x22
je 0x140017145
cmp eax, 0x50
je 0x140017151
call fcn.140016584
int3
call fcn.140016584
int3
call fcn.14001653c
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x14001717c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14001a814
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.140027b68
mov rsi, rax
test rax, rax
je 0x14001a890
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14001a88b
cmp dword [rbx], 0x40
jb 0x14001a88b
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14001a88b
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14001a894
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140021074
Capabilities:
Extract resource via kernel32 functions

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
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1400210dc
call fcn.140019784
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400210dc
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1400210fe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.140020a84
mov esi, eax
test rdi, rdi
je 0x1400210fc
test rbx, rbx
je 0x1400210fc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x140023c0c
Capabilities:
Extract resource via kernel32 functions

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
push r13
push r14
sub rsp, 0x20
xor esi, esi
xor ebx, ebx
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x140023c7e
call fcn.140019784
mov r8d, 0xf0
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140023c7e
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140023ccb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x140023cab
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
mov edi, eax
test rbx, rbx
je 0x140023cab
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x140023cc9
mov rcx, qword [rbp + 0x98]
mov rdx, r12
mov r8, qword [rcx]
call qword [r8 + 0x140]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x14003ff80
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140048144
nop
cmp dword [0x14007a3e0], 1
je 0x14003ff2c
mov dword [0x14007a3dc], 1
mov byte [0x14007a3d8], r12b
test ebx, ebx
jne 0x14003ff18
mov rcx, qword [0x1400b6eb0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003ff05
mov rcx, qword [0x1400b6ea8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14003fea4
call fcn.140041c04
cmp qword [rdi], rax
jne 0x14003fea4
jmp 0x14003fe8a
cmp rdi, rsi
jb 0x14003ff05
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140041c04
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400b6eb0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1400b6ea8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14003fee3
cmp r13, rax
je 0x14003ff03
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14003fe8a
lea rdx, [0x140055eb0]
lea rcx, [0x140055e98]
call fcn.14003fcd4
lea rdx, [0x140055ec0]
lea rcx, [0x140055eb8]
call fcn.14003fcd4
nop
test r12d, r12d
je 0x14003ff3b
mov ecx, 8
call fcn.140048044
test r12d, r12d
jne 0x14003ff66
mov dword [0x14007a3e0], 1
lea ecx, [r12 + 8]
call fcn.140048044
mov ecx, r15d
call fcn.14003fc68
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14003fdf4

Function at 0x14003ff8c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14003fdf4
Function at 0x140042157
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140074c00]
jne 0x14003d6ea
rol rcx, 0x10
test cx, 0xffff
jne 0x14003d6e6
repz ret
ror rcx, 0x10
jmp 0x1400420b0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14007a9d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14007aac8]
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 0x140042135
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, [0x14007a9d0]
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 0x140042157
mov rax, qword [rsp + 0x88]
mov qword [0x14007aac8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14007aa68], rax
mov rax, qword [0x14007aac8]
mov qword [0x14007a940], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14007aa50], rax
mov dword [0x14007a930], 0xc0000409
mov dword [0x14007a934], 1
mov rax, qword [0x140074c00]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140074c08]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14007a9c8], eax
mov ecx, 1
call fcn.140046738
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14005d830]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14007a9c8], 0
jne 0x1400421de
mov ecx, 1
call fcn.140046738
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 0x14004960c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140041c04
xor ebx, ebx
mov rdi, rax
cmp qword [0x14007b258], rbx
jne 0x140049712
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400497e7
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400497e7
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14005da20]
mov rcx, rsi
mov qword [0x14007b258], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14005da08]
mov rcx, rsi
mov qword [0x14007b260], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14007b268], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14007b278], rax
test rax, rax
je 0x140049709
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14007b270], rax
jmp 0x140049719
mov rax, qword [0x14007b270]
jmp 0x140049720
mov rax, qword [0x14007b270]
mov r11, qword [0x14007b278]
cmp rax, rdi
je 0x140049788
cmp r11, rdi
je 0x140049788
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14007b278]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140049788
test rax, rax
je 0x140049788
call rsi
test rax, rax
je 0x140049782
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140049782
test byte [rsp + 0x38], 1
jne 0x140049788
bts ebp, 0x15
jmp 0x1400497c6
mov rcx, qword [0x14007b260]
cmp rcx, rdi
je 0x1400497c6
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400497c6
call rax
mov rbx, rax
test rax, rax
je 0x1400497c6
mov rcx, qword [0x14007b268]
cmp rcx, rdi
je 0x1400497c6
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400497c6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14007b258]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400497e7
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400497e9
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140029b84
Capabilities:
Clear file content

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
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d124
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d124
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029cd4
cmp rax, 0xffffffffffffffff
je 0x140029cd4
xor edi, edi
test rbp, rbp
jle 0x140029c7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fda4
mov rbx, rax
test rax, rax
jne 0x140029c0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029c75
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aac0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001de00
cmp eax, 0xffffffff
je 0x140029c55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c1c
mov edx, r15d
mov ecx, r14d
call fcn.14001aac0
jmp 0x140029c75
cmp byte [rsi + 0x38], dil
je 0x140029c6c
cmp dword [rsi + 0x34], 5
jne 0x140029c6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029c75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b404
jmp 0x140029ce8
jns 0x140029ce8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d124
cmp rax, 0xffffffffffffffff
jne 0x140029ca0
cmp byte [rsi + 0x30], dil
je 0x140029ce8
mov edi, dword [rsi + 0x2c]
jmp 0x140029ce8
mov ecx, r14d
call fcn.1400195f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029ce8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029ce1
mov eax, dword [rsi + 0x2c]
jmp 0x140029ce6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d124
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ade0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ae08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002ae08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001b78
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800030a8
xor eax, eax
lea r8, [0x180002f10]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180004790
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800049b0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180004897
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800047f4
mov rax, qword [0x18000e008]
cmp qword [rsp + 0x20], rax
ja 0x1800047f4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800047b6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180004823
jmp 0x180004897
cmp dword [rsp + 0x50], 0x10000
jne 0x18000487a
cmp qword [rsp + 0x48], 0x10000
jb 0x18000487a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180004868
mov rax, qword [rsp + 0x28]
jmp 0x180004899
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180004892
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800049b0
mov qword [rsp + 0x20], rax
jmp 0x1800047b6
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800048a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800049f0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800049a3
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800048fb
mov rax, qword [0x18000e008]
cmp qword [rsp + 0x20], rax
ja 0x1800048fb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800048bd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18000492a
jmp 0x1800049a3
cmp dword [rsp + 0x50], 0x10000
jne 0x180004981
cmp qword [rsp + 0x48], 0x10000
jb 0x180004981
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18000496f
mov rax, qword [rsp + 0x28]
jmp 0x1800049a5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18000499e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800049f0
mov qword [rsp + 0x20], rax
jmp 0x1800048bd
xor eax, eax
add rsp, 0x68
ret
Function at 0x180004a40
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180004fd0
mov qword [rsp + 0x28], 0
cmp qword [0x18000e378], 0
jne 0x180004a88
cmp qword [0x18000e370], 0
je 0x180004a88
mov rax, qword [0x18000e370]
mov qword [0x18000e378], rax
cmp qword [0x18000e378], 0
je 0x180004b2e
mov rax, qword [0x18000e378]
cmp qword [rax + 0x10], 0
je 0x180004b2e
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180004b2e
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180004b2e
mov rax, qword [0x18000e378]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180004af4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180004afb
xor eax, eax
jmp 0x180004ca9
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x180004ca9
mov rax, qword [0x18000e370]
mov qword [0x18000e378], rax
jmp 0x180004b50
mov rax, qword [0x18000e378]
mov rax, qword [rax + 8]
mov qword [0x18000e378], rax
cmp qword [0x18000e378], 0
je 0x180004b9d
cmp qword [0x18000e378], 0
je 0x180004b9b
mov rax, qword [0x18000e378]
cmp qword [rax + 0x10], 0
je 0x180004b9b
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180004b9b
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180004b9b
jmp 0x180004acc
jmp 0x180004b3e
mov rcx, qword [rsp + 0x60]
call fcn.180006c00
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180004cb0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180004ca7
mov rax, qword [rsp + 0x48]
mov qword [0x18000e378], rax
mov rax, qword [0x18000e378]
mov dword [rax], 0x52727464
mov rax, qword [0x18000e378]
mov qword [rax + 0x10], 0
mov rax, qword [0x18000e378]
mov rcx, qword [0x18000e370]
mov qword [rax + 8], rcx
mov rax, qword [0x18000e378]
mov qword [0x18000e370], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18000e378]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180004c58
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180004c92
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180004c4e
mov rax, qword [0x18000e378]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180004acc
xor eax, eax
add rsp, 0x58
ret