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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov r14, qword [rcx + 0x30]
mov r9, rcx
lea rcx, [0x14008e758]
mov esi, edx
mov rax, qword [r14 + 0x108]
movsxd rdi, dword [r14 + 0x110]
movups xmm0, xmmword [r14 + 0x28]
mov r10, qword [r14 + 0x10]
mov r11, qword [r14 + 0x88]
mov r8d, dword [r14 + 0x138]
mov edx, dword [r14 + 4]
mov ebp, dword [r14 + 0x20]
mov ebx, dword [r14 + 0x1c]
mov r13d, dword [r14 + 0x18]
mov r12d, dword [r14]
mov qword [rsp + 0x60], rax
mov eax, dword [r14 + 8]
mov dword [rsp + 0x30], eax
movsxd rax, dword [r14 + 0x90]
mov dword [rsp + 0x48], eax
movups xmmword [rsp + 0x20], xmm0
mov r15d, dword [rsp + 0x28]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x50], rax
lea rax, [rcx + rdi*2]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], r11
mov dword [rsp + 0xd0], r8d
mov dword [rsp + 0xd8], edx
mov dword [rsp + 0x34], edi
mov ecx, r12d
sub ecx, 9
je 0x140052fad
sub ecx, 1
je 0x1400531ab
sub ecx, 1
je 0x14005331f
cmp ecx, 1
jne 0x140052f72
mov r12d, dword [rsp + 0x30]
cmp ebx, r13d
jle 0x14005339d
mov edi, edx
sub edi, ebx
cmp ebp, edi
cmovle edi, ebp
jmp 0x1400533a9
mov rsi, qword [rsp + 0x38]
mov ebp, dword [rsp + 0x48]
movsxd rbx, r13d
movsxd rdi, edx
nop dword [rax]
test r8d, r8d
je 0x140053517
cmp r15d, ebp
jge 0x1400530a8
lea rdx, [rsp + 0x20]
mov rcx, r9
call fcn.140052cb0
mov r15d, dword [rsp + 0x28]
test eax, eax
jne 0x1400530a3
cmp r15d, ebp
jge 0x1400530a3
cmp dword [rsp + 0xc8], eax
je 0x140053474
mov rax, qword [rsp + 0x20]
mov ecx, ebp
mov r8d, dword [r14 + 0x94]
sub ecx, r15d
shl rax, cl
movzx ecx, r8b
movzx r10d, ax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
and r10d, eax
mov rax, qword [r14 + 0xa8]
mov edx, r10d
shr rdx, cl
movzx eax, word [rax + rdx*2]
mov edx, dword [r14 + 0x3c]
cmp eax, edx
jl 0x140053086
test edx, edx
je 0x140053086
mov r9, qword [r14 + 0xb0]
nop dword [rax]
mov ecx, r8d
sub eax, edx
dec r8d
test ecx, ecx
jle 0x140053084
cmp eax, dword [r14 + 0x9c]
jge 0x140053084
bt r10d, r8d
movsxd rcx, eax
jae 0x140053075
movzx eax, word [r9 + rcx*4]
jmp 0x14005307b
movzx eax, word [r9 + rcx*4 + 2]
movzx eax, ax
cmp eax, edx
jge 0x140053050
jmp 0x140053086
xor eax, eax
mov r11, qword [rsp + 0x40]
movzx edx, byte [rax + r11]
sub r15d, edx
mov dword [rsp + 0x28], r15d
js 0x140053491
jmp 0x140053136
mov r11, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
mov ecx, r15d
mov rdx, qword [rsp + 0x20]
sub ecx, ebp
mov r8d, dword [r14 + 0x94]
shr rdx, cl
movzx ecx, r8b
movzx eax, word [rax]
movzx r10d, dx
and r10d, eax
mov rax, qword [r14 + 0xa8]
mov edx, r10d
shr rdx, cl
movzx eax, word [rax + rdx*2]
mov edx, dword [r14 + 0x3c]
cmp eax, edx
jl 0x140053129
test edx, edx
je 0x140053129
mov r9, qword [r14 + 0xb0]
mov ecx, r8d
sub eax, edx
dec r8d
test ecx, ecx
jle 0x140053127
cmp eax, dword [r14 + 0x9c]
jge 0x140053127
bt r10d, r8d
movsxd rcx, eax
jae 0x140053118
movzx eax, word [r9 + rcx*4]
jmp 0x14005311e
movzx eax, word [r9 + rcx*4 + 2]
movzx eax, ax
cmp eax, edx
jge 0x1400530f3
jmp 0x140053129
xor eax, eax
movzx edx, byte [rax + r11]
sub r15d, edx
mov dword [rsp + 0x28], r15d
mov r8d, dword [rsp + 0xd0]
mov r9, qword [rsp + 0xc0]
dec r8d
mov dword [rsp + 0xd0], r8d
cmp eax, 0xff
ja 0x14005319a
mov byte [rbx + rsi], al
inc r13d
inc rbx
cmp rbx, rdi
jl 0x140052fc0
mov rax, qword [r9 + 0x30]
xor r13d, r13d
mov rcx, qword [rax + 0x10]
movsxd rax, dword [rsp + 0xd8]
add qword [r9 + 0x28], rax
mov dword [r9 + 0x20], eax
xor eax, eax
mov qword [r9 + 0x18], rcx
mov dword [r14 + 0x138], r8d
mov dword [r14], r12d
jmp 0x14005352c
mov esi, dword [rsp + 0xc8]
lea ebp, [rax - 0xfd]
mov edi, dword [rsp + 0x34]
cmp r15d, edi
jge 0x140053282
lea rdx, [rsp + 0x20]
mov rcx, r9
call fcn.140052cb0
mov r15d, dword [rsp + 0x28]
test eax, eax
jne 0x140053282
cmp r15d, edi
jge 0x140053282
test esi, esi
je 0x14005346a
mov rax, qword [rsp + 0x20]
mov ecx, edi
mov r8d, dword [r14 + 0x114]
sub ecx, r15d
shl rax, cl
movzx ecx, r8b
movzx r9d, ax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
and r9d, eax
mov rax, qword [r14 + 0x128]
mov edx, r9d
shr rdx, cl
movzx ebx, word [rax + rdx*2]
mov edx, dword [r14 + 0xbc]
cmp ebx, edx
jl 0x140053266
test edx, edx
je 0x140053266
mov r10, qword [r14 + 0x130]
nop dword [rax]
mov eax, r8d
sub ebx, edx
dec r8d
test eax, eax
jle 0x140053264
cmp ebx, dword [r14 + 0x11c]
jge 0x140053264
bt r9d, r8d
movsxd rax, ebx
lea rcx, [r10 + rax*4]
jae 0x140053257
movzx eax, word [rcx]
jmp 0x14005325b
movzx eax, word [rcx + 2]
movzx ebx, ax
cmp ebx, edx
jge 0x140053230
jmp 0x140053266
xor ebx, ebx
mov rcx, qword [rsp + 0x60]
movzx ecx, byte [rbx + rcx]
sub r15d, ecx
mov dword [rsp + 0x28], r15d
js 0x140053491
jmp 0x140053317
mov rax, qword [rsp + 0x58]
mov ecx, r15d
mov rdx, qword [rsp + 0x20]
sub ecx, edi
mov r8d, dword [r14 + 0x114]
shr rdx, cl
movzx ecx, r8b
movzx eax, word [rax]
movzx r9d, dx
and r9d, eax
mov rax, qword [r14 + 0x128]
mov edx, r9d
shr rdx, cl
movzx ebx, word [rax + rdx*2]
mov edx, dword [r14 + 0xbc]
cmp ebx, edx
jl 0x140053306
test edx, edx
je 0x140053306
mov r10, qword [r14 + 0x130]
mov eax, r8d
sub ebx, edx
dec r8d
test eax, eax
jle 0x140053304
cmp ebx, dword [r14 + 0x11c]
jge 0x140053304
bt r9d, r8d
movsxd rax, ebx
lea rcx, [r10 + rax*4]
jae 0x1400532f7
movzx eax, word [rcx]
jmp 0x1400532fb
movzx eax, word [rcx + 2]
movzx ebx, ax
cmp ebx, edx
jge 0x1400532d0
jmp 0x140053306
xor ebx, ebx
mov rcx, qword [rsp + 0x60]
movzx ecx, byte [rbx + rcx]
sub r15d, ecx
mov dword [rsp + 0x28], r15d
mov r9, qword [rsp + 0xc0]
cmp ebx, 1
jle 0x14005337c
lea edi, [rbx - 1]
cmp r15d, edi
jge 0x14005334b
lea rdx, [rsp + 0x20]
mov rcx, r9
call fcn.140052cb0
mov r15d, dword [rsp + 0x28]
test eax, eax
jne 0x14005334b
cmp r15d, edi
jl 0x14005348d
sub r15d, edi
movsxd rax, edi
lea rcx, [0x14008e758]
mov dword [rsp + 0x28], r15d
movzx ebx, word [rcx + rax*2]
mov ecx, r15d
mov rax, qword [rsp + 0x20]
shr rax, cl
mov ecx, edi
movzx eax, ax
and ebx, eax
mov eax, 1
shl eax, cl
add ebx, eax
mov r12d, dword [rsp + 0x30]
mov eax, r13d
mov r10, qword [rsp + 0x38]
sub eax, ebx
mov edx, dword [rsp + 0xd8]
lea ebx, [rax - 1]
and ebx, r12d
jmp 0x140052f96
mov eax, edx
mov edi, ebp
sub eax, r13d
cmp ebp, eax
cmovg edi, eax
lea esi, [rdi + rbx]
cmp esi, r13d
jl 0x140053402
lea eax, [rdi + r13]
cmp eax, ebx
jl 0x140053402
lea eax, [rdi - 1]
movsxd r9, r13d
add r9, r10
movsxd rdx, ebx
add rdx, r10
xor r8d, r8d
xor ecx, ecx
movsxd r10, eax
test eax, eax
jle 0x1400533f3
movzx eax, byte [rcx + rdx]
add r8d, 2
mov byte [rcx + r9], al
movzx eax, byte [rcx + rdx + 1]
mov byte [rcx + r9 + 1], al
add rcx, 2
cmp rcx, r10
jl 0x1400533d4
cmp r8d, edi
jge 0x140053416
movzx eax, byte [rcx + rdx]
mov byte [rcx + r9], al
jmp 0x140053416
movsxd rcx, r13d
movsxd rdx, ebx
add rcx, r10
add rdx, r10
movsxd r8, edi
call fcn.140080878
movsxd rdx, dword [rsp + 0xd8]
add r13d, edi
cmp r13d, edx
je 0x1400534b6
mov r10, qword [rsp + 0x38]
cmp ebp, edi
jle 0x14005343f
sub ebp, edi
mov ebx, esi
and ebx, r12d
jmp 0x140052f96
mov r8d, dword [rsp + 0xd0]
mov r12d, 9
mov r9, qword [rsp + 0xc0]
mov r11, qword [rsp + 0x40]
mov esi, dword [rsp + 0xc8]
mov edi, dword [rsp + 0x34]
jmp 0x140052f72
mov r12d, 0xa
mov dword [r14 + 0x20], ebp
mov r8d, dword [rsp + 0xd0]
mov dword [r14 + 0x138], r8d
xor eax, eax
mov dword [r14], r12d
jmp 0x14005352c
test esi, esi
je 0x1400534a6
mov dword [r14 + 0x154], 0xffffffe7
mov eax, 0xffffffe7
jmp 0x14005353a
mov r12d, 0xb
mov dword [r14 + 0x20], ebp
mov dword [r14 + 0x1c], ebx
jmp 0x140053474
mov r9, qword [rsp + 0xc0]
xor r13d, r13d
mov r8d, dword [rsp + 0xd0]
mov rax, qword [r9 + 0x30]
mov rcx, qword [rax + 0x10]
add qword [r9 + 0x28], rdx
mov qword [r9 + 0x18], rcx
mov dword [r9 + 0x20], edx
cmp ebp, edi
jg 0x1400534f5
mov r12d, 9
mov dword [r14 + 0x138], r8d
mov dword [r14], r12d
xor eax, eax
jmp 0x14005352c
and esi, dword [rsp + 0x30]
sub ebp, edi
mov r12d, 0xc
mov dword [r14 + 0x20], ebp
mov dword [r14 + 0x1c], esi
xor eax, eax
mov dword [r14], r12d
mov dword [r14 + 0x138], r8d
jmp 0x14005352c
xor eax, eax
mov dword [r14], eax
mov dword [r14 + 0x138], eax
mov dword [r14 + 0x1c], eax
mov eax, 0x64
movups xmm0, xmmword [rsp + 0x20]
mov dword [r14 + 0x18], r13d
movups xmmword [r14 + 0x28], xmm0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret