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

Disassembly:
mov qword [rsp + 8], rbx
cwde
rcl rax, 0xd
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
btr eax, 0x8e
push r12
rcl bpl, 0xb5
bts ebp, esp
shl ebp, 0xa9
push r13
movsx ax, r15b
push r14
bswap r13w
push r15
bt r13d, esi
mov r14b, spl
sub rsp, 0x190
mov eax, 0x5a4d
shr r14w, cl
mov rbp, r9
inc r14
mov r15, r8
mov r13, rdx
rol r14b, cl
mov r14, rcx
cmp word [r9], ax
jmp 0x18020cdc3
jne 0x18020cfed
movsxd rax, dword [r9 + 0x3c]
test r13b, 0x99
cmp eax, 0x40
jmp 0x18020cdd9
jb 0x18020cfed
lea r9, [rsp + 0x30]
movzx r8, r8w
movsxd r8, r14d
setb r8b
mov r8, rax
jmp 0x18020cdf7
mov qword [rsp + 0x20], 0x108
call fcn.18020cc88
test al, al
je 0x18020cfed
cmp dword [rsp + 0x30], 0x4550
jmp 0x18020ce1a
jne 0x18020cfed
test byte [rsp + 0x46], 2
jmp 0x18020ce2a
je 0x18020cfed
movzx eax, word [rsp + 0x48]
mov ecx, 0x20b
clc
cmp rbp, r13
jmp 0x18020ce43
cmp ax, cx
jne 0x18020cead
movzx eax, word [rsp + 0x34]
movzx ecx, cx
bt ecx, 0x29
mov ecx, 0x8664
cmc
cmp ax, cx
jmp 0x18020ce66
je 0x18020ce7f
mov ecx, 0xaa64
cmp ax, cx
jmp 0x18020ce79
jne 0x18020cfed
lea rdx, [rsp + 0x30]
cmovne ecx, r15d
bswap r8d
mov rcx, r15
setp r8b
movzx r8, r13w
mov r8d, 0x108
jmp 0x18020cea1
call fcn.18016e5c0
xor eax, eax
jmp 0x18020cffc
mov ecx, 0x10b
cmp ax, cx
jmp 0x18020ceba
jne 0x18020cfed
movzx eax, word [rsp + 0x34]
btc cx, cx
clc
mov ecx, 0x14c
test r11b, 0x3b
test bpl, dil
cmp ax, cx
jmp 0x18020cede
je 0x18020cf0a
mov ecx, 0x14d
cmp ax, cx
jmp 0x18020cef1
je 0x18020cf0a
mov ecx, 0x14e
cmp ax, cx
jmp 0x18020cf04
jne 0x18020cfed
cmp dword [rsp + 0xa4], 0x10
jmp 0x18020cf17
jne 0x18020cfed
mov ebx, dword [rsp + 0x118]
cmp sp, 0x4684
test ebx, ebx
jmp 0x18020cf30
je 0x18020cfed
cmp dword [rsp + 0x11c], 0
jmp 0x18020cf43
je 0x18020cfed
movzx r12d, word [rsp + 0x36]
sub edi, edi
test r12, r12
je 0x18020cfed
sub esi, esi
movsx rax, sp
cqo
nop
movzx r9w, spl
movsx r8w, r15b
movsxd rax, dword [rbp + 0x3c]
movsx r9, r13w
movsx ecx, r15w
lea r9, [rsp + 0x140]
cwd
mov rdx, r13
lea r8, [rax + rsi + 0xf8]
mov rcx, r14
mov qword [rsp + 0x20], 0x28
call fcn.18020cc88
test al, al
je 0x18020cfed
mov edx, dword [rsp + 0x14c]
test ch, 4
cmp sp, 0x3bba
clc
cmp ebx, edx
jb 0x18020cfd6
mov ecx, dword [rsp + 0x148]
add ecx, edx
stc
cmp ebx, ecx
jmp 0x18020cfd0
jb 0x18020d05f
inc rdi
add rsi, 0x28
cmc
clc
cmp rdi, r12
jmp 0x18020cfe7
jb 0x18020cf6d
mov eax, 0xc000007b
mov bpl, 0x92
movzx r13, r8w
mov bl, r14b
lea r11, [rsp + 0x190]
movzx r13, cx
cmovp r14d, esi
bswap rbp
mov rbx, qword [r11 + 0x30]
movsx rsi, r11w
movzx r13w, r11b
mov r14d, 0x7d29f5a9
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movzx r14, sp
mov rsp, r11
pop r15
movsx r13w, r12b
movsx rdi, r9w
movzx r14w, sil
pop r14
pop r13
cmovg di, r11w
pop r12
jmp 0x18020d058
pop rdi
jmp 0x18020d05e
ret
sub ebx, edx
cmc
clc
cmp r9, 0x54a41bab
add ebx, dword [rsp + 0x154]
je 0x18020cfed
lea r9, [rsp + 0x140]
mov r8d, ebx
mov rdx, r13
mov cl, bpl
movsx cx, sil
mov rcx, r14
mov qword [rsp + 0x20], 0x48
call fcn.18020cc88
test al, al
je 0x18020cfed
test byte [rsp + 0x150], 1
jmp 0x18020d0b3
je 0x18020cfed
lea rcx, [rsp + 0x34]
mov dl, 0x3e
lea rdx, [rsp + 0xa8]
movsxd rax, edi
movsx r8d, bp
mov ah, 0
mov r8d, pe_nt_image_headers64
mov al, r12b
mov eax, dword [rcx]
jmp 0x18020d0e2
mov dword [r15], 0x4550
jmp 0x18020d0ee
mov dword [r15 + 0x58], 0
jmp 0x18020d0fb
mov dword [r15 + 4], eax
movsxd rax, r13d
mov eax, dword [rcx + 4]
mov dword [r15 + 0x84], 0x10
jmp 0x18020d115
mov dword [r15 + 8], eax
movsx eax, r14w
mov eax, dword [rcx + 8]
jmp 0x18020d125
mov dword [r15 + 0xc], eax
jmp 0x18020d137
mov eax, dword [rcx + 0xc]
mov dword [r15 + 0x10], eax
mov rax, 0xffffffff9f1a2097
mov eax, dword [rcx + 0x10]
lea rcx, [r15 + 0x88]
jmp 0x18020d154
mov dword [r15 + 0x14], eax
movzx ax, r8b
mov eax, 0xf0
jmp 0x18020d167
mov word [r15 + 0x14], ax
movsx rax, si
mov eax, 0x10b
jmp 0x18020d17a
mov word [r15 + 0x18], ax
movzx rax, r13w
mov ah, bh
movzx eax, byte [rsp + 0x4a]
jmp 0x18020d18f
mov byte [r15 + 0x1a], al
mov al, r12b
bswap ax
movsx ax, dh
movzx eax, byte [rsp + 0x4b]
jmp 0x18020d1a7
mov byte [r15 + 0x1b], al
movzx eax, r8w
mov eax, dword [rsp + 0x4c]
mov dword [r15 + 0x1c], eax
movsx rax, r11w
movsx ax, bh
mov eax, dword [rsp + 0x50]
mov dword [r15 + 0x20], eax
movsx ax, r14b
mov eax, dword [rsp + 0x54]
jmp 0x18020d1d5
mov dword [r15 + 0x24], eax
jmp 0x18020d1df
mov eax, dword [rsp + 0x58]
jmp 0x18020d1e8
mov dword [r15 + 0x28], eax
mov al, r11b
bswap eax
mov eax, dword [rsp + 0x5c]
jmp 0x18020d1fa
mov dword [r15 + 0x2c], eax
cmovs rax, r9
movzx rax, r10w
movzx ax, spl
mov eax, dword [rsp + 0x64]
jmp 0x18020d214
mov qword [r15 + 0x30], rax
movzx ax, r12b
cdqe
movsxd rax, r15d
mov eax, dword [rsp + 0x68]
jmp 0x18020d22b
mov dword [r15 + 0x38], eax
mov eax, dword [rsp + 0x6c]
jmp 0x18020d238
mov dword [r15 + 0x3c], eax
movzx eax, word [rsp + 0x70]
jmp 0x18020d246
mov word [r15 + 0x40], ax
not al
movzx eax, word [rsp + 0x72]
jmp 0x18020d257
mov word [r15 + 0x42], ax
movzx eax, word [rsp + 0x74]
jmp 0x18020d266
mov word [r15 + 0x44], ax
movzx eax, word [rsp + 0x76]
mov word [r15 + 0x46], ax
movsx ax, bpl
movzx eax, word [rsp + 0x78]
jmp 0x18020d284
mov word [r15 + 0x48], ax
movzx eax, word [rsp + 0x7a]
jmp 0x18020d293
mov word [r15 + 0x4a], ax
mov eax, dword [rsp + 0x7c]
mov dword [r15 + 0x4c], eax
mov rax, 0x238e728e
sete ah
cdqe
mov eax, dword [rsp + 0x80]
jmp 0x18020d2b8
mov dword [r15 + 0x50], eax
setge ah
movsxd rax, edi
movzx eax, bp
mov eax, dword [rsp + 0x84]
jmp 0x18020d2d1
mov dword [r15 + 0x54], eax
xchg al, ah
jmp 0x18020d2dc
movzx eax, word [rsp + 0x8c]
jmp 0x18020d2e9
mov word [r15 + 0x5c], ax
cwde
jmp 0x18020d2f7
movzx eax, word [rsp + 0x8e]
jmp 0x18020d304
mov word [r15 + 0x5e], ax
nop
mov eax, dword [rsp + 0x90]
mov qword [r15 + 0x60], rax
movsx ax, r12b
mov eax, dword [rsp + 0x94]
jmp 0x18020d327
mov qword [r15 + 0x68], rax
cmova eax, r15d
mov eax, dword [rsp + 0x98]
jmp 0x18020d33b
mov qword [r15 + 0x70], rax
movzx eax, bx
movzx ax, r10b
mov eax, dword [rsp + 0x9c]
jmp 0x18020d353
mov qword [r15 + 0x78], rax
movsx eax, sp
mov eax, dword [rsp + 0xa0]
jmp 0x18020d366
mov dword [r15 + 0x80], eax
jmp 0x18020d372
call fcn.18016e5c0
xor eax, eax
jmp 0x18020d37e
jmp 0x18020cffc