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

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4cae98
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x4cae82
cmp rax, 1
je 0x4cae31
mov rcx, qword [rsp + 0x88]
cmp rax, rcx
je 0x4cadba
jg 0x4cada4
mov rdx, qword [0x008b40c8]
cmp rax, rdx
jle 0x4caa7d
mov rdx, qword [rsp + 0x98]
mov qword [rsp], rdx
mov qword [rsp + 8], rax
mov rbx, qword [rsp + 0xa8]
mov qword [rsp + 0x10], rbx
call fcn.004caeb0
mov eax, dword [rsp + 0x18]
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x1c]
mov dword [rsp + 0x3c], ecx
mov rdx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
xor edi, edi
xor r8d, r8d
mov dword [rsp + 0x44], r8d
cmp rdi, rdx
jge 0x4ca8bd
cmp rdi, rsi
jae 0x4caa76
lea r9, [rdi + 1]
movzx r10d, byte [rbx + rdi]
imul r8d, r8d, 0x1000193
add r8d, r10d
mov rdi, r9
mov dword [rsp + 0x44], r8d
cmp rdi, rdx
jl 0x4ca894
cmp eax, r8d
je 0x4ca9e7
mov rdi, rdx
cmp rdx, rsi
jge 0x4ca90e
imul r8d, r8d, 0x1000193
movzx r9d, byte [rbx + rdx]
add r8d, r9d
mov r9, rdx
sub rdx, rdi
cmp rdx, rsi
jae 0x4ca9e0
movzx edx, byte [rbx + rdx]
imul edx, ecx
sub r8d, edx
mov dword [rsp + 0x44], r8d
lea rdx, [r9 + 1]
mov qword [rsp + 0x50], rdx
cmp eax, r8d
je 0x4ca924
cmp rdx, rsi
jl 0x4ca8ce
mov qword [rsp + 0xb0], 0xffffffffffffffff
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov r9, rdx
sub rdx, rdi
mov qword [rsp + 0x68], rdx
cmp rdx, r9
ja 0x4ca9d9
mov r10, qword [rsp + 0x90]
sub r10, rdx
lea r12, [r10 - 1]
sar r12, 0x3f
xor r12, 0xffffffffffffffff
and r12, rdx
add r12, rbx
mov qword [rsp], r12
sub r9, rdx
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], r10
mov r9, qword [rsp + 0x98]
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], rdi
mov r10, qword [rsp + 0xa8]
mov qword [rsp + 0x28], r10
call fcn.00454c20
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x4ca9c2
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsp + 0xa0]
mov r8d, dword [rsp + 0x44]
jmp 0x4ca8c9
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xb0], rax
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
call fcn.00429450
ud2
call fcn.004293e0
ud2
mov rdi, qword [rsp + 0x90]
cmp rdx, rdi
ja 0x4caa6f
mov qword [rsp], rbx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rdi
mov r9, qword [rsp + 0x98]
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], rdx
mov r10, qword [rsp + 0xa8]
mov qword [rsp + 0x28], r10
call fcn.00454c20
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x4caa59
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
mov r8d, dword [rsp + 0x44]
jmp 0x4ca8c6
mov qword [rsp + 0xb0], 0
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
call fcn.00429450
ud2
call fcn.004293e0
ud2
cmp rcx, 0x40
jle 0x4cad4b
mov rdx, qword [rsp + 0x98]
movzx ebx, byte [rdx]
mov byte [rsp + 0x3b], bl
mov rsi, rcx
sub rcx, rax
inc rcx
mov qword [rsp + 0x48], rcx
mov rdi, qword [rsp + 0x90]
cmp rcx, rdi
ja 0x4cad44
xor r8d, r8d
xor r9d, r9d
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], r9
cmp r8, rcx
jge 0x4cabbf
jae 0x4cad3d
mov r10, qword [rsp + 0x80]
movzx r11d, byte [r10 + r8]
cmp bl, r11b
jne 0x4caca9
mov qword [rsp + 0x58], r8
lea r11, [r8 + rax]
cmp r8, r11
ja 0x4caca2
cmp r11, rdi
ja 0x4caca2
sub rdi, r8
lea r12, [rdi - 1]
sar r12, 0x3f
xor r12, 0xffffffffffffffff
and r12, r8
add r12, r10
mov qword [rsp], r12
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rdi
call fcn.00454c20
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x4cac8b
mov rax, qword [rsp + 0x60]
inc rax
mov rcx, qword [rsp + 0x58]
lea rdx, [rcx + 1]
lea rbx, [rcx + 0x11]
sar rbx, 0x3f
shr rbx, 0x3d
lea rbx, [rcx + rbx + 0x11]
sar rbx, 3
cmp rax, rbx
jg 0x4cabd5
mov rcx, qword [rsp + 0x48]
movzx ebx, byte [rsp + 0x3b]
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov r8, rdx
mov r9, rax
mov rax, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], r9
cmp r8, rcx
jl 0x4caace
mov qword [rsp + 0xb0], 0xffffffffffffffff
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov rax, qword [rsp + 0x88]
cmp rdx, rax
ja 0x4cac84
mov rbx, qword [rsp + 0x90]
sub rbx, rdx
lea rsi, [rbx - 1]
sar rsi, 0x3f
xor rsi, 0xffffffffffffffff
and rsi, rdx
mov rdi, qword [rsp + 0x80]
add rsi, rdi
mov qword [rsp], rsi
sub rax, rdx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
call fcn.00454780
mov rax, qword [rsp + 0x30]
test rax, rax
jl 0x4cac6e
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 1]
mov qword [rsp + 0xb0], rax
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov qword [rsp + 0xb0], 0xffffffffffffffff
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
call fcn.00429450
ud2
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xb0], rax
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
call fcn.00429450
ud2
sub rdi, r8
lea r12, [rdi - 1]
sar r12, 0x3f
xor r12, 0xffffffffffffffff
and r12, r8
add r12, r10
mov qword [rsp], r12
sub rcx, r8
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdi
mov byte [rsp + 0x18], bl
call fcn.00454ab0
mov rax, qword [rsp + 0x20]
test rax, rax
jl 0x4cad27
mov r11, qword [rsp + 0x58]
lea r8, [r11 + rax]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x98]
movzx ebx, byte [rsp + 0x3b]
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov r9, qword [rsp + 0x60]
mov r10, qword [rsp + 0x80]
jmp 0x4caaea
mov qword [rsp + 0xb0], 0xffffffffffffffff
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
call fcn.004293e0
ud2
call fcn.00429450
ud2
mov rdx, qword [rsp + 0x80]
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
call fcn.00454780
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xb0], rax
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov qword [rsp + 0xb0], 0xffffffffffffffff
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov rdx, qword [rsp + 0x98]
mov qword [rsp], rdx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
call fcn.00454c20
movzx eax, byte [rsp + 0x30]
test al, al
je 0x4cae1b
mov qword [rsp + 0xb0], 0
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov qword [rsp + 0xb0], 0xffffffffffffffff
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov rax, qword [rsp + 0x98]
movzx eax, byte [rax]
mov byte [rsp + 0x18], al
mov rax, qword [rsp + 0x80]
mov qword [rsp], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x10], rax
call fcn.00454ab0
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xb0], rax
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov qword [rsp + 0xb0], 0
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
call fcn.00452210
jmp fcn.004ca7d0