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

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4ca946
sub rsp, 0xb0
mov qword [rsp + 0xa8], rbp
lea rbp, [rsp + 0xa8]
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xb8], rax
mov eax, 1
call fcn.004ca0c0
test rax, rax
je 0x4ca32d
mov rdx, rax
nop
mov r8d, dword [rax + 0x3c]
add r8, rdx
nop dword [rax]
test r8, r8
je 0x4ca2fd
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x70], r8
mov eax, 0x32
xor ebx, ebx
call fcn.004bc660
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x50]
test ecx, ecx
je 0x4ca2cd
mov dword [rsp + 0x2c], ecx
nop
lea rax, [0x004e3880]
nop dword [rax + rax]
call fcn.0040d1a0
cmp dword [0x006110b0], 0
jne 0x4ca1f8
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
jmp 0x4ca205
mov rdi, rax
mov rcx, qword [rsp + 0x48]
call fcn.004600a0
mov qword [rsp + 0x58], rax
mov ecx, dword [rsp + 0x2c]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov rdx, qword [rax]
mov qword [rsp + 0x60], rdx
lea rax, [0x004e6880]
call fcn.0040d1a0
cmp dword [0x006110b0], 0
jne 0x4ca23d
mov rdx, qword [rsp + 0x58]
mov qword [rax], rdx
jmp 0x4ca24a
mov rdi, rax
mov rdx, qword [rsp + 0x58]
call fcn.004600c0
mov rdx, qword [rsp + 0x48]
mov qword [rax + 8], rdx
mov edx, dword [rsp + 0x2c]
mov qword [rax + 0x18], rdx
mov qword [rax + 0x20], rdx
cmp dword [0x006110b0], 0
jne 0x4ca273
mov rsi, qword [rsp + 0x60]
mov qword [rax + 0x10], rsi
jmp 0x4ca285
lea rdi, [rax + 0x10]
mov rsi, qword [rsp + 0x60]
nop dword [rax]
call fcn.00460100
mov qword [rax + 0x28], rdx
nop
mov rbx, rax
mov ecx, 1
lea rax, [0x00521c40]
call fcn.004b4ca0
nop
test rbx, rbx
jne 0x4ca2bb
mov qword [rsp + 0x50], rax
call fcn.004b4160
mov qword [rsp + 0x30], rbx
xor ecx, ecx
jmp 0x4ca373
xor eax, eax
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rax, [0x004f4b21]
mov ebx, 0x13
xor ecx, ecx
xor edi, edi
mov rsi, rdi
call fcn.004a27a0
mov rcx, rbx
mov rbx, rax
xor eax, eax
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rax, [0x004f39a8]
mov ebx, 0x10
xor ecx, ecx
xor edi, edi
mov rsi, rdi
call fcn.004a27a0
mov rcx, rbx
mov rbx, rax
xor eax, eax
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rax, [0x004f5259]
mov ebx, 0x14
xor ecx, ecx
xor edi, edi
mov rsi, rdi
call fcn.004a27a0
mov rcx, rbx
mov rbx, rax
xor eax, eax
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov rax, qword [rsp + 0x70]
add rax, 0x30
mov rcx, qword [rsp + 0x40]
inc rcx
mov rbx, qword [rsp + 0x30]
cmp rbx, rcx
jle 0x4ca49c
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x88], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rsp + 0x98], xmm0
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rdx]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov rax, rsi
call rcx
call fcn.004afbe0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xc0]
call fcn.004afbe0
mov rcx, qword [rsp + 0x38]
cmp rbx, rcx
je 0x4ca3f8
xor eax, eax
jmp 0x4ca405
mov rbx, rax
mov rax, qword [rsp + 0x68]
call fcn.004028c0
test al, al
je 0x4ca410
mov eax, 1
jmp 0x4ca476
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
call fcn.004afbe0
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rdx]
call rcx
call fcn.004afbe0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xc0]
call fcn.004afbe0
mov rcx, qword [rsp + 0x38]
nop dword [rax + rax]
cmp rbx, rcx
je 0x4ca469
xor eax, eax
jmp 0x4ca476
mov rbx, rax
mov rax, qword [rsp + 0x68]
call fcn.004028c0
test al, al
je 0x4ca35d
mov ecx, dword [rsp + 0x90]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0xc8]
mov rbx, qword [rax + 0xd0]
xor esi, esi
jmp 0x4ca4d9
lea rax, [0x004dec20]
call fcn.0040d1a0
mov qword [rax + 8], 0x12
lea rcx, [0x004f40a9]
mov qword [rax], rcx
lea rbx, [0x00521be0]
mov rcx, rax
xor eax, eax
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
inc rsi
cmp rsi, rbx
jge 0x4ca4fd
mov rdi, qword [rdx + rsi*8]
mov r8d, dword [rdi + 0x1c]
cmp r8, rcx
jae 0x4ca4d6
mov r9d, dword [rdi + 0x18]
add r9d, r8d
cmp rcx, r9
jae 0x4ca4d6
sub ecx, r8d
add ecx, dword [rdi + 0x24]
mov dword [rsp + 0x28], ecx
call fcn.004b7900
test rdi, rdi
jne 0x4ca60b
mov esi, dword [rsp + 0x28]
lea edi, [rsi + 0xa]
cmp rcx, rdi
jb 0x4ca939
nop
cmp rsi, rdi
ja 0x4ca930
mov edx, esi
sub rsi, rcx
sar rsi, 0x3f
and rsi, rdx
sub rdi, rdx
lea rdx, [rax + rsi]
nop dword [rax]
test rdi, rdi
jbe 0x4ca926
movzx r8d, byte [rax + rsi]
cmp r8b, 0x4c
jne 0x4ca604
nop dword [rax + rax]
cmp rdi, 1
jbe 0x4ca919
movzx r8d, byte [rax + rsi + 1]
cmp r8b, 0x8b
jne 0x4ca604
nop word [rax + rax]
cmp rdi, 2
jbe 0x4ca90c
movzx r8d, byte [rax + rsi + 2]
cmp r8b, 0xd1
jne 0x4ca604
nop word [rax + rax]
nop
cmp rdi, 3
jbe 0x4ca8ff
movzx r8d, byte [rax + rsi + 3]
cmp r8b, 0xb8
jne 0x4ca604
nop word [rax + rax]
nop
cmp rdi, 6
jbe 0x4ca8f2
movzx r8d, byte [rax + rsi + 6]
test r8b, r8b
jne 0x4ca604
cmp rdi, 7
jbe 0x4ca8e5
movzx r8d, byte [rax + rsi + 7]
test r8b, r8b
jne 0x4ca604
nop
movzx eax, word [rax + rsi + 4]
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov ecx, 1
jmp 0x4ca62a
xor eax, eax
mov rbx, rdi
mov rcx, rsi
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rcx, [r8 + 1]
mov rdx, r9
cmp rcx, 0x1f4
ja 0x4ca823
mov r8, rcx
shl rcx, 5
movzx r9d, byte [rdx + rcx]
cmp r9b, 0x4c
jne 0x4ca6e9
cmp rdi, 1
jbe 0x4ca8d3
lea r9, [rax + rsi]
lea r9, [r9 + 1]
movzx r9d, byte [rcx + r9]
cmp r9b, 0x8b
jne 0x4ca6e9
cmp rdi, 2
jbe 0x4ca8c6
lea r9, [rax + rsi]
lea r9, [r9 + 2]
movzx r9d, byte [rcx + r9]
cmp r9b, 0xd1
jne 0x4ca6e9
cmp rdi, 3
jbe 0x4ca8b9
lea r9, [rax + rsi]
lea r9, [r9 + 3]
movzx r9d, byte [rcx + r9]
cmp r9b, 0xb8
jne 0x4ca6e9
cmp rdi, 6
jbe 0x4ca8ac
lea r9, [rax + rsi]
lea r9, [r9 + 6]
movzx r9d, byte [rcx + r9]
nop
test r9b, r9b
jne 0x4ca6e9
cmp rdi, 7
jbe 0x4ca89f
lea r9, [rax + rsi]
lea r9, [r9 + 7]
movzx r9d, byte [rcx + r9]
nop dword [rax]
test r9b, r9b
je 0x4ca7a2
mov r9, rdx
sub rdx, rcx
cmp byte [rdx], 0x4c
jne 0x4ca623
nop dword [rax + rax]
cmp rdi, 1
jbe 0x4ca892
lea rdx, [rax + rsi]
lea rdx, [rdx + 1]
sub rdx, rcx
cmp byte [rdx], 0x8b
jne 0x4ca623
nop
cmp rdi, 2
jbe 0x4ca885
lea rdx, [rax + rsi]
lea rdx, [rdx + 2]
sub rdx, rcx
cmp byte [rdx], 0xd1
jne 0x4ca623
nop
cmp rdi, 3
jbe 0x4ca877
lea rdx, [rax + rsi]
lea rdx, [rdx + 3]
sub rdx, rcx
cmp byte [rdx], 0xb8
jne 0x4ca623
nop
cmp rdi, 6
jbe 0x4ca86a
lea rdx, [rax + rsi]
lea rdx, [rdx + 6]
sub rdx, rcx
cmp byte [rdx], 0
jne 0x4ca623
nop
cmp rdi, 7
jbe 0x4ca85d
lea rdx, [rax + rsi]
lea rdx, [rdx + 7]
sub rdx, rcx
cmp byte [rdx], 0
jne 0x4ca623
nop
jmp 0x4ca7e1
lea rdx, [rax + rsi]
lea rdx, [rdx + 4]
movzx edx, byte [rcx + rdx]
mov byte [rax + rsi + 4], dl
lea rdi, [rax + rsi]
lea rdi, [rdi + 5]
movzx edi, byte [rcx + rdi]
mov byte [rax + rsi + 5], dil
sub edx, r8d
shl edi, 8
or edx, edi
mov eax, edx
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rdx, [rax + rsi]
lea rdx, [rdx + 4]
sub rdx, rcx
movzx edx, byte [rdx]
mov byte [rax + rsi + 4], dl
lea rdi, [rax + rsi]
lea rdi, [rdi + 5]
sub rdi, rcx
movzx edi, byte [rdi]
mov byte [rax + rsi + 5], dil
lea eax, [rdx + r8]
shl edi, 8
or eax, edi
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rax, [0x004dec20]
call fcn.0040d1a0
mov qword [rax + 8], 0x12
lea rcx, [0x004f40a9]
mov qword [rax], rcx
lea rbx, [0x00521be0]
mov rcx, rax
xor eax, eax
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov eax, 7
mov rcx, rax
call fcn.00460440
mov eax, 6
mov rcx, rdi
call fcn.00460440
mov eax, 3
mov rcx, rax
nop
call fcn.00460440
mov eax, 2
mov rcx, rax
call fcn.00460440
mov eax, 1
mov rcx, rax
call fcn.00460440
mov eax, 7
mov rcx, rax
call fcn.00460440
mov eax, 6
mov rcx, rdi
call fcn.00460440
mov eax, 3
mov rcx, rax
call fcn.00460440
mov eax, 2
mov rcx, rax
call fcn.00460440
mov eax, 1
mov rcx, rax
nop dword [rax + rax]
call fcn.00460440
mov eax, 7
mov rcx, rax
call fcn.00460440
mov eax, 6
mov rcx, rdi
call fcn.00460440
mov eax, 3
mov rcx, rax
call fcn.00460440
mov eax, 2
mov rcx, rax
call fcn.00460440
mov eax, 1
mov rcx, rax
call fcn.00460440
xor eax, eax
mov rcx, rax
call fcn.00460440
mov eax, esi
mov ecx, edi
call fcn.00460500
mov rdx, rcx
mov ecx, edi
nop
call fcn.004604c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045dde0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004ca140