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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x101354c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [0x10136160]
push edi
push 0
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x10]
push 0
push ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], esi
call fcn.1003c820
push eax
call fcn.1003b2d0
add esp, 0x10
mov dword [ebp - 0x60], eax
mov edi, eax
test edi, edi
sete cl
mov byte [ebp - 0x52], cl
test eax, eax
jne 0x10035f7d
push dword [ebp - 0x4c]
push dword [ebp - 0x90]
call fcn.10039d20
add esp, 8
mov edi, eax
mov edx, dword [ebp - 0x4c]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x10035f96
or edx, 6
mov dword [ebp - 0x4c], edx
cmp dword [esi + 0x1a50], 0
mov ecx, dword [esi + 0x1a10]
mov eax, dword [edi + 0x258]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x78], eax
jne 0x10035fc1
cmp byte [esi + 0x1a1d], 0
je 0x10035fc1
mov al, 1
jmp 0x10035fc3
xor al, al
mov byte [edi + 0x8a], al
lea eax, [ecx - 1]
cmp dword [ebp - 0x78], eax
mov eax, dword [edi + 0xa4]
setl ch
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x8c], ch
test edx, 0x4000000
je 0x10036021
mov eax, dword [esi + 0x1bb8]
lea esi, [eax + eax*8]
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x1bb4]
mov eax, dword [edi + 0x94]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x4c]
setne al
or cl, al
mov eax, dword [ebp - 0x64]
or ch, cl
mov byte [ebp - 0x8c], ch
test ch, ch
jne 0x10036031
test eax, eax
jg 0x10036031
mov byte [edi + 0x88], ch
jmp 0x1003604d
or dword [edi + 0xa8], 8
or dword [edi + 0xac], 8
or dword [edi + 0xb0], 8
mov byte [edi + 0x88], 1
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x78], eax
je 0x10036094
mov dword [edi + 0x258], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x1a08]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x90], ax
movss dword [edi + 0x25c], xmm0
mov ax, word [esi + 0x1a68]
mov word [edi + 0x92], ax
inc dword [esi + 0x1a68]
jmp 0x1003609a
mov edx, dword [edi + 8]
mov dword [ebp - 0x4c], edx
mov ecx, dword [esi + 0x1a50]
test ecx, ecx
je 0x100360ae
mov eax, dword [esi + 0x1a58]
mov ecx, dword [eax + ecx*4 - 4]
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x88]
je 0x100360c8
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x100360ce
mov eax, dword [edi + 0x314]
cmp dword [edi + 0xc4], 0
mov dword [ebp - 0x74], eax
lea eax, [edi + 0xc4]
jne 0x10036106
cmp dword [eax + 4], 0
jne 0x100360f5
push 8
mov ecx, eax
call fcn.10048580
lea eax, [edi + 0xc4]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xc4]
mov ecx, dword [esi + 0x1a54]
lea edx, [esi + 0x1a50]
cmp dword [edx], ecx
jne 0x10036149
test ecx, ecx
je 0x1003612b
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x1a50]
sar eax, 1
add eax, ecx
jmp 0x10036130
mov eax, 8
mov ecx, dword [edx]
mov esi, dword [ebp - 0x5c]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10048580
lea edx, [esi + 0x1a50]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov dword [esi + 0x1a6c], edi
mov ecx, dword [0x10136160]
mov eax, dword [ecx + 0x1a6c]
movzx eax, word [eax + 0xc4]
mov word [edi + 0x1d0], ax
movzx eax, word [ecx + 0x1b64]
mov word [edi + 0x1d2], ax
movzx eax, word [ecx + 0x1b70]
mov word [edi + 0x1d4], ax
movzx eax, word [ecx + 0x1b7c]
mov word [edi + 0x1d6], ax
movzx eax, word [ecx + 0x1b88]
mov word [edi + 0x1d8], ax
movzx eax, word [ecx + 0x1ba0]
mov word [edi + 0x1da], ax
movzx eax, word [ecx + 0x1bb8]
mov ecx, dword [ebp - 0x4c]
mov word [edi + 0x1dc], ax
mov dword [esi + 0x1a6c], 0
test ecx, 0x4000000
je 0x1003620c
mov eax, dword [esi + 0x1bb8]
lea ecx, [esi + 0x1bb8]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1bb4]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.10048350
mov eax, dword [esi]
mov esi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0x94], eax
cmp dword [ebp - 0x64], 0
jle 0x10036224
test ecx, 0x1000000
jne 0x10036224
mov dword [edi + 0x328], 0
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x88]
je 0x100362a7
mov edx, dword [ebp - 0x74]
mov dword [edi + 0x314], edx
mov dword [edi + 0x320], edi
mov dword [edi + 0x31c], edi
mov dword [edi + 0x318], edi
test edx, edx
je 0x10036284
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x10036268
mov eax, dword [edx + 0x318]
mov dword [edi + 0x318], eax
test ecx, 0x8000000
jne 0x10036284
test ecx, 0x5000000
je 0x10036284
mov eax, dword [edx + 0x31c]
mov dword [edi + 0x31c], eax
test dword [edi + 8], 0x800000
je 0x100362a7
mov ecx, edi
nop
mov eax, dword [ecx + 0x314]
mov ecx, eax
mov dword [edi + 0x320], eax
test dword [ecx + 8], 0x800000
jne 0x10036290
xor dl, dl
mov byte [ebp - 0x47], 0
test byte [esi + 0x1af0], 1
mov byte [ebp - 0x51], dl
mov byte [ebp - 0x46], dl
je 0x10036349
mov ecx, dword [esi + 0x1af4]
mov edx, dword [edi + 0xa8]
test ecx, edx
mov eax, edx
setne byte [ebp - 0x47]
test ecx, eax
je 0x10036338
movss xmm1, dword [esi + 0x1b0c]
movss xmm0, dword [esi + 0x1b08]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x10116064]
jbe 0x10036338
mov eax, dword [esi + 0x1b00]
and edx, 0xfffffff1
mov ecx, dword [esi + 0x1b04]
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], ecx
mov eax, dword [esi + 0x1b08]
mov ecx, dword [esi + 0x1b0c]
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], ecx
mov dword [edi + 0xa8], edx
jmp 0x10036349
push ecx
lea eax, [esi + 0x1b00]
push eax
push edi
call fcn.10046070
add esp, 0xc
test byte [esi + 0x1af0], 2
xorps xmm1, xmm1
je 0x100363aa
mov eax, dword [edi + 0xac]
mov ecx, dword [esi + 0x1af8]
and eax, ecx
je 0x10036378
movss xmm0, dword [esi + 0x1b10]
comiss xmm0, xmm1
jbe 0x10036378
mov byte [ebp - 0x51], 1
jmp 0x10036381
xor dl, dl
mov byte [ebp - 0x51], dl
test eax, eax
je 0x10036392
movss xmm0, dword [esi + 0x1b14]
comiss xmm0, xmm1
mov byte [ebp - 0x46], 1
ja 0x10036396
mov byte [ebp - 0x46], 0
push ecx
lea eax, [esi + 0x1b10]
push eax
push edi
call fcn.10046150
add esp, 0xc
xorps xmm1, xmm1
test byte [esi + 0x1af0], 0x80
je 0x100363e5
movss xmm0, dword [esi + 0x1b20]
comiss xmm0, xmm1
jb 0x100363cc
movss dword [edi + 0x60], xmm0
mov dword [edi + 0x68], 0
movss xmm0, dword [esi + 0x1b24]
comiss xmm0, xmm1
jb 0x100363e5
movss dword [edi + 0x64], xmm0
mov dword [edi + 0x6c], 0
test byte [esi + 0x1af0], 4
je 0x10036402
mov eax, dword [esi + 0x1b18]
mov ecx, dword [esi + 0x1b1c]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
jmp 0x1003641b
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x88]
je 0x1003641b
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
test byte [esi + 0x1af0], 8
je 0x10036449
mov eax, dword [esi + 0x1afc]
mov cl, byte [esi + 0x1b28]
test eax, eax
je 0x1003643c
test dword [edi + 0xb0], eax
je 0x10036449
and dword [edi + 0xb0], 0xfffffff1
mov byte [edi + 0x85], cl
test byte [esi + 0x1af0], 0x20
je 0x1003645b
push edi
call fcn.1003b4d0
add esp, 4
cmp byte [edi + 0x88], 0
je 0x10036479
and dword [edi + 0xa8], 0xfffffff7
and dword [edi + 0xac], 0xfffffff7
and dword [edi + 0xb0], 0xfffffff7
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x88]
je 0x10037cf5
mov eax, dword [ebp - 0x4c]
and eax, 0x3000000
mov byte [edi + 0x82], 1
cmp dword [ebp - 0x94], 0
mov dword [ebp - 0x7c], eax
setne al
mov byte [edi + 0x8b], al
mov dword [edi + 0x230], 0xff7fffff
mov dword [edi + 0x234], 0xff7fffff
mov dword [edi + 0x238], 0x7f7fffff
mov dword [edi + 0x23c], 0x7f7fffff
mov eax, dword [edi + 0xc8]
cmp eax, 1
jge 0x10036510
test eax, eax
je 0x100364f3
cdq
sub eax, edx
lea edx, [edi + 0xc4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x100364fe
mov ecx, 8
lea edx, [edi + 0xc4]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10048580
mov dword [edi + 0xc4], 1
mov ecx, dword [edi + 0x284]
call fcn.10050730
cmp byte [edi + 0x358], 0
mov dword [edi + 0x198], 0xffffffff
je 0x10036604
mov ecx, dword [edi + 0x284]
push dword [edi + 0x350]
add ecx, 0xc
mov byte [edi + 0x358], 0
call fcn.10048500
mov eax, dword [edi + 0x284]
mov ecx, dword [edi + 0x354]
add eax, 0x18
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x58], eax
cmp ecx, dword [eax + 4]
jle 0x100365f0
mov eax, dword [0x10136160]
test eax, eax
je 0x10036580
inc dword [eax + 0x370]
push dword [0x10136168]
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
call dword [0x101344f0]
mov dword [ebp - 0x68], eax
add esp, 8
mov eax, dword [ebp - 0x58]
mov edx, dword [eax + 8]
test edx, edx
je 0x100365e4
mov ecx, dword [eax]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push edx
push dword [ebp - 0x68]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x58]
add esp, 0xc
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100365d1
mov eax, dword [0x10136160]
test eax, eax
je 0x100365d1
dec dword [eax + 0x370]
push dword [0x10136168]
push ecx
call dword [0x101344f4]
mov eax, dword [ebp - 0x58]
add esp, 8
mov ecx, dword [ebp - 0x68]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax + 4], ecx
mov dword [edi + 0x354], 0
mov dword [edi + 0x350], 0
cmp dword [esi + 0x1cd4], 0
mov ecx, dword [ebp - 0x60]
je 0x100366f3
test dword [edi + 8], 0x80000
jne 0x100366f3
test ecx, ecx
je 0x100366f3
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10036656
test dl, dl
je 0x10036652
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10036656
add eax, 2
add ecx, 2
test dl, dl
jne 0x10036636
xor eax, eax
jmp 0x1003665b
sbb eax, eax
or eax, 1
test eax, eax
je 0x100366f0
mov ecx, dword [ebp - 0x90]
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x50], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036675
sub ecx, dword [ebp - 0x58]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x58], eax
cmp edx, eax
jae 0x100366d8
test ecx, ecx
je 0x1003669f
mov eax, dword [0x10136160]
test eax, eax
je 0x1003669f
dec dword [eax + 0x370]
push dword [0x10136168]
push ecx
call dword [0x101344f4]
mov eax, dword [0x10136160]
add esp, 8
test eax, eax
je 0x100366be
inc dword [eax + 0x370]
push dword [0x10136168]
push dword [ebp - 0x58]
call dword [0x101344f0]
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
push eax
push dword [ebp - 0x90]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi], eax
add esp, 0xc
mov eax, dword [ebp - 0x50]
mov dword [edi + 0x44], eax
mov ecx, dword [ebp - 0x60]
cmp byte [edi + 0x85], 0
je 0x10036720
cmp byte [edi + 0x98], 0
jg 0x10036720
cmp byte [edi + 0x99], 0
jg 0x10036720
movss xmm2, dword [edi + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [edi + 0x28]
jmp 0x1003679f
cmp byte [edi + 0x89], 0
je 0x1003674a
cmp dword [edi + 0xa4], 0
jne 0x1003674a
cmp dword [edi + 0xa0], 0
jle 0x1003674a
movss xmm2, dword [edi + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [edi + 0x28]
jmp 0x1003679f
movss xmm1, dword [edi + 0x2c]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1003676b
movss xmm1, dword [edi + 0xe8]
subss xmm1, dword [edi + 0xe0]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x30]
ucomiss xmm1, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
test ah, 0x44
jp 0x10036794
movss xmm1, dword [edi + 0xec]
subss xmm1, dword [edi + 0xe4]
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [edi + 0xa0]
movss dword [edi + 0x24], xmm2
movss dword [edi + 0x28], xmm1
test eax, eax
jle 0x100367ba
dec eax
mov dword [edi + 0xa0], eax
mov eax, dword [edi + 0xa4]
test eax, eax
jle 0x100367cb
dec eax
mov dword [edi + 0xa4], eax
mov al, byte [ebp - 0x51]
test ecx, ecx
mov cl, byte [ebp - 0x46]
jne 0x100367e7
test al, al
je 0x100367dd
test cl, cl
jne 0x100367e7
mov dword [edi + 0xa4], 1
cmp byte [ebp - 0x8c], 0
mov edx, dword [ebp - 0x4c]
je 0x1003683c
test edx, 0x6000000
je 0x1003683c
mov dword [edi + 0xa4], 1
test dl, 0x40
je 0x1003683c
test al, al
jne 0x1003681c
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x1003682e
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov ecx, dword [0x10136160]
mov dword [ecx + 0x1a6c], edi
mov eax, dword [edi + 0x198]
cmp eax, 0xffffffff
je 0x10036861
imul eax, eax, 0x1f8
add eax, dword [ecx + 0x1f00]
jmp 0x10036863
xor eax, eax
mov dword [ecx + 0x1ef4], eax
mov eax, dword [0x10136160]
movss xmm1, dword [eax + 0x1934]
mov eax, dword [edi + 0x314]
mulss xmm1, dword [edi + 0x27c]
test eax, eax
je 0x10036890
mulss xmm1, dword [eax + 0x27c]
movss dword [ecx + 0x1944], xmm1
movss dword [ecx + 0x1930], xmm1
test edx, 0x1000000
je 0x100368b2
movss xmm1, dword [esi + 0x1544]
jmp 0x100368d4
test edx, 0x6000000
je 0x100368cc
test edx, 0x8000000
jne 0x100368cc
movss xmm1, dword [esi + 0x154c]
jmp 0x100368d4
movss xmm1, dword [esi + 0x1528]
mov eax, edi
movss dword [eax + 0x40], xmm1
mov eax, dword [esi + 0x151c]
mov ecx, dword [esi + 0x1520]
mov dword [edi + 0x34], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x38], ecx
cmp eax, 0x1000000
jne 0x10036920
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10036920
test edx, 0x400
je 0x10036914
movss xmm0, dword [esi + 0x1520]
mov dword [edi + 0x34], 0
movss dword [edi + 0x38], xmm0
movss xmm0, dword [edi + 0x34]
maxss xmm0, dword [esi + 0x1560]
maxss xmm0, dword [esi + 0x1b48]
movss dword [edi + 0x150], xmm0
mov eax, dword [esi + 0x1b4c]
mov dword [edi + 0x154], eax
test dl, 0x21
jne 0x100369c3
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.100462a0
cmp dword [esi + 0x1a70], edi
jne 0x10036999
cmp dword [esi + 0x1a90], 0
jne 0x10036999
cmp dword [esi + 0x1a94], 0
jne 0x10036999
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1003d980
add esp, 0xc
test al, al
je 0x10036999
cmp byte [esi + 0x3dd], 0
je 0x10036999
mov byte [edi + 0x86], 1
cmp byte [edi + 0x86], 0
je 0x100369ca
cmp byte [edi + 0x85], 0
push edi
sete al
mov byte [edi + 0x85], al
call fcn.1003e610
push edi
call fcn.1003b4d0
add esp, 8
jmp 0x100369ca
mov byte [edi + 0x85], 0
lea eax, [edi + 0x24]
mov byte [edi + 0x86], 0
push eax
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.10038d50
mov cl, byte [ebp - 0x52]
add esp, 0xc
test byte [ebp - 0x4c], 0x40
mov byte [ebp - 0x45], cl
je 0x10036a2e
cmp byte [edi + 0x85], 0
jne 0x10036a2e
cmp byte [ebp - 0x51], 0
jne 0x10036a11
movss xmm0, dword [ebp - 0x84]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x52], 1
cmp byte [ebp - 0x46], 0
jne 0x10036ad7
movss xmm0, dword [ebp - 0x80]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x45], 1
jmp 0x10036ad7
mov al, byte [edi + 0x98]
test al, al
jg 0x10036a45
cmp byte [edi + 0x99], 0
jle 0x10036ad7
cmp byte [ebp - 0x51], 0
jne 0x10036a78
test al, al
jle 0x10036a78
cmp byte [edi + 0x9b], 0
je 0x10036a67
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [ebp - 0x84]
jmp 0x10036a6f
movss xmm0, dword [ebp - 0x84]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x52], 1
cmp byte [ebp - 0x46], 0
jne 0x10036aaa
cmp byte [edi + 0x99], 0
jle 0x10036aaa
cmp byte [edi + 0x9b], 0
je 0x10036a9c
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0x80]
jmp 0x10036aa1
movss xmm0, dword [ebp - 0x80]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x45], 1
cmp byte [edi + 0x85], 0
jne 0x10036ad7
test dword [edi + 8], 0x100
mov ecx, dword [0x10136160]
jne 0x10036ad7
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2ebc]
jb 0x10036ad7
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2ebc], eax
push dword [edi + 0x20]
lea eax, [ebp - 0x70]
push dword [edi + 0x1c]
push edi
push eax
call fcn.100390a0
add esp, 0x10
mov dword [ebp - 0x50], eax
cmp byte [edi + 0x85], 0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], edx
je 0x10036b34
test dword [ebp - 0x4c], 0x1000000
jne 0x10036b34
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.100462a0
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
movss dword [ebp - 0x6c], xmm0
jmp 0x10036b42
mov ecx, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov edx, dword [edi + 8]
lea ecx, [ebp - 0x70]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
mov eax, dword [0x10136160]
test dl, 1
je 0x10036b62
xorps xmm2, xmm2
jmp 0x10036b94
movss xmm0, dword [eax + 0x1934]
mov ecx, dword [edi + 0x314]
mulss xmm0, dword [edi + 0x27c]
test ecx, ecx
je 0x10036b84
mulss xmm0, dword [ecx + 0x27c]
movss xmm2, dword [eax + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x10036bd8
movss xmm1, dword [eax + 0x1934]
mov ecx, dword [edi + 0x314]
mulss xmm1, dword [edi + 0x27c]
test ecx, ecx
je 0x10036bbe
mulss xmm1, dword [ecx + 0x27c]
movss xmm0, dword [eax + 0x1554]
addss xmm1, dword [edi + 0x154]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x10036bdb
xorps xmm1, xmm1
cmp byte [ebp - 0x8c], 0
addss xmm1, xmm2
mov ecx, dword [ebp - 0x4c]
movss dword [ebp - 0x68], xmm1
je 0x10036c2e
mov eax, ecx
mov dword [edi + 0x9c], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10036c2e
cmp byte [ebp - 0x47], 0
jne 0x10036c2e
mov eax, dword [esi + 0x1bb8]
mov ecx, dword [esi + 0x1bc0]
lea edx, [eax + eax*8]
mov eax, dword [ecx + edx*4 - 0x10]
mov ecx, dword [ecx + edx*4 - 0xc]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0xc], eax
test ecx, 0x1000000
je 0x10036cc9
mov edx, dword [ebp - 0x74]
mov ax, word [edx + 0x184]
lea ecx, [edx + 0x184]
mov word [edi + 0x90], ax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x58], ecx
cmp dword [ecx], eax
jne 0x10036c88
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0x50], edx
test eax, eax
je 0x10036c72
cdq
sub eax, edx
mov edx, dword [ebp - 0x50]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10036c77
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10048580
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
mov eax, dword [edx + 0x18c]
mov dword [eax + ecx*4], edi
inc dword [edx + 0x184]
mov ecx, dword [ebp - 0x4c]
mov al, byte [ebp - 0x47]
test ecx, 0x4000000
jne 0x10036ccc
test al, al
jne 0x10036ccc
cmp dword [ebp - 0x7c], 0x3000000
je 0x10036ccc
mov ecx, dword [edx + 0xd4]
mov eax, dword [edx + 0xd0]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0xc], eax
mov al, byte [ebp - 0x47]
movss xmm1, dword [edi + 0xb4]
ucomiss xmm1, dword [0x101160d4]
lahf
test ah, 0x44
jnp 0x10036d2f
cmp dword [edi + 0xa4], 0
jne 0x10036d2f
movss xmm0, dword [edi + 0x14]
lea eax, [ebp - 0x70]
mulss xmm0, dword [edi + 0xbc]
push 0
push eax
push edi
subss xmm1, xmm0
movss xmm0, dword [edi + 0xb8]
movss dword [ebp - 0x70], xmm1
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [edi + 0xc0]
subss xmm0, xmm1
movss dword [ebp - 0x6c], xmm0
call fcn.10046070
add esp, 0xc
jmp 0x10036d76
test ecx, 0x10000000
jne 0x10036d5e
test ecx, 0x4000000
je 0x10036d49
test al, al
jne 0x10036d49
cmp dword [ebp - 0x64], 0
jg 0x10036d5e
test ecx, 0x2000000
je 0x10036d79
test al, al
jne 0x10036d79
cmp dword [ebp - 0x7c], 0x3000000
je 0x10036d79
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.1003aa80
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], eax
mov ecx, dword [ebp - 0x4c]
cmp byte [ebp - 0x47], 0
xorps xmm4, xmm4
mov eax, dword [0x10136160]
movss xmm1, dword [esi + 0x15c0]
movss xmm0, dword [esi + 0x15bc]
maxss xmm1, dword [esi + 0x15c8]
movss xmm2, dword [eax + 0x10]
movss xmm3, dword [eax + 0x14]
movaps xmm6, xmm2
maxss xmm0, dword [esi + 0x15c4]
movaps xmm5, xmm3
mov dword [ebp - 0x34], 0
subss xmm5, xmm1
mov dword [ebp - 0x30], 0
addss xmm1, xmm4
movss dword [ebp - 0x2c], xmm2
movss dword [ebp - 0x28], xmm3
subss xmm6, xmm0
addss xmm0, xmm4
movss dword [ebp - 0x18], xmm5
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x1c], xmm6
movss dword [ebp - 0x24], xmm0
jne 0x10036eb2
test ecx, 0x1000000
jne 0x10036eb2
cmp byte [edi + 0x98], 0
jg 0x10036eb2
cmp byte [edi + 0x99], 0
jg 0x10036eb2
subss xmm2, xmm4
comiss xmm2, xmm4
jbe 0x10036eb2
subss xmm3, xmm4
comiss xmm3, xmm4
jbe 0x10036eb2
cmp byte [eax + 0xb4], 0
movss xmm3, dword [edi + 0x18]
je 0x10036e7d
test byte [edi + 8], 1
jne 0x10036e7d
movss xmm2, dword [eax + 0x1934]
mov edx, dword [edi + 0x314]
mulss xmm2, dword [edi + 0x27c]
test edx, edx
je 0x10036e6d
mulss xmm2, dword [edx + 0x27c]
movss xmm3, dword [eax + 0x1554]
addss xmm3, xmm3
addss xmm3, xmm2
movss xmm2, dword [edi + 0x10]
subss xmm1, xmm3
subss xmm0, dword [edi + 0x14]
comiss xmm1, xmm2
ja 0x10036e97
movaps xmm1, xmm5
minss xmm1, xmm2
movss xmm2, dword [edi + 0xc]
comiss xmm0, xmm2
ja 0x10036ea8
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0xc], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
test ecx, 0x1000000
je 0x10036ee6
movss xmm2, dword [esi + 0x1540]
jmp 0x10036f06
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10036efe
movss xmm2, dword [esi + 0x1548]
jmp 0x10036f06
movss xmm2, dword [esi + 0x1524]
xor al, al
movss dword [edi + 0x3c], xmm2
mov dword [ebp - 0x58], eax
cmp byte [ebp - 0x8c], al
je 0x10036f42
test ecx, 0x1000
jne 0x10036f42
test ecx, 0x4000000
je 0x10036f2e
mov byte [ebp - 0x58], 1
jmp 0x10036f42
test ecx, 0x3000000
movzx eax, al
mov edx, 1
cmove eax, edx
mov dword [ebp - 0x58], eax
movss xmm1, dword [esi + 0x1930]
xorps xmm0, xmm0
addss xmm2, dword [0x100d0748]
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x50], 0xffffffff
xor eax, eax
cmp byte [esi + 0xb3], al
movaps xmm0, xmm1
mulss xmm1, dword [0x10116074]
setne al
mulss xmm0, dword [0x101160a4]
inc eax
cmp byte [edi + 0x85], 0
addss xmm2, xmm1
mov dword [ebp - 0x6c], eax
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x10036fc4
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.10047150
mov ecx, dword [ebp - 0x4c]
add esp, 0x18
xorps xmm4, xmm4
test al, al
je 0x10036fc4
mov dl, 1
mov dh, dl
jmp 0x10036fca
mov dh, byte [ebp - 0x52]
mov dl, byte [ebp - 0x45]
cmp byte [edi + 0x85], 0
mov al, byte [ebp - 0x50]
movss xmm3, dword [ebp - 0x68]
mov byte [edi + 0x8c], al
jne 0x1003713b
cmp dword [ebp - 0x60], 0
lea eax, [ebp - 0x84]
movss xmm2, dword [edi + 0x1f8]
movss xmm5, dword [edi + 0x1fc]
subss xmm2, dword [edi + 0x1f0]
subss xmm5, dword [edi + 0x1f4]
movss xmm6, dword [edi + 0x20]
movss xmm7, dword [edi + 0x1c]
subss xmm6, xmm3
mov dword [ebp - 0x50], eax
addss xmm2, dword [edi + 0x78]
addss xmm5, dword [edi + 0x7c]
jne 0x1003703f
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
jmp 0x10037068
movss xmm0, dword [edi + 0x34]
movss xmm1, dword [edi + 0x38]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x24]
addss xmm1, dword [edi + 0x28]
movss dword [ebp - 0x84], xmm0
movss dword [ebp - 0x80], xmm1
movss xmm1, dword [eax + 4]
test dh, dh
jne 0x10037074
movaps xmm7, xmm2
test dl, dl
jne 0x1003707b
movaps xmm6, xmm5
test ecx, 0x4000
jne 0x10037091
comiss xmm1, xmm6
jbe 0x1003708d
test cl, 8
je 0x10037091
xor al, al
jmp 0x10037093
mov al, 1
mov byte [ebp - 0x45], al
mov byte [edi + 0x81], al
test ecx, 0x8000
jne 0x100370e8
test al, al
je 0x100370b5
mov edx, dword [ebp - 0x5c]
movss xmm0, dword [edx + 0x1588]
jmp 0x100370b8
xorps xmm0, xmm0
mov edx, dword [ebp - 0x50]
subss xmm7, xmm0
movss xmm0, dword [edx]
comiss xmm0, xmm7
mov edx, dword [ebp - 0x5c]
jbe 0x100370dc
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [ebp - 0x45]
je 0x100370e8
mov byte [edi + 0x80], 0
xorps xmm1, xmm1
jmp 0x10037114
mov byte [edi + 0x80], 1
test al, al
jne 0x10037109
comiss xmm1, xmm6
jbe 0x10037101
test cl, 8
jne 0x10037101
mov al, 1
jmp 0x10037103
xor al, al
mov byte [edi + 0x81], al
mov edx, dword [ebp - 0x5c]
movss xmm1, dword [edx + 0x1588]
test al, al
je 0x1003712c
movss xmm0, dword [edx + 0x1588]
movss dword [edi + 0x78], xmm0
movss dword [edi + 0x7c], xmm1
jmp 0x1003713e
xorps xmm0, xmm0
movss dword [edi + 0x7c], xmm1
movss dword [edi + 0x78], xmm0
jmp 0x1003713e
mov edx, dword [ebp - 0x5c]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1003715f
cmp dword [ebp - 0x7c], 0x3000000
je 0x1003715f
mov eax, dword [ebp - 0x74]
add eax, 0x230
jmp 0x10037162
lea eax, [ebp - 0x34]
test byte [edi + 8], 1
movups xmm0, xmmword [eax]
movss xmm1, dword [edi + 0x10]
movups xmmword [ebp - 0x24], xmm0
movss xmm0, dword [edi + 0xc]
movaps xmm7, xmm1
addss xmm7, dword [edi + 0x18]
movaps xmm6, xmm0
movss dword [ebp - 0x50], xmm0
addss xmm6, dword [edi + 0x14]
movss dword [ebp - 0x64], xmm1
je 0x10037198
xorps xmm5, xmm5
jmp 0x100371d9
mov eax, dword [0x10136160]
movss xmm0, dword [eax + 0x1934]
mov eax, dword [edi + 0x314]
mulss xmm0, dword [edi + 0x27c]
test eax, eax
je 0x100371bf
mulss xmm0, dword [eax + 0x27c]
mov eax, dword [0x10136160]
movss xmm5, dword [eax + 0x1554]
addss xmm5, xmm5
addss xmm5, xmm0
movss xmm0, dword [ebp - 0x50]
movaps xmm2, xmm0
movss dword [ebp - 0x44], xmm0
addss xmm2, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x10]
addss xmm1, xmm5
movss dword [ebp - 0x40], xmm0
mov eax, ecx
movss xmm0, dword [ebp - 0x50]
and eax, 0x401
movss dword [ebp - 0x3c], xmm2
movss dword [ebp - 0x38], xmm1
movss xmm1, dword [ebp - 0x64]
movss dword [edi + 0x1e0], xmm0
movss dword [edi + 0x1e4], xmm1
movss dword [edi + 0x1e8], xmm6
movss dword [edi + 0x1ec], xmm7
movss xmm0, dword [edi + 0x1e0]
movss xmm5, dword [ebp - 0x24]
movss xmm6, dword [ebp - 0x20]
maxss xmm0, xmm5
maxss xmm1, xmm6
movss dword [edi + 0x1e0], xmm0
movss dword [edi + 0x1e4], xmm1
movss xmm1, dword [edi + 0x1e8]
movss xmm0, dword [edi + 0x1ec]
minss xmm0, dword [ebp - 0x18]
minss xmm1, dword [ebp - 0x1c]
movss dword [edi + 0x1ec], xmm0
movss dword [edi + 0x1e8], xmm1
movss xmm7, dword [edi + 0x10]
movss xmm1, dword [edi + 0xc]
movaps xmm0, xmm7
movss dword [edi + 0x1f0], xmm1
addss xmm0, xmm3
addss xmm7, dword [edi + 0x18]
movss dword [ebp - 0x64], xmm0
movss dword [edi + 0x1f4], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x14]
subss xmm7, dword [edi + 0x7c]
subss xmm0, dword [edi + 0x78]
movss dword [edi + 0x1fc], xmm7
movss dword [ebp - 0x60], xmm0
movss dword [edi + 0x1f8], xmm0
cmp eax, 1
jne 0x100372e1
movss xmm0, dword [edi + 0x40]
jmp 0x100372e9
movss xmm0, dword [edx + 0x155c]
movss xmm2, dword [0x100d0714]
movss dword [ebp - 0x50], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x34]
mulss xmm0, xmm2
movss xmm3, dword [ebp - 0x18]
subss xmm7, dword [edi + 0x40]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x40]
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x200], xmm0
movss xmm0, dword [ebp - 0x64]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0x50]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x204], xmm0
movss xmm0, dword [ebp - 0x60]
addss xmm0, xmm2
subss xmm0, xmm1
cvttss2si ecx, xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x208], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm0
movss xmm0, dword [edi + 0x204]
comiss xmm6, xmm0
jbe 0x100373a3
movaps xmm1, xmm6
jmp 0x100373aa
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm7, dword [ebp - 0x1c]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x100373c0
movaps xmm0, xmm5
jmp 0x100373c7
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [edi + 0x200], xmm0
movss dword [edi + 0x204], xmm1
movss xmm0, dword [edi + 0x20c]
comiss xmm6, xmm0
ja 0x100373eb
movaps xmm6, xmm3
minss xmm6, xmm0
movss xmm0, dword [edi + 0x208]
comiss xmm5, xmm0
ja 0x100373ff
movaps xmm5, xmm7
minss xmm5, xmm0
movss dword [edi + 0x208], xmm5
movss dword [edi + 0x20c], xmm6
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm4
jbe 0x1003742c
test dword [ebp - 0x4c], 0x2000040
jne 0x1003742c
mulss xmm0, dword [0x10116080]
jmp 0x1003743c
movss xmm0, dword [edx + 0x1930]
mulss xmm0, dword [0x101160bc]
cvttss2si eax, xmm0
mov ecx, edi
push edi
movd xmm0, eax
lea eax, [ebp - 0x84]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ecx + 0x260], xmm0
movss xmm1, dword [edi + 0x34]
movss xmm0, dword [edi + 0x1f8]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1f0]
addss xmm1, dword [edi + 0x24]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x38]
addss xmm1, xmm1
movss dword [edi + 0x58], xmm0
movss xmm0, dword [edi + 0x1fc]
subss xmm0, dword [edi + 0x1f4]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x5c], xmm0
call fcn.100389f0
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0x5c]
mov dword [edi + 0x50], ecx
mov ecx, dword [edi + 0x284]
mov dword [edi + 0x60], 0x7f7fffff
mov dword [edi + 0x64], 0x7f7fffff
mov eax, dword [eax + 0x192c]
mov eax, dword [eax + 0x30]
push dword [eax + 8]
call fcn.1004e5f0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100429a0
add esp, 0xc
test dword [ebp - 0x4c], 0x8000000
je 0x10037521
call fcn.1003c330
cmp edi, eax
jne 0x10037521
cmp dword [edi + 0xa4], 0
jg 0x10037521
mov dl, 1
jmp 0x10037523
xor dl, dl
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x1cd0]
test eax, eax
je 0x1003753c
cmp edi, dword [eax + 0x318]
jne 0x1003753c
mov al, 1
jmp 0x1003753e
xor al, al
mov byte [ebp - 0x45], al
test dl, dl
jne 0x1003754d
test al, al
je 0x1003764d
movss xmm0, dword [ecx + 0x1d44]
push ecx
movzx eax, dl
add eax, 0x33
movss dword [esp], xmm0
push eax
call fcn.1003b960
add esp, 8
push 0xf
push ecx
mov ecx, dword [edi + 0x284]
mov dword [esp], 0
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.1004aba0
cmp byte [ebp - 0x45], 0
je 0x1003764d
mov ecx, dword [ebp - 0x5c]
cmp edi, dword [ecx + 0x1cd0]
jne 0x1003764d
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [ecx + 0x1930]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
movss xmm0, dword [ebp - 0x34]
comiss xmm0, xmm1
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm3
jb 0x10037607
movss xmm0, dword [ebp - 0x30]
comiss xmm0, xmm4
jb 0x10037607
comiss xmm2, dword [ebp - 0x2c]
jb 0x10037607
comiss xmm3, dword [ebp - 0x28]
jae 0x1003764d
movss xmm0, dword [ecx + 0x1524]
push 0xf
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx + 0x1cdc]
mulss xmm0, dword [0x101154f8]
movss dword [esp], xmm0
push 0x32
call fcn.1003b960
mov ecx, dword [edi + 0x284]
add esp, 8
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1004aba0
mov eax, dword [ebp - 0x4c]
and eax, 0x5000000
mov byte [ebp - 0x45], 0
cmp eax, 0x1000000
jne 0x10037697
cmp dword [ebp - 0x7c], 0x3000000
je 0x10037697
mov edx, dword [edi + 0x284]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x10037697
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x284]
cmp dword [eax + 0x18], 0
jle 0x10037697
mov byte [ebp - 0x45], 1
mov dword [edi + 0x284], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x1ccc]
test ecx, ecx
jne 0x100376aa
mov ecx, dword [eax + 0x1bc4]
cmp byte [ebp - 0x58], 0
jne 0x100376c8
test ecx, ecx
je 0x100376c2
mov eax, dword [edi + 0x31c]
cmp eax, dword [ecx + 0x31c]
je 0x100376c8
mov byte [ebp - 0x50], 0
jmp 0x100376cc
mov byte [ebp - 0x50], 1
movd xmm0, esi
lea eax, [ebp - 0x14]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x44]
push dword [ebp - 0x50]
push eax
push edi
call fcn.10044280
add esp, 0x18
cmp byte [ebp - 0x45], 0
je 0x10037702
lea eax, [edi + 0x288]
mov dword [edi + 0x284], eax
mov esi, dword [ebp - 0x5c]
cmp dword [esi + 0x1cd0], edi
jne 0x100377fe
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm5, xmm2
movss xmm1, dword [esi + 0x1930]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
movss xmm7, dword [edi + 0x3c]
subss xmm5, xmm1
movss xmm0, dword [ebp - 0x34]
subss xmm4, xmm1
movaps xmm6, xmm7
maxss xmm6, dword [esi + 0x1524]
addss xmm2, xmm1
comiss xmm0, xmm5
addss xmm3, xmm1
movss dword [ebp - 0x24], xmm5
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm3
jb 0x100377c0
movss xmm0, dword [ebp - 0x30]
comiss xmm0, xmm4
jb 0x100377c0
comiss xmm2, dword [ebp - 0x2c]
jb 0x100377c0
comiss xmm3, dword [ebp - 0x28]
jb 0x100377c0
xorps xmm1, xmmword [0x100d0730]
movaps xmm6, xmm7
subss xmm1, dword [0x100d0748]
movaps xmm0, xmm1
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x24], xmm5
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm1
movss xmm0, dword [esi + 0x1cdc]
push ecx
mov dword [esp], 0x40400000
push 0xffffffffffffffff
sub esp, 8
movss dword [esp + 4], xmm6
movss dword [esp], xmm0
push 0x32
call fcn.1003b960
mov ecx, dword [edi + 0x284]
add esp, 8
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1004aab0
mov ecx, dword [ebp - 0x4c]
xorps xmm4, xmm4
movss xmm6, dword [edi + 0x2c]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x10037823
movss dword [ebp - 0x50], xmm6
jmp 0x1003785b
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
jne 0x10037838
movss xmm2, dword [edi + 0x24]
jmp 0x1003783b
xorps xmm2, xmm2
movss xmm1, dword [edi + 0x34]
movss xmm0, dword [edi + 0x14]
addss xmm1, xmm1
subss xmm0, xmm1
subss xmm0, dword [edi + 0x78]
maxss xmm2, xmm0
movss dword [ebp - 0x50], xmm2
movss xmm5, dword [edi + 0x30]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x10037870
movss dword [ebp - 0x7c], xmm5
jmp 0x100378a3
test dl, dl
je 0x1003787b
movss xmm2, dword [edi + 0x28]
jmp 0x1003787e
xorps xmm2, xmm2
movss xmm0, dword [edi + 0x38]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ebp - 0x68]
subss xmm1, dword [edi + 0x7c]
maxss xmm2, xmm1
movss dword [ebp - 0x7c], xmm2
movss xmm0, dword [edi + 0x50]
movss xmm1, dword [edi + 0x1f0]
movss xmm7, dword [edi + 0x34]
subss xmm1, xmm0
movss dword [ebp - 0x60], xmm0
movaps xmm0, xmm7
maxss xmm0, dword [edi + 0x40]
ucomiss xmm6, xmm4
addss xmm1, xmm0
movss xmm0, dword [edi + 0x38]
movss dword [ebp - 0x6c], xmm0
maxss xmm0, dword [edi + 0x40]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x54]
movss dword [ebp - 0x64], xmm1
movss xmm1, dword [edi + 0x1f4]
subss xmm1, dword [ebp - 0x64]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
movss dword [edi + 0x210], xmm2
addss xmm2, dword [ebp - 0x50]
cvttss2si eax, xmm1
movss dword [edi + 0x218], xmm2
movss xmm2, dword [ebp - 0x6c]
movss xmm1, dword [ebp - 0x68]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lahf
movss dword [edi + 0x214], xmm0
addss xmm0, dword [ebp - 0x7c]
movss dword [edi + 0x21c], xmm0
movups xmm0, xmmword [edi + 0x210]
movups xmmword [edi + 0x220], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [ebp - 0x50], xmm0
movaps xmm3, xmm0
subss xmm3, dword [ebp - 0x60]
addss xmm3, xmm7
movss dword [edi + 0x240], xmm3
movss xmm0, dword [edi + 0x10]
subss xmm0, dword [ebp - 0x64]
addss xmm0, xmm2
addss xmm0, xmm1
movss dword [ebp - 0x6c], xmm0
movss dword [edi + 0x244], xmm0
test ah, 0x44
jp 0x100379a7
movss xmm6, dword [edi + 0x14]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm6, xmm0
subss xmm6, dword [edi + 0x78]
ucomiss xmm5, xmm4
addss xmm6, xmm3
lahf
movss dword [edi + 0x248], xmm6
test ah, 0x44
jp 0x100379d5
movss xmm5, dword [edi + 0x18]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm5, xmm0
subss xmm5, xmm1
subss xmm5, dword [edi + 0x7c]
addss xmm5, dword [ebp - 0x6c]
addss xmm7, xmm4
addss xmm1, xmm2
push dword [ebp - 0x8c]
movss dword [edi + 0x24c], xmm5
subss xmm7, dword [ebp - 0x60]
subss xmm1, dword [ebp - 0x64]
push ecx
lea ecx, [edi + 0x158]
movss dword [edi + 0x108], xmm7
addss xmm7, xmm4
mov dword [edi + 0x110], 0
mov dword [edi + 0x10c], 0
addss xmm1, dword [edi + 0x10]
addss xmm7, dword [ebp - 0x50]
movss dword [edi + 0xe0], xmm7
movss dword [edi + 0xe4], xmm1
movss dword [edi + 0xd0], xmm7
movss dword [edi + 0xd4], xmm1
movss dword [edi + 0xd8], xmm7
movss dword [edi + 0xdc], xmm1
movss dword [edi + 0xe8], xmm7
movss dword [edi + 0xec], xmm1
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x13c], 0
mov eax, dword [edi + 0x144]
mov dword [edi + 0x140], eax
mov dword [edi + 0x144], 0
mov byte [edi + 0x14c], 0
movss xmm0, dword [edi + 0x5c]
comiss xmm0, xmm4
seta al
mov byte [edi + 0x14d], al
mov byte [edi + 0x14e], 0
movss xmm0, dword [esi + 0x1560]
movss dword [esp], xmm0
push 3
call fcn.10071690
mov dword [edi + 0x17c], 0
lea eax, [edi + 0x184]
mov dword [edi + 0x180], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10037b3d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x184]
call fcn.10048580
lea eax, [edi + 0x184]
mov dword [eax], 0
lea eax, [edi + 0x264]
mov dword [edi + 0x190], eax
mov eax, dword [ebp - 0x74]
mov dword [edi + 0x194], 0
mov dword [edi + 0x19c], 1
test eax, eax
je 0x10037b72
mov eax, dword [eax + 0x19c]
jmp 0x10037b77
mov eax, 1
mov dword [edi + 0x1a0], eax
mov dword [edi + 0x1a8], 0xffffffff
mov dword [edi + 0x1a4], 0xffffffff
mov eax, dword [edi + 0x260]
mov dword [edi + 0x1b0], eax
lea eax, [edi + 0x1b8]
mov dword [edi + 0x1b4], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10037bd6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1b8]
call fcn.10048580
lea eax, [edi + 0x1b8]
mov dword [eax], 0
lea eax, [edi + 0x1c4]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10037c0b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1c4]
call fcn.10048580
lea eax, [edi + 0x1c4]
mov dword [eax], 0
mov al, byte [edi + 0x98]
test al, al
jle 0x10037c23
dec al
mov byte [edi + 0x98], al
mov al, byte [edi + 0x99]
test al, al
jle 0x10037c35
dec al
mov byte [edi + 0x99], al
cmp byte [ebp - 0x58], 0
je 0x10037c4c
push edi
call fcn.1003b4d0
push 0
push edi
call fcn.1003eac0
add esp, 0xc
test byte [ebp - 0x4c], 1
jne 0x10037c6b
push dword [ebp - 0x94]
lea eax, [ebp - 0x44]
push dword [ebp - 0x90]
push eax
push edi
call fcn.10044df0
add esp, 0x10
movss xmm2, dword [ebp - 0x44]
xor eax, eax
movss xmm4, dword [ebp - 0x3c]
movss xmm3, dword [ebp - 0x38]
mov dword [edi + 0x250], eax
mov eax, dword [0x10136160]
movss xmm1, dword [eax + 0x1578]
movss xmm0, dword [eax + 0x157c]
subss xmm2, xmm1
movss xmm5, dword [eax + 0xe4]
addss xmm4, xmm1
movss xmm1, dword [ebp - 0x40]
addss xmm3, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x10037cd7
movss xmm0, dword [eax + 0xe8]
comiss xmm0, xmm1
jb 0x10037cd7
comiss xmm4, xmm5
jbe 0x10037cd7
comiss xmm3, xmm0
jbe 0x10037cd7
mov ecx, 1
jmp 0x10037cd9
xor ecx, ecx
mov eax, dword [edi + 0x48]
movups xmm0, xmmword [ebp - 0x44]
mov dword [edi + 0x114], eax
mov dword [edi + 0x118], ecx
movups xmmword [edi + 0x11c], xmm0
jmp 0x10037d59
mov ecx, dword [0x10136160]
mov dword [ecx + 0x1a6c], edi
mov eax, dword [edi + 0x198]
cmp eax, 0xffffffff
je 0x10037d1a
imul eax, eax, 0x1f8
add eax, dword [ecx + 0x1f00]
jmp 0x10037d1c
xor eax, eax
mov dword [ecx + 0x1ef4], eax
mov eax, dword [0x10136160]
movss xmm0, dword [eax + 0x1934]
mov eax, dword [edi + 0x314]
mulss xmm0, dword [edi + 0x27c]
test eax, eax
je 0x10037d49
mulss xmm0, dword [eax + 0x27c]
movss dword [ecx + 0x1944], xmm0
movss dword [ecx + 0x1930], xmm0
mov ecx, dword [esi + 0x1b94]
mov eax, dword [esi + 0x1b9c]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x1ac], eax
mov eax, dword [ebp - 0x4c]
and eax, 0x1000000
mov dword [ebp - 0x6c], eax
je 0x10037d87
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x148]
jmp 0x10037d89
xor eax, eax
mov dword [edi + 0x148], eax
lea eax, [edi + 0x208]
push 1
push eax
lea eax, [edi + 0x200]
push eax
call fcn.100429a0
mov eax, dword [ebp - 0x78]
add esp, 0xc
mov byte [edi + 0x84], 0
inc word [edi + 0x8e]
mov dword [esi + 0x1af0], 0
cmp eax, dword [ebp - 0x88]
je 0x10037ed8
cmp dword [ebp - 0x6c], 0
je 0x10037e64
test byte [ebp - 0x4c], 0x40
jne 0x10037e25
cmp byte [edi + 0x98], 0
jg 0x10037e25
cmp byte [edi + 0x99], 0
jg 0x10037e25
cmp byte [esi + 0x2efc], 0
jne 0x10037e25
movss xmm0, dword [edi + 0x1e0]
comiss xmm0, dword [edi + 0x1e8]
jae 0x10037e1b
movss xmm0, dword [edi + 0x1e4]
comiss xmm0, dword [edi + 0x1ec]
jb 0x10037e25
mov dword [edi + 0xa0], 1
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10037e64
cmp byte [eax + 0x85], 0
jne 0x10037e3e
cmp dword [eax + 0xa0], 0
jle 0x10037e48
mov dword [edi + 0xa0], 1
cmp byte [eax + 0x85], 0
jne 0x10037e5a
cmp dword [eax + 0xa4], 0
jle 0x10037e64
mov dword [edi + 0xa4], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x10037e7a
mov dword [edi + 0xa0], 1
cmp dword [edi + 0xa0], 0
jg 0x10037e90
cmp dword [edi + 0xa4], 0
jg 0x10037e90
xor cl, cl
jmp 0x10037e92
mov cl, 1
xor al, al
mov byte [edi + 0x89], cl
cmp byte [edi + 0x85], al
jne 0x10037eae
cmp byte [edi + 0x82], al
je 0x10037eae
test cl, cl
je 0x10037ed2
cmp byte [edi + 0x98], 0
jg 0x10037ed2
cmp byte [edi + 0x99], 0
jg 0x10037ed2
cmp dword [edi + 0xa4], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0x87], al
cmp byte [edi + 0x87], 0
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop edi
pop esi
call fcn.100ca284
mov esp, ebp
pop ebp
ret