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

Disassembly:
mov dword [rsp + 0x10], edx
mov r11, rsp
sub rsp, 0x78
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov qword [r11 - 8], rbp
mov qword [r11 - 0x10], rsi
mov qword [r11 - 0x18], rdi
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
mov r14d, edx
mov rdi, rcx
mov rax, qword [rcx + 0x1d10]
mov qword [r11 - 0x50], rax
lea eax, [r8*8]
mov dword [rsp + 0x30], eax
xor r13d, r13d
mov dword [r11 - 0x44], r13d
test dl, dl
jns 0x101062da
lea rcx, [r11 - 0x50]
call fcn.10107ce0
mov ebp, eax
test eax, eax
jne 0x101062d5
mov rcx, rdi
call fcn.10106170
jmp 0x101062e0
add ebp, 0xffffffff
jmp 0x101062e0
mov ebp, dword [rcx + 0x1d74]
mov eax, dword [rdi + 0x1d58]
cmp ebp, eax
jbe 0x101062f1
xor al, al
jmp 0x1010674c
mov dword [rdi + 0x1d74], ebp
cmp ebp, eax
sete r15b
test r15b, r15b
je 0x1010635d
cmp ebp, 0x2000
jbe 0x10106311
xor al, al
jmp 0x1010674c
mov ecx, 0x38
call fcn.10003f74
mov rsi, rax
test rax, rax
je 0x10106349
mov qword [rax + 8], r13
mov dword [rax + 0x10], r13d
mov dword [rax + 0x14], r13d
mov qword [rax + 0x18], r13
mov dword [rax + 0x20], r13d
mov dword [rax + 0x24], r13d
mov dword [rax + 0x28], r13d
mov dword [rax + 0x2c], r13d
mov dword [rax + 0x30], r13d
jmp 0x1010634c
mov rsi, r13
lea rcx, [rdi + 0x1d50]
mov rdx, rsi
call fcn.10105ae0
jmp 0x1010636d
mov ecx, ebp
mov rax, qword [rdi + 0x1d50]
mov rsi, qword [rax + rcx*8]
inc dword [rsi + 0x30]
cmp dword [rdi + 0x1d70], r13d
je 0x101063b9
mov edx, dword [rdi + 0x1d68]
mov rax, qword [rdi + 0x1d60]
mov r8d, r13d
test edx, edx
je 0x101063ab
mov rcx, rax
mov r9, rdx
mov rdx, qword [rcx]
test rdx, rdx
je 0x101063a2
mov qword [rax], rdx
inc r8d
add rax, 8
add rcx, 8
dec r9
jne 0x10106390
mov dword [rdi + 0x1d68], r8d
mov dword [rdi + 0x1d70], r13d
cmp dword [rdi + 0x1d68], 0x2000
jbe 0x101063cc
xor al, al
jmp 0x1010674c
mov ecx, 0x40
call fcn.10003f74
mov rbx, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x1010644c
mov qword [rax + 0x20], r13
mov dword [rax + 0x2c], r13d
mov dword [rax + 0x28], r13d
cmp dword [rax + 0x2c], 0x40
jae 0x1010641e
mov rcx, qword [rax + 0x20]
call sub.msvcrt.dll_free
mov qword [rbx + 0x20], r13
mov dword [rbx + 0x2c], r13d
mov ecx, 0x40
call fcn.10003f74
mov qword [rbx + 0x20], rax
mov dword [rbx + 0x2c], 0x40
mov dword [rbx + 0x28], 0x40
xor ecx, ecx
mov rax, qword [rbx + 0x20]
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], rcx
jmp 0x1010644f
mov rbx, r13
mov edx, dword [rdi + 0x1d6c]
cmp dword [rdi + 0x1d68], edx
jne 0x101064ec
cmp edx, 0x7fffffff
jb 0x10106489
mov dword [rsp + 0x88], 0x7e5
lea rdx, [0x1018bf90]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll__CxxThrowException
int3
mov ecx, 0x7fffffff
sub ecx, edx
mov eax, edx
shr eax, 2
inc eax
cmp eax, ecx
cmova eax, ecx
lea r13d, [rdx + rax]
mov ecx, r13d
shl rcx, 3
call fcn.10003f74
mov r12, rax
mov eax, dword [rdi + 0x1d68]
test eax, eax
je 0x101064cf
mov r8, rax
shl r8, 3
mov rdx, qword [rdi + 0x1d60]
mov rcx, r12
call sub.msvcrt.dll_memcpy
mov rcx, qword [rdi + 0x1d60]
call sub.msvcrt.dll_free
mov qword [rdi + 0x1d60], r12
mov dword [rdi + 0x1d6c], r13d
xor r13d, r13d
mov ecx, dword [rdi + 0x1d68]
lea eax, [rcx + 1]
mov dword [rdi + 0x1d68], eax
mov rax, qword [rdi + 0x1d60]
mov qword [rax + rcx*8], rbx
mov dword [rbx + 0x3c], ebp
lea rcx, [rsp + 0x28]
call fcn.10107ce0
mov r12d, eax
test r14b, 0x40
je 0x10106523
add r12d, 0x102
mov ecx, dword [rdi + 0x68]
add ecx, r12d
and ecx, 0x3fffff
mov dword [rbx + 0x30], ecx
test r14b, 0x20
je 0x10106545
lea rcx, [rsp + 0x28]
call fcn.10107ce0
mov dword [rsi + 0x2c], eax
mov eax, dword [rsi + 0x2c]
mov dword [rbx + 0x34], eax
mov eax, dword [rdi + 0x6c]
mov ecx, dword [rdi + 0x68]
mov ebp, 1
cmp eax, ecx
je 0x1010656a
sub eax, ecx
and eax, 0x3fffff
cmp eax, r12d
ja 0x1010656a
mov eax, ebp
jmp 0x1010656d
mov eax, r13d
mov byte [rbx + 0x38], al
xor eax, eax
mov dword [rbx], eax
mov dword [rbx + 4], eax
mov dword [rbx + 8], eax
mov dword [rbx + 0x10], eax
mov dword [rbx + 0x14], eax
mov dword [rbx + 0x18], eax
mov dword [rbx + 0xc], 0x3c000
mov eax, dword [rbx + 0x34]
mov dword [rbx + 0x10], eax
mov eax, dword [rsi + 0x30]
mov dword [rbx + 0x14], eax
test r14b, 0x10
je 0x101065db
mov r13d, 7
mov edx, r13d
lea rcx, [rsp + 0x28]
call fcn.10107c40
mov r14d, eax
mov r12, rbx
test r14d, ebp
je 0x101065c8
lea rcx, [rsp + 0x28]
call fcn.10107ce0
mov dword [r12], eax
rol ebp, 1
add r12, 4
dec r13
jne 0x101065b5
mov r14d, dword [rsp + 0x88]
mov r12b, 1
test r15b, r15b
je 0x10106650
lea rcx, [rsp + 0x28]
call fcn.10107ce0
mov r12d, eax
cmp eax, 0x10000
jae 0x10106649
test eax, eax
je 0x10106649
test eax, eax
je 0x10106631
xor ebp, ebp
mov r13, r12
nop
nop
nop
mov edx, 8
lea rcx, [rsp + 0x28]
call fcn.10107c40
mov rcx, qword [rdi + 0x1d18]
mov byte [rcx + rbp], al
inc rbp
dec r13
jne 0x10106610
mov r8d, r12d
mov rdx, qword [rdi + 0x1d18]
mov rcx, rsi
call fcn.10107ef0
movzx r12d, al
jmp 0x10106650
xor al, al
jmp 0x1010674c
mov rcx, qword [rbx + 0x20]
mov eax, dword [rbx]
mov dword [rcx], eax
mov eax, dword [rbx + 4]
mov dword [rcx + 4], eax
mov eax, dword [rbx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rbx + 0xc]
mov dword [rcx + 0xc], eax
mov eax, dword [rbx + 0x10]
mov dword [rcx + 0x10], eax
mov eax, dword [rbx + 0x14]
mov dword [rcx + 0x14], eax
mov eax, dword [rbx + 0x18]
mov dword [rcx + 0x18], eax
mov eax, dword [rbx + 0x34]
mov dword [rcx + 0x1c], eax
mov dword [rcx + 0x20], 0
mov eax, dword [rsi + 0x30]
mov dword [rcx + 0x2c], eax
test r14b, 8
je 0x10106749
lea rcx, [rsp + 0x28]
call fcn.10107ce0
mov esi, eax
cmp eax, 0x1fc0
jbe 0x101066b3
xor al, al
jmp 0x1010674c
lea edi, [rsi + 0x40]
cmp dword [rbx + 0x28], edi
jae 0x1010671b
cmp edi, dword [rbx + 0x2c]
jbe 0x10106718
cmp edi, 0x7fffffff
jbe 0x101066e8
mov dword [rsp + 0x88], 0x7e5
lea rdx, [0x1018bf90]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll__CxxThrowException
int3
mov ecx, edi
call fcn.10003f74
mov rbp, rax
mov eax, dword [rbx + 0x28]
test eax, eax
je 0x10106708
mov r8, rax
mov rdx, qword [rbx + 0x20]
mov rcx, rbp
call sub.msvcrt.dll_memcpy
mov rcx, qword [rbx + 0x20]
call sub.msvcrt.dll_free
mov qword [rbx + 0x20], rbp
mov dword [rbx + 0x2c], edi
mov dword [rbx + 0x28], edi
mov rbx, qword [rbx + 0x20]
add rbx, 0x40
test esi, esi
je 0x10106749
mov rdi, rsi
nop
nop
mov edx, 8
lea rcx, [rsp + 0x28]
call fcn.10107c40
mov byte [rbx], al
inc rbx
dec rdi
jne 0x10106730
mov al, r12b
mov rbx, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
add rsp, 0x78
ret