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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x47b0b0]
xor eax, esp
mov dword [esp + 0x78], eax
movq xmm0, qword [ebp + 8]
push ebx
push esi
push edi
sub esp, 0x10
mov eax, esp
mov ebx, ecx
movq qword [eax], xmm0
movq xmm0, qword [ebp + 0x10]
mov dword [esp + 0x5c], ebx
movq qword [eax + 8], xmm0
call fcn.0041bf60
movq xmm0, qword [ebx + 0xd4]
mov eax, dword [ebx + 0x2f0]
movq qword [ebp + 8], xmm0
add dword [ebp + 8], eax
mov eax, dword [ebx + 0x2f4]
add dword [ebp + 0xc], eax
movq xmm0, qword [ebx + 0xdc]
mov eax, dword [ebx + 0x2f8]
movq qword [ebp + 0x10], xmm0
sub dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x2fc]
sub dword [ebp + 0x14], eax
cmp dword [ebx + 0x2e8], 0
jne 0x42c6e8
push 0
jmp 0x42c883
mov ecx, dword [ebx + 0x308]
test ecx, ecx
je 0x42c70e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x42c70e
mov ecx, dword [ebx + 0x308]
mov eax, dword [ecx]
call dword [eax + 0x58]
sub dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x30c]
test ecx, ecx
je 0x42c734
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x42c734
mov ecx, dword [ebx + 0x30c]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x310]
test ecx, ecx
jle 0x42c74d
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cdq
idiv ecx
mov dword [ebx + 0x318], eax
cmp dword [ebx + 0x318], 0
jne 0x42c760
mov dword [ebx + 0x318], 1
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x30c]
cdq
idiv dword [ebx + 0x318]
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], eax
test ecx, ecx
je 0x42c7ac
mov edx, dword [ecx]
mov edx, dword [edx + 0xc8]
call edx
test al, al
je 0x42c7ac
mov eax, dword [ebx + 0x30c]
mov eax, dword [eax + 0x2e4]
sub eax, dword [ebp + 8]
add eax, dword [ebp + 0x10]
cdq
idiv dword [ebx + 0x318]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x308]
xor edi, edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x42c7f0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x42c7f0
mov eax, dword [ebx + 0x308]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [eax + 0x2e8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x30c]
mov eax, dword [ebp + 8]
mov dword [esp + 0x44], eax
test ecx, ecx
je 0x42c827
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x42c827
mov eax, dword [ebx + 0x30c]
mov edx, dword [esp + 0x44]
sub edx, dword [eax + 0x2e8]
mov dword [esp + 0x44], edx
mov dword [esp + 0x14], edx
xor eax, eax
mov dword [esp + 0x38], eax
cmp dword [ebx + 0x2e8], eax
jle 0x42c882
mov esi, dword [ebx + 0x2e4]
mov esi, dword [esi + eax*4]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x42c86d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf4]
call eax
test al, al
je 0x42c8be
mov edx, dword [esp + 0x38]
mov eax, dword [ebx]
push edx
mov ecx, ebx
call dword [eax + 0x1a8]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [ebx + 0x2e8]
jl 0x42c835
push esi
movq xmm0, qword [ebp + 8]
mov edx, dword [ebx]
push 0
sub esp, 0x10
mov eax, esp
mov ecx, ebx
movq qword [eax], xmm0
movq xmm0, qword [ebp + 0x10]
movq qword [eax + 8], xmm0
call dword [edx + 0x1ac]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044d04f
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], eax
mov eax, ecx
cdq
idiv dword [ebx + 0x318]
test edx, edx
jne 0x42ca6d
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, edx
mov dword [esp + 0x30], edx
cmp edx, dword [ebx + 0x2e8]
jge 0x42ca6d
lea ecx, [ecx]
mov eax, dword [ebx + 0x2e4]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov eax, dword [edi]
mov dword [esp + 0x34], edi
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x42ca54
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xf4]
call eax
test al, al
jne 0x42ca54
mov eax, dword [edi]
lea ecx, [esp + 0x64]
push ecx
mov ecx, edi
call dword [eax + 0x48]
mov edi, dword [esp + 0x1c]
sub edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
sub edi, dword [esp + 0x64]
sub edi, dword [esp + 0x14]
cmp eax, dword [esp + 0x20]
je 0x42c96f
inc eax
cdq
idiv dword [ebx + 0x318]
test edx, edx
je 0x42c96f
sub edi, dword [ebx + 0x300]
jmp 0x42c97e
mov eax, dword [ebx + 0x300]
cdq
sub eax, edx
sar eax, 1
neg eax
add edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
cmp edi, eax
jge 0x42c992
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov edi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x70]
cmp edi, eax
jle 0x42c9a6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov edi, eax
mov ecx, dword [esp + 0x34]
push 0x270f
mov eax, dword [ecx]
push edi
lea edx, [esp + 0x44]
push edx
call dword [eax + 0x114]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
cmp dword [esp + 0x3c], eax
jge 0x42c9d5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
cmp dword [esp + 0x3c], eax
jle 0x42c9ed
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
cmp dword [esp + 0x40], eax
jge 0x42ca05
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov edi, dword [esp + 0x40]
cmp edi, eax
jle 0x42ca27
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov edi, eax
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x68]
add eax, edi
mov edi, dword [esp + 0x18]
cmp edi, eax
cmovle edi, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cdq
idiv dword [ebx + 0x318]
mov dword [esp + 0x18], edi
test edx, edx
je 0x42ca6d
jmp 0x42ca58
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, dword [ebx + 0x2e8]
jl 0x42c900
mov eax, dword [esi]
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov eax, dword [ebx + 0x300]
mov ecx, dword [esp + 0x74]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
add dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x7c]
add ecx, eax
sub dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x318]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
cdq
idiv ecx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x30]
test edx, edx
jne 0x42cabf
sub ebx, ecx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cdq
idiv dword [esp + 0x34]
test edx, edx
jne 0x42cad5
add dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x78]
lea eax, [edx + edi]
mov edi, dword [esp + 0x1c]
add ecx, edx
sub edi, ebx
mov ebx, eax
sub ebx, ecx
push ebx
mov dword [esp + 0x38], ecx
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x114]
mov eax, dword [esp + 0x24]
test eax, eax
cmove eax, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
test eax, eax
cmove eax, ebx
mov dword [esp + 0x28], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
cmp dword [esp + 0x24], eax
jge 0x42cb37
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
cmp dword [esp + 0x24], eax
jle 0x42cb4f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
cmp dword [esp + 0x28], eax
jge 0x42cb67
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov dword [esp + 0x28], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov ebx, dword [esp + 0x28]
cmp ebx, eax
jle 0x42cb89
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x80]
mov ebx, eax
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x24]
sub esp, 0x10
add eax, dword [esp + 0x24]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x20]
sub eax, ebx
add eax, dword [esp + 0x44]
sar ecx, 1
cdq
sub eax, edx
mov edx, dword [esi]
sar eax, 1
mov dword [esp + 0x68], eax
add eax, ebx
mov dword [esp + 0x64], ecx
add ecx, dword [esp + 0x34]
movq xmm0, qword [esp + 0x64]
mov dword [esp + 0x70], eax
mov eax, esp
mov dword [esp + 0x6c], ecx
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x6c]
mov ecx, esi
movq qword [eax + 8], xmm0
call dword [edx + 0x34]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x4c]
cdq
idiv dword [ebx + 0x318]
test edx, edx
jne 0x42cc13
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x300]
add eax, dword [esp + 0x18]
add dword [esp + 0x2c], eax
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x42cc1f
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
sub esi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x308]
mov dword [esp + 0x10], esi
test ecx, ecx
je 0x42c871
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x42c871
mov eax, dword [ebx + 0x308]
add esi, dword [eax + 0x2e8]
mov dword [esp + 0x10], esi
jmp 0x42c871