Function at 0x18004bdc0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x258
mov rax, qword [0x1800af618]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov eax, dword [rsp + 0x288]
add rax, 0x1c8
mov dword [rsp + 0x190], eax
mov r8d, dword [rsp + 0x190]
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x198], rax
cmp qword [rsp + 0x198], 0
jne 0x18004be43
xor eax, eax
jmp 0x18004c203
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x1c0], 0
mov r8d, 0x40
xor edx, edx
lea rcx, [rsp + 0x1d0]
call fcn.18004efa0
mov edx, 0x5a4d
mov word [rsp + 0x1d0], dx
mov dword [rsp + 0x20c], 0x40
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rsp + 0x1d0]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18004becc
cmp qword [rsp + 0x1c0], 0x40
je 0x18004bed3
xor eax, eax
jmp 0x18004c203
mov rax, qword [rsp + 0x140]
add rax, 0x40
mov qword [rsp + 0x140], rax
mov r8d, 0x108
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18004efa0
mov dword [rsp + 0x30], 0x4550
mov eax, 0xf0
mov word [rsp + 0x44], ax
mov eax, 0x2000
mov word [rsp + 0x46], ax
mov eax, 1
mov word [rsp + 0x36], ax
mov eax, 0x20b
mov word [rsp + 0x48], ax
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
mov r9d, 0x108
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18004bf69
cmp qword [rsp + 0x1c0], 0x108
je 0x18004bf70
xor eax, eax
jmp 0x18004c203
mov rax, qword [rsp + 0x140]
add rax, 0x108
mov qword [rsp + 0x140], rax
mov r8d, 0x28
xor edx, edx
lea rcx, [rsp + 0x210]
call fcn.18004efa0
mov r8d, 8
lea rdx, [0x18005e048]
lea rcx, [rsp + 0x210]
call fcn.18004e8f0
mov rax, qword [rsp + 0x140]
add rax, 0x28
sub rax, qword [rsp + 0x198]
mov dword [rsp + 0x21c], eax
mov eax, dword [rsp + 0x288]
add rax, 0x58
mov dword [rsp + 0x220], eax
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
mov r9d, 0x28
lea r8, [rsp + 0x210]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18004c022
cmp qword [rsp + 0x1c0], 0x28
je 0x18004c029
xor eax, eax
jmp 0x18004c203
mov rax, qword [rsp + 0x140]
add rax, 0x28
mov qword [rsp + 0x140], rax
mov r8d, 0x40
xor edx, edx
lea rcx, [rsp + 0x150]
call fcn.18004efa0
mov dword [rsp + 0x150], 0x40
mov dword [rsp + 0x154], 0x727444
mov dword [rsp + 0x158], 0x40
mov eax, dword [rsp + 0x288]
add rax, 0x58
mov dword [rsp + 0x15c], eax
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rsp + 0x150]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18004c0c5
cmp qword [rsp + 0x1c0], 0x40
je 0x18004c0cc
xor eax, eax
jmp 0x18004c203
mov rax, qword [rsp + 0x140]
add rax, 0x40
mov qword [rsp + 0x140], rax
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x1a8]
call fcn.18004efa0
mov eax, dword [rsp + 0x288]
add rax, 0x18
mov dword [rsp + 0x1a8], eax
mov dword [rsp + 0x1ac], 0
lea rdi, [rsp + 0x238]
mov rsi, qword [rsp + 0x278]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x1b0]
lea rsi, [rsp + 0x238]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
mov r9d, 0x18
lea r8, [rsp + 0x1a8]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18004c180
cmp qword [rsp + 0x1c0], 0x18
je 0x18004c184
xor eax, eax
jmp 0x18004c203
mov rax, qword [rsp + 0x140]
add rax, 0x18
mov qword [rsp + 0x140], rax
mov r9d, dword [rsp + 0x288]
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x280]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18004c1e0
mov eax, dword [rsp + 0x288]
cmp qword [rsp + 0x1c0], rax
je 0x18004c1e4
xor eax, eax
jmp 0x18004c203
mov ecx, dword [rsp + 0x288]
mov rax, qword [rsp + 0x140]
add rax, rcx
mov qword [rsp + 0x140], rax
mov eax, 1
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.18004d440
add rsp, 0x258
pop rdi
pop rsi
ret