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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x49f00c]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x2c], ecx
mov ecx, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x14]
sub eax, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov dword [esp + 0x24], eax
xor edi, edi
mov esi, dword [ecx]
xor eax, eax
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
cmp esi, ecx
je 0x44961e
mov edi, dword [esi]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x4495ee
cmp byte [edi + 0x58], 0
jne 0x4495ee
mov ecx, dword [esp + 0x3c]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x24]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
jne 0x44958a
mov eax, dword [edi]
lea ecx, [esp + 0x60]
inc dword [esp + 0x10]
push ecx
mov ecx, edi
mov eax, dword [eax + 0xbc]
call eax
add eax, 0xc
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0xbc]
call eax
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
jmp 0x4495d6
cmp ecx, dword [edi + 0x34]
cmovl ecx, dword [edi + 0x34]
mov dword [esp + 0x20], ecx
cmp ecx, dword [edi + 0x3c]
cmovg ecx, dword [edi + 0x3c]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x7c]
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0xbc]
call eax
add eax, 0xc
lea ecx, [esp + 0x8c]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0xbc]
call eax
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
add ecx, dword [esp + 0x20]
add ecx, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
inc eax
add edi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
jmp 0x4495f6
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [ebp + 0xc]
add esi, 4
mov ecx, dword [edx + 4]
cmp esi, ecx
jne 0x449511
mov esi, dword [edx]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x40], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x30], edx
dec eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x14]
mov eax, edx
imul eax, dword [esp + 0x28]
mov dword [esp + 0x38], edx
add edi, eax
xor eax, eax
mov dword [esp + 0x44], eax
cmp dword [esp + 0x10], eax
jle 0x449661
mov eax, dword [esp + 0x24]
sub eax, edi
cdq
idiv dword [esp + 0x10]
xor edx, edx
test eax, eax
cmovs eax, edx
mov dword [esp + 0x44], eax
imul eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
sub edx, eax
xor eax, eax
mov dword [esp + 0x14], edx
sub dword [esp + 0x14], edi
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], eax
cmp esi, ecx
je 0x4496ce
mov edi, dword [esi]
mov ecx, edi
mov dword [esp + 0x48], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x4496b8
cmp byte [edi + 0x58], 0
je 0x4496f8
movups xmm0, xmmword [ebp + 0x10]
sub esp, 0x10
lea ecx, [esp + 0x8c]
mov eax, esp
mov edx, edi
movups xmmword [eax], xmm0
call fcn.00443ea0
add esp, 0x10
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
add esi, 4
cmp esi, dword [ecx + 4]
jne 0x449682
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x14]
mov ecx, dword [esp + 0x4c]
imul edx, dword [esp + 0x28]
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
add edx, dword [esp + 0x10]
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00462ae1
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [edi]
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
call dword [eax + 0xbc]
mov ecx, dword [esp + 0x24]
sub esp, 8
sub ecx, dword [esp + 0x5c]
mov eax, esp
mov edx, dword [esp + 0x44]
mov dword [esp + 0x2c], ecx
mov dword [eax + 4], ecx
lea ecx, [esp + 0x24]
mov dword [eax], edx
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
jne 0x449754
mov edx, dword [esp + 0x44]
mov ecx, edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
test eax, eax
jle 0x449754
lea ecx, [edx + 1]
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
cmp ecx, dword [edi + 0x34]
mov eax, dword [esp + 0x50]
cmovl ecx, dword [edi + 0x34]
mov dword [esp + 0x20], ecx
cmp ecx, dword [edi + 0x3c]
mov dword [esp + 0x38], eax
cmovg ecx, dword [edi + 0x3c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
jne 0x449785
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x58]
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovs ecx, eax
mov dword [esp + 0x1c], ecx
cmp ecx, dword [edi + 0x30]
cmovl ecx, dword [edi + 0x30]
mov dword [esp + 0x1c], ecx
mov eax, dword [edi + 0x38]
test eax, eax
js 0x4497ab
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [edi + 0x50]
xor edx, edx
mov dword [esp + 0x10], edx
test eax, eax
jne 0x4497c2
mov edx, dword [esp + 0x30]
add edx, dword [esp + 0x38]
jmp 0x4497f7
cmp eax, 2
jne 0x4497d5
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x58]
mov edx, eax
sub edx, ecx
jmp 0x4497fa
cmp eax, 1
jne 0x4497fe
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x58]
sub eax, ecx
sub eax, dword [esp + 0x30]
add eax, dword [esp + 0x40]
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esp + 0x30]
lea eax, [edx + ecx]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
sub esp, 0x10
add eax, dword [esp + 0x64]
mov ecx, edi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
sub dword [esp + 0x20], edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x64]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov eax, esp
mov dword [esp + 0x70], edx
movups xmm0, xmmword [esp + 0x70]
mov edx, dword [edi]
movups xmmword [eax], xmm0
call dword [edx + 0x20]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + 0x14]
add eax, edi
add eax, edx
add eax, dword [esp + 0x54]
add dword [esp + 0x2c], eax
lea eax, [edi + edx]
add eax, dword [esp + 0x54]
add dword [esp + 0x18], eax
mov eax, dword [ecx + 0x14]
add eax, edi
add eax, edx
sub dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x48], eax
cmovg eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
jmp 0x4496bc