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

Disassembly:
mov eax, 0x12dc
call fcn.10104fa0
mov eax, dword [0x101e900c]
xor eax, esp
mov dword [esp + 0x12d8], eax
push esi
mov esi, dword [esp + 0x12e4]
push edi
mov dword [esp + 0x74], esi
mov edi, dword [esi + 0x5870]
mov eax, dword [esi + 0x5884]
mov dword [esp + 0x84], eax
test edi, edi
je 0x10134281
cmp edi, 3
jne 0x10134290
mov dword [esp + 0x90], 1
test eax, eax
je 0x1013429b
mov dword [esp + 0x90], 0
mov eax, dword [esi]
mov ecx, dword [eax + 0x3c]
mov eax, ecx
cdq
sub eax, edx
mov dword [esp + 0x94], ecx
sar eax, 1
add eax, 0x14
cdq
idiv ecx
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x170]
add eax, 0x14
mov dword [esp + 0x50], eax
cmp edi, 3
jge 0x101342dc
cmp dword [esp + 0x84], 0
mov dword [esp + 0x78], 0
je 0x101342e4
mov dword [esp + 0x78], 1
mov eax, dword [esi + 0x2c]
imul eax, dword [esi + 0x28]
mov dword [esp + 0xac], eax
lea eax, [esp + 8]
push eax
push esi
call fcn.10133740
push 0x1080
lea eax, [esi + 0x117c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
cmp dword [esp + 0x90], 0
je 0x1013436c
cmp edi, 3
mov edi, dword [esp + 0xac]
jne 0x1013434a
cmp edi, 0xc8
jle 0x1013433c
sar edi, 1
mov dword [esp + 0xac], edi
jmp 0x10134373
mov edi, 0x64
mov dword [esp + 0xac], edi
jmp 0x10134373
cmp edi, 0xc8
jle 0x1013435e
sar edi, 2
mov dword [esp + 0xac], edi
jmp 0x10134373
mov edi, 0x32
mov dword [esp + 0xac], edi
jmp 0x10134373
mov edi, dword [esp + 0xac]
mov ecx, dword [esp + 0x94]
test ecx, ecx
jle 0x101347e8
movss xmm0, dword [esp + 0x14]
lea eax, [edi + edi*2]
movsd xmm2, qword [esp + 0x28]
movss xmm1, dword [esp + 0xc]
movsd xmm3, qword [0x101e6570]
shl eax, 7
cdq
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x60], edx
lea edx, [esi + 0x5878]
movsd qword [esp + 0x40], xmm2
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xa0], xmm1
mov dword [esp + 0x6c], eax
nop dword [eax]
cvtps2pd xmm0, xmm1
mov dword [esp + 0x54], ecx
dec ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x94], ecx
movsd xmm1, qword [0x101dda60]
andps xmm0, xmm3
comisd xmm1, xmm0
jae 0x10134415
test ecx, ecx
je 0x10134415
cmp dword [edx], 0
mov dword [esp + 0x70], 0
jne 0x1013441d
mov dword [esp + 0x70], 1
lea eax, [esp + 0xb0]
xorps xmm0, xmm0
push eax
push esi
movlpd qword [esp + 0x94], xmm0
movlpd qword [esp + 0x84], xmm0
movlpd qword [esp + 0x50], xmm0
call fcn.10151370
movss xmm0, dword [esp + 0xac]
add esp, 4
movss dword [esp], xmm0
push esi
call fcn.10133fa0
mov eax, dword [esp + 0x94]
add esp, 8
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x90], eax
nop dword [eax + eax]
lea eax, [esp + 0xb0]
push 0
push eax
call fcn.10151140
push dword [esp + 0x80]
lea eax, [esp + 0xf7c]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.10153f30
add esp, 0x14
test eax, eax
je 0x101344e8
inc dword [esi + 0x5804]
lea eax, [esp + 0xf70]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.10133c20
mov esi, dword [esp + 0xf88]
add esp, 8
mov edx, dword [esp + 0xf84]
mov ecx, esi
add ecx, dword [esp + 0xf88]
mov eax, edx
adc eax, dword [esp + 0xf8c]
add dword [esp + 0x9c], ecx
adc dword [esp + 0x98], eax
add dword [esp + 0xa8], esi
mov eax, dword [esp + 0x90]
adc dword [esp + 0x88], edx
add eax, dword [esp + 0xf70]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x80]
adc eax, dword [esp + 0xf74]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x10134587
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.101515c0
add esp, 8
test eax, eax
je 0x101347cf
lea eax, [esp + 0xb0]
push eax
call fcn.101516b0
lea eax, [esp + 0xb4]
push eax
call fcn.10151480
add esp, 8
test eax, eax
je 0x101345b5
mov esi, dword [esp + 0x74]
dec edi
test edi, edi
jg 0x101344b0
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x88]
mov eax, dword [esi + 0x20]
cdq
add dword [esp + 0xa8], eax
adc edi, edx
cmp dword [esp + 0x38], 0
je 0x10134631
push esi
call fcn.10133430
cdq
add dword [esp + 0xa0], eax
lea eax, [esi + 0xd58]
push eax
adc dword [esp + 0xa0], edx
call fcn.10133500
cdq
add esp, 8
add eax, dword [esp + 0xa8]
adc edx, edi
add eax, dword [esp + 0x9c]
adc edx, dword [esp + 0x98]
add eax, 0x400
adc edx, 0
shrd eax, edx, 0xb
shr edx, 0xb
add eax, 0x1e
mov ecx, eax
adc edx, 0
call fcn.10104eb0
movaps xmm2, xmm0
jmp 0x1013465b
push dword [esp + 0x60]
mov eax, dword [esp + 0x84]
push dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.101336c0
fstp qword [esp + 0x30]
movsd xmm2, qword [esp + 0x30]
add esp, 0x10
mov ecx, dword [esp + 0xa8]
mov eax, ecx
or eax, edi
je 0x101347cf
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
test eax, eax
jle 0x101346a0
test edi, edi
jne 0x10134682
cmp ecx, 0x3fc00000
jbe 0x101346a0
mov ecx, dword [esp + 0x54]
movss xmm1, dword [esp + 0xa0]
movsd xmm3, qword [0x101e6570]
sar eax, 1
mov dword [edx], eax
jmp 0x101347bf
cmp dword [esp + 0x70], 0
jne 0x101347e8
cmp dword [esp + 0x84], 0
je 0x101347a7
cmp dword [esp + 0x6c], 0
je 0x101346e2
comisd xmm2, xmmword [esp + 0x30]
movss xmm0, dword [esp + 0xa0]
jbe 0x101346d8
xorps xmm0, xmmword [0x101e6590]
mov dword [esp + 0x6c], 0
jmp 0x1013471e
movsd xmm0, qword [esp + 0x40]
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jnp 0x1013472d
movsd xmm1, qword [esp + 0x30]
subsd xmm0, xmm2
subsd xmm1, xmm2
divsd xmm1, xmm0
movss xmm0, dword [esp + 0x68]
subss xmm0, dword [esp + 0xa4]
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss xmm1, dword [0x101dda70]
comiss xmm1, xmm0
jbe 0x10134730
jmp 0x1013473c
xorps xmm0, xmm0
movss xmm1, dword [0x101a65d4]
minss xmm1, xmm0
movss xmm3, dword [esp + 0xa4]
movaps xmm0, xmm3
movss dword [esp + 0xa0], xmm1
addss xmm3, xmm1
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x18]
movsd qword [esp + 0x40], xmm2
comiss xmm0, xmm3
movss dword [esp + 0xa4], xmm3
ja 0x10134780
movss xmm0, dword [esp + 0x1c]
comiss xmm3, xmm0
jbe 0x10134789
movss dword [esp + 0xa4], xmm0
movsd xmm3, qword [0x101e6570]
movsd xmm2, qword [0x101dda60]
cvtps2pd xmm0, xmm1
andps xmm0, xmm3
comisd xmm2, xmm0
jae 0x101347f2
jmp 0x101347b8
movss xmm1, dword [esp + 0xa0]
movsd xmm3, qword [0x101e6570]
mov ecx, dword [esp + 0x94]
test ecx, ecx
jle 0x101347e8
mov edi, dword [esp + 0xac]
jmp 0x101343e0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x12d8]
xor ecx, esp
call fcn.101044b9
add esp, 0x12dc
ret
cmp dword [esp + 0x84], 0
je 0x10134801
cmp dword [esp + 0x38], 0
je 0x10134801
lea edi, [esi + 0xd58]
jmp 0x10134816
push esi
call fcn.10133430
lea edi, [esi + 0xd58]
push edi
call fcn.10133500
add esp, 8
push edi
call fcn.10154a30
lea eax, [esi + 0x170]
push eax
push dword [esp + 0x58]
push dword [esi + 4]
call fcn.1011c260
mov ecx, dword [esp + 0x12f0]
add esp, 0x10
pop edi
pop esi
xor ecx, esp
call fcn.101044b9
add esp, 0x12dc
ret