Function at 0x180270f40
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, [0x180307e08]
mov edi, edx
mov rax, qword [r14 + 0x88]
movsxd rsi, dword [r14 + 0x90]
movsxd r11, dword [r14 + 0x110]
movups xmm0, xmmword [r14 + 0x28]
mov r10, qword [r14 + 0x10]
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 + 0x50], rax
mov rax, qword [r14 + 0x108]
mov qword [rsp + 0x60], rax
mov eax, dword [r14 + 8]
mov dword [rsp + 0x30], eax
lea rax, [rcx + rsi*2]
mov qword [rsp + 0x48], rax
lea rax, [rcx + r11*2]
movups xmmword [rsp + 0x20], xmm0
mov r15d, dword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], r10
mov dword [rsp + 0xd0], r8d
mov dword [rsp + 0xd8], edx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x34], r11d
mov ecx, r12d
sub ecx, 9
je 0x18027102e
sub ecx, 1
je 0x18027122e
sub ecx, 1
je 0x1802713a1
cmp ecx, 1
jne 0x180270ff3
mov r12d, dword [rsp + 0x30]
cmp ebx, r13d
jle 0x180271421
mov edi, edx
sub edi, ebx
cmp ebp, edi
cmovle edi, ebp
jmp 0x18027142d
mov rdi, qword [rsp + 0x38]
mov ebp, dword [rsp + 0xc8]
movsxd r11, r13d
movsxd rbx, edx
test r8d, r8d
je 0x1802715a3
cmp r15d, esi
jge 0x180271122
lea rdx, [rsp + 0x20]
mov rcx, r9
call fcn.180270da0
mov r15d, dword [rsp + 0x28]
test eax, eax
jne 0x180271122
cmp r15d, esi
jge 0x180271122
test ebp, ebp
je 0x180271500
mov rax, qword [rsp + 0x20]
mov ecx, esi
mov r8d, dword [r14 + 0x94]
sub ecx, r15d
shl rax, cl
movzx ecx, r8b
movzx r10d, ax
mov rax, qword [rsp + 0x48]
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 0x180271106
test edx, edx
je 0x180271106
mov r9, qword [r14 + 0xb0]
nop dword [rax + rax]
mov ecx, r8d
sub eax, edx
dec r8d
test ecx, ecx
jle 0x180271104
cmp eax, dword [r14 + 0x9c]
jge 0x180271104
bt r10d, r8d
movsxd rcx, eax
jae 0x1802710f5
movzx eax, word [r9 + rcx*4]
jmp 0x1802710fb
movzx eax, word [r9 + rcx*4 + 2]
movzx eax, ax
cmp eax, edx
jge 0x1802710d0
jmp 0x180271106
xor eax, eax
mov rdx, qword [rsp + 0x50]
movzx edx, byte [rax + rdx]
sub r15d, edx
mov dword [rsp + 0x28], r15d
js 0x18027151d
jmp 0x1802711b7
mov rax, qword [rsp + 0x48]
mov ecx, r15d
mov rdx, qword [rsp + 0x20]
sub ecx, esi
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 0x1802711a6
test edx, edx
je 0x1802711a6
mov r9, qword [r14 + 0xb0]
nop dword [rax]
mov ecx, r8d
sub eax, edx
dec r8d
test ecx, ecx
jle 0x1802711a4
cmp eax, dword [r14 + 0x9c]
jge 0x1802711a4
bt r10d, r8d
movsxd rcx, eax
jae 0x180271195
movzx eax, word [r9 + rcx*4]
jmp 0x18027119b
movzx eax, word [r9 + rcx*4 + 2]
movzx eax, ax
cmp eax, edx
jge 0x180271170
jmp 0x1802711a6
xor eax, eax
mov rdx, qword [rsp + 0x50]
movzx edx, byte [rax + rdx]
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 0x18027121c
mov byte [r11 + rdi], al
inc r13d
inc r11
cmp r11, rbx
jl 0x180271040
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 0x1802715b8
mov edi, dword [rsp + 0xc8]
lea ebp, [rax - 0xfd]
mov r11d, dword [rsp + 0x34]
cmp r15d, r11d
jge 0x180271303
lea rdx, [rsp + 0x20]
mov rcx, r9
call fcn.180270da0
mov r15d, dword [rsp + 0x28]
test eax, eax
jne 0x180271303
cmp r15d, r11d
jge 0x180271303
test edi, edi
je 0x1802714f6
mov rax, qword [rsp + 0x20]
mov ecx, r11d
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 0x1802712e7
test edx, edx
je 0x1802712e7
mov r10, qword [r14 + 0x130]
mov eax, r8d
sub ebx, edx
dec r8d
test eax, eax
jle 0x1802712e5
cmp ebx, dword [r14 + 0x11c]
jge 0x1802712e5
bt r9d, r8d
movsxd rax, ebx
lea rcx, [r10 + rax*4]
jae 0x1802712d8
movzx eax, word [rcx]
jmp 0x1802712dc
movzx eax, word [rcx + 2]
movzx ebx, ax
cmp ebx, edx
jge 0x1802712b1
jmp 0x1802712e7
xor ebx, ebx
mov rcx, qword [rsp + 0x60]
movzx ecx, byte [rbx + rcx]
sub r15d, ecx
mov dword [rsp + 0x28], r15d
js 0x18027151d
jmp 0x180271399
mov rax, qword [rsp + 0x58]
mov ecx, r15d
mov rdx, qword [rsp + 0x20]
sub ecx, r11d
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 0x180271388
test edx, edx
je 0x180271388
mov r10, qword [r14 + 0x130]
mov eax, r8d
sub ebx, edx
dec r8d
test eax, eax
jle 0x180271386
cmp ebx, dword [r14 + 0x11c]
jge 0x180271386
bt r9d, r8d
movsxd rax, ebx
lea rcx, [r10 + rax*4]
jae 0x180271379
movzx eax, word [rcx]
jmp 0x18027137d
movzx eax, word [rcx + 2]
movzx ebx, ax
cmp ebx, edx
jge 0x180271352
jmp 0x180271388
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 0x180271400
lea r11d, [rbx - 1]
cmp r15d, r11d
jge 0x1802713ce
lea rdx, [rsp + 0x20]
mov rcx, r9
call fcn.180270da0
mov r15d, dword [rsp + 0x28]
test eax, eax
jne 0x1802713ce
cmp r15d, r11d
jl 0x180271519
sub r15d, r11d
movsxd rax, r11d
lea rcx, [0x180307e08]
mov dword [rsp + 0x28], r15d
movzx ebx, word [rcx + rax*2]
mov ecx, r15d
mov rax, qword [rsp + 0x20]
shr rax, cl
mov ecx, r11d
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 0x180271017
mov eax, edx
mov edi, ebp
sub eax, r13d
cmp ebp, eax
cmovg edi, eax
lea esi, [rdi + rbx]
cmp esi, r13d
jl 0x18027148e
lea eax, [rdi + r13]
cmp eax, ebx
jl 0x18027148e
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 0x18027147f
nop dword [rax + rax]
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 0x180271460
cmp r8d, edi
jge 0x1802714a2
movzx eax, byte [rcx + rdx]
mov byte [rcx + r9], al
jmp 0x1802714a2
movsxd rcx, r13d
movsxd rdx, ebx
add rcx, r10
add rdx, r10
movsxd r8, edi
call fcn.180298b10
movsxd rdx, dword [rsp + 0xd8]
add r13d, edi
cmp r13d, edx
je 0x180271542
mov r10, qword [rsp + 0x38]
cmp ebp, edi
jle 0x1802714cb
sub ebp, edi
mov ebx, esi
and ebx, r12d
jmp 0x180271017
mov esi, dword [rsp + 0x40]
mov r12d, 9
mov r8d, dword [rsp + 0xd0]
mov r9, qword [rsp + 0xc0]
mov edi, dword [rsp + 0xc8]
mov r11d, dword [rsp + 0x34]
jmp 0x180270ff3
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 0x1802715b8
test edi, edi
je 0x180271532
mov dword [r14 + 0x154], 0xffffffe7
mov eax, 0xffffffe7
jmp 0x1802715c6
mov r12d, 0xb
mov dword [r14 + 0x20], ebp
mov dword [r14 + 0x1c], ebx
jmp 0x180271500
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 0x180271581
mov r12d, 9
mov dword [r14 + 0x138], r8d
mov dword [r14], r12d
xor eax, eax
jmp 0x1802715b8
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 0x1802715b8
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