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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x8aa514]
xor eax, esp
mov dword [esp + 0x94], eax
movups xmm0, xmmword [ebp + 8]
push esi
push edi
sub esp, 0x10
mov edi, ecx
mov eax, esp
mov dword [esp + 0x60], edi
movups xmmword [eax], xmm0
call fcn.00417e40
movups xmm0, xmmword [edi + 0x154]
mov ecx, dword [edi + 0x1090]
movaps xmmword [esp + 0x30], xmm0
mov eax, dword [esp + 0x34]
add eax, dword [edi + 0x1078]
mov edx, dword [esp + 0x38]
sub edx, dword [edi + 0x107c]
movd esi, xmm0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
add esi, dword [edi + 0x1074]
sub eax, dword [edi + 0x1080]
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x413404
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x413404
mov ecx, dword [edi + 0x1090]
mov eax, dword [ecx]
mov eax, dword [eax + 0x58]
call eax
sub dword [esp + 0x38], eax
mov ecx, dword [edi + 0x1094]
test ecx, ecx
je 0x413435
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x413435
mov ecx, dword [edi + 0x1094]
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
call eax
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov dword [esp + 0x3c], ecx
jmp 0x413439
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
sub eax, esi
mov esi, ecx
sub esi, dword [esp + 0x2c]
mov ecx, dword [edi + 0x1094]
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], esi
test ecx, ecx
je 0x41347d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x41347d
mov eax, dword [edi + 0x1094]
mov ecx, dword [esp + 0x44]
add ecx, dword [eax + 0x1068]
mov dword [esp + 0x44], ecx
xor eax, eax
mov dword [esp + 0x20], 0
xor edx, edx
mov dword [esp + 0x48], 0
xor ecx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
cmp dword [edi + 0x106c], eax
jle 0x413603
nop dword [eax + eax]
mov eax, dword [edi + 0x1068]
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4135e2
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xf4]
call eax
test al, al
jne 0x4135e2
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push esi
push dword [esp + 0x48]
push ecx
mov ecx, edi
call dword [eax + 0x114]
cmp dword [esp + 0x14], 0
jne 0x413502
inc dword [esp + 0x48]
jmp 0x413540
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x78]
call eax
cmp dword [esp + 0x14], eax
jge 0x41351e
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x78]
call eax
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x80]
call eax
cmp dword [esp + 0x14], eax
jle 0x413540
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x80]
call eax
mov dword [esp + 0x14], eax
mov eax, dword [edi]
lea ecx, [esp + 0x70]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x48]
call eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
lea esi, [eax + 0xc]
mov eax, dword [edi]
mov eax, dword [eax + 0x48]
call eax
mov ecx, dword [esi]
add ecx, dword [esp + 0x14]
add ecx, dword [eax + 4]
add dword [esp + 0x18], ecx
lea ecx, [esp + 0x8c]
mov eax, dword [edi]
push ecx
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 ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
call eax
cmp dword [esp + 0x10], eax
jge 0x4135a6
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x68]
call eax
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x70]
call eax
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jle 0x4135c6
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x70]
call eax
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x20], ecx
mov eax, dword [esp + 0x1c]
cmovg ecx, dword [esp + 0x20]
inc eax
mov esi, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
jmp 0x4135e6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x50]
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, dword [edi + 0x106c]
jl 0x4134b0
mov edx, dword [esp + 0x18]
lea ecx, [eax - 1]
mov eax, dword [edi + 0x1084]
imul eax, ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [edi + 0x10bc]
add edx, eax
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x41370d
mov eax, dword [ecx + 0x10bc]
add ecx, 0x10bc
mov eax, dword [eax + 0x10]
call eax
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
je 0x413709
mov edx, dword [esi + 0x1064]
lea ecx, [esi + 0x1064]
mov edx, dword [edx + 0xc]
call edx
test eax, eax
jle 0x413709
push dword [esp + 0x28]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push dword [esp + 0x58]
push ecx
mov eax, dword [eax + 0x114]
mov ecx, esi
call eax
cmp dword [eax], 0
jge 0x413687
mov dword [esp + 0x20], 0
jmp 0x4136a9
push dword [esp + 0x28]
mov eax, dword [esi]
lea ecx, [esp + 0x90]
push dword [esp + 0x58]
push ecx
mov eax, dword [eax + 0x114]
mov ecx, esi
call eax
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov ecx, dword [edi + 0x1094]
test ecx, ecx
je 0x413709
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x413709
mov eax, dword [edi + 0x1094]
mov ecx, dword [esp + 0x24]
mov esi, dword [eax + 0x106c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [esp + 0x24]
sub esp, 0x10
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x40]
mov edx, dword [ecx]
sub eax, esi
movups xmmword [esp + 0x80], xmm0
mov dword [esp + 0x80], eax
mov eax, esp
movups xmm0, xmmword [esp + 0x80]
movups xmmword [eax], xmm0
call dword [edx + 0x34]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x8c], 0
test ecx, ecx
jle 0x41373f
mov eax, dword [esp + 0x28]
sub eax, edx
cdq
idiv ecx
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x8c], eax
mov ecx, dword [edi + 0x1090]
test ecx, ecx
je 0x41376b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x41376b
mov eax, dword [edi + 0x1090]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [eax + 0x106c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x1094]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x4c], esi
test ecx, ecx
je 0x41379d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x41379d
mov eax, dword [edi + 0x1094]
mov edx, esi
sub edx, dword [eax + 0x106c]
mov dword [esp + 0x4c], edx
xor eax, eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x24], eax
cmp dword [edi + 0x106c], eax
jle 0x4139eb
nop word [eax + eax]
mov esi, dword [edi + 0x1068]
mov esi, dword [esi + eax*4]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0xc8]
call eax
test al, al
je 0x4139d2
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf4]
call eax
test al, al
je 0x413800
mov eax, dword [edi]
mov ecx, edi
push dword [esp + 0x24]
call dword [eax + 0x1b0]
jmp 0x4139d2
mov eax, dword [esi]
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x10]
sub edi, dword [esp + 0x64]
mov eax, dword [esi]
push edi
push dword [esp + 0x48]
mov dword [esp + 0x30], edi
push ecx
mov ecx, esi
call dword [eax + 0x114]
cmp dword [esp + 0x14], 0
jne 0x4138a3
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x8c]
inc eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x48]
jne 0x413863
mov eax, edi
mov ecx, 0
sub eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x18]
cmovs eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x78]
call eax
cmp dword [esp + 0x14], eax
jge 0x41387f
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x78]
call eax
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x80]
call eax
cmp dword [esp + 0x14], eax
jle 0x4138e9
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x80]
call eax
mov dword [esp + 0x14], eax
jmp 0x4138e9
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x78]
call eax
cmp dword [esp + 0x14], eax
jge 0x4138bf
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x78]
call eax
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x80]
call eax
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x4138e5
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x80]
call eax
mov ecx, eax
mov dword [esp + 0x14], ecx
sub dword [esp + 0x18], ecx
mov eax, dword [esp + 0x44]
mov ecx, esi
sub eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
cmp dword [esp + 0x20], eax
cmovg eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x68]
call eax
cmp dword [esp + 0x10], eax
jge 0x41391e
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x68]
call eax
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x70]
call eax
cmp dword [esp + 0x10], eax
jle 0x41393c
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x70]
call eax
mov dword [esp + 0x10], eax
jmp 0x413940
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x60]
sub esp, 0x10
add eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
add ecx, dword [esp + 0x70]
mov edx, dword [esi]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0x24]
add eax, dword [esp + 0x74]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x3c]
add ecx, dword [esp + 0x74]
mov dword [esp + 0x8c], eax
mov eax, esp
mov dword [esp + 0x84], ecx
mov ecx, esi
movups xmm0, xmmword [esp + 0x80]
movups xmmword [eax], xmm0
call dword [edx + 0x34]
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x50]
lea eax, [esi + edx]
add eax, dword [esp + 0x64]
mov edi, dword [edi + 0x1084]
add eax, edi
add dword [esp + 0x2c], eax
lea eax, [esi + edx]
add eax, dword [esp + 0x64]
add dword [esp + 0x1c], eax
lea eax, [esi + edx]
add eax, edi
mov edi, dword [esp + 0x50]
sub dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [edi + 0x106c]
jl 0x4137c0
mov esi, dword [esp + 0x30]
mov eax, dword [edi + 0x1084]
imul eax, dword [esp + 0x5c]
mov ecx, dword [edi + 0x1094]
add dword [esp + 0x1c], eax
test ecx, ecx
je 0x413bb6
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x20], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
jle 0x413b13
call eax
mov ecx, dword [edi + 0x1094]
test al, al
je 0x413a74
sub esi, dword [esp + 0x38]
add esi, dword [esp + 0x20]
cmp dword [ecx + 0x1068], esi
je 0x413bb6
xor eax, eax
test esi, esi
cmovs esi, eax
mov eax, esi
mov dword [ecx + 0x1068], esi
cmp dword [ecx + 0x106c], eax
jle 0x413a5b
mov dword [ecx + 0x106c], eax
movups xmm0, xmmword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x34]
jmp 0x413bb6
mov eax, dword [ecx]
push 1
call dword [eax + 0xcc]
sub esi, dword [esp + 0x38]
mov ecx, dword [edi + 0x1094]
add esi, dword [esp + 0x20]
cmp dword [ecx + 0x1068], esi
je 0x413ac5
xor eax, eax
test esi, esi
cmovs esi, eax
mov eax, esi
mov dword [ecx + 0x1068], esi
cmp dword [ecx + 0x106c], eax
jle 0x413ab1
mov dword [ecx + 0x106c], eax
movups xmm0, xmmword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x34]
mov esi, dword [edi + 0x1094]
cmp dword [esi + 0x106c], 0
je 0x413afd
mov eax, dword [esi + 0x1068]
xor ecx, ecx
movups xmm0, xmmword [esi + 0x154]
mov edx, dword [esi]
test eax, eax
cmovs ecx, eax
sub esp, 0x10
mov eax, esp
mov dword [esi + 0x106c], ecx
mov ecx, esi
movups xmmword [eax], xmm0
call dword [edx + 0x34]
mov ecx, dword [edi + 0x1094]
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
call eax
sub dword [esp + 0x3c], eax
jmp 0x413bb6
call eax
test al, al
je 0x413bb6
mov ecx, dword [edi + 0x1094]
push 0
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [edi + 0x1094]
cmp dword [ecx + 0x1068], 0
je 0x413b6d
cmp dword [ecx + 0x106c], 0
mov dword [ecx + 0x1068], 0
jle 0x413b59
mov dword [ecx + 0x106c], 0
movups xmm0, xmmword [ecx + 0x154]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x34]
mov esi, dword [edi + 0x1094]
cmp dword [esi + 0x106c], 0
je 0x413ba5
mov eax, dword [esi + 0x1068]
xor ecx, ecx
movups xmm0, xmmword [esi + 0x154]
mov edx, dword [esi]
test eax, eax
cmovs ecx, eax
sub esp, 0x10
mov eax, esp
mov dword [esi + 0x106c], ecx
mov ecx, esi
movups xmmword [eax], xmm0
call dword [edx + 0x34]
mov ecx, dword [edi + 0x1094]
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
call eax
add dword [esp + 0x3c], eax
push dword [esp + 0x1c]
movups xmm0, xmmword [esp + 0x34]
mov edx, dword [edi]
mov ecx, edi
push dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x1b4]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.005b937d
mov esp, ebp
pop ebp
ret 0x10