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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov ebx, r8d
lea r13, [rcx + 0xb0]
mov r14, rdx
mov r15, rcx
xor edi, edi
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rbp + 0x2b8], rdi
mov r8d, 0x340
mov r12, r9
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x50]
mov dword [rbp + 0x260], 0x1000
mov qword [rbp + 0x258], rax
xor edx, edx
mov rax, qword [rbp + 0x2d8]
mov r8d, 0xb0
mov rcx, r15
mov qword [rsp + 0x30], rax
mov qword [rbp + 0x268], r15
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0x2b0]
mov dword [r15 + 0x20], 0xff9c0000
lea r8, [rbp + 0x2b8]
mov dword [r15 + 0x24], 0x320000
mov edx, ebx
mov dword [r15 + 0x2c], 2
mov rcx, r14
mov dword [r15 + 0x30], 0x10000
mov dword [r15 + 0x3c], 0x10000
mov dword [r15 + 0x9c], 0x2210
mov dword [r15], 0xffff
mov dword [r15 + 4], 0xffff
mov dword [r15 + 8], 0xffff
mov dword [r15 + 0xc], 0xffff
mov dword [r15 + 0x10], 0xffff
mov dword [r15 + 0x14], 0xffff
mov dword [r15 + 0x80], 0xffff
mov dword [r15 + 0x84], 0xffff
mov dword [r15 + 0x88], 0xffff
mov dword [r15 + 0xac], 0xffff
call fcn.140131740
mov esi, eax
test eax, eax
jne 0x14013348f
mov rdx, qword [rbp + 0x2b8]
lea rcx, [rsp + 0x30]
mov r8d, dword [rbp + 0x2b0]
add r8, rdx
call fcn.1401325f0
mov esi, eax
cmp qword [r14 + 0x28], rdi
jne 0x1401334a4
mov rcx, qword [r14]
lea rdx, [rbp + 0x2b8]
call fcn.14010e030
test esi, esi
jne 0x1401336b8
cmp dword [r15 + 0x84], 0xffff
jne 0x1401336b8
lea r14d, [rsi + 1]
mov ebx, dword [rbp + 0x2d0]
cmp dword [r15 + 0x74], edi
je 0x1401335b2
cmp dword [r15 + 0x78], edi
je 0x1401335b2
xor edx, edx
mov r8d, 0x168
mov rcx, r13
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [r13 + 0xc8], 7
mov r8d, 0x340
mov dword [r13 + 0xcc], r14d
lea rcx, [rsp + 0x30]
mov dword [r13 + 0x14c], 0xffffffff
mov dword [r13 + 0x154], 0xf5c
mov dword [r13 + 0xc4], 0x27a000
call sub.VCRUNTIME140.dll_memset
mov edx, dword [r15 + 0x74]
lea rax, [rsp + 0x50]
mov qword [rbp + 0x258], rax
add edx, ebx
mov rax, qword [rbp + 0x2d8]
mov rcx, r12
mov qword [rsp + 0x30], rax
mov dword [rbp + 0x260], 0x2000
mov qword [rbp + 0x268], r13
call fcn.14010e070
mov esi, eax
test eax, eax
jne 0x1401336b8
mov edx, dword [r15 + 0x78]
mov rcx, r12
call fcn.14010d4e0
mov esi, eax
test eax, eax
jne 0x1401336b8
mov r8, qword [r12 + 0x40]
lea rcx, [rsp + 0x30]
mov rdx, qword [r12 + 0x38]
call fcn.1401325f0
mov rcx, r12
mov esi, eax
call fcn.14010d600
test esi, esi
jne 0x1401336b8
and byte [r13], 0xfe
mov ecx, dword [r13 + 0x15c]
test ecx, ecx
je 0x1401336b8
mov edx, dword [r15 + 0x74]
add edx, ecx
mov rcx, r12
add edx, ebx
call fcn.14010e070
mov esi, eax
test eax, eax
jne 0x1401336b8
lea rbx, [r15 + 0x218]
movzx r8d, r14b
mov rcx, rbx
mov rdx, r12
call fcn.140131b90
mov esi, eax
test eax, eax
jne 0x1401336b8
mov rax, qword [rbx]
mov esi, edi
mov dword [rbp + 0x2d8], edi
mov r12, qword [rax + 0x30]
mov qword [r15 + 0x248], rdi
cmp qword [rbx + 0x20], rsi
jne 0x14013362f
mov rcx, rbx
call fcn.140131d10
mov dword [rbp + 0x2d8], eax
mov esi, eax
test eax, eax
jne 0x1401336b8
mov r9d, dword [rbx + 0xc]
test r9d, r9d
je 0x1401336b8
xor r8d, r8d
lea rax, [rbp + 0x2d8]
mov qword [rsp + 0x28], rax
inc r9d
mov rcx, r12
mov qword [rsp + 0x20], rdi
lea edx, [r8 + 8]
call fcn.14010fee0
mov esi, dword [rbp + 0x2d8]
mov r8, rax
test esi, esi
jne 0x1401336b8
mov r9, qword [rbx + 0x28]
mov ecx, edi
add rcx, r9
mov qword [rax], rcx
cmp dword [rbx + 0xc], r14d
jb 0x1401336ab
nop
mov rax, qword [rbx + 0x20]
mov edx, r14d
mov eax, dword [rax + rdx*4]
dec eax
cmp eax, edi
jb 0x140133699
cmp eax, dword [rbx + 0x18]
cmova eax, dword [rbx + 0x18]
mov edi, eax
mov eax, edi
inc r14d
add rax, r9
mov qword [r8 + rdx*8], rax
cmp r14d, dword [rbx + 0xc]
jbe 0x140133680
mov esi, dword [rbp + 0x2d8]
mov qword [r15 + 0x248], r8
mov eax, esi
mov rbx, qword [rsp + 0x3c0]
add rsp, 0x370
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret