Function at 0x14027cd40
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 0x14027cd7f
xor eax, eax
jmp 0x14027d242
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14027cda2
xor eax, eax
jmp 0x14027d242
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 0x14027cdd2
xor eax, eax
jmp 0x14027d242
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x14027ce1f
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 0x14027ce54
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 0x14027cec2
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 0x14027d23d
mov eax, 0xffff
mov word [rsp + 0x20], ax
mov qword [rsp + 0x78], 0
cmp qword [rsp + 0x1f8], 0xffff
ja 0x14027cf01
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x20], ax
jmp 0x14027cf5d
cmp qword [rsp + 0x1f8], 0xffff
jbe 0x14027cf56
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x30], eax
jae 0x14027cf56
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 0x14027cf5d
xor eax, eax
jmp 0x14027d242
cmp qword [rsp + 0x1f8], 0xffff
ja 0x14027cf84
movzx eax, word [rsp + 0x1f8]
movzx ecx, word [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
add ecx, dword [rdx + 0x10]
cmp eax, ecx
je 0x14027cfc6
cmp qword [rsp + 0x1f8], 0xffff
jbe 0x14027d238
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1f8]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14027cfb9
inc rax
test dl, dl
jne 0x14027cfa6
xor eax, eax
jmp 0x14027cfbe
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14027d238
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 0x14027d236
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x48], rax
ja 0x14027d236
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.1402e22a4
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.14027c250
mov rcx, rax
call fcn.14027d460
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 [sym.imp.KERNEL32.dll_lstrcpyA]
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.14027c220
mov rcx, rax
call fcn.14027d460
mov rdx, rax
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14027d17a
mov rcx, qword [rsp + 0x60]
call fcn.1402dc72c
xor eax, eax
jmp 0x14027d242
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.14027c1f0
mov rcx, rax
call fcn.14027d460
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.14002f880
test rax, rax
jne 0x14027d1fb
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
call fcn.14027cd40
mov qword [rsp + 0x48], rax
jmp 0x14027d22c
mov rax, qword [rsp + 0x40]
inc rax
mov rcx, rax
call fcn.1402e3518
cdqe
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
call fcn.14027cd40
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x60]
call fcn.1402dc72c
jmp 0x14027d23d
jmp 0x14027ceb8
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140269760
add rsp, 0x1e0
pop rdi
ret