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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x1d8], rbx
mov r15, rcx
mov byte [rcx + 0x4a], 1
call fcn.1418d7230
mov rcx, r15
call fcn.1418d1e60
mov dword [r15 + 0xb0], eax
mov byte [r15 + 0xb4], 1
xor edx, edx
mov rcx, r15
call fcn.1418d70f0
movsxd rbx, eax
lea rax, [0x1400367e8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
xor r13d, r13d
mov dword [rsp + 0x38], r13d
mov byte [rsp + 0x3c], r13b
mov r8d, dword [0x1400367f0]
btr r8d, 0x1f
mov r9d, r13d
cmp r8d, 0x40
jae 0x1418d4607
lea r8d, [r13 + 0x40]
lea r9d, [r13 + 8]
mov edx, 0x40
lea rcx, [rsp + 0x30]
call fcn.1418c2880
mov r8, qword [rsp + 0x30]
movsxd rax, dword [r8 + 4]
test eax, eax
je 0x1418d464f
mov rcx, qword [r8 + 0x10]
lea rdx, [r8 + rax*4]
add rdx, rcx
lea rax, [r8 + rcx]
cmp rdx, rax
je 0x1418d464f
nop word [rax + rax]
sub rdx, 4
mov dword [rdx], 0x7fffffff
cmp rdx, rax
jne 0x1418d4640
mov rdx, r15
lea rcx, [rbp - 0x30]
call fcn.1418cc690
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x30]
call fcn.1418d6840
mov rdx, r15
lea rcx, [rbp + 0x30]
call fcn.1418cc690
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0x30]
call fcn.1418d6840
mov rdx, r15
lea rcx, [rsp + 0x70]
call fcn.1418cc690
nop
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.1418d4e90
mov rdx, qword [r15 + 0x10]
mov rax, qword [rdx + 0x10]
lea rcx, [rax + rbx*8]
mov eax, dword [rcx + rdx]
mov dword [r15 + 0x1c], eax
lea rcx, [rsp + 0x70]
call fcn.1418d6e10
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.1418cf440
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.1418cf440
mov rbx, qword [r15 + 0x98]
test rbx, rbx
je 0x1418d4700
mov qword [r15 + 0x98], r13
mov rcx, rbx
call fcn.1418cd140
mov edx, 0x18
mov rcx, rbx
call fcn.14196a130
mov r14d, r13d
or r12d, 0xffffffff
cmp dword [r15 + 0x18], r13d
jle 0x1418d485b
mov rsi, r13
mov rax, qword [r15 + 0x10]
cmp dword [rax], 1
jbe 0x1418d4759
mov r8d, dword [rax + 8]
and r8d, 0x7fffffff
jne 0x1418d4743
lea r9d, [r8 + 2]
xor r8d, r8d
mov edx, 8
mov ecx, edx
call fcn.1418992c0
mov qword [r15 + 0x10], rax
jmp 0x1418d4759
mov dword [rbp + 0xd0], r13d
mov r9d, r13d
mov edx, dword [rax + 4]
lea rcx, [r15 + 0x10]
call fcn.1418d5e30
mov rdx, qword [r15 + 0x10]
mov rcx, qword [rdx + 0x10]
add rcx, rsi
mov eax, dword [rcx + rdx + 4]
cmp eax, 0xfffffffd
je 0x1418d47e1
cmp eax, 0xfffffffe
jne 0x1418d484a
cmp dword [rdx], 1
jbe 0x1418d47b7
mov r8d, dword [rdx + 8]
and r8d, 0x7fffffff
jne 0x1418d47a1
lea r9d, [rax + 4]
xor r8d, r8d
mov edx, 8
mov ecx, edx
call fcn.1418992c0
mov qword [r15 + 0x10], rax
jmp 0x1418d47b7
mov dword [rbp + 0xe8], r13d
mov r9d, r13d
mov edx, dword [rdx + 4]
lea rcx, [r15 + 0x10]
call fcn.1418d5e30
mov rdx, qword [r15 + 0x10]
mov rcx, qword [rdx + 0x10]
add rcx, rsi
mov eax, dword [r15 + 0x2c]
mov dword [rcx + rdx + 4], eax
lea rcx, [r15 + 0x20]
lea rdx, [r15 + 0x2c]
call fcn.1418bea60
inc dword [r15 + 0x2c]
inc dword [r15 + 0x28]
jmp 0x1418d484a
cmp byte [r15 + 0x50], 0
je 0x1418d47f5
mov ebx, dword [r15 + 0x2c]
lea eax, [rbx + 1]
mov dword [r15 + 0x2c], eax
jmp 0x1418d47f8
mov ebx, r12d
mov rax, qword [r15 + 0x10]
cmp dword [rax], 1
jbe 0x1418d483b
mov r8d, dword [rax + 8]
and r8d, 0x7fffffff
jne 0x1418d4827
lea r9d, [r8 + 2]
xor r8d, r8d
mov edx, 8
mov ecx, edx
call fcn.1418992c0
mov qword [r15 + 0x10], rax
jmp 0x1418d483b
mov dword [rsp + 0x48], r13d
mov r9d, r13d
mov edx, dword [rax + 4]
lea rcx, [r15 + 0x10]
call fcn.1418d5e30
mov rdx, qword [r15 + 0x10]
mov rcx, qword [rdx + 0x10]
add rcx, rsi
mov dword [rcx + rdx + 4], ebx
inc r14d
add rsi, 8
cmp r14d, dword [r15 + 0x18]
jl 0x1418d4714
cmp dword [r15 + 0x28], 0
jne 0x1418d488c
cmp dword [r15 + 0x54], 0
jne 0x1418d488c
mov dword [r15 + 0x18], r13d
mov dword [r15 + 0x2c], r13d
mov rax, qword [r15 + 0x10]
mov r8d, dword [rax + 8]
btr r8d, 0x1f
mov r9d, r13d
xor edx, edx
lea rcx, [r15 + 0x10]
call fcn.1418d5e30
mov edi, r13d
mov eax, dword [r15 + 0x54]
sub eax, dword [r15 + 0x28]
test eax, eax
jle 0x1418d4920
nop
mov r8, qword [r15 + 0x20]
mov eax, dword [r8 + 8]
btr eax, 0x1f
mov edx, dword [r8 + 4]
lea ecx, [rdx + 1]
cmp dword [r8], 1
ja 0x1418d48d2
cmp ecx, eax
ja 0x1418d48d2
movsxd rcx, edx
mov rax, qword [r8 + 0x10]
lea rdx, [rax + rcx*4]
mov eax, dword [r15 + 0x2c]
mov dword [rdx + r8], eax
jmp 0x1418d4907
mov ebx, dword [r15 + 0x2c]
mov dword [rsp + 0x4c], ebx
cmp eax, ecx
sbb r9d, r9d
and r9d, 8
cmp ecx, eax
cmova eax, ecx
mov r8d, eax
lea rcx, [r15 + 0x20]
call fcn.1418c2880
mov rdx, qword [r15 + 0x20]
movsxd rcx, dword [rdx + 4]
mov rax, qword [rdx + 0x10]
lea rcx, [rax + rcx*4]
mov dword [rcx + rdx], ebx
mov rax, qword [r15 + 0x20]
inc dword [rax + 4]
inc dword [r15 + 0x2c]
inc edi
mov eax, dword [r15 + 0x54]
sub eax, dword [r15 + 0x28]
cmp edi, eax
jl 0x1418d48a0
mov rax, qword [r15 + 0xa8]
cmp dword [rax + 4], 0
je 0x1418d4935
mov ebx, r12d
jmp 0x1418d4b94
mov rcx, qword [r15 + 8]
mov rbx, qword [rcx + 0x10]
add rbx, rcx
mov rax, qword [rbx + 0x18]
mov ecx, dword [rax + 4]
test ecx, ecx
setne al
mov byte [r15 + 0x48], al
test ecx, ecx
je 0x1418d4999
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x10], 0
je 0x1418d4965
mov rcx, qword [rax + 0x20]
jmp 0x1418d4969
lea rcx, [rax + 8]
add rax, 8
cmp rcx, rax
je 0x1418d4999
mov eax, dword [rcx + 0x1c]
test eax, eax
js 0x1418d4994
test al, 2
je 0x1418d4994
call fcn.1418e4630
mov rcx, rax
mov rax, qword [rbx + 0x18]
add rax, 8
cmp rcx, rax
jne 0x1418d4972
jmp 0x1418d4999
mov byte [r15 + 0x48], 0
mov rax, qword [r15 + 8]
movsxd rcx, dword [rax + 4]
mov qword [rsp + 0x20], rcx
test rcx, rcx
jle 0x1418d4b8d
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov rax, qword [r15 + 8]
cmp dword [rax], 1
jbe 0x1418d4a01
mov r8d, dword [rax + 8]
and r8d, 0x7fffffff
jne 0x1418d49e5
lea r9d, [r8 + 2]
xor r8d, r8d
lea edx, [r9 + 6]
lea ecx, [rdx + 0x18]
call fcn.1418992c0
mov qword [r15 + 8], rax
jmp 0x1418d49fc
mov dword [rsp + 0x50], 0
xor r9d, r9d
mov edx, dword [rax + 4]
lea rcx, [r15 + 8]
call fcn.1418d5fc0
mov rcx, qword [rsp + 0x20]
mov rax, qword [r15 + 8]
mov rdi, qword [rax + 0x10]
add rdi, rbx
add rdi, rax
mov rax, qword [rdi + 0x18]
cmp dword [rax + 4], 0
je 0x1418d4b75
cmp dword [rax], 1
jbe 0x1418d4a98
call fcn.1418e4130
mov rbx, rax
mov rcx, qword [rdi + 0x18]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1418d4a4e
mov rdx, rax
call fcn.1418cfcf0
mov qword [rbx + 0x10], rax
and qword [rax], 3
lea rcx, [rbx + 8]
or qword [rax], rcx
mov rcx, qword [rdi + 0x18]
mov eax, dword [rcx]
test eax, eax
je 0x1418d4a69
cmp eax, 0xffffffff
je 0x1418d4a8c
mov eax, r12d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418d4a8c
mov rsi, qword [rdi + 0x18]
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x1418d4a84
mov r8d, 8
mov rcx, rsi
call fcn.1418e45c0
mov rcx, rsi
call fcn.1418e4200
mov qword [rdi + 0x18], rbx
mov rcx, rbx
call fcn.1418e4950
mov rbx, qword [rdi + 0x18]
cmp qword [rbx + 0x10], 0
je 0x1418d4aa9
mov rbx, qword [rbx + 0x20]
jmp 0x1418d4ab0
add rbx, 8
nop dword [rax]
mov rax, qword [rdi + 0x18]
cmp dword [rax], 1
jbe 0x1418d4b2f
call fcn.1418e4130
mov rsi, rax
mov rcx, qword [rdi + 0x18]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1418d4ae5
mov rdx, rax
call fcn.1418cfcf0
mov qword [rsi + 0x10], rax
and qword [rax], 3
lea rcx, [rsi + 8]
or qword [rax], rcx
mov rcx, qword [rdi + 0x18]
mov eax, dword [rcx]
test eax, eax
je 0x1418d4b00
cmp eax, 0xffffffff
je 0x1418d4b23
mov eax, r12d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418d4b23
mov r14, qword [rdi + 0x18]
mov rdx, qword [r14 + 0x10]
test rdx, rdx
je 0x1418d4b1b
mov r8d, 8
mov rcx, r14
call fcn.1418e45c0
mov rcx, r14
call fcn.1418e4200
mov qword [rdi + 0x18], rsi
mov rcx, rsi
call fcn.1418e4950
mov rax, qword [rdi + 0x18]
add rax, 8
cmp rbx, rax
je 0x1418d4b6b
cmp dword [rbx + 0x1c], 0
jne 0x1418d4b5b
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rdi + 0x18]
call fcn.1418d0700
mov rbx, qword [rax]
jmp 0x1418d4ab0
mov rcx, rbx
call fcn.1418e4630
mov rbx, rax
jmp 0x1418d4ab0
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
add rbx, 0x20
mov qword [rsp + 0x40], rbx
sub rcx, 1
mov qword [rsp + 0x20], rcx
jne 0x1418d49b6
mov ebx, dword [r15 + 0x88]
lea rcx, [rsp + 0x70]
call fcn.1418cce20
nop
lea rcx, [rbp + 0x30]
call fcn.1418cce20
nop
lea rcx, [rbp - 0x30]
call fcn.1418cce20
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1418d4bd4
cmp eax, 0xffffffff
je 0x1418d4be2
mov eax, r12d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418d4be2
mov rcx, qword [rsp + 0x30]
mov edx, 4
lea r8d, [rdx + 4]
call fcn.1418993e0
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1418d4c02
cmp eax, 0xffffffff
je 0x1418d4c10
lock xadd dword [rcx], r12d
cmp r12d, 1
jne 0x1418d4c10
mov rcx, qword [rsp + 0x28]
mov edx, 4
lea r8d, [rdx + 4]
call fcn.1418993e0
mov eax, ebx
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret