Function at 0x43c960
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 edx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x30], edx
mov edi, dword [edx + 0x20]
mov eax, dword [edx + 0x24]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], eax
test edi, edi
je 0x43cc16
test eax, eax
je 0x43cc16
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x24], esi
cmp dword [edx + 0x1c], ecx
jne 0x43c9d9
mov dword [esp + 0xc], edi
test eax, eax
jle 0x43c9d9
mov eax, dword [ebp + 0x18]
sub eax, esi
test edi, edi
jle 0x43c9d0
mov ecx, dword [edx + 0x14]
add ecx, edi
cdq
idiv ecx
mov dword [esp + 0xc], edi
mov ecx, eax
jmp 0x43c9d9
mov ecx, 1
mov dword [esp + 0xc], eax
test ecx, ecx
mov dword [esp + 0x48], esi
mov eax, 1
cmove ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x2c], eax
xor edi, edi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], edi
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x43ca44
mov edi, dword [esi]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x43ca31
cmp byte [edi + 0x58], 0
je 0x43ca86
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 + 0x28]
mov eax, dword [ebp + 0xc]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x43ca02
mov ecx, dword [esp + 0x34]
mov eax, edi
mov edi, dword [esp + 0xc]
cdq
idiv ecx
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x14]
lea esi, [eax + 1]
add edi, ecx
imul edi, dword [esp + 0x34]
test edx, edx
cmove esi, eax
add ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
imul esi, ecx
mov dword [eax], edi
mov dword [eax + 4], esi
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 0x43ca94
add eax, 1
sar eax, 1
mov ecx, dword [esp + 0x24]
add ecx, eax
add eax, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
add ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
add eax, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xdc]
mov eax, dword [esp + 0x1c]
sub esp, 8
sub eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x18]
add edx, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
sub ecx, edx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x28]
sub edx, eax
mov dword [esp + 0x4c], eax
mov eax, esp
mov dword [esp + 0x44], ecx
mov dword [esp + 0x18], edx
mov dword [eax], ecx
lea ecx, [esp + 0x1c]
mov dword [eax + 4], edx
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov ecx, dword [esp + 0x14]
cmp ecx, 0xffffffff
mov edx, dword [esp + 0x18]
cmove ecx, dword [esp + 0x3c]
cmp edx, 0xffffffff
mov dword [esp + 0x14], ecx
cmove edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
cmp ecx, dword [edi + 0x30]
cmovl ecx, dword [edi + 0x30]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 0x38]
mov dword [esp + 0x10], ecx
test eax, eax
js 0x43cb67
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
cmp edx, dword [edi + 0x34]
mov eax, dword [esp + 0x40]
cmovl edx, dword [edi + 0x34]
mov dword [esp + 0x18], edx
cmp edx, dword [edi + 0x3c]
cmovg edx, dword [edi + 0x3c]
sub eax, ecx
add eax, dword [esp + 0x1c]
sub esp, 0x10
mov dword [esp + 0x28], 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 + 0x28]
add eax, dword [esp + 0x30]
cdq
sub eax, edx
mov edx, dword [edi]
mov ecx, eax
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x28]
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 + 0x28]
inc edi
mov dword [esp + 0x28], edi
mov ecx, dword [eax + 0x14]
mov eax, edi
cdq
idiv dword [esp + 0x34]
test edx, edx
jne 0x43cc07
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
add eax, ecx
add dword [esp + 0x2c], eax
jmp 0x43ca35
mov eax, dword [esp + 0xc]
add eax, ecx
add dword [esp + 0x24], eax
jmp 0x43ca35
mov dword [ecx], 0
mov eax, ecx
mov dword [ecx + 4], 0
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.0053325b
mov esp, ebp
pop ebp
ret 0x18