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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xf0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
add rax, 0x78
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0
je 0x50006d02
mov rax, qword [rsp + 0x58]
cmp dword [rax + 4], 0
jne 0x50006d09
xor eax, eax
jmp 0x500070a9
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x90], rax
xor eax, eax
test eax, eax
je 0x50006d39
mov rax, qword [rsp + 0x58]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xf0]
call fcn.50005b80
mov dword [rsp + 0x3c], eax
jmp 0x50006d44
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x98], rax
xor eax, eax
test eax, eax
je 0x50006d8c
mov rax, qword [rsp + 0x28]
mov edx, dword [rax + 0x20]
mov rcx, qword [rsp + 0xf0]
call fcn.50005b80
mov dword [rsp + 0x40], eax
jmp 0x50006d98
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xa0], rax
xor eax, eax
test eax, eax
je 0x50006de3
mov rax, qword [rsp + 0x28]
mov edx, dword [rax + 0x1c]
mov rcx, qword [rsp + 0xf0]
call fcn.50005b80
mov dword [rsp + 0x44], eax
jmp 0x50006def
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xa8], rax
xor eax, eax
test eax, eax
je 0x50006e37
mov rax, qword [rsp + 0x28]
mov edx, dword [rax + 0x24]
mov rcx, qword [rsp + 0xf0]
call fcn.50005b80
mov dword [rsp + 0x48], eax
jmp 0x50006e43
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffff
ja 0x50006ea8
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
cmp qword [rsp + 0x30], rax
jae 0x50006e8b
xor eax, eax
jmp 0x500070a9
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x50006fe1
mov dword [rsp + 0x20], 0
jmp 0x50006ebc
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x50006fcf
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x50006fae
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xc0], rax
xor eax, eax
test eax, eax
je 0x50006f29
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xf0]
call fcn.50005b80
mov dword [rsp + 0x4c], eax
jmp 0x50006f31
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
jmp 0x50006f71
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x60]
movsx eax, byte [rax]
mov rcx, qword [rsp + 0x70]
movsx ecx, byte [rcx]
cmp eax, ecx
je 0x50006f8f
mov dword [rsp + 0x50], 0
jmp 0x50006fa7
mov rax, qword [rsp + 0x60]
movsx eax, byte [rax]
test eax, eax
jne 0x50006f9d
jmp 0x50006f9f
jmp 0x50006f57
mov dword [rsp + 0x50], 1
cmp dword [rsp + 0x50], 0
jne 0x50006fb3
jmp 0x50006eb2
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xc8]
movzx eax, word [rcx + rax*2]
mov qword [rsp + 0x30], rax
jmp 0x50006fcf
cmp qword [rsp + 0x30], 0xffff
jbe 0x50006fe1
xor eax, eax
jmp 0x500070a9
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xd0], rax
xor eax, eax
test eax, eax
je 0x50007017
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rax + rcx*4]
mov rcx, qword [rsp + 0xf0]
call fcn.50005b80
mov dword [rsp + 0x54], eax
jmp 0x50007028
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x108], 0
je 0x50007063
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
lea rax, [rax + rcx*4]
mov rcx, qword [rsp + 0x108]
mov qword [rcx], rax
cmp qword [rsp + 0x100], 0
je 0x500070a4
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x68], rax
jb 0x500070a4
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x68], rax
jae 0x500070a4
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov rax, qword [rsp + 0x68]
add rsp, 0xe8
ret