Function at 0x101306e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, dword [0x1034c744]
sub esp, 0x34
mov eax, dword [eax + 8]
push ebx
push esi
push edi
cmp byte [eax], 0
mov ebx, ecx
je 0x1013091c
mov eax, dword [0x1034c74c]
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
call dword [eax + 0x30]
push eax
mov ecx, edi
call esi
mov edi, eax
call fcn.1011be60
mov ecx, dword fs:[0x2c]
mov edx, dword [0x1034dcac]
mov edx, dword ds:[ecx + edx*4]
mov ecx, dword [0x1035b434]
cmp ecx, dword [edx + 4]
jg 0x10130925
mov esi, dword [0x1035b438]
mov ecx, edi
mov dword [esp + 0x38], esi
call fcn.1003b060
cmp dword [eax], 9
je 0x1013091c
mov ecx, edi
call fcn.1003b060
cmp dword [eax], 8
je 0x1013091c
mov eax, dword [0x1034c750]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
test byte [eax + 0x78], 1
jne 0x10130797
mov dword [ebx + 4], 2
mov edx, 2
jmp 0x1013081b
mov eax, dword [0x1034c74c]
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
call dword [eax + 0x30]
push eax
mov ecx, edi
call esi
mov ecx, eax
call fcn.10022440
sub esp, 8
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax]
movss xmm0, dword [eax + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100d7410
movss xmm0, dword [0x102fdf24]
add esp, 8
mov esi, dword [esp + 0x38]
fstp dword [esp + 0x3c]
comiss xmm0, dword [esp + 0x3c]
jbe 0x1013080f
mov dword [ebx + 4], 0
xor edx, edx
jmp 0x1013081b
mov dword [ebx + 4], 1
mov edx, 1
mov byte [ebx + 0x19], 0
mov eax, dword [0x1034c744]
mov ecx, dword [eax + 8]
cmp byte [ecx + edx + 0x2b], 0
jne 0x1013083c
mov dword [ebx + 4], 0
xor edx, edx
mov eax, dword [0x1034c744]
test byte [esi + 0x24], 0x20
je 0x1013085c
test edx, edx
jne 0x1013091c
mov eax, dword [eax + 8]
cmp byte [eax + 4], dl
je 0x1013091c
mov byte [ebx + 0x19], 1
jmp 0x101308cf
nop dword [eax]
call fcn.1011be40
mov ecx, dword [0x1034c74c]
mov edi, dword [ecx + 0x10]
mov ecx, eax
mov edx, dword [edi]
mov esi, dword [edx + 0x10]
call fcn.10075220
mov ecx, edi
push dword [eax]
call esi
mov esi, eax
test esi, esi
je 0x101308c2
mov ecx, esi
call fcn.101a5cc0
cmp dword [eax + 0x658], 8
jne 0x101308c2
mov ecx, esi
call fcn.100750c0
movss xmm1, dword [eax]
comiss xmm1, dword [0x102fdcc0]
jbe 0x101308c2
mov eax, dword [0x1034c750]
mov eax, dword ds:[eax + 0x10]
mov eax, dword [eax]
movss xmm0, dword [eax + 0x74]
comiss xmm0, xmm1
jae 0x1013091c
call fcn.1011bc60
test al, al
jne 0x1013091c
mov esi, dword [esp + 0x38]
mov eax, dword [0x1034c744]
movss xmm1, dword [0x102fdde4]
movss xmm0, dword [0x102fe0ac]
mov eax, dword [eax + 8]
cmp byte [eax + 1], 0
je 0x101308f2
movaps xmm2, xmm0
jmp 0x101308f5
movaps xmm2, xmm1
cmp byte [ebx + 0x18], 0
jne 0x101308fe
movaps xmm0, xmm1
mulss xmm0, xmm2
movss dword [ebx + 0x1c], xmm0
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1035b434
call fcn.1009af0b
add esp, 4
cmp dword [0x1035b434], 0xffffffff
jne 0x1013074c
push 0x1035b434
mov dword [0x1035b438], 0
call fcn.1009aeba
add esp, 4
jmp 0x1013074c