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

Disassembly:
sub esp, 0x94
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
lea eax, [edx + ecx]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa0]
push esi
push edi
mov edi, dword [esp + 0xb0]
mov ebx, dword [eax + 0x5cd0]
mov esi, dword [eax + 0x5ce0]
mov eax, dword [eax + 0x5c30]
add esi, ebx
add edi, dword [esp + 0xac]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa8]
push ecx
mov dword [esp + 0x18], edi
push edx
mov edi, dword [eax + 0x5c34]
mov eax, dword [eax + 0x5c38]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0xb4]
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x58], esi
mov dword [esp + 0x50], edi
call fcn.00819780
mov edi, dword [esp + 0x24]
add esp, 0x10
cmp eax, 0xffffff88
ja 0x81a602
mov ecx, dword [esp + 0xb4]
add ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
test eax, eax
je 0x81a5c5
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0x5c6c], 1
mov eax, dword [ebx + 0x5c20]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x5c24]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x5c28]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x20]
sub eax, ecx
push eax
push ecx
lea eax, [esp + 0x54]
push eax
call fcn.008190d0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x81a5dd
mov edx, dword [esp + 0x50]
mov ecx, edx
mov edi, dword [ebx]
and ecx, 0x1f
mov eax, dword [esp + 0x4c]
or ebx, 0xffffffff
shl eax, cl
mov ecx, ebx
shr eax, 1
movzx esi, word [edi]
sub ecx, esi
add edx, esi
and ecx, 0x1f
mov dword [esp + 0x50], edx
shr eax, cl
mov dword [esp + 0x60], eax
lea eax, [esp + 0x4c]
push eax
call fcn.00819200
mov edx, dword [esp + 0x54]
lea eax, [edi + 4]
mov dword [esp + 0x68], eax
mov ecx, edx
mov eax, dword [esp + 0xac]
and ecx, 0x1f
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x50]
shl eax, cl
mov ecx, ebx
shr eax, 1
movzx esi, word [edi]
sub ecx, esi
add edx, esi
and ecx, 0x1f
mov dword [esp + 0x54], edx
shr eax, cl
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x50]
push eax
call fcn.00819200
mov edx, dword [esp + 0x58]
lea eax, [edi + 4]
mov dword [esp + 0x74], eax
mov ecx, edx
mov eax, dword [esp + 0xb0]
and ecx, 0x1f
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x54]
shl eax, cl
shr eax, 1
movzx esi, word [edi]
sub ebx, esi
add edx, esi
and ebx, 0x1f
mov dword [esp + 0x58], edx
mov ecx, ebx
shr eax, cl
mov dword [esp + 0x78], eax
lea eax, [esp + 0x54]
push eax
call fcn.00819200
lea eax, [edi + 4]
add esp, 0xc
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x50]
cmp edx, 0x20
ja 0x81a58a
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0x5c]
jb 0x81a2e6
mov eax, edx
shr eax, 3
sub ecx, eax
and edx, 7
jmp 0x81a306
mov edi, dword [esp + 0x58]
cmp ecx, edi
je 0x81a314
mov esi, edx
mov eax, ecx
shr esi, 3
sub eax, esi
cmp eax, edi
jae 0x81a2ff
mov esi, ecx
sub esi, edi
imul eax, esi, 0xfffffff8
sub ecx, esi
add edx, eax
mov eax, dword [ecx]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x81a591
dec eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.008198c0
mov ecx, dword [esp + 0x24]
add esp, 8
mov edx, dword [esp + 0x14]
mov dword [esp + 0x90], eax
add edx, 0xfffffff8
movups xmm1, xmmword [eax]
mov dword [esp + 0x30], edx
movaps xmm0, xmm1
movd eax, xmm1
psrldq xmm0, 4
movd ebp, xmm0
mov dword [esp + 0x38], eax
psrldq xmm1, 8
movd dword [esp + 0x2c], xmm1
lea esi, [eax + ecx]
mov ebx, esi
sub ebx, dword [esp + 0x2c]
lea edi, [eax + ebp]
lea eax, [edi + ecx]
mov dword [esp + 0x20], edi
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x14]
ja 0x81a578
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x3c], eax
ja 0x81a566
cmp esi, edx
jbe 0x81a3f5
push dword [esp + 0x44]
mov edx, dword [esp + 0x94]
push dword [esp + 0x44]
push dword [esp + 0x20]
movups xmm0, xmmword [edx]
push eax
lea eax, [esp + 0x38]
push eax
sub esp, 0x10
mov eax, esp
push dword [esp + 0x38]
movups xmmword [eax], xmm0
push ecx
call fcn.0081a610
mov edi, eax
add esp, 0x2c
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
jmp 0x81a552
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
cmp eax, 8
jbe 0x81a42c
add eax, 0xfffffff8
push eax
mov eax, dword [esp + 0x14]
add eax, 8
push eax
lea eax, [ecx + 8]
push eax
call fcn.0081acb0
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
mov eax, esi
sub eax, dword [esp + 0x18]
cmp ecx, eax
jbe 0x81a4c1
mov eax, esi
sub eax, dword [esp + 0x40]
cmp ecx, eax
ja 0x81a566
mov ecx, dword [esp + 0x44]
mov eax, ecx
sub eax, dword [esp + 0x18]
add ebx, eax
lea eax, [ebx + ebp]
cmp eax, ecx
ja 0x81a474
push ebp
push ebx
push esi
call fcn.00810eea
jmp 0x81a54f
mov edi, ecx
sub edi, ebx
push edi
push ebx
push esi
call fcn.00810eea
mov edx, dword [esp + 0x3c]
add esi, edi
mov eax, dword [esp + 0x24]
add esp, 0xc
sub ebp, edi
mov ebx, eax
cmp esi, edx
ja 0x81a49a
cmp ebp, 3
jae 0x81a4b9
test ebp, ebp
je 0x81a4b0
mov ecx, eax
sub ecx, esi
mov al, byte [esi + ecx]
lea esi, [esi + 1]
mov byte [esi - 1], al
sub ebp, 1
jne 0x81a4a2
mov edi, dword [esp + 0x20]
jmp 0x81a552
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
cmp ecx, 8
jae 0x81a4f2
movzx eax, byte [ebx]
mov byte [esi], al
movzx eax, byte [ebx + 1]
mov byte [esi + 1], al
movzx eax, byte [ebx + 2]
mov byte [esi + 2], al
movzx eax, byte [ebx + 3]
add ebx, dword [ecx*4 + 0x810774]
mov byte [esi + 3], al
mov eax, dword [ebx]
sub ebx, dword [ecx*4 + 0x810794]
jmp 0x81a4f9
mov eax, dword [ebx]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x24]
add ebx, 8
mov dword [esi + 4], eax
add esi, 8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff3
cmp ecx, eax
jbe 0x81a544
cmp esi, edx
jae 0x81a532
sub edx, esi
push edx
push ebx
push esi
call fcn.0081acb0
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov ecx, dword [esp + 0x24]
sub eax, esi
mov esi, dword [esp + 0x30]
add ebx, eax
cmp esi, ecx
jae 0x81a552
mov al, byte [ebx]
lea ebx, [ebx + 1]
mov byte [esi], al
inc esi
cmp esi, ecx
jb 0x81a536
jmp 0x81a552
lea eax, [ebp - 8]
push eax
push ebx
push esi
call fcn.0081acb0
add esp, 0xc
cmp edi, 0xffffff88
ja 0x81a57d
mov ebp, dword [esp + 0x1c]
add ebp, edi
mov dword [esp + 0x1c], ebp
jmp 0x81a2c3
mov edi, 0xffffffec
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret
mov edi, 0xffffffba
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret
cmp dword [esp + 0x34], 0
jne 0x81a5dd
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x14]
mov dword [ecx + 0x5c20], eax
mov eax, dword [esp + 0x7c]
mov dword [ecx + 0x5c24], eax
mov eax, dword [esp + 0x80]
mov dword [ecx + 0x5c28], eax
sub esi, ebx
sub edi, ebp
cmp esi, edi
jbe 0x81a5ed
mov eax, 0xffffffba
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret
mov eax, 0xffffffec
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret
push esi
push ebx
push ebp
call fcn.00810ec6
add esp, 0xc
sub esi, dword [esp + 0xac]
lea eax, [esi + ebp]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret