Function at 0x18006e930
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 dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x30]
cmp dword [rsp + 0x88], eax
jae 0x18006e981
mov eax, dword [rsp + 0x88]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x48], rax
jmp 0x18006e98a
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x11]
test eax, eax
je 0x18006ec86
cmp qword [rsp + 0x38], 0
je 0x18006ec86
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
test eax, eax
je 0x18006e9db
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 8]
call fcn.1800552b0
mov qword [rsp + 0x50], rax
jmp 0x18006e9f1
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 8]
call fcn.180054550
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x18006ec86
mov r9d, dword [rsp + 0x2c]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.18006e540
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18006ec86
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
call fcn.18006e6b0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x18006ec86
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
test eax, eax
je 0x18006ea6f
mov qword [rsp + 0x58], 2
jmp 0x18006ea78
mov qword [rsp + 0x58], 1
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x50]
movsxd rcx, dword [rsp + 0x2c]
imul rcx, qword [rsp + 0x58]
add rax, rcx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.18006c530
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x18006ec86
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x18], 0
jne 0x18006eb15
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x18], ecx
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
call fcn.18006e210
jmp 0x18006eb9a
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x28]
cmp dword [rcx + rax + 0x18], 0
je 0x18006eb5a
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x28]
mov eax, dword [rcx + rax + 0x18]
mov dword [rsp + 0x28], eax
jmp 0x18006eb21
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x28]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax + 0x18], edx
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.18006f310
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x88]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x14], ecx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x18], 0
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x98]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x20], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
movzx ecx, byte [rcx]
mov byte [rax + 0x24], cl
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x2c]
mov word [rax + 0x26], cx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0x20], eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.18006f310
mov r8d, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.18007a610
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x18006ec6e
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x3c]
dec eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x3c], eax
jmp 0x18006ec86
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x34]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x34], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x78
ret