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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x1032e6c0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x20], ebx
mov eax, dword [edi]
mov eax, dword [eax + 8]
sub eax, 1
je 0x10054652
sub eax, 1
jne 0x100547c4
movsd xmm1, qword [edi + 0x18]
lea eax, [esp + 0x18]
movaps xmm0, xmm1
mulsd xmm1, qword [ebx + 0x38]
push eax
mulsd xmm0, qword [ebx + 0x30]
lea eax, [esp + 0x24]
push eax
push dword [edi + 4]
movsd qword [esp + 0x24], xmm1
movsd qword [esp + 0x2c], xmm0
call fcn.100134c0
movsd xmm0, qword [esp + 0x2c]
addsd xmm0, qword [0x102a2da8]
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x48], eax
movsd qword [esp + 0x3c], xmm0
add eax, dword [esp + 0x3c]
movsd xmm0, qword [esp + 0x24]
addsd xmm0, qword [0x102a2da8]
mov dword [esp + 0x50], eax
mov eax, dword [ebx]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 4]
movsd qword [esp + 0x34], xmm0
add eax, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x48]
push eax
push dword [edi + 0x38]
mov dword [esp + 0x54], esi
add esi, dword [esp + 0x3c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x6c], ecx
call fcn.10034970
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1026465b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x18]
lea edx, [edi + 0x40]
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x30], eax
neg eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x38], ecx
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], edx
push eax
lea eax, [esp + 0x3c]
neg ecx
push eax
push edx
mov dword [esp + 0x40], ecx
call fcn.1004efa0
mov eax, dword [ebx]
add esp, 0x14
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], ecx
lea ecx, [edi + 0x38]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x10], ecx
cmp eax, dword [esp + 0x18]
je 0x10054785
mov edi, dword [ebx + 8]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x14]
mov ebx, dword [ebx + 0xc]
mov esi, ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], esi
mov eax, dword [eax + 0x14]
mov edx, dword [eax + ecx*8]
add edx, edi
mov dword [esp + 0x6c], edx
add esi, dword [eax + ecx*8 + 4]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x74], esi
push eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], edx
push dword [eax]
mov dword [esp + 0x64], esi
call fcn.10034d60
mov eax, dword [esp + 0x78]
add esp, 0xc
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x48], ecx
mov ecx, eax
mov dword [esp + 0xc], eax
cmp eax, dword [edx + 0x10]
jne 0x10054775
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x18]
jne 0x100546d6
jmp 0x10054789
mov dword [esp + 0x10], ecx
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx]
mov esi, dword [ebx + 4]
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x70], edx
push eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x78], esi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
push dword [eax]
mov dword [esp + 0x64], esi
call fcn.10034d60
add esp, 0xc
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1026465b
mov esp, ebp
pop ebp
ret