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

Disassembly:
sub esp, 0x9c
mov edx, dword [esp + 0xbc]
xor ecx, ecx
push ebp
mov ebp, dword [esp + 0xa8]
mov eax, edx
sub eax, ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
mov eax, edx
sub eax, dword [esp + 0xbc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb8]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x6c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x7c], xmm0
movups xmm0, xmmword [eax + 0x20]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x9c], eax
movups xmmword [esp + 0x8c], xmm0
cmp dword [esp + 0xb0], ecx
jbe 0x821fab
push ebx
push esi
push edi
lea esi, [ecx + 1]
nop dword [eax]
nop word [eax + eax]
mov ebx, dword [esp + 0xb8]
movzx eax, byte [ebx + ecx*2 + 1]
movzx edi, byte [ebx + ecx*2]
sub edx, eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x2c], edi
mov ebx, dword [ecx + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], eax
mov ecx, ebp
sub ecx, edx
mov dword [esp + 0x38], ebx
mov eax, ebp
shl esi, cl
sub eax, edx
mov dword [esp + 0x3c], esi
cmp eax, dword [esp + 0x24]
jb 0x821f59
mov ecx, dword [esp + 0x28]
mov eax, 1
add ecx, edx
cmp ecx, 1
cmovl ecx, eax
mov eax, dword [esp + 0xc0]
mov esi, dword [eax + ecx*4]
mov eax, dword [esp + 0xb8]
lea eax, [eax + esi*2]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb0]
lea ebp, [eax + ebx*4]
imul eax, edx, 0x34
add eax, dword [esp + 0xc4]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x44], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x54], xmm0
movups xmm0, xmmword [eax + 0x20]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x74], eax
movups xmmword [esp + 0x64], xmm0
cmp ecx, 1
jle 0x821ea5
mov ecx, dword [esp + ecx*4 + 0x44]
mov word [esp + 0x10], di
mov byte [esp + 0x12], dl
mov byte [esp + 0x13], 1
test ecx, ecx
je 0x821ea5
mov eax, dword [esp + 0x10]
mov edi, ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xbc]
mov edi, 0
sub eax, esi
mov dword [esp + 0x34], eax
je 0x821f4a
mov byte [esp + 0x13], 2
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x44]
mov ebx, dword [esp + 0xcc]
mov esi, 1
movzx eax, byte [eax + edi*2 + 1]
mov edx, dword [ecx + eax*4]
sub ebx, eax
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0xb4]
sub ecx, ebx
mov dword [esp + 0x30], eax
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
shl esi, cl
add esi, edx
movzx ecx, byte [eax + edi*2]
mov eax, 0x100
imul ecx, eax
add cx, word [esp + 0x2c]
add bl, byte [esp + 0x1c]
mov word [esp + 0x10], cx
mov byte [esp + 0x12], bl
mov eax, dword [esp + 0x10]
nop dword [eax]
mov dword [ebp + edx*4], eax
inc edx
cmp edx, esi
jb 0x821f30
mov eax, dword [esp + 0x30]
inc edi
mov dword [eax], esi
cmp edi, dword [esp + 0x34]
jb 0x821ed0
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0xb4]
add edx, ebx
jmp 0x821f80
mov byte [esp + 0x16], dl
lea edx, [esi + ebx]
mov word [esp + 0x14], di
mov byte [esp + 0x17], 1
cmp ebx, edx
jae 0x821f80
mov eax, dword [esp + 0x14]
mov ecx, esi
mov esi, dword [esp + 0xb0]
lea edi, [esi + ebx*4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x40]
mov esi, 1
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
mov dword [eax], edx
mov edx, dword [esp + 0xcc]
cmp ecx, dword [esp + 0xbc]
jb 0x821de0
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x9c
ret