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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov ebx, dword [rcx]
or rax, 0xffffffffffffffff
xor r15d, r15d
lea rdi, [0x1000135d0]
mov r13, rdx
mov r14, rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r15
mov r8, rdi
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x6c], r15d
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x68], r15d
lea rbp, [0x100013dd4]
lea rsi, [0x10000d158]
cmp ebx, dword [r8]
je 0x100089210
add r8, 0x24
cmp r8, rbp
jb 0x1000891f8
mov r8, rsi
mov rdx, qword [rcx + 0x10]
lea rcx, [0x1000abbb0]
call fcn.1000735cc
mov r12d, eax
cmp eax, r15d
jne 0x10008925b
lea rcx, [rsp + 0x30]
call fcn.100088fa0
mov rcx, qword [rsp + 0x58]
cmp rcx, r15
je 0x100089242
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
cmp rcx, r15
je 0x100089251
call sub.msvcrt.dll_free
mov ebx, 0x8876086c
jmp 0x100089672
cmp eax, ebx
je 0x10008949f
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r15
cmp eax, dword [rdi]
je 0x10008927f
add rdi, 0x24
cmp rdi, rbp
jb 0x100089270
jmp 0x100089282
mov rsi, rdi
mov r15d, dword [rsi + 8]
mov rbp, r14
shr r15d, 3
mov rsi, rbp
test rbp, rbp
je 0x100089485
mov ecx, dword [rsi + 0x18]
lea rdx, [0x1000028f0]
imul ecx, dword [rsi + 0x1c]
imul ecx, r15d
imul ecx, dword [rsi + 0x20]
call fcn.10007ba48
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x10008953d
mov rcx, qword [rsi + 8]
lea rdx, [rsi + 0x24]
mov r8d, 0x18
mov qword [rsp + 0xf0], rcx
mov ecx, dword [rsi]
mov dword [rsp + 0xf8], ecx
mov ecx, dword [rsi + 0x3c]
mov dword [rsp + 0xfc], ecx
mov ecx, dword [rsi + 0x40]
mov dword [rsp + 0x100], ecx
lea rcx, [rsp + 0x104]
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x11c]
lea rdx, [rsi + 0x24]
mov r8d, 0x18
call sub.msvcrt.dll_memcpy
mov edx, dword [rsi + 0x18]
mov ecx, dword [rsi + 0x1c]
mov rdi, qword [rsi + 0x10]
xor r8d, r8d
mov eax, edx
mov dword [rsp + 0xac], edx
mov dword [rsp + 0xb0], ecx
mov dword [rsp + 0x140], r8d
imul eax, r15d
mov dword [rsp + 0x9c], eax
mov eax, edx
mov dword [rsp + 0xa4], r8d
mov dword [rsp + 0xa8], r8d
mov dword [rsp + 0xb4], r8d
lea rdx, [rsp + 0xa4]
imul eax, ecx
imul eax, r15d
mov dword [rsp + 0xa0], eax
mov eax, dword [rsi + 0x20]
lea rcx, [rsp + 0xbc]
mov r8d, 0x18
mov dword [rsp + 0x134], 1
mov qword [rsp + 0x148], rdi
mov dword [rsp + 0xb8], eax
mov qword [rsp + 0x90], rbx
mov dword [rsp + 0x98], r12d
call sub.msvcrt.dll_memcpy
and dword [rsp + 0xe0], 0
and qword [rsp + 0x80], 0
and qword [rsp + 0x78], 0
mov qword [rsp + 0xe8], rdi
mov edi, 0x80001
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x78]
mov r9d, edi
mov dword [rsp + 0xd4], 1
mov dword [rsp + 0x88], edi
mov dword [rsp + 0x20], 1
call fcn.10008a70c
mov ebx, eax
test eax, eax
js 0x1000894f7
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x10008943a
cmp dword [rsi + 0x44], 0
je 0x10008943a
call sub.msvcrt.dll_free
and qword [rsi + 8], 0
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0xbc]
mov r8d, 0x18
mov qword [rsi + 8], rcx
lea rcx, [rsi + 0x24]
mov dword [rsi], r12d
call sub.msvcrt.dll_memcpy
mov edx, dword [rsp + 0x9c]
mov eax, dword [rsp + 0xa0]
mov dword [rsi + 0x3c], edx
mov dword [rsi + 0x40], eax
mov dword [rsi + 0x44], 1
mov rsi, qword [rsi + 0x58]
test rsi, rsi
jne 0x100089299
mov rbp, qword [rbp + 0x60]
test rbp, rbp
jne 0x10008928d
lea rcx, [rsp + 0x78]
call fcn.10008a6d0
xor r15d, r15d
mov rdx, r13
mov ecx, 0x400
call fcn.100098e60
mov r12d, 2
cmp eax, r15d
mov ebx, eax
jl 0x1000894ca
mov rax, qword [r13]
mov dword [rsp + 0x50], r12d
mov ebx, r15d
mov qword [rsp + 0x58], rax
cmp ebx, r15d
jge 0x10008957a
lea rcx, [rsp + 0x30]
call fcn.100088fa0
mov rcx, qword [rsp + 0x58]
cmp rcx, r15
je 0x1000894ed
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
cmp rcx, r15
jmp 0x10008952d
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll_free
lea rcx, [rsp + 0x78]
call fcn.10008a6d0
lea rcx, [rsp + 0x30]
call fcn.100088fa0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x100089525
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x100089672
call sub.msvcrt.dll_free
jmp 0x100089672
lea rcx, [rsp + 0x78]
call fcn.10008a6d0
lea rcx, [rsp + 0x30]
call fcn.100088fa0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x100089561
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x100089570
call sub.msvcrt.dll_free
mov ebx, 0x8007000e
jmp 0x100089672
xor edx, edx
lea ebx, [rdx + 4]
mov ecx, ebx
call sub.msvcrt.dll_setlocale
mov rcx, rax
call sub.msvcrt.dll__strdup
mov rbp, rax
cmp rax, r15
je 0x1000895a7
lea rdi, [0x1000275c8]
mov rsi, rax
mov rcx, r12
repe cmpsb byte [rsi], byte [rdi]
je 0x1000895b5
lea rdx, [0x1000275c8]
mov ecx, ebx
call sub.msvcrt.dll_setlocale
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.100089af0
lea rcx, [rsp + 0x30]
call fcn.100088fa0
mov ebx, eax
cmp rbp, r15
je 0x1000895f9
lea rdi, [0x1000275c8]
mov rsi, rbp
mov rcx, r12
repe cmpsb byte [rsi], byte [rdi]
je 0x1000895f1
mov rdx, rbp
mov ecx, 4
call sub.msvcrt.dll_setlocale
mov rcx, rbp
call sub.msvcrt.dll_free
cmp ebx, r15d
jl 0x1000894d3
mov ecx, dword [rsp + 0x6c]
mov rdx, r13
call fcn.100098e60
cmp eax, r15d
mov ebx, eax
jl 0x1000894d3
mov rcx, qword [rsp + 0x58]
mov rsi, qword [r13]
mov ebx, dword [rsp + 0x6c]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdx, qword [rsi]
mov rcx, rsi
mov rdi, rax
call qword [rdx + 0x18]
mov r8, rbx
mov rcx, rax
mov rdx, rdi
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x30]
call fcn.100088fa0
mov rcx, qword [rsp + 0x58]
cmp rcx, r15
je 0x100089660
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
cmp rcx, r15
je 0x10008966f
call sub.msvcrt.dll_free
mov ebx, r15d
lea rcx, [rsp + 0x30]
call fcn.10007bcc4
lea r11, [rsp + 0x150]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret