Function at 0x1800278e0
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 0x1800279d1
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d570]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov r14, rax
test rax, rax
je 0x180027e33
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 0x180027970
sub edi, ecx
nop dword [rax]
inc rbx
cmp byte [rax + rbx + 1], 0
jne 0x180027980
movsxd rbx, ebx
lea rcx, [rax + 1]
call fcn.180026ee0
test rax, rax
je 0x1800279b2
lea r8d, [rdi - 2]
lea rdx, [rsi + 2]
add rdx, rbx
mov rcx, rax
call fcn.180027660
mov ecx, eax
jmp 0x1800279b4
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 0x180027e35
cmp ecx, 0x8b5
jne 0x180027a53
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d570]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov rsi, rax
test rax, rax
je 0x180027e33
mov rcx, rax
call fcn.180013ac0
mov rbx, rax
lea r8d, [rdi - 9]
lea rdx, [rax + 9]
mov rcx, qword [rax + 1]
call fcn.180027660
mov byte [rbx], al
mov rcx, rbx
call fcn.180013a10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x180027e35
cmp ecx, 0x8b1
jne 0x180027ae8
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d670]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov r14, rax
test rax, rax
je 0x180027e33
mov rcx, rax
call fcn.180013ac0
mov rsi, rax
or rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp byte [rax + rcx + 1], 0
jne 0x180027ab2
sub edi, ecx
nop
inc rbx
cmp byte [rax + rbx + 1], 0
jne 0x180027ac0
movsxd rax, ebx
lea rdx, [rsi + 2]
add rdx, rax
lea r8d, [rdi - 2]
lea rcx, [rsi + 1]
call fcn.180026e40
mov byte [rsi], al
jmp 0x1800279b6
cmp ecx, 0x8b6
jne 0x180027b5f
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d670]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov rsi, rax
test rax, rax
je 0x180027e33
mov rcx, rax
call fcn.180013ac0
mov rbx, rax
lea r8d, [rdi - 9]
lea rdx, [rax + 9]
mov rcx, qword [rax + 1]
call fcn.1800275d0
mov byte [rbx], al
mov rcx, rbx
call fcn.180013a10
mov rcx, rsi
jmp 0x1800279c1
cmp ecx, 0x8b2
jne 0x180027d02
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, [0x18007d770]
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 0x180027e33
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 0x180027bf0
lea r15, [rax + 1]
add r15, rcx
mov rax, rbx
lea rax, [rax + 1]
cmp byte [r15 + rax], 0
jne 0x180027c03
lea rsi, [rax + r15]
cmp r13d, 4
jne 0x180027c1e
lea r13, [rsi + 3]
jmp 0x180027c32
mov rax, rbx
inc rax
cmp byte [rsi + rax + 1], 0
jne 0x180027c21
lea r13, [rsi + 2]
add r13, rax
mov r8d, r14d
lea rdx, [0x18007d470]
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 0x180027c88
mov rcx, rdi
call fcn.180013a10
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180027e33
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.180025a00
nop
jmp 0x180027ce4
mov rcx, rdi
call fcn.180013a10
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call fcn.180013a10
jmp 0x1800279c7
cmp ecx, 0x8b4
jne 0x180027d25
shl rdi, 0x20
or rdi, r9
je 0x180027e33
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180027e35
cmp ecx, 0x8b3
jne 0x180027dc2
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d870]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov rdi, rax
test rax, rax
je 0x180027e33
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 0x180027db2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180027db2
movsxd rcx, dword [rax + 0x3c]
cmp dword [rcx + rax], 0x4550
jne 0x180027db2
mov eax, dword [rcx + rax + 0x50]
mov dword [rbx + 8], eax
mov rcx, rbx
call fcn.180013a10
mov rcx, rdi
jmp 0x1800279c1
cmp ecx, 0x8b7
jne 0x180027e33
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d970]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov rdi, rax
test rax, rax
je 0x180027e33
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 0x1800279c1
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