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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rdi, r8
mov r13, rdx
mov rsi, rcx
xor r15d, r15d
mov byte [rcx + 0x48], r15b
mov byte [rcx + 0x49], r15b
mov byte [rcx + 0x4a], r15b
mov byte [rcx + 0x4b], r15b
mov rcx, rdx
call fcn.1008fa3c
mov rcx, qword [r13 + 0x90]
mov rax, qword [rcx]
lea r9, [r13 + 0x20]
lea r14d, [r15 + 1]
mov r8d, r14d
xor edx, edx
call qword [rax + 0x20]
cmp eax, r15d
jne 0x100903da
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x118], r15
mov r8d, 0x20
lea rdx, [rsp + 0x80]
mov rcx, qword [r13 + 0x90]
call fcn.1000c5a4
mov ebx, eax
cmp eax, r15d
je 0x1008fd83
jmp 0x1008feea
mov r8d, 8
lea rbx, str.MSCF
mov rdx, rbx
lea rcx, [rsp + 0x80]
call sub.msvcrt.dll_memcmp
cmp eax, r15d
jne 0x1008fedd
lea rdx, [rsp + 0x80]
lea rcx, [r13 + 0x28]
call fcn.1008f360
cmp al, r15b
je 0x1008fedd
mov ecx, 0x30
call fcn.10003f74
mov rbx, rax
cmp rax, r15
je 0x1008fde9
mov dword [rax + 8], r15d
lea rax, [0x1013a4a8]
mov qword [rbx], rax
mov qword [rbx + 0x10], r15
jmp 0x1008fdec
mov rbx, r15
cmp rbx, r15
je 0x1008fdfa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopy]
mov qword [rsp + 0x118], rbx
mov rdi, qword [r13 + 0x90]
cmp rdi, r15
je 0x1008fe17
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VariantCopy]
mov rcx, qword [rbx + 0x10]
cmp rcx, r15
je 0x1008fe26
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rdi
mov ecx, dword [r13 + 0x88]
add ecx, 0xfffffff8
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], r15
mov byte [rbx + 0x28], r15b
mov qword [rsp + 0x38], r15
mov r12d, 0x8000
mov rcx, r12
call fcn.10003f74
mov r14, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r12
mov r8d, 0x20
lea rdx, [rsp + 0x80]
mov rcx, rax
call sub.msvcrt.dll_memcpy
lea r15, [r14 + 0x20]
mov r10, qword [rbx]
lea r9, [rsp + 0x100]
lea r8d, [r12 - 0x20]
mov rdx, r15
mov rcx, rbx
call qword [r10 + 0x18]
mov edi, eax
xor r8d, r8d
cmp eax, r8d
je 0x1008fead
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
nop
jmp 0x100903ce
mov eax, dword [rsp + 0x100]
add eax, 0x20
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x28], r12
mov qword [rsi + 0x20], r8
mov qword [rsi], r15
add rax, r14
mov qword [rsi + 8], rax
mov byte [rsi + 0x30], r8b
mov dword [rsi + 0x34], r8d
mov r15, r8
jmp 0x100900a6
cmp rdi, r15
je 0x1008fef8
cmp qword [rdi], r15
jne 0x1008fef8
mov ebx, r14d
xor ecx, ecx
call sub.msvcrt.dll_free
mov eax, ebx
jmp 0x100903da
mov rax, qword [r13 + 0x90]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], 8
mov qword [rsp + 0x78], rdi
mov edi, 0x20
mov dword [rsp + 0x5c], edi
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x64], 0x8020
mov qword [rsp + 0x38], r15
mov ebx, 0x8030
mov rcx, rbx
call fcn.10003f74
mov r14, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rax
mov r8, rdi
lea rdx, [rsp + 0x80]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov r11, qword [r13 + 0x20]
mov qword [rsp + 0x70], r11
mov dword [rsp + 0x4c], edi
mov dword [rsp + 0x48], 1
lea rcx, [rsp + 0x40]
call fcn.1008f204
cmp eax, r15d
jne 0x1008ffb5
mov edi, dword [rsp + 0x48]
mov rdx, rdi
add rdx, qword [rsp + 0x40]
lea rcx, [r13 + 0x28]
call fcn.1008f360
cmp al, r15b
jne 0x1008ffbc
inc edi
mov dword [rsp + 0x48], edi
lea rcx, [rsp + 0x40]
call fcn.1008f204
cmp eax, r15d
je 0x1008ff86
mov edi, eax
jmp 0x100903ce
mov r15, rdi
mov rax, qword [rsp + 0x70]
lea rcx, [rdi + rax]
mov qword [r13 + 0x20], rcx
mov ecx, 0x30
call fcn.10003f74
mov rbx, rax
xor r8d, r8d
cmp rax, r8
je 0x1008fff5
mov dword [rax + 8], r8d
lea rax, [0x1013a4a8]
mov qword [rbx], rax
mov qword [rbx + 0x10], r8
jmp 0x1008fff8
mov rbx, r8
mov r12, qword [r13 + 0x90]
cmp r12, r8
je 0x10090011
mov rax, qword [r12]
mov rcx, r12
call qword [rax + VariantCopy]
xor r8d, r8d
mov rcx, qword [rbx + 0x10]
cmp rcx, r8
je 0x10090023
mov rax, qword [rcx]
call qword [rax + 0x10]
xor r8d, r8d
mov qword [rbx + 0x10], r12
cmp rbx, r8
je 0x10090038
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopy]
xor r8d, r8d
mov qword [rsp + 0x118], rbx
mov edx, dword [rsp + 0x4c]
mov eax, edx
sub eax, edi
mov ecx, dword [r13 + 0x88]
cmp ecx, eax
ja 0x1009006b
mov qword [rbx + 0x18], r8
mov qword [rbx + 0x20], r8
mov byte [rbx + 0x28], r8b
mov eax, dword [r13 + 0x88]
lea edx, [rdi + rax]
jmp 0x1009007b
sub ecx, eax
mov eax, ecx
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], r8
mov byte [rbx + 0x28], r8b
lea eax, [rdi + 0x20]
mov qword [rsi + 0x10], r14
mov r12d, 0x8000
mov qword [rsi + 0x28], r12
mov qword [rsi + 0x20], r8
add rax, r14
mov qword [rsi], rax
lea rax, [rdx + r14]
mov qword [rsi + 8], rax
mov byte [rsi + 0x30], r8b
mov dword [rsi + 0x34], r8d
mov byte [rsi + 0x48], 1
mov qword [rsi + 0x18], rbx
cmp qword [rsi + 0x40], r8
jne 0x100900e8
mov edi, 0x1000
cmp qword [rsi + 0x40], rdi
je 0x100900e8
mov rcx, qword [rsi + 0x38]
cmp rcx, r8
je 0x100900d4
call sub.msvcrt.dll_free
xor r8d, r8d
mov qword [rsi + 0x38], r8
mov qword [rsi + 0x40], r8
mov rcx, rdi
call fcn.10003f74
mov qword [rsi + 0x38], rax
mov qword [rsi + 0x40], rdi
mov r8d, dword [r13 + 0x34]
shr r8d, 2
and r8d, 1
lea r8d, [r8*4 + 4]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1008f1d0
movzx r11d, word [rsp + 0x20]
mov dword [r13 + 0x38], r11d
movzx eax, word [rsp + 0x22]
mov dword [r13 + 0x3c], eax
mov eax, dword [r13 + 0x34]
shr eax, 2
test al, 1
je 0x1009014b
mov ecx, dword [rsp + 0x24]
mov word [r13 + 0x40], cx
mov al, byte [rsp + 0x26]
mov byte [r13 + 0x42], al
mov al, byte [rsp + 0x27]
mov byte [r13 + 0x43], al
movzx edx, cx
mov rcx, rsi
call fcn.1008f19c
test byte [r13 + 0x34], 1
je 0x1009016a
lea rdx, [r13 + 0x48]
mov rcx, rsi
call fcn.1008f4c0
lea rdx, [r13 + 0x58]
mov rcx, rsi
call fcn.1008f4c0
mov eax, dword [r13 + 0x34]
shr eax, 1
test al, 1
je 0x1009018c
lea rdx, [r13 + 0x68]
mov rcx, rsi
call fcn.1008f4c0
lea rdx, [r13 + 0x78]
mov rcx, rsi
call fcn.1008f4c0
mov edx, dword [r13 + 0x2c]
mov rcx, r13
call fcn.10071b88
xor edi, edi
cmp dword [r13 + 0x2c], edi
jbe 0x10090214
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1008f1d0
mov r11d, dword [rsp + 0x20]
mov dword [rsp + 0x108], r11d
movzx eax, word [rsp + 0x24]
mov word [rsp + 0x10c], ax
mov al, byte [rsp + 0x26]
mov byte [rsp + 0x10e], al
mov al, byte [rsp + 0x27]
mov byte [rsp + 0x10f], al
movzx edx, byte [r13 + 0x42]
mov rcx, rsi
call fcn.1008f19c
mov r11d, dword [r13 + 8]
lea eax, [r11 + 1]
mov dword [r13 + 8], eax
mov rcx, qword [r13]
mov rax, qword [rsp + 0x108]
mov qword [rcx + r11*8], rax
inc edi
cmp edi, dword [r13 + 0x2c]
jb 0x100901a0
mov edx, dword [r13 + 0x8c]
mov eax, dword [rsi + 0x34]
sub rax, qword [rsi + 0x10]
sub rax, r15
add rax, qword [rsi + 0x20]
add rax, qword [rsi]
cmp rax, rdx
je 0x10090284
mov rcx, qword [r13 + 0x90]
mov r10, qword [rcx]
add rdx, qword [r13 + 0x20]
xor r9d, r9d
xor r8d, r8d
call qword [r10 + 0x20]
mov edi, eax
test eax, eax
je 0x1009025e
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
nop
jmp 0x100903ce
mov eax, dword [r13 + 0x88]
sub eax, dword [r13 + 0x8c]
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], 0
mov byte [rbx + 0x28], 0
mov rcx, rsi
call fcn.10007a40
mov eax, dword [r13 + 0x30]
mov dword [rsp + 0x108], eax
movsxd rdi, dword [r13 + 0x18]
mov r15, rdi
test edi, edi
je 0x100902cd
shl r15, 3
add edi, 0xffffffff
sub r15, 8
mov rax, qword [r13 + 0x10]
mov r14, qword [r15 + rax]
test r14, r14
je 0x100902c2
mov rcx, qword [r14]
call sub.msvcrt.dll_free
mov rcx, r14
call sub.msvcrt.dll_free
test edi, edi
jne 0x1009029e
mov eax, dword [rsp + 0x108]
mov dword [r13 + 0x18], 0
mov edx, eax
lea rcx, [r13 + 0x10]
call fcn.10071b88
xor r14d, r14d
cmp dword [r13 + 0x30], r14d
jbe 0x100903c2
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1008f1d0
mov ecx, 0x28
call fcn.10003f74
mov rdi, rax
mov qword [rsp + 0x108], rax
test rax, rax
je 0x10090324
mov rcx, rax
call fcn.10001fbc
jmp 0x10090326
xor edi, edi
mov ecx, dword [r13 + 0x18]
lea eax, [rcx + 1]
mov dword [r13 + 0x18], eax
mov rax, qword [r13 + 0x10]
mov qword [rax + rcx*8], rdi
mov eax, dword [rsp + 0x20]
mov dword [rdi + 0x14], eax
mov eax, dword [rsp + 0x24]
mov dword [rdi + 0x10], eax
movzx eax, word [rsp + 0x28]
mov dword [rdi + 0x1c], eax
movzx ecx, word [rsp + 0x2a]
shl ecx, 0x10
movzx eax, word [rsp + 0x2c]
or ecx, eax
mov dword [rdi + 0x18], ecx
movzx eax, word [rsp + 0x2e]
mov word [rdi + 0x22], ax
mov rdx, rdi
mov rcx, rsi
call fcn.1008f4c0
mov r11d, dword [r13 + 8]
mov eax, dword [rdi + 0x1c]
cmp eax, 0xfffd
je 0x1009038a
cmp eax, 0xffff
jne 0x1009038e
xor eax, eax
jmp 0x10090399
cmp eax, 0xfffe
jne 0x10090399
lea eax, [r11 - 1]
cmp eax, r11d
jge 0x100903ad
inc r14d
cmp r14d, dword [r13 + 0x30]
jb 0x100902ed
jmp 0x100903c2
mov byte [rsi + 0x4b], 1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
mov edi, 1
jmp 0x100903ce
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
xor edi, edi
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
mov eax, edi
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret