Function at 0x18003bff0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
mov rax, qword gs:[0x30]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa8], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0xa8]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x50], rax
je 0x18003c582
xor eax, eax
mov ecx, 8
imul rcx, rcx, 0
add rax, rcx
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax + 0x88]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x18003c137
jmp 0x18003c0ad
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x18], 0
jne 0x18003c15b
jmp 0x18003c0ad
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax]
or eax, 0x20202020
cmp eax, 0x6c64746e
je 0x18003c195
jmp 0x18003c0ad
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x18003c1b7
jmp 0x18003c0ad
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x60]
movzx eax, word [rcx + rax]
or eax, 0x20
cmp eax, 0x6c
je 0x18003c1d6
jmp 0x18003c0ad
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax + 0x88]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0xc8]
imul rax, rax, 0x10
mov qword [rsp + 0xa0], rax
mov rdi, qword [rsp + 0xc0]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
jmp 0x18003c27a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x18003c3bb
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x18003c303
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x694b
jne 0x18003c303
mov rcx, qword [rsp + 0x40]
call fcn.18003bf7c
cmp eax, 0x8dcd4499
jne 0x18003c303
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18003befc
mov rcx, qword [rsp + 0xd0]
mov qword [rcx], rax
cmp qword [rsp + 0x40], 0
je 0x18003c3b6
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x775a
jne 0x18003c3b6
mov rcx, qword [rsp + 0x40]
call fcn.18003bf7c
mov ecx, dword [rsp + 0x24]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0xc0]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x24]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x58]
mov eax, dword [rdi + rax*4]
mov dword [rdx + rcx + 4], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x24]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0xc0]
mov qword [rdx + rcx + 8], rax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0xc8]
cmp dword [rsp + 0x24], eax
jne 0x18003c3b6
jmp 0x18003c3bb
jmp 0x18003c270
mov dword [rsp + 0x30], 0
jmp 0x18003c3cf
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x24]
dec eax
cmp dword [rsp + 0x30], eax
jae 0x18003c57b
mov dword [rsp + 0x20], 0
jmp 0x18003c3f3
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
dec eax
cmp dword [rsp + 0x20], eax
jae 0x18003c576
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov ecx, dword [rsp + 0x20]
inc ecx
mov ecx, ecx
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xc0]
mov ecx, dword [rdi + rcx + 4]
cmp dword [rdx + rax + 4], ecx
jbe 0x18003c571
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rcx + rax + 4]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
imul rax, rax, 0x10
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xc0]
mov eax, dword [rdi + rax]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
imul rax, rax, 0x10
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xc0]
mov eax, dword [rdi + rax + 4]
mov dword [rdx + rcx + 4], eax
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
imul rax, rax, 0x10
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xc0]
mov rax, qword [rdi + rax + 8]
mov qword [rdx + rcx + 8], rax
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xc0]
mov edx, dword [rsp + 0x80]
mov dword [rcx + rax], edx
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xc0]
mov edx, dword [rsp + 0x84]
mov dword [rcx + rax + 4], edx
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0x88]
mov qword [rcx + rax + 8], rdx
jmp 0x18003c3e9
jmp 0x18003c3c5
jmp 0x18003c582
add rsp, 0xb0
pop rdi
ret