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

Disassembly:
lea rbx, [rsp - 0x58]
cmp rbx, qword [r15 + 8]
jbe fcn.140095bf0
mov rsp, rbx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
mov eax, dword [rdx + 4]
lea rcx, [r14 + rax*8]
test eax, eax
je 0x14014653b
mov qword [rsp + 0x18], rcx
mov eax, dword [r14 + rax*8]
shr eax, 5
movsx ebx, word [r14 + rax*8 + 0x7c]
mov dword [rsp + 0x4c], ebx
movsx rsi, bx
mov qword [rsp + 0x40], rsi
test bx, bx
je 0x14014636a
mov r10d, dword [rcx + rsi]
test r10d, r10d
je 0x14014636a
mov r11, qword [r15 + 0x40]
test r11, r11
je 0x1401460e9
mov eax, dword [r15 + 0x48]
test eax, eax
je 0x1401465a3
mov r12, qword [r14 + r10*8 + 0x10]
nop
test r12, r12
jne 0x140146392
mov rax, 0
lock cmpxchg qword [r14 + r10*8 + 0x10], r11
jne 0x14014636a
mov dword [rsp + 0x54], edi
mov dword [rsp + 0x50], r9d
mov ecx, dword [rdx + 8]
test ecx, ecx
je 0x14014654a
mov r9d, dword [rsp + 0x50]
add r9d, dword [rsp + 0x54]
mov dword [rsp + 0x54], r9d
mov ebx, dword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
nop dword [rax]
cmp r9d, ebx
jle 0x1401462d5
mov eax, dword [rdx + 0x10]
mov r10d, dword [rdx + 0x14]
mov ecx, eax
sub ecx, r10d
mov esi, r9d
sub esi, ebx
cmp esi, ecx
cmovg esi, ecx
cmp r8, r14
je 0x1401464e7
mov dword [rsp + 0x50], eax
mov edi, dword [r8 + 4]
mov r11d, dword [rdx + 0xc]
lea r12, [r14 + r11*8]
mov r13d, ebx
add r13d, esi
test edi, edi
je 0x1401464f6
mov qword [rsp + 0x10], r12
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x34], esi
mov ecx, dword [r14 + rdi*8 + 4]
movsx r12d, byte [r8 + 0xc]
mov eax, ecx
mov ecx, r12d
mov edx, eax
shr edx, cl
test ebx, ebx
jl 0x140146465
nop
cmp ebx, r13d
jg 0x140146465
cmp r13d, edx
jg 0x140146465
test r11d, r11d
je 0x14014650a
mov ecx, dword [r14 + r11*8 + 4]
test r10d, r10d
jl 0x14014649f
test esi, esi
jl 0x14014649f
mov edx, ecx
sub edx, esi
cmp r10d, edx
jg 0x14014649f
lea rdi, [r14 + rdi*8]
test r12d, r12d
jne 0x1401465b6
cmp r13d, eax
ja 0x14014651c
mov eax, esi
add eax, r10d
nop dword [rax]
cmp eax, ecx
ja 0x140146524
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x3c], r13d
mov r12, qword [rsp + 0x10]
sub rdi, r14
je 0x14014622e
add rdi, r14
nop
sub r12, r14
je 0x140146238
add r12, r14
mov ebx, ebx
lea rbx, [rbx + 8]
add rbx, rdi
mov edi, r10d
shl rdi, 1
lea rdi, [rdi + 8]
add rdi, r12
mov rdx, rbx
mov r8, rdi
mov r9d, esi
call fcn.140142d80
nop
mov rdx, qword [rsp + 0x28]
mov eax, dword [rsp + 0x30]
mov dword [rdx + 0x14], eax
mov ecx, dword [rsp + 0x50]
nop
cmp ecx, eax
jle 0x140146296
sub dword [r15 + 0x10], 1
jle 0x1401462b7
mov ebx, dword [rsp + 0x3c]
mov r9d, dword [rsp + 0x54]
mov r8, qword [rsp + 0x20]
jmp 0x140146140
mov rax, rdx
call fcn.1401455e0
nop
mov ebx, dword [rsp + 0x3c]
mov r9d, dword [rsp + 0x54]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x140146140
call fcn.140116590
nop
mov ebx, dword [rsp + 0x3c]
mov r9d, dword [rsp + 0x54]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x140146140
mov ebx, dword [rsp + 0x4c]
test bx, bx
je 0x1401463b8
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x18]
mov edx, dword [rcx + rsi]
nop
cmp qword [r15 + 0x40], 0
je 0x140146308
mov r8d, dword [r15 + 0x48]
test r8d, r8d
je 0x1401465a9
mov r8d, dword [r14 + rdx*8 + 0x18]
nop
cmp r8d, 1
jne 0x140146386
mov qword [r14 + rdx*8 + 0x10], 0
lock add dword [rsp], 0
nop dword [rax + rax]
cmp r8d, 1
je 0x14014634a
add rsp, 0x58
sub dword [r15 + 0x10], 1
jle fcn.140116590
ret
mov edx, dword [r14 + rdx*8 + 4]
nop
test edx, edx
je 0x14014633a
mov edx, dword [r14 + rdx*8 + 8]
test edx, edx
je 0x14014633a
cmp dword [r14 + rdx*8 + 0x10], 0
je 0x14014633a
jmp 0x1401463d5
mov dword [rsp + 0x54], edi
mov dword [rsp + 0x50], r9d
mov rdx, rcx
call fcn.1400eed30
nop
mov rdx, qword [rsp + 0x28]
jmp 0x140146116
mov eax, r8d
dec eax
mov dword [r14 + rdx*8 + 0x18], eax
jmp 0x140146328
cmp r12, r11
jne 0x14014636a
mov eax, 1
add eax, dword [r14 + r10*8 + 0x18]
test eax, eax
jl 0x14014636a
mov dword [r14 + r10*8 + 0x18], eax
mov dword [rsp + 0x54], edi
mov dword [rsp + 0x50], r9d
jmp 0x140146116
mov r8d, 0xffffffff
mov rcx, qword [rsp + 0x18]
mov rdx, rcx
call fcn.14012d2f0
nop
nop dword [rax]
jmp 0x14014633a
mov r8d, 1
jmp 0x1401463c3
test bx, bx
je 0x140146557
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x18]
mov edx, dword [rcx + rsi]
cmp qword [r15 + 0x40], 0
je 0x140146419
mov r8d, dword [r15 + 0x48]
nop dword [rax + rax]
test r8d, r8d
je 0x1401465af
mov r8d, dword [r14 + rdx*8 + 0x18]
cmp r8d, 1
jne 0x14014652c
mov qword [r14 + rdx*8 + 0x10], 0
lock add dword [rsp], 0
cmp r8d, 1
je 0x14014644e
lea r8, [rsp + 0x60]
mov rdx, rax
call fcn.1401007f0
nop
mov edx, dword [r14 + rdx*8 + 4]
test edx, edx
je 0x140146440
mov edx, dword [r14 + rdx*8 + 8]
test edx, edx
je 0x140146440
jmp 0x1401464d6
mov ecx, edx
mov dword [rsp + 0x3c], r13d
mov dword [rsp + 0x30], r10d
lea r13, [r14 + 0x1d7e60]
lea rdx, [r14 + 0x1d7e30]
lea r9, [r14 + 0x1d7e48]
mov r8d, ebx
mov edi, dword [rsp + 0x3c]
mov rsi, r13
call fcn.140130f00
nop
mov rdx, rax
call fcn.14003c9e0
nop
mov dword [rsp + 0x3c], r13d
mov dword [rsp + 0x30], r10d
lea rsi, [r14 + 0x1d7e60]
lea rdx, [r14 + 0x1db4f0]
lea r9, [r14 + 0x1db508]
mov r8d, dword [rsp + 0x30]
mov edi, dword [rsp + 0x34]
call fcn.140130f00
nop
mov rdx, rax
call fcn.14003c9e0
nop
cmp dword [r14 + rdx*8 + 0x10], 0
je 0x140146440
jmp 0x14014657c
call fcn.140104a20
nop
mov ebx, dword [rsp + 0x4c]
jmp 0x1401463e6
mov dword [rsp + 0x3c], r13d
call fcn.140104a20
nop
mov ebx, dword [rsp + 0x4c]
jmp 0x1401463e6
mov dword [rsp + 0x3c], r13d
mov dword [rsp + 0x30], r10d
call fcn.140104a20
nop
jmp 0x140146501
call fcn.1401035f0
nop
jmp 0x140146501
call fcn.1401035f0
nop
jmp 0x140146501
mov ebx, r8d
dec ebx
mov dword [r14 + rdx*8 + 0x18], ebx
jmp 0x140146436
mov dword [rsp + 0x54], edi
mov dword [rsp + 0x50], r9d
call fcn.14010b4b0
nop
lea rdx, [r14 + 0x1d7680]
call fcn.1400387c0
nop
mov r8d, 0xffffffff
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x18]
call fcn.14012d2f0
nop
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x18]
jmp 0x140146440
mov r8d, 1
jmp 0x14014655d
call fcn.14010b4b0
nop
call fcn.14010b4b0
nop
nop
call fcn.14010b4b0
nop
mov dword [rsp + 0x3c], r13d
mov r12, qword [rsp + 0x10]
mov rdx, rdi
mov r8d, ebx
mov r9d, dword [rsp + 0x3c]
mov rdi, r12
mov esi, r10d
call fcn.1401a1aa0
nop
mov esi, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
add esi, dword [rdx + 0x14]
mov dword [rdx + 0x14], esi
cmp esi, dword [rdx + 0x10]
jge 0x140146296
mov ebx, dword [rsp + 0x3c]
mov r9d, dword [rsp + 0x54]
mov r8, qword [rsp + 0x20]
jmp 0x140146140