Function at 0x180028350
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 0x180028441
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d580]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov r14, rax
test rax, rax
je 0x1800288a3
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 0x1800283e0
sub edi, ecx
nop dword [rax]
inc rbx
cmp byte [rax + rbx + 1], 0
jne 0x1800283f0
movsxd rbx, ebx
lea rcx, [rax + 1]
call fcn.180027950
test rax, rax
je 0x180028422
lea r8d, [rdi - 2]
lea rdx, [rsi + 2]
add rdx, rbx
mov rcx, rax
call fcn.1800280d0
mov ecx, eax
jmp 0x180028424
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 0x1800288a5
cmp ecx, 0x8b5
jne 0x1800284c3
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d580]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov rsi, rax
test rax, rax
je 0x1800288a3
mov rcx, rax
call fcn.180013ac0
mov rbx, rax
lea r8d, [rdi - 9]
lea rdx, [rax + 9]
mov rcx, qword [rax + 1]
call fcn.1800280d0
mov byte [rbx], al
mov rcx, rbx
call fcn.180013a10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1800288a5
cmp ecx, 0x8b1
jne 0x180028558
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d680]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov r14, rax
test rax, rax
je 0x1800288a3
mov rcx, rax
call fcn.180013ac0
mov rsi, rax
or rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp byte [rax + rcx + 1], 0
jne 0x180028522
sub edi, ecx
nop
inc rbx
cmp byte [rax + rbx + 1], 0
jne 0x180028530
movsxd rax, ebx
lea rdx, [rsi + 2]
add rdx, rax
lea r8d, [rdi - 2]
lea rcx, [rsi + 1]
call fcn.1800278b0
mov byte [rsi], al
jmp 0x180028426
cmp ecx, 0x8b6
jne 0x1800285cf
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d680]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov rsi, rax
test rax, rax
je 0x1800288a3
mov rcx, rax
call fcn.180013ac0
mov rbx, rax
lea r8d, [rdi - 9]
lea rdx, [rax + 9]
mov rcx, qword [rax + 1]
call fcn.180028040
mov byte [rbx], al
mov rcx, rbx
call fcn.180013a10
mov rcx, rsi
jmp 0x180028431
cmp ecx, 0x8b2
jne 0x180028772
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, [0x18007d780]
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 0x1800288a3
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 0x180028660
lea r15, [rax + 1]
add r15, rcx
mov rax, rbx
lea rax, [rax + 1]
cmp byte [r15 + rax], 0
jne 0x180028673
lea rsi, [rax + r15]
cmp r13d, 4
jne 0x18002868e
lea r13, [rsi + 3]
jmp 0x1800286a2
mov rax, rbx
inc rax
cmp byte [rsi + rax + 1], 0
jne 0x180028691
lea r13, [rsi + 2]
add r13, rax
mov r8d, r14d
lea rdx, [0x18007d480]
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 0x1800286f8
mov rcx, rdi
call fcn.180013a10
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800288a3
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.180026470
nop
jmp 0x180028754
mov rcx, rdi
call fcn.180013a10
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call fcn.180013a10
jmp 0x180028437
cmp ecx, 0x8b4
jne 0x180028795
shl rdi, 0x20
or rdi, r9
je 0x1800288a3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800288a5
cmp ecx, 0x8b3
jne 0x180028832
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d880]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov rdi, rax
test rax, rax
je 0x1800288a3
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 0x180028822
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180028822
movsxd rcx, dword [rax + 0x3c]
cmp dword [rcx + rax], 0x4550
jne 0x180028822
mov eax, dword [rcx + rax + 0x50]
mov dword [rbx + 8], eax
mov rcx, rbx
call fcn.180013a10
mov rcx, rdi
jmp 0x180028431
cmp ecx, 0x8b7
jne 0x1800288a3
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x61]
call fcn.180008040
mov r8d, r14d
lea rdx, [0x18007d980]
lea rcx, [rsp + 0x60]
call fcn.180001a10
lea r8, [rsp + 0x60]
call fcn.180013870
mov rdi, rax
test rax, rax
je 0x1800288a3
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 0x180028431
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