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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x47b0b0]
xor eax, esp
mov dword [esp + 0x80], eax
movq xmm0, qword [ebp + 8]
movq xmm1, qword [ebp + 0x10]
push ebx
push esi
push edi
sub esp, 0x10
mov eax, esp
mov ebx, ecx
movq qword [eax], xmm0
movq qword [eax + 8], xmm1
call fcn.0041bf60
movq xmm0, qword [ebx + 0xd4]
mov ecx, dword [ebx + 0x308]
movq qword [esp + 0x38], xmm0
movq xmm0, qword [ebx + 0xdc]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add edi, dword [ebx + 0x2f0]
add eax, dword [ebx + 0x2f4]
movq qword [esp + 0x40], xmm0
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
sub edx, dword [ebx + 0x2f8]
sub esi, dword [ebx + 0x2fc]
mov dword [esp + 0x50], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], esi
test ecx, ecx
je 0x40c27f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x40c27f
mov ecx, dword [ebx + 0x308]
mov eax, dword [ecx]
call dword [eax + 0x58]
sub dword [esp + 0x40], eax
mov ecx, dword [ebx + 0x30c]
test ecx, ecx
je 0x40c2a8
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x40c2a8
mov ecx, dword [ebx + 0x30c]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub esi, eax
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x40]
mov ecx, dword [ebx + 0x30c]
sub eax, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], eax
mov eax, esi
sub eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x40c2ec
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x40c2ec
mov eax, dword [ebx + 0x30c]
mov ecx, dword [esp + 0x30]
add ecx, dword [eax + 0x2e4]
mov dword [esp + 0x30], ecx
xor esi, esi
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
cmp dword [ebx + 0x2e8], eax
jle 0x40c453
mov eax, dword [ebx + 0x2e4]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x40c42e
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xf4]
call eax
test al, al
jne 0x40c42e
push dword [esp + 0x20]
mov eax, dword [edi]
push dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call dword [eax + 0x114]
cmp dword [esp + 0x14], 0
jne 0x40c369
inc dword [esp + 0x48]
jmp 0x40c39f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
cmp dword [esp + 0x14], eax
jge 0x40c381
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x80]
cmp dword [esp + 0x14], eax
jle 0x40c39f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, edi
call dword [eax + 0x48]
lea ecx, [esp + 0x5c]
lea esi, [eax + 0xc]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x48]
mov eax, dword [eax + 4]
add eax, dword [esi]
lea ecx, [esp + 0x6c]
add eax, dword [esp + 0x14]
push ecx
add dword [esp + 0x1c], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
mov eax, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x68]
cmp dword [esp + 0x10], eax
jge 0x40c3fa
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jle 0x40c416
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x24], ecx
mov eax, dword [esp + 0x1c]
cmovg ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
jmp 0x40c432
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [ebx + 0x2e8]
jl 0x40c314
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
lea ecx, [eax - 1]
mov eax, dword [ebx + 0x300]
imul eax, ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0x334]
add edx, eax
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x40c4e2
mov eax, dword [ecx + 0x334]
add ecx, 0x334
call dword [eax + 0x10]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x40c4de
mov edx, dword [eax + 0x2e0]
lea ecx, [eax + 0x2e0]
call dword [edx + 0xc]
test eax, eax
jle 0x40c4de
push dword [esp + 0x20]
mov esi, dword [esp + 0x70]
push dword [esp + 0x50]
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0x114]
cmp dword [eax], 0
jge 0x40c4c1
xor esi, esi
jmp 0x40c4da
push dword [esp + 0x20]
mov eax, dword [esi]
push dword [esp + 0x50]
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call dword [eax + 0x114]
mov esi, dword [eax]
mov dword [esp + 0x24], esi
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x58], 0
test ecx, ecx
jle 0x40c50e
mov eax, dword [esp + 0x20]
sub eax, edx
cdq
idiv ecx
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x58], eax
mov ecx, dword [ebx + 0x308]
test ecx, ecx
je 0x40c53a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x40c53a
mov eax, dword [ebx + 0x308]
mov ecx, dword [esp + 0x28]
sub ecx, dword [eax + 0x2e8]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0x30c]
mov dword [esp + 0x1c], edi
test ecx, ecx
je 0x40c568
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x40c568
mov eax, dword [ebx + 0x30c]
mov edx, edi
sub edx, dword [eax + 0x2e8]
mov dword [esp + 0x1c], edx
xor edi, edi
mov dword [esp + 0x54], 0
mov dword [esp + 0x6c], edi
cmp dword [ebx + 0x2e8], edi
jle 0x40c794
mov esi, dword [ebx + 0x2e4]
mov esi, dword [esi + edi*4]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x40c77f
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf4]
call eax
test al, al
je 0x40c5bf
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x1a8]
jmp 0x40c77f
mov eax, dword [esi]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov edi, dword [esp + 0x20]
sub edi, dword [esp + 0x60]
mov eax, dword [esi]
push edi
push dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0x2c], edi
call dword [eax + 0x114]
cmp dword [esp + 0x14], 0
jne 0x40c657
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
inc eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x48]
jne 0x40c61f
mov eax, edi
sub eax, dword [esp + 0x68]
mov ecx, 0
sub eax, dword [esp + 0x18]
cmovs eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
cmp dword [esp + 0x14], eax
jge 0x40c637
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
cmp dword [esp + 0x14], eax
jle 0x40c695
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov dword [esp + 0x14], eax
jmp 0x40c695
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
cmp dword [esp + 0x14], eax
jge 0x40c66f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x40c691
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov ecx, eax
mov dword [esp + 0x14], ecx
sub dword [esp + 0x18], ecx
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x64]
mov ecx, esi
sub eax, dword [esp + 0x5c]
cmp dword [esp + 0x24], eax
cmovg eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
call dword [eax + 0x68]
cmp dword [esp + 0x10], eax
jge 0x40c6c6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
cmp dword [esp + 0x10], eax
jle 0x40c6e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov dword [esp + 0x10], eax
jmp 0x40c6e4
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
add eax, dword [esp + 0x1c]
add ecx, dword [esp + 0x5c]
mov edx, dword [esi]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
add eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
add eax, dword [esp + 0x28]
add ecx, dword [esp + 0x60]
mov dword [esp + 0x88], eax
sub esp, 0x10
mov dword [esp + 0x90], ecx
movq xmm0, qword [esp + 0x8c]
mov eax, esp
mov ecx, esi
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x94]
movq qword [eax + 8], xmm0
call dword [edx + 0x34]
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x14]
mov edi, dword [ebx + 0x300]
lea eax, [esi + edx]
add eax, dword [esp + 0x60]
add eax, edi
add dword [esp + 0x28], eax
lea eax, [esi + edx]
add eax, dword [esp + 0x60]
add dword [esp + 0x2c], eax
lea eax, [esi + edx]
add eax, edi
sub dword [esp + 0x20], eax
mov edi, dword [esp + 0x6c]
inc edi
mov dword [esp + 0x6c], edi
cmp edi, dword [ebx + 0x2e8]
jl 0x40c582
mov esi, dword [esp + 0x24]
mov eax, dword [ebx + 0x300]
imul eax, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x30c]
add edi, eax
test ecx, ecx
je 0x40c9c0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
cmp esi, dword [esp + 0x4c]
jle 0x40c8fe
mov ecx, dword [ebx + 0x30c]
test al, al
je 0x40c834
mov edx, dword [esp + 0x50]
sub edx, dword [esp + 0x40]
add edx, esi
cmp dword [ecx + 0x2e4], edx
je 0x40c9c0
test edx, edx
mov eax, edx
mov dword [esp + 0x34], 0
cmovs eax, dword [esp + 0x34]
mov dword [ecx + 0x2e4], eax
cmp dword [ecx + 0x2e8], eax
jle 0x40c80c
mov dword [ecx + 0x2e8], eax
movq xmm0, qword [ecx + 0xd4]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
movq xmm0, qword [ecx + 0xdc]
movq qword [eax + 8], xmm0
call dword [edx + 0x34]
jmp 0x40c9c0
mov eax, dword [ecx]
push 1
call dword [eax + 0xcc]
mov edx, dword [esp + 0x50]
sub edx, dword [esp + 0x40]
mov ecx, dword [ebx + 0x30c]
add edx, esi
cmp dword [ecx + 0x2e4], edx
je 0x40c89e
test edx, edx
mov eax, edx
mov dword [esp + 0x34], 0
cmovs eax, dword [esp + 0x34]
mov dword [ecx + 0x2e4], eax
cmp dword [ecx + 0x2e8], eax
jle 0x40c87b
mov dword [ecx + 0x2e8], eax
movq xmm0, qword [ecx + 0xd4]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
movq xmm0, qword [ecx + 0xdc]
movq qword [eax + 8], xmm0
call dword [edx + 0x34]
mov ecx, dword [ebx + 0x30c]
cmp dword [ecx + 0x2e8], 0
je 0x40c8ea
mov eax, dword [ecx + 0x2e4]
mov dword [ecx + 0x2e8], 0
test eax, eax
jns 0x40c8c7
mov dword [ecx + 0x2e8], eax
movq xmm0, qword [ecx + 0xd4]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
movq xmm0, qword [ecx + 0xdc]
movq qword [eax + 8], xmm0
call dword [edx + 0x34]
mov ecx, dword [ebx + 0x30c]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub dword [esp + 0x44], eax
jmp 0x40c9c0
test al, al
je 0x40c9c0
mov ecx, dword [ebx + 0x30c]
push 0
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [ebx + 0x30c]
cmp dword [ecx + 0x2e4], 0
je 0x40c965
cmp dword [ecx + 0x2e8], 0
mov dword [ecx + 0x2e4], 0
jle 0x40c942
mov dword [ecx + 0x2e8], 0
movq xmm0, qword [ecx + 0xd4]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
movq xmm0, qword [ecx + 0xdc]
movq qword [eax + 8], xmm0
call dword [edx + 0x34]
mov ecx, dword [ebx + 0x30c]
cmp dword [ecx + 0x2e8], 0
je 0x40c9b1
mov eax, dword [ecx + 0x2e4]
mov dword [ecx + 0x2e8], 0
test eax, eax
jns 0x40c98e
mov dword [ecx + 0x2e8], eax
movq xmm0, qword [ecx + 0xd4]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
movq xmm0, qword [ecx + 0xdc]
movq qword [eax + 8], xmm0
call dword [edx + 0x34]
mov ecx, dword [ebx + 0x30c]
mov eax, dword [ecx]
call dword [eax + 0x60]
add dword [esp + 0x44], eax
movq xmm0, qword [esp + 0x38]
mov edx, dword [ebx]
push edi
push esi
sub esp, 0x10
mov eax, esp
mov ecx, ebx
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x58]
movq qword [eax + 8], xmm0
call dword [edx + 0x1ac]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044d04f
mov esp, ebp
pop ebp
ret 0x10