Function at 0x1800283d0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov r14, r9
mov rdi, r8
cmp ecx, 0x8b0
jne 0x1800284c1
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d600]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov r14, rax
test rax, rax
je 0x180028923
mov rcx, rax
call fcn.180013ac0
mov rsi, rax
or rbx, 0xffffffffffffffff
mov rcx, rbx
nop dword [rax]
inc rcx
cmp byte [rax + rcx + 1], 0
jne 0x180028460
sub edi, ecx
nop dword [rax]
inc rbx
cmp byte [rax + rbx + 1], 0
jne 0x180028470
movsxd rbx, ebx
lea rcx, [rax + 1]
call fcn.1800279d0
test rax, rax
je 0x1800284a2
lea r8d, [rdi - 2]
lea rdx, [rsi + 2]
add rdx, rbx
mov rcx, rax
call fcn.180028150
mov ecx, eax
jmp 0x1800284a4
xor ecx, ecx
mov byte [rsi], cl
mov rcx, rsi
call fcn.180013a10
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x180028925
cmp ecx, 0x8b5
jne 0x180028543
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d600]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov rsi, rax
test rax, rax
je 0x180028923
mov rcx, rax
call fcn.180013ac0
mov rbx, rax
lea r8d, [rdi - 9]
lea rdx, [rax + 9]
mov rcx, qword [rax + 1]
call fcn.180028150
mov byte [rbx], al
mov rcx, rbx
call fcn.180013a10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x180028925
cmp ecx, 0x8b1
jne 0x1800285d8
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d700]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov r14, rax
test rax, rax
je 0x180028923
mov rcx, rax
call fcn.180013ac0
mov rsi, rax
or rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp byte [rax + rcx + 1], 0
jne 0x1800285a2
sub edi, ecx
nop
inc rbx
cmp byte [rax + rbx + 1], 0
jne 0x1800285b0
movsxd rax, ebx
lea rdx, [rsi + 2]
add rdx, rax
lea r8d, [rdi - 2]
lea rcx, [rsi + 1]
call fcn.180027930
mov byte [rsi], al
jmp 0x1800284a6
cmp ecx, 0x8b6
jne 0x18002864f
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d700]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov rsi, rax
test rax, rax
je 0x180028923
mov rcx, rax
call fcn.180013ac0
mov rbx, rax
lea r8d, [rdi - 9]
lea rdx, [rax + 9]
mov rcx, qword [rax + 1]
call fcn.1800280c0
mov byte [rbx], al
mov rcx, rbx
call fcn.180013a10
mov rcx, rsi
jmp 0x1800284b1
cmp ecx, 0x8b2
jne 0x1800287f2
mov rax, r8
shr rax, 0x10
movzx eax, ax
mov dword [rsp + 0x198], eax
movzx r13d, r8w
btr r13d, 0xc
mov dword [rsp + 0x190], r13d
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d800]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov r12, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x180028923
mov rcx, rax
call fcn.180013ac0
mov rdi, rax
mov qword [rsp + 0x48], rax
or rbx, 0xffffffffffffffff
mov rcx, rbx
nop word [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x1800286e0
lea r15, [rax + 1]
add r15, rcx
mov rax, rbx
lea rax, [rax + 1]
cmp byte [r15 + rax], 0
jne 0x1800286f3
lea rsi, [rax + r15]
cmp r13d, 4
jne 0x18002870e
lea r13, [rsi + 3]
jmp 0x180028722
mov rax, rbx
inc rax
cmp byte [rsi + rax + 1], 0
jne 0x180028711
lea r13, [rsi + 2]
add r13, rax
mov r8d, r14d
lea rdx, [0x18007d500]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xf4248
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rbx, rax
test rax, rax
jne 0x180028778
mov rcx, rdi
call fcn.180013a10
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180028923
mov rcx, rax
call fcn.180013ac0
mov r14, rax
mov qword [rsp + 0x40], rax
mov qword [rax], rbx
lea rbx, [rax + 8]
mov rcx, r15
call fcn.180003b84
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x190]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x198]
mov r8, r13
lea rdx, [rsi + 1]
mov rcx, rdi
call fcn.1800264f0
nop
jmp 0x1800287d4
mov rcx, rdi
call fcn.180013a10
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call fcn.180013a10
jmp 0x1800284b7
cmp ecx, 0x8b4
jne 0x180028815
shl rdi, 0x20
or rdi, r9
je 0x180028923
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180028925
cmp ecx, 0x8b3
jne 0x1800288b2
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d900]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov rdi, rax
test rax, rax
je 0x180028923
mov rcx, rax
call fcn.180013ac0
mov rbx, rax
lea rcx, [rax + 0xc]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbx], rax
xor ecx, ecx
mov dword [rbx + 8], ecx
test rax, rax
je 0x1800288a2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800288a2
movsxd rcx, dword [rax + 0x3c]
cmp dword [rcx + rax], 0x4550
jne 0x1800288a2
mov eax, dword [rcx + rax + 0x50]
mov dword [rbx + 8], eax
mov rcx, rbx
call fcn.180013a10
mov rcx, rdi
jmp 0x1800284b1
cmp ecx, 0x8b7
jne 0x180028923
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007da00]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov rdi, rax
test rax, rax
je 0x180028923
mov rcx, rax
call fcn.180013ac0
mov rbx, rax
lea rdx, [rax + 0x10]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180013a10
mov rcx, rdi
jmp 0x1800284b1
xor eax, eax
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret