Function at 0x10007f154
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, [0x100013c50]
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, [0x100014454]
lea rsi, [0x100010478]
cmp ebx, dword [r8]
je 0x10007f1d8
add r8, 0x24
cmp r8, rbp
jb 0x10007f1c0
mov r8, rsi
mov rdx, qword [rcx + 0x10]
lea rcx, [0x1000a5da0]
call fcn.100069594
mov r12d, eax
cmp eax, r15d
jne 0x10007f223
lea rcx, [rsp + 0x30]
call fcn.10007ef68
mov rcx, qword [rsp + 0x58]
cmp rcx, r15
je 0x10007f20a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
cmp rcx, r15
je 0x10007f219
call sub.msvcrt.dll_free
mov ebx, 0x8876086c
jmp 0x10007f63a
cmp eax, ebx
je 0x10007f467
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r15
cmp eax, dword [rdi]
je 0x10007f247
add rdi, 0x24
cmp rdi, rbp
jb 0x10007f238
jmp 0x10007f24a
mov rsi, rdi
mov r15d, dword [rsi + 8]
mov rbp, r14
shr r15d, 3
mov rsi, rbp
test rbp, rbp
je 0x10007f44d
mov ecx, dword [rsi + 0x18]
lea rdx, [0x100002fb0]
imul ecx, dword [rsi + 0x1c]
imul ecx, r15d
imul ecx, dword [rsi + 0x20]
call fcn.100071a10
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x10007f505
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.1000806d4
mov ebx, eax
test eax, eax
js 0x10007f4bf
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x10007f402
cmp dword [rsi + 0x44], 0
je 0x10007f402
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 0x10007f261
mov rbp, qword [rbp + 0x60]
test rbp, rbp
jne 0x10007f255
lea rcx, [rsp + 0x78]
call fcn.100080698
xor r15d, r15d
mov rdx, r13
mov ecx, 0x400
call fcn.10008ee18
mov r12d, 2
cmp eax, r15d
mov ebx, eax
jl 0x10007f492
mov rax, qword [r13]
mov dword [rsp + 0x50], r12d
mov ebx, r15d
mov qword [rsp + 0x58], rax
cmp ebx, r15d
jge 0x10007f542
lea rcx, [rsp + 0x30]
call fcn.10007ef68
mov rcx, qword [rsp + 0x58]
cmp rcx, r15
je 0x10007f4b5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
cmp rcx, r15
jmp 0x10007f4f5
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll_free
lea rcx, [rsp + 0x78]
call fcn.100080698
lea rcx, [rsp + 0x30]
call fcn.10007ef68
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x10007f4ed
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x10007f63a
call sub.msvcrt.dll_free
jmp 0x10007f63a
lea rcx, [rsp + 0x78]
call fcn.100080698
lea rcx, [rsp + 0x30]
call fcn.10007ef68
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x10007f529
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x10007f538
call sub.msvcrt.dll_free
mov ebx, 0x8007000e
jmp 0x10007f63a
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 0x10007f56f
lea rdi, [0x100021d28]
mov rsi, rax
mov rcx, r12
repe cmpsb byte [rsi], byte [rdi]
je 0x10007f57d
lea rdx, [0x100021d28]
mov ecx, ebx
call sub.msvcrt.dll_setlocale
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.10007fab8
lea rcx, [rsp + 0x30]
call fcn.10007ef68
mov ebx, eax
cmp rbp, r15
je 0x10007f5c1
lea rdi, [0x100021d28]
mov rsi, rbp
mov rcx, r12
repe cmpsb byte [rsi], byte [rdi]
je 0x10007f5b9
mov rdx, rbp
mov ecx, 4
call sub.msvcrt.dll_setlocale
mov rcx, rbp
call sub.msvcrt.dll_free
cmp ebx, r15d
jl 0x10007f49b
mov ecx, dword [rsp + 0x6c]
mov rdx, r13
call fcn.10008ee18
cmp eax, r15d
mov ebx, eax
jl 0x10007f49b
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.10007ef68
mov rcx, qword [rsp + 0x58]
cmp rcx, r15
je 0x10007f628
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
cmp rcx, r15
je 0x10007f637
call sub.msvcrt.dll_free
mov ebx, r15d
lea rcx, [rsp + 0x30]
call fcn.100071c8c
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