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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov rsi, qword [rsp + 0x148]
xor r10d, r10d
mov r12, r9
mov r13d, edx
mov r11, rcx
cmp rsi, r10
jne 0x10015d3c9
mov rsi, qword [rcx + 0x148]
mov qword [rsp + 0x148], rsi
mov rdx, qword [rsi + 0x18]
mov rdi, qword [rcx + 0x20]
mov eax, dword [rdx]
mov rcx, qword [rdi + rax*8]
mov eax, dword [rcx + 4]
cmp dword [r11 + 0xa0], eax
je 0x10015d3ed
mov eax, 1
jmp 0x10015da1f
mov r9, qword [r11 + 0x148]
mov r15d, r10d
mov dword [rsp + 0x24], r10d
mov eax, dword [r9]
and eax, 0xfffff
cmp eax, dword [r9 + 0x10]
jne 0x10015d3e3
mov ebp, r10d
mov r8d, 1
cmp dword [r9 + 0x10], r10d
jbe 0x10015d4e6
mov ebx, dword [r11 + 0x84]
shl ebx, 0xe
sar ebx, 0x1f
sub r12, rdx
mov eax, dword [r12 + rdx]
mov r14, qword [r11 + 0x18]
mov rcx, qword [rdi + rax*8]
mov eax, dword [rcx + 4]
mov r14, qword [r14 + rax*8]
cmp ebx, r10d
je 0x10015d45c
bt dword [rcx + 0x3c], 9
jae 0x10015d45c
cmp r13d, 0x80000
cmove r15d, r8d
mov dword [rsp + 0x24], r15d
test dword [rcx + 0x3c], 0x1f0000
je 0x10015d48d
mov eax, dword [rsp + 0x130]
not eax
and eax, dword [rcx + 0x3c]
test eax, 0x1f0000
je 0x10015d48d
cmp r13d, 0x80000
jne 0x10015d97b
mov r15d, r8d
mov dword [rsp + 0x24], r8d
mov eax, dword [rdx]
mov rcx, qword [rdi + rax*8]
test dword [rcx + 0x3c], 0xfe00
jne 0x10015d97b
test byte [r11 + 0x84], 0x10
je 0x10015d4cd
bt dword [r14 + 8], 9
jae 0x10015d4cd
mov eax, dword [r9]
and eax, 0xfff00000
cmp eax, 0x10100000
jne 0x10015d97b
mov r15d, r8d
mov dword [rsp + 0x24], r8d
add ebp, r8d
add rdx, 4
cmp ebp, dword [r9 + 0x10]
jb 0x10015d42d
mov r12, qword [rsp + 0x138]
mov r9d, r10d
movsxd r14, r15d
cmp dword [rsi + 0x10], r10d
jbe 0x10015d5f9
mov edi, dword [rsp + 0x140]
lea rax, [rsp + 0x38]
mov rbx, r10
not edi
lea rbp, [rsp + 0xb8]
sub r12, rax
mov rax, qword [rsi + 0x18]
mov rdx, qword [r11 + 0x20]
mov ecx, dword [rbx + rax]
mov r13, qword [rdx + rcx*8]
lea rcx, [rsp + rbx + 0x38]
mov eax, dword [r12 + rcx]
mov rdx, qword [rdx + rax*8]
mov eax, dword [r13 + 8]
mov dword [rcx], eax
mov eax, dword [r13 + 0xc]
mov qword [rsp + 0x30], rdx
mov edx, dword [r13 + 0x3c]
mov dword [rsp + rbx + 0x58], eax
mov eax, dword [r13 + 0x10]
mov dword [rsp + rbx + 0x68], eax
mov eax, dword [r13 + 0x14]
mov dword [rsp + rbx + 0x88], edx
mov dword [rsp + rbx + 0x78], eax
mov eax, dword [r13 + 0x18]
mov dword [rsp + rbx + 0xa8], eax
mov eax, dword [r13 + 0x48]
mov dword [rsp + rbx + 0x98], eax
mov rax, qword [r13 + 0x70]
mov qword [rbp], rax
cmp r14, r10
jne 0x10015d5d1
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + 4]
mov dword [r13 + 4], eax
mov eax, dword [rcx + 8]
mov dword [r13 + 8], eax
mov eax, dword [rcx + 0xc]
mov dword [r13 + 0xc], eax
mov eax, dword [rcx + 0x10]
mov dword [r13 + 0x10], eax
mov eax, dword [rcx + 0x14]
mov dword [r13 + 0x14], eax
mov eax, dword [rcx + 0x18]
mov dword [r13 + 0x18], eax
mov eax, dword [rcx + 0x48]
mov dword [r13 + 0x48], eax
mov rax, qword [rcx + 0x70]
mov qword [r13 + 0x70], rax
mov eax, dword [rcx + 0x3c]
mov ecx, eax
and eax, edi
xor ecx, dword [rsp + 0x140]
or ecx, eax
or ecx, edx
jmp 0x10015d5e0
mov ecx, edx
mov eax, edi
xor ecx, dword [rsp + 0x140]
and eax, edx
or ecx, eax
add r9d, r8d
mov dword [r13 + 0x3c], ecx
add rbx, 4
add rbp, 8
cmp r9d, dword [rsi + 0x10]
jb 0x10015d512
mov ebx, dword [rsi + 0x10]
mov ebp, r10d
mov dword [rsp + 0x30], ebx
cmp ebx, r10d
jbe 0x10015d694
mov rcx, qword [r11 + 0x20]
mov rdi, qword [rsi + 0x18]
mov r14d, dword [rdi]
mov rdx, qword [rcx + r14*8]
movsxd rcx, dword [rdx + 0x54]
cmp ecx, 0xffffffff
je 0x10015d685
bt dword [r11 + 0x84], 0x1d
jb 0x10015d685
mov r13d, dword [rdx + 0x58]
cmp ecx, r13d
ja 0x10015d685
mov rax, qword [r11 + 0x28]
lea rbx, [rax + rcx*8]
mov rdx, qword [rbx]
mov eax, dword [rdx]
and eax, 0xf0000000
cmp eax, 0x60000000
jne 0x10015d676
mov r12d, dword [rdx + 4]
mov r9d, r10d
cmp r12d, r10d
jbe 0x10015d676
mov rax, qword [rdx + 8]
cmp dword [rax], r14d
je 0x10015d8f7
add r9d, r8d
add rax, 4
cmp r9d, r12d
jb 0x10015d661
add ecx, r8d
add rbx, 8
cmp ecx, r13d
jbe 0x10015d640
mov ebx, dword [rsi + 0x10]
mov rcx, qword [r11 + 0x20]
add ebp, r8d
add rdi, 4
cmp ebp, ebx
jb 0x10015d614
or r14d, 0xffffffff
mov eax, r10d
or ecx, r14d
mov dword [rsp + 0x20], eax
cmp ebx, r10d
jbe 0x10015d780
mov r9, qword [rsp + 0x138]
mov rax, qword [r11 + 0x20]
mov r15d, dword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov eax, dword [r11 + 0xa0]
lea rdi, [rsp + 0x38]
mov r11, qword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsi + 0x18]
mov r10d, dword [rsp + 0x28]
lea rbp, [rsp + 0x58]
lea r12, [rsp + 0x68]
mov rsi, rax
sub rdi, r9
sub rbp, r9
sub rsi, r9
mov rdx, r9
mov r13d, ebx
sub r12, r9
mov eax, dword [rsi + rdx]
mov rbx, qword [r11 + rax*8]
mov eax, dword [rdx]
cmp dword [rbx + 0x54], r14d
mov r9, qword [r11 + rax*8]
cmovb r14d, dword [rbx + 0x54]
cmp dword [rbx + 0x58], r15d
cmova r15d, dword [rbx + 0x58]
cmp r10d, dword [r9 + 4]
jne 0x10015d749
mov eax, dword [r9 + 8]
cmp dword [rdi + rdx], eax
jne 0x10015d749
mov eax, dword [r9 + 0xc]
cmp dword [rdx + rbp], eax
jne 0x10015d749
mov eax, dword [r9 + 0x10]
cmp dword [r12 + rdx], eax
jne 0x10015d749
cmp dword [rbx + 0x50], ecx
jae 0x10015d752
mov ecx, dword [rbx + 0x50]
jmp 0x10015d752
cmp dword [r9 + 0x50], ecx
cmovb ecx, dword [r9 + 0x50]
add rdx, 4
sub r13, r8
jne 0x10015d6fe
mov r11, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x148]
mov ebx, dword [rsp + 0x30]
mov dword [rsp + 0x20], r15d
mov r15d, dword [rsp + 0x24]
xor r10d, r10d
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x150], r10d
jne 0x10015d79d
cmp ecx, eax
jae 0x10015d79d
bt dword [r11 + 0x84], 0x1c
jae 0x10015d8f7
cmp r15d, r10d
jne 0x10015da09
movsxd rcx, r14d
cmp r14d, eax
ja 0x10015d8df
mov rax, qword [r11 + 0x28]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x148], rax
mov rax, qword [rax]
mov ecx, dword [rax]
cmp ecx, r10d
je 0x10015d8bd
mov r9, qword [rax + 8]
mov eax, dword [rax + 4]
mov edx, ecx
lea rax, [r9 + rax*4]
and edx, 0xfffff
mov r15d, r10d
mov qword [rsp + 0x120], rax
cmp r9, rax
jae 0x10015d8bd
mov eax, r10d
cmp edx, r10d
jbe 0x10015d86f
mov rbp, r9
mov r13d, edx
mov edi, r10d
cmp ebx, r10d
jbe 0x10015d82e
mov r12d, dword [rbp]
mov rbx, qword [rsi + 0x18]
cmp dword [rbx], r12d
je 0x10015d828
add edi, r8d
add rbx, 4
cmp edi, dword [rsi + 0x10]
jb 0x10015d815
jmp 0x10015d82b
add eax, r8d
mov ebx, dword [rsi + 0x10]
add rbp, 4
sub r13, r8
jne 0x10015d805
cmp eax, r10d
je 0x10015d86f
cmp eax, edx
jne 0x10015d8f7
mov eax, ecx
and eax, 0xfff00000
cmp eax, 0x70500000
je 0x10015d8f7
cmp eax, 0x70600000
je 0x10015d8f7
cmp eax, 0x70700000
je 0x10015d8f7
mov r15d, r8d
lea r9, [r9 + rdx*4]
cmp r9, qword [rsp + 0x120]
jb 0x10015d7f7
cmp r15d, r10d
je 0x10015d8bd
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x60000000
je 0x10015d8b2
and ecx, 0xfff00000
cmp ecx, 0x10d00000
je 0x10015d8b2
cmp ecx, 0x10e00000
je 0x10015d8b2
cmp ecx, 0x11000000
jne 0x10015d8bd
bt dword [r11 + 0x84], 0x17
jae 0x10015d8f7
mov rax, qword [rsp + 0x148]
add r14d, r8d
add rax, 8
mov qword [rsp + 0x148], rax
cmp r14d, dword [rsp + 0x20]
jbe 0x10015d7c2
cmp dword [r11 + 0x1c0], r10d
je 0x10015d983
mov dword [r11 + 0x1c0], 2
cmp dword [rsi + 0x10], r10d
jbe 0x10015d97b
mov r9, r10
lea rbx, [rsp + 0xb8]
mov rax, qword [rsi + 0x18]
add r10d, r8d
mov ecx, dword [r9 + rax]
mov rax, qword [r11 + 0x20]
add r9, 4
mov rdx, qword [rax + rcx*8]
mov eax, dword [r11 + 0xa0]
mov dword [rdx + 4], eax
mov eax, dword [rsp + r9 + 0x34]
mov dword [rdx + 8], eax
mov eax, dword [rsp + r9 + 0x54]
mov dword [rdx + 0xc], eax
mov eax, dword [rsp + r9 + 0x64]
mov dword [rdx + 0x10], eax
mov eax, dword [rsp + r9 + 0x74]
mov dword [rdx + 0x14], eax
mov eax, dword [rsp + r9 + 0xa4]
mov dword [rdx + 0x18], eax
mov eax, dword [rsp + r9 + 0x84]
mov dword [rdx + 0x3c], eax
mov eax, dword [rsp + r9 + 0x94]
mov dword [rdx + 0x48], eax
mov rax, qword [rbx]
add rbx, 8
mov qword [rdx + 0x70], rax
cmp r10d, dword [rsi + 0x10]
jb 0x10015d908
mov eax, r8d
jmp 0x10015da1f
mov edi, r10d
cmp ebx, r10d
jbe 0x10015d9fd
mov rbp, qword [rsp + 0x138]
mov rbx, r10
mov rax, qword [rsi + 0x18]
mov rdx, qword [r11 + 0x20]
mov ecx, dword [rbx + rax]
mov r9, qword [rdx + rcx*8]
mov ecx, dword [rbx + rbp]
mov rdx, qword [rdx + rcx*8]
mov eax, dword [rdx + 0x38]
cmp eax, 0xffffffff
cmove eax, ecx
cmp dword [rsp + 0x140], 0x80000
mov dword [r9 + 0x38], eax
mov eax, dword [rdx]
mov dword [r9], eax
jne 0x10015d9d8
test al, 4
je 0x10015d9e9
and eax, 0xfffffffb
or eax, 8
mov dword [r9], eax
cmp dword [rsp + 0x140], 0x100000
jne 0x10015d9e9
or dword [r9], 4
mov rcx, r9
call fcn.10014fc5c
add edi, r8d
add rbx, 4
cmp edi, dword [rsi + 0x10]
jb 0x10015d996
mov rax, qword [r11 + 0x148]
mov dword [rax], r10d
jmp 0x10015da1d
mov rcx, qword [r11 + 0x148]
mov eax, dword [rcx]
and eax, 0xfffff
bts eax, 0x1c
mov dword [rcx], eax
xor eax, eax
mov rbx, qword [rsp + 0x128]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret