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

Disassembly:
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12d, edx
mov rbx, rcx
mov rax, qword [rcx + 0x1d10]
mov qword [rsp + 0x20], rax
lea eax, [r8*8]
mov dword [rsp + 0x28], eax
xor r13d, r13d
mov dword [rsp + 0x2c], r13d
test dl, dl
jns 0x140156462
lea rcx, [rsp + 0x20]
call fcn.140155240
mov r14d, eax
test eax, eax
jne 0x14015645d
mov rcx, rbx
call fcn.140156320
jmp 0x140156469
dec r14d
jmp 0x140156469
mov r14d, dword [rcx + 0x1d74]
mov eax, dword [rbx + 0x1d58]
mov dword [rsp + 0x80], eax
cmp r14d, eax
ja 0x1401568c2
mov dword [rbx + 0x1d74], r14d
mov rdi, 0xffffffffffffffff
jne 0x140156557
cmp r14d, 0x2000
ja 0x1401568c2
lea ecx, [rdi + 0x39]
call fcn.140202bf8
mov rbp, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1401564cf
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
mov dword [rax + 0x30], r13d
jmp 0x1401564d2
mov rbp, r13
mov ecx, dword [rbx + 0x1d5c]
cmp dword [rbx + 0x1d58], ecx
jne 0x14015653e
mov eax, ecx
shr eax, 2
lea esi, [rcx + 1]
add esi, eax
mov ecx, esi
mov eax, 8
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.140202da8
mov rdi, rax
mov eax, dword [rbx + 0x1d58]
test eax, eax
je 0x140156523
mov r8d, eax
shl r8, 3
mov rdx, qword [rbx + 0x1d50]
mov rcx, rdi
call fcn.140201ae0
mov rcx, qword [rbx + 0x1d50]
call fcn.140202c34
mov qword [rbx + 0x1d50], rdi
mov dword [rbx + 0x1d5c], esi
jmp 0x140156545
mov rdi, qword [rbx + 0x1d50]
mov eax, dword [rbx + 0x1d58]
mov qword [rdi + rax*8], rbp
inc dword [rbx + 0x1d58]
jmp 0x140156568
mov ecx, r14d
mov rax, qword [rbx + 0x1d50]
mov rbp, qword [rax + rcx*8]
inc dword [rbp + 0x30]
cmp dword [rbx + 0x1d70], r13d
je 0x1401565b9
mov eax, dword [rbx + 0x1d68]
mov r10, qword [rbx + 0x1d60]
mov ecx, r13d
test eax, eax
je 0x1401565aa
mov rdx, r10
mov r9d, eax
nop dword [rax + rax]
mov r8, qword [rdx]
test r8, r8
je 0x1401565a0
mov eax, ecx
mov qword [r10 + rax*8], r8
inc ecx
add rdx, 8
sub r9, 1
jne 0x140156590
mov dword [rbx + 0x1d68], ecx
mov dword [rbx + 0x1d70], r13d
jmp 0x1401565bf
mov ecx, dword [rbx + 0x1d68]
cmp ecx, 0x2000
ja 0x1401568c2
mov ecx, 0x40
call fcn.140202bf8
mov rdi, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14015662a
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
mov rcx, r13
call fcn.140202c34
mov qword [rdi + 0x20], r13
mov dword [rdi + 0x2c], r13d
mov ecx, 0x40
call fcn.140202da8
mov qword [rdi + 0x20], rax
mov dword [rdi + 0x2c], 0x40
mov dword [rdi + 0x28], 0x40
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
jmp 0x14015662d
mov rdi, r13
mov ecx, dword [rbx + 0x1d6c]
cmp dword [rbx + 0x1d68], ecx
jne 0x1401566a4
mov eax, ecx
shr eax, 2
lea r15d, [rcx + 1]
add r15d, eax
mov ecx, r15d
mov eax, 8
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140202da8
mov rsi, rax
mov eax, dword [rbx + 0x1d68]
test eax, eax
je 0x140156688
mov r8d, eax
shl r8, 3
mov rdx, qword [rbx + 0x1d60]
mov rcx, rsi
call fcn.140201ae0
mov rcx, qword [rbx + 0x1d60]
call fcn.140202c34
mov qword [rbx + 0x1d60], rsi
mov dword [rbx + 0x1d6c], r15d
jmp 0x1401566ab
mov rsi, qword [rbx + 0x1d60]
mov eax, dword [rbx + 0x1d68]
mov qword [rsi + rax*8], rdi
inc dword [rbx + 0x1d68]
mov dword [rdi + 0x3c], r14d
lea rcx, [rsp + 0x20]
call fcn.140155240
mov esi, eax
test r12b, 0x40
je 0x1401566d7
add esi, 0x102
mov ecx, dword [rbx + 0x68]
add ecx, esi
and ecx, 0x3fffff
mov dword [rdi + 0x30], ecx
test r12b, 0x20
je 0x1401566f8
lea rcx, [rsp + 0x20]
call fcn.140155240
mov dword [rbp + 0x2c], eax
mov eax, dword [rbp + 0x2c]
mov dword [rdi + 0x34], eax
mov eax, dword [rbx + 0x6c]
mov ecx, dword [rbx + 0x68]
cmp eax, ecx
je 0x140156717
sub eax, ecx
and eax, 0x3fffff
cmp eax, esi
ja 0x140156717
mov al, 1
jmp 0x140156719
xor al, al
mov byte [rdi + 0x38], al
mov qword [rdi], r13
mov dword [rdi + 8], r13d
mov qword [rdi + 0x14], r13
mov dword [rdi + 0xc], 0x3c000
mov eax, dword [rdi + 0x34]
mov dword [rdi + 0x10], eax
mov eax, dword [rbp + 0x30]
mov dword [rdi + 0x14], eax
test r12b, 0x10
je 0x140156786
mov r12d, 7
mov edx, r12d
lea rcx, [rsp + 0x20]
call fcn.1401551a0
mov r13d, eax
mov esi, 1
mov r15, rdi
nop
test r13d, esi
je 0x140156772
lea rcx, [rsp + 0x20]
call fcn.140155240
mov dword [r15], eax
rol esi, 1
add r15, 4
sub r12, 1
jne 0x140156760
mov r12d, dword [rsp + 0x78]
xor r13d, r13d
mov r15b, 1
cmp r14d, dword [rsp + 0x80]
jne 0x1401567f9
lea rcx, [rsp + 0x20]
call fcn.140155240
mov r15d, eax
lea ecx, [r15 - 1]
cmp ecx, 0xfffe
ja 0x1401568c2
test eax, eax
je 0x1401567e3
mov rsi, r13
mov r14d, r15d
nop word [rax + rax]
mov edx, 8
lea rcx, [rsp + 0x20]
call fcn.1401551a0
mov rcx, qword [rbx + 0x1d18]
mov byte [rsi + rcx], al
lea rsi, [rsi + 1]
sub r14, 1
jne 0x1401567c0
mov r8d, r15d
mov rdx, qword [rbx + 0x1d18]
mov rcx, rbp
call fcn.1401552a0
movzx r15d, al
mov rdx, qword [rdi + 0x20]
mov ecx, dword [rdi]
mov dword [rdx], ecx
mov ecx, dword [rdi + 4]
mov dword [rdx + 4], ecx
mov ecx, dword [rdi + 8]
mov dword [rdx + 8], ecx
mov ecx, dword [rdi + 0xc]
mov dword [rdx + 0xc], ecx
mov ecx, dword [rdi + 0x10]
mov dword [rdx + 0x10], ecx
mov eax, dword [rdi + 0x14]
mov dword [rdx + 0x14], eax
mov eax, dword [rdi + 0x18]
mov dword [rdx + 0x18], eax
mov eax, dword [rdi + 0x34]
mov dword [rdx + 0x1c], eax
mov dword [rdx + 0x20], r13d
mov eax, dword [rbp + 0x30]
mov dword [rdx + 0x2c], eax
test r12b, 8
je 0x1401568bc
lea rcx, [rsp + 0x20]
call fcn.140155240
mov esi, eax
cmp eax, 0x1fc0
ja 0x1401568c2
lea ebx, [rsi + 0x40]
cmp dword [rdi + 0x28], ebx
jae 0x140156892
cmp ebx, dword [rdi + 0x2c]
jbe 0x14015688f
mov ecx, ebx
call fcn.140202da8
mov rbp, rax
mov eax, dword [rdi + 0x28]
test eax, eax
je 0x14015687f
mov r8d, eax
mov rdx, qword [rdi + 0x20]
mov rcx, rbp
call fcn.140201ae0
mov rcx, qword [rdi + 0x20]
call fcn.140202c34
mov qword [rdi + 0x20], rbp
mov dword [rdi + 0x2c], ebx
mov dword [rdi + 0x28], ebx
mov rbx, qword [rdi + 0x20]
add rbx, 0x40
test esi, esi
je 0x1401568bc
mov rdi, rsi
mov edx, 8
lea rcx, [rsp + 0x20]
call fcn.1401551a0
mov byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x1401568a1
movzx eax, r15b
jmp 0x1401568c4
xor al, al
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret