Function at 0x14027cd50
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x14034e010]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x48], 0
cmp qword [rsp + 0x1f0], 0
jne 0x14027cd8f
xor eax, eax
jmp 0x14027d252
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14027cdb2
xor eax, eax
jmp 0x14027d252
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0x4550
je 0x14027cde2
xor eax, eax
jmp 0x14027d252
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14027ce2f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x88]
add rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x8c]
mov dword [rsp + 0x58], eax
jmp 0x14027ce64
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x78]
add rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x7c]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x30], 0
jmp 0x14027ced2
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x30], eax
jae 0x14027d24d
mov eax, 0xffff
mov word [rsp + 0x20], ax
mov qword [rsp + 0x78], 0
cmp qword [rsp + 0x1f8], 0xffff
ja 0x14027cf11
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x20], ax
jmp 0x14027cf6d
cmp qword [rsp + 0x1f8], 0xffff
jbe 0x14027cf66
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x30], eax
jae 0x14027cf66
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x20], ax
jmp 0x14027cf6d
xor eax, eax
jmp 0x14027d252
cmp qword [rsp + 0x1f8], 0xffff
ja 0x14027cf94
movzx eax, word [rsp + 0x1f8]
movzx ecx, word [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
add ecx, dword [rdx + 0x10]
cmp eax, ecx
je 0x14027cfd6
cmp qword [rsp + 0x1f8], 0xffff
jbe 0x14027d248
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1f8]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14027cfc9
inc rax
test dl, dl
jne 0x14027cfb6
xor eax, eax
jmp 0x14027cfce
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14027d248
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x1f0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x48], rax
jb 0x14027d246
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x48], rax
ja 0x14027d246
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x48]
call fcn.1402e22b4
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x24]
movzx r8d, byte [rsp + 0x25]
movzx edx, byte [rsp + 0x26]
lea rcx, [rsp + 0xa0]
call fcn.14027c260
mov rcx, rax
call fcn.14027d470
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.14002f880
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov byte [rax], 0
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xd0]
call qword [0x1403110a8]
lea rax, [rsp + 0x27]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x29]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x27]
movzx r8d, byte [rsp + 0x28]
movzx edx, byte [rsp + 0x29]
lea rcx, [rsp + 0xb0]
call fcn.14027c230
mov rcx, rax
call fcn.14027d470
mov rdx, rax
lea rcx, [rsp + 0xd0]
call qword [0x140311058]
lea rcx, [rsp + 0xd0]
call qword [0x140311060]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14027d18a
mov rcx, qword [rsp + 0x60]
call fcn.1402dc73c
xor eax, eax
jmp 0x14027d252
lea rax, [rsp + 0x2a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x2a]
movzx r8d, byte [rsp + 0x2b]
movzx edx, byte [rsp + 0x2c]
lea rcx, [rsp + 0xc0]
call fcn.14027c200
mov rcx, rax
call fcn.14027d470
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.14002f880
test rax, rax
jne 0x14027d20b
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
call fcn.14027cd50
mov qword [rsp + 0x48], rax
jmp 0x14027d23c
mov rax, qword [rsp + 0x40]
inc rax
mov rcx, rax
call fcn.1402e3528
cdqe
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
call fcn.14027cd50
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x60]
call fcn.1402dc73c
jmp 0x14027d24d
jmp 0x14027cec8
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140269770
add rsp, 0x1e0
pop rdi
ret