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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], esi
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x20]
mov ebx, dword [ebx]
mov edx, dword [edx]
mov edi, dword [ebp + 0x30]
mov dword [esp + 0x88], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [esp + 0x84], esi
mov esi, dword [ebp + 0x34]
mov dword [esp + 0x80], ecx
mov ecx, dword [ebp + 0x3c]
mov dword [esp + 0x7c], edi
mov edi, dword [ebp + 0x40]
mov dword [esp + 0x78], esi
mov esi, dword [ebp + 0x38]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0x44]
mov dword [esp + 0x4c], edi
mov edi, dword [ebp + 0x48]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x8c], edi
mov edi, dword [eax]
cmp edx, edi
jge 0x5830ed
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], edx
dec edi
mov dword [esp + 0x60], edi
lea ecx, [esp + 0x60]
lea edx, [esp + 0x68]
mov eax, 1
mov dword [esp + 0x68], eax
push eax
push eax
push edx
push ecx
lea eax, [esp + 0x6c]
push eax
lea edx, [esp + 0x78]
push edx
push 0x22
push ebx
push 0xb84ae0
call fcn.00610460
add esp, 0x24
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
cmp edx, edi
jg 0x5830df
movaps xmm1, xmmword [0xb20950]
mov dword [esp + 0x74], edx
cmp edi, eax
cmovl eax, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x88]
movups xmm0, xmmword [edx]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
mov edx, dword [esi]
mov ecx, dword [ebx]
mov ebx, dword [edi]
mov esi, dword [ebx + 4]
mov dword [esp + 0x90], ecx
mov ecx, dword [ebx + 0x10]
mov ebx, edx
mov dword [esp + 0x70], ecx
shl ebx, 4
add esi, ebx
mov edi, eax
imul edi, ecx
add esi, edi
mov ecx, dword [esp + 0x78]
mov edi, dword [ecx]
add ebx, dword [edi + 4]
mov ecx, dword [edi + 0x10]
imul eax, ecx
add ebx, eax
mov eax, dword [esp + 0x8c]
movzx edi, byte [eax]
mov eax, dword [esp + 0x90]
test edi, edi
je 0x583050
cmp edx, eax
jge 0x5830c8
movaps xmm2, xmmword [0xb20960]
movaps xmm3, xmmword [0xb20950]
movaps xmm1, xmmword [esi]
add esi, 0x10
inc edx
andps xmm1, xmm3
orps xmm1, xmm2
dpps xmm1, xmm0, 0xf7
movaps xmmword [ebx], xmm1
add ebx, 0x10
cmp edx, eax
jl 0x583031
jmp 0x5830c8
mov edi, dword [esp + 0x40]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx]
sub eax, edx
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x48]
mov ebx, dword [ebx]
mov dword [esp + 0x58], esi
mov esi, dword [edi]
mov edi, dword [esp + 0x44]
mov edi, dword [edi]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edi
lea edx, [esp]
mov ecx, 1
push edx
push ecx
push eax
push dword [esp + 0x5c]
push dword [esp + 0x64]
push dword [esp + 0x84]
push dword [esp + 0x70]
call fcn.00611af0
mov eax, dword [esp + 0x74]
inc eax
cmp eax, dword [esp + 0x6c]
mov dword [esp + 0x74], eax
jle 0x582fb0
mov ebx, dword [esp + 0x30]
push ebx
push 0xb84ae0
call fcn.00610958
add esp, 8
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov esp, ebp
pop ebp
ret