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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x5b4ef4]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x20]
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x2c], eax
push esi
push edi
test eax, eax
je 0x43d024
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x38], eax
test eax, eax
je 0x43d024
cmp dword [ecx + 0x1c], 0
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x20], esi
jne 0x43cde7
test eax, eax
jle 0x43cde7
mov ecx, dword [ecx + 0x14]
add ecx, eax
mov eax, dword [ebp + 0x1c]
sub eax, esi
cdq
idiv ecx
mov ecx, eax
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x43cdef
mov dword [esp + 0x28], 1
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x48], esi
mov dword [esp + 0x24], edi
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x43ce4e
nop word [eax + eax]
mov edi, dword [esi]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x43ce3f
cmp byte [edi + 0x58], 0
je 0x43ce94
movups xmm0, xmmword [ebp + 0x10]
sub esp, 0x10
lea ecx, [esp + 0x74]
mov eax, esp
mov edx, edi
movups xmmword [eax], xmm0
call fcn.00432ae0
add esp, 0x10
mov edi, dword [esp + 0x24]
mov eax, dword [ebp + 0xc]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x43ce10
mov eax, edi
mov ecx, dword [esp + 0x30]
cdq
idiv dword [esp + 0x28]
mov esi, dword [ecx + 0x14]
mov ecx, dword [esp + 0x34]
test edx, edx
lea edi, [eax + 1]
cmove edi, eax
mov eax, dword [esp + 0x4c]
add ecx, esi
imul edi, ecx
mov ecx, dword [esp + 0x38]
add ecx, esi
imul ecx, dword [esp + 0x28]
mov dword [eax], edi
mov dword [eax + 4], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0053325b
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x14]
test eax, eax
jns 0x43cea2
add eax, 1
sar eax, 1
mov ecx, dword [esp + 0x2c]
add ecx, eax
add eax, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
add ecx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
add eax, dword [esp + 0x38]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xdc]
mov eax, dword [esp + 0x18]
sub esp, 8
sub eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
add edx, dword [esp + 0x74]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
sub ecx, edx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x24]
sub edx, eax
mov dword [esp + 0x4c], eax
mov eax, esp
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], edx
mov dword [eax], ecx
lea ecx, [esp + 0x18]
mov dword [eax + 4], edx
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov ecx, dword [esp + 0x10]
cmp ecx, 0xffffffff
mov edx, dword [esp + 0x14]
cmove ecx, dword [esp + 0x3c]
cmp edx, 0xffffffff
mov dword [esp + 0x10], ecx
cmove edx, dword [esp + 0xc]
mov dword [esp + 0x14], edx
cmp ecx, dword [edi + 0x30]
cmovl ecx, dword [edi + 0x30]
mov dword [esp + 0x10], ecx
mov eax, dword [edi + 0x38]
mov dword [esp + 0xc], ecx
test eax, eax
js 0x43cf75
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
cmp edx, dword [edi + 0x34]
mov eax, dword [esp + 0x40]
cmovl edx, dword [edi + 0x34]
mov dword [esp + 0x14], edx
cmp edx, dword [edi + 0x3c]
cmovg edx, dword [edi + 0x3c]
sub eax, ecx
add eax, dword [esp + 0x18]
sub esp, 0x10
mov dword [esp + 0x24], edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x24]
add eax, dword [esp + 0x2c]
cdq
sub eax, edx
mov edx, dword [edi]
mov ecx, eax
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x24]
sar ecx, 1
add eax, ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], eax
mov ecx, edi
movups xmm0, xmmword [esp + 0x60]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x20]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
inc edi
mov dword [esp + 0x24], edi
mov ecx, dword [eax + 0x14]
mov eax, edi
cdq
idiv dword [esp + 0x28]
test edx, edx
jne 0x43d015
mov eax, dword [esp + 0x34]
add eax, ecx
add dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
jmp 0x43ce43
mov eax, dword [esp + 0x38]
add eax, ecx
add dword [esp + 0x20], eax
jmp 0x43ce43
mov ecx, dword [esp + 0x7c]
mov eax, edx
pop edi
pop esi
xor ecx, esp
mov dword [edx], 0
mov dword [edx + 4], 0
call fcn.0053325b
mov esp, ebp
pop ebp
ret 0x18