Function at 0x180224420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xe80]
and eax, 0x40000
test eax, eax
je 0x180224455
mov byte [rsp + 0x20], 1
jmp 0x18022445a
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 4]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax*2]
mov rdx, rax
mov rcx, qword [rsp + 0x90]
call fcn.180160af0
mov dword [rsp + 0x40], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x1802244ca
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
mov ecx, dword [rsp + 0x40]
lea eax, [rcx + rax + 1]
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 0x44]
jle 0x1802244ca
xor al, al
jmp 0x1802246a0
mov eax, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x24]
lea eax, [rax + rcx + 1]
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 0x10]
jle 0x180224588
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x1802244fa
xor al, al
jmp 0x1802246a0
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x98], 0x100
jg 0x180224522
mov dword [rsp + 0x28], pe_nt_image_headers64
jmp 0x18022452d
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x98]
shl eax, 2
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x20
jge 0x18022454c
mov dword [rsp + 0x3c], 0x20
jmp 0x180224570
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x30], eax
jle 0x180224560
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x38], eax
jmp 0x180224568
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x3c]
lea eax, [rax + rcx + 1]
mov edx, eax
mov rcx, qword [rsp + 0x50]
call fcn.180184830
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x88], eax
je 0x180224600
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
cdqe
shl rax, 1
movsxd rcx, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x48]
lea rcx, [rdx + rcx*2]
movsxd rdx, dword [rsp + 0x88]
mov r8, qword [rsp + 0x48]
lea rdx, [r8 + rdx*2]
movsxd r8, dword [rsp + 0x98]
lea rdx, [rdx + r8*2]
mov qword [rsp + 0x58], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x58]
mov rcx, rax
call fcn.180244100
movsxd rax, dword [rsp + 0x98]
shl rax, 1
movsxd rcx, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x48]
lea rcx, [rdx + rcx*2]
mov r8, rax
mov rdx, qword [rsp + 0x90]
call fcn.180244100
mov rax, qword [rsp + 0x80]
mov byte [rax + 0xe7e], 1
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 4]
add eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
add eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
xor edx, edx
mov word [rcx + rax*2], dx
mov al, 1
add rsp, 0x78
ret