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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rdi
push r13
push r14
push r15
sub rsp, 0x38
xor r14d, r14d
mov r13, rdx
mov rdi, rcx
mov ebp, r14d
mov r15d, r14d
test rdx, rdx
je 0x140041c0c
mov ebx, dword [rdx + 0x18]
mov ecx, 0x200
call fcn.140034cd0
mov r15, rax
test rax, rax
je 0x140041bef
lea rcx, [rax + 4]
xor edx, edx
mov r8d, 0x1fc
call fcn.1400dfb10
mov dword [r15], ebx
test r15, r15
jne 0x140041c06
lea eax, [r15 + 7]
add rsp, 0x38
pop r15
pop r14
pop r13
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [r13 + 0x18]
jmp 0x140041c0f
mov eax, dword [rcx + 0x24]
mov dword [rdi + 0x20], eax
movzx eax, byte [rdi + 0x11]
mov byte [rdi + 0x17], al
mov qword [rsp + 0x70], rsi
test r13, r13
jne 0x140041d27
mov rsi, qword [rdi + 0x118]
test rsi, rsi
je 0x140041d27
mov eax, dword [rdi + 0x24]
mov dword [rdi + 0x20], eax
cmp byte [rsi + 0x40], bpl
je 0x140041cd0
mov r15d, dword [rsi + 0x58]
mov rax, qword [rsi + 0x30]
mov rcx, qword [rax]
movups xmm0, xmmword [rcx]
movups xmmword [rsi + 0x48], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x58], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rsi + 0x68], xmm0
mov ebx, dword [rsi + 0x58]
inc ebx
lea ebp, [rbx + 0x1000]
cmp ebx, r15d
ja 0x140041cc2
mov r8, qword [rsi + 0x30]
mov eax, ebp
sub rax, 0xfdf
shr rax, 0xc
test eax, eax
jne 0x140041c99
mov rax, qword [r8]
mov edx, dword [rax + rbx*4 + 0x84]
jmp 0x140041caf
cdqe
lea edx, [rbx - 1]
add rdx, 0x22
and edx, 0xfff
mov rcx, qword [r8 + rax*8]
mov edx, dword [rcx + rdx*4]
mov rcx, rdi
call fcn.1400419f0
inc ebx
inc ebp
mov r14d, eax
test eax, eax
je 0x140041c74
cmp r15d, dword [rsi + 0x58]
je 0x140041cd0
mov rcx, rsi
call fcn.140045480
mov rdx, qword [rdi + 0x110]
mov rcx, qword [rdx]
test rcx, rcx
je 0x140041cf3
nop
mov rax, qword [rcx + 0x38]
mov qword [rcx + 0x18], rax
mov rcx, rax
test rax, rax
jne 0x140041ce0
mov rcx, qword [rdx]
call fcn.14003e6e0
test rax, rax
je 0x140041d1f
nop dword [rax]
test r14d, r14d
jne 0x140041d1f
mov edx, dword [rax + 0x28]
mov rcx, rdi
mov rbx, qword [rax + 0x18]
call fcn.1400419f0
mov r14d, eax
mov rax, rbx
test rbx, rbx
jne 0x140041d00
mov eax, r14d
jmp 0x140041f18
mov qword [rsp + 0x30], r12
lea rbx, [rdi + 0x60]
mov r12, qword [rbx]
test r13, r13
je 0x140041d89
cmp qword [rdi + 0x118], rbp
jne 0x140041d89
mov rsi, qword [r13 + 8]
mov rax, qword [r13]
test rsi, rsi
mov qword [rbx], rax
cmove rsi, r12
cmp qword [rbx], rsi
jge 0x140041d7f
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r15
mov rdx, rbx
mov rcx, rdi
call fcn.140040ef0
mov ebp, eax
test eax, eax
je 0x140041d53
jmp 0x140041e38
test ebp, ebp
jne 0x140041e38
jmp 0x140041d90
mov qword [rbx], r14
nop dword [rax]
cmp qword [rbx], r12
jge 0x140041e33
lea rax, [rsp + 0x88]
mov dword [rsp + 0x80], r14d
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r8, r12
xor edx, edx
mov rcx, rdi
call fcn.140040270
mov r13d, dword [rsp + 0x80]
mov ebp, eax
test r13d, r13d
jne 0x140041dfe
mov eax, dword [rdi + 0xb8]
add rax, qword [rdi + 0x68]
mov rdx, qword [rbx]
cmp rax, rdx
jne 0x140041dfe
mov eax, dword [rdi + 0xbc]
add eax, 8
movsxd rcx, eax
mov rax, r12
sub rax, rdx
cqo
idiv rcx
mov r13, rax
mov esi, r14d
test ebp, ebp
jne 0x140041e33
cmp esi, r13d
jae 0x140041d90
cmp qword [rbx], r12
jge 0x140041e33
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r15
mov rdx, rbx
mov rcx, rdi
call fcn.140040ef0
inc esi
mov ebp, eax
test eax, eax
je 0x140041e05
mov r13, qword [rsp + 0x78]
test r13, r13
je 0x140041ed8
mov eax, dword [rdi + 0xbc]
mov esi, dword [r13 + 0x1c]
add eax, 4
movsxd rcx, eax
imul rcx, rsi
mov qword [rsp + 0x78], rcx
mov rcx, qword [rdi + 0x118]
test rcx, rcx
je 0x140041eab
mov eax, dword [rcx + 0x88]
cmp dword [r13 + 0x2c], eax
je 0x140041e85
mov dword [r13 + 0x20], r14d
mov eax, dword [rcx + 0x88]
mov dword [r13 + 0x2c], eax
mov eax, r14d
jmp 0x140041e89
mov eax, dword [r13 + 0x20]
cmp eax, dword [rcx + 0x58]
jae 0x140041ea4
mov dword [rcx + 0x58], eax
mov eax, dword [r13 + 0x24]
mov dword [rcx + 0x60], eax
mov eax, dword [r13 + 0x28]
mov dword [rcx + 0x64], eax
call fcn.140045480
mov esi, dword [r13 + 0x1c]
mov ebp, r14d
test ebp, ebp
jne 0x140041ed8
nop
cmp esi, dword [rdi + 0x3c]
jae 0x140041ed8
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8, r15
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.140040ef0
inc esi
mov ebp, eax
test eax, eax
je 0x140041eb0
test r15, r15
je 0x140041f0a
cmp dword [r15 + 8], r14d
je 0x140041f02
lea rdi, [r15 + 0x10]
mov esi, 0x3e
nop dword [rax]
mov rcx, qword [rdi]
call fcn.14003df20
lea rdi, [rdi + 8]
sub rsi, 1
jne 0x140041ef0
mov rcx, r15
call fcn.1400350d0
test ebp, ebp
jne 0x140041f11
mov qword [rbx], r12
mov r12, qword [rsp + 0x30]
mov eax, ebp
mov rsi, qword [rsp + 0x70]
add rsp, 0x38
pop r15
pop r14
pop r13
pop rdi
pop rbp
pop rbx
ret
mov dword [rsp + 0x10], edx
push rsi
push r14
sub rsp, 0x38
mov r14d, dword [rcx + 0x30]
mov rsi, rcx
test r14d, r14d
jne 0x140044a45
mov eax, dword [rcx + 0x80]
cmp r8d, eax
jge 0x140044a45
mov qword [rsp + 0x50], rbx
xor ebx, ebx
mov qword [rsp + 0x30], r12
cmp edx, 1
mov qword [rsp + 0x28], r13
mov r13d, ebx
setne r13b
add r13d, r8d
mov r12d, r13d
cmp r13d, eax
jge 0x1400449af
mov qword [rsp + 0x60], rbp
movsxd rax, r13d
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x20], r15
lea r15, [rax + rax*2]
shl r15, 4
nop word [rax + rax]
mov rax, qword [rsi + 0x78]
mov rbp, qword [r15 + rax + 0x10]
test rbp, rbp
je 0x14004498a
cmp dword [rbp + 8], 0
je 0x140044982
lea rbx, [rbp + 0x10]
mov edi, 0x3e
nop dword [rax]
mov rcx, qword [rbx]
call fcn.14003df20
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x140044970
mov rcx, rbp
call fcn.1400350d0
inc r12d
add r15, 0x30
cmp r12d, dword [rsi + 0x80]
jl 0x140044950
mov edx, dword [rsp + 0x58]
xor ebx, ebx
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r12, qword [rsp + 0x30]
mov dword [rsi + 0x80], r13d
cmp edx, 1
jne 0x1400449fd
test r13d, r13d
jne 0x1400449e8
mov rcx, qword [rsi + 0x58]
mov rax, qword [rcx]
test rax, rax
je 0x1400449e8
lea rdx, [0x14013a2f0]
cmp rax, rdx
jne 0x1400449e5
xor edx, edx
call qword [rax + 0x20]
mov r14d, eax
mov dword [rsi + 0x3c], ebx
mov rbx, qword [rsp + 0x50]
mov eax, r14d
mov r13, qword [rsp + 0x28]
add rsp, 0x38
pop r14
pop rsi
ret
cmp qword [rsi + 0x118], 0
jne 0x140044a11
mov rax, qword [rsi + 0x50]
cmp qword [rax], 0
je 0x1400449e8
test r13d, r13d
je 0x140044a29
lea eax, [r13 - 1]
movsxd rcx, eax
lea rbx, [rcx + rcx*2]
shl rbx, 4
add rbx, qword [rsi + 0x78]
mov rdx, rbx
mov rcx, rsi
mov rbx, qword [rsp + 0x50]
mov r13, qword [rsp + 0x28]
add rsp, 0x38
pop r14
pop rsi
jmp 0x140041ba0
mov eax, r14d
add rsp, 0x38
pop r14
pop rsi
ret