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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1010502c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
xor edx, edx
push esi
mov esi, dword [0x101075c0]
push edi
push 0
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], esi
call fcn.1004b630
add esp, 4
mov ecx, eax
call fcn.100502d0
mov edi, eax
mov dword [ebp - 0x64], eax
test edi, edi
sete cl
mov byte [ebp - 0x6d], cl
test eax, eax
jne 0x100524a1
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x8c]
call fcn.10050330
mov edi, eax
mov eax, dword [ebp - 0x74]
mov ecx, eax
and ecx, 0xc0200
mov edx, eax
or edx, 6
cmp ecx, 0xc0200
mov ecx, dword [edi + 0x24c]
cmovne edx, eax
mov dword [ebp - 0x7c], ecx
cmp dword [esi + 0x19ec], 0
lea ecx, [esi + 0x19ec]
mov eax, dword [esi + 0x19b0]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x94], ecx
jne 0x100524f1
cmp byte [esi + 0x19bd], 0
mov byte [ebp - 0x5d], 1
jne 0x100524f5
mov byte [ebp - 0x5d], 0
mov dl, byte [ebp - 0x5d]
dec eax
cmp dword [ebp - 0x7c], eax
mov eax, dword [edi + 0x9c]
mov byte [edi + 0x82], dl
setl byte [ebp - 0x60]
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x9c], eax
test edx, 0x4000000
je 0x10052559
mov eax, dword [esi + 0x1b2c]
lea esi, [eax + eax*8]
mov eax, dword [ebp - 0x78]
mov edx, dword [eax + 0x1b28]
mov eax, dword [edi + 0x8c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x6c]
setne al
or cl, al
mov eax, dword [ebp - 0x9c]
or byte [ebp - 0x60], cl
mov ecx, dword [ebp - 0x94]
cmp byte [ebp - 0x60], 0
jne 0x1005256c
test eax, eax
jg 0x1005256c
mov byte [edi + 0x80], 0
jmp 0x10052588
or dword [edi + 0xa0], 8
or dword [edi + 0xa4], 8
or dword [edi + 0xa8], 8
mov byte [edi + 0x80], 1
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x7c], eax
je 0x100525cc
mov dword [edi + 0x24c], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x19a8]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x88], ax
movss dword [edi + 0x250], xmm0
movzx eax, word [esi + 0x1a04]
inc dword [esi + 0x1a04]
mov word [edi + 0x8a], ax
jmp 0x100525d2
mov edx, dword [edi + 8]
mov dword [ebp - 0x6c], edx
cmp dword [ecx], 0
jne 0x100525e0
mov dword [ebp - 0x74], 0
jmp 0x100525f2
mov eax, dword [esi + 0x19f4]
mov esi, dword [ecx]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x80]
je 0x1005260f
and edx, 0x5000000
neg edx
sbb edx, edx
and edx, dword [ebp - 0x74]
mov dword [ebp - 0x90], edx
jmp 0x1005261b
mov eax, dword [edi + 0x318]
mov dword [ebp - 0x90], eax
cmp dword [edi + 0xbc], 0
lea eax, [edi + 0xbc]
jne 0x10052656
cmp dword [eax + 4], 0
jne 0x1005263f
push 8
mov ecx, eax
call fcn.1005b300
lea eax, [edi + 0xbc]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
lea ecx, [esi + 0x19ec]
inc dword [edi + 0xbc]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10052690
inc edx
mov dword [ebp - 0x94], edx
test eax, eax
je 0x1005267a
cdq
sub eax, edx
mov edx, dword [ebp - 0x94]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1005267f
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1005b300
lea ecx, [esi + 0x19ec]
mov ecx, dword [ecx]
lea edx, [edi + 0x1e0]
mov eax, dword [esi + 0x19f4]
mov dword [eax + ecx*4], edi
inc dword [esi + 0x19ec]
mov ecx, dword [0x101075c0]
mov dword [esi + 0x1a08], 0
movzx eax, word [edi + 0xbc]
mov word [edx], ax
movzx eax, word [edi + 0x1d4]
mov word [edx + 2], ax
movzx eax, word [ecx + 0x1b2c]
mov word [edx + 4], ax
movzx eax, word [ecx + 0x1afc]
mov word [edx + 6], ax
movzx eax, word [ecx + 0x1b08]
mov word [edx + 8], ax
movzx eax, word [ecx + 0x1b14]
mov ecx, dword [ebp - 0x6c]
mov word [edx + 0xa], ax
mov eax, ecx
and eax, 0x4000000
mov dword [ebp - 0x74], eax
je 0x10052737
mov eax, dword [esi + 0x1b2c]
lea ecx, [esi + 0x1b2c]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1b28]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.1005b120
mov eax, dword [esi]
mov esi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x6c]
mov dword [edi + 0x8c], eax
cmp dword [ebp - 0x9c], 0
jle 0x10052752
test ecx, 0x1000000
jne 0x10052752
mov dword [edi + 0x32c], 0
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x80]
je 0x100527d7
mov edx, dword [ebp - 0x90]
mov dword [edi + 0x318], edx
mov dword [edi + 0x324], edi
mov dword [edi + 0x320], edi
mov dword [edi + 0x31c], edi
test edx, edx
je 0x100527b2
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x10052796
mov eax, dword [edx + 0x31c]
mov dword [edi + 0x31c], eax
test ecx, 0x8000000
jne 0x100527b2
test ecx, 0x5000000
je 0x100527b2
mov eax, dword [edx + 0x320]
mov dword [edi + 0x320], eax
test dword [edi + 8], 0x800000
je 0x100527d7
mov ecx, edi
nop dword [eax]
mov eax, dword [ecx + 0x318]
mov ecx, eax
mov dword [edi + 0x324], eax
test dword [ecx + 8], 0x800000
jne 0x100527c0
test byte [esi + 0x1a88], 1
mov byte [ebp - 0x5f], 0
mov byte [ebp - 0x65], 0
mov byte [ebp - 0x5e], 0
je 0x10052879
mov ecx, dword [esi + 0x1a8c]
mov edx, dword [edi + 0xa0]
test ecx, edx
mov eax, edx
setne byte [ebp - 0x5f]
test ecx, eax
je 0x10052868
movss xmm1, dword [esi + 0x1aa4]
movss xmm0, dword [esi + 0x1aa0]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x100ff02c]
jbe 0x10052868
mov eax, dword [esi + 0x1a98]
and edx, 0xfffffff1
mov ecx, dword [esi + 0x1a9c]
mov dword [edi + 0xac], eax
mov dword [edi + 0xb0], ecx
mov eax, dword [esi + 0x1aa0]
mov ecx, dword [esi + 0x1aa4]
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xa0], edx
jmp 0x10052879
push ecx
lea edx, [esi + 0x1a98]
mov ecx, edi
call fcn.10054ca0
add esp, 4
test byte [esi + 0x1a88], 2
xorps xmm1, xmm1
movss dword [ebp - 0x84], xmm1
je 0x100528e2
mov eax, dword [edi + 0xa4]
lea edx, [esi + 0x1aa8]
mov ecx, dword [esi + 0x1a90]
and eax, ecx
je 0x100528b2
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x100528b2
mov byte [ebp - 0x65], 1
jmp 0x100528ba
mov byte [ebp - 0x65], 0
test eax, eax
je 0x100528cb
movss xmm0, dword [esi + 0x1aac]
comiss xmm0, xmm1
mov byte [ebp - 0x5e], 1
ja 0x100528cf
mov byte [ebp - 0x5e], 0
push ecx
mov ecx, edi
call fcn.10054d80
movss xmm1, dword [ebp - 0x84]
add esp, 4
test byte [esi + 0x1a88], 0x80
je 0x1005291d
movss xmm0, dword [esi + 0x1ab8]
comiss xmm0, xmm1
jb 0x10052904
movss dword [edi + 0x60], xmm0
mov dword [edi + 0x68], 0
movss xmm0, dword [esi + 0x1abc]
comiss xmm0, xmm1
jb 0x1005291d
movss dword [edi + 0x64], xmm0
mov dword [edi + 0x6c], 0
test byte [esi + 0x1a88], 4
je 0x1005293a
mov eax, dword [esi + 0x1ab0]
mov ecx, dword [esi + 0x1ab4]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
jmp 0x10052950
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x80]
je 0x10052950
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
test byte [esi + 0x1a88], 8
je 0x1005297b
mov eax, dword [esi + 0x1a94]
mov cl, byte [esi + 0x1ac0]
test eax, eax
je 0x10052971
test dword [edi + 0xa8], eax
je 0x1005297b
and dword [edi + 0xa8], 0xfffffff1
mov byte [edi + 0x7d], cl
test byte [esi + 0x1a88], 0x20
je 0x1005298b
mov ecx, edi
call fcn.10054950
cmp byte [edi + 0x80], 0
je 0x100529a9
and dword [edi + 0xa0], 0xfffffff7
and dword [edi + 0xa4], 0xfffffff7
and dword [edi + 0xa8], 0xfffffff7
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x80]
je 0x100545b7
mov eax, dword [ebp - 0x6c]
lea ecx, [edi + 0xbc]
mov byte [edi + 0x7a], 1
and eax, 0x3000000
mov byte [edi + 0x83], 0
mov dword [edi + 0x22c], 0xff7fffff
mov dword [edi + 0x230], 0xff7fffff
mov dword [edi + 0x234], 0x7f7fffff
mov dword [ebp - 0xa0], eax
mov dword [edi + 0x238], 0x7f7fffff
mov eax, dword [ecx + 4]
mov dword [ebp - 0x94], eax
cmp eax, 1
jge 0x10052a38
test eax, eax
je 0x10052a1d
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [ebp - 0x94]
jmp 0x10052a22
mov edx, 8
mov eax, 1
cmp edx, eax
cmovg eax, edx
push eax
call fcn.1005b300
lea ecx, [edi + 0xbc]
mov dword [ecx], 1
mov ecx, dword [edi + 0x278]
call fcn.10062d20
cmp byte [edi + 0x354], 0
je 0x10052a95
mov ecx, dword [edi + 0x278]
push dword [edi + 0x358]
add ecx, 0xc
mov byte [edi + 0x354], 0
call fcn.1005b5d0
mov ecx, dword [edi + 0x278]
push dword [edi + 0x35c]
add ecx, 0x18
call fcn.1005b450
mov dword [edi + 0x35c], 0
mov dword [edi + 0x358], 0
cmp dword [esi + 0x1c48], 0
je 0x10052b8a
test dword [edi + 8], 0x80000
jne 0x10052b8a
cmp dword [ebp - 0x64], 0
je 0x10052b8a
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x8c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10052ae6
test dl, dl
je 0x10052ae2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10052ae6
add eax, 2
add ecx, 2
test dl, dl
jne 0x10052ac6
xor eax, eax
jmp 0x10052aeb
sbb eax, eax
or eax, 1
test eax, eax
je 0x10052b8a
mov ecx, dword [ebp - 0x8c]
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x7c], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x94], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10052b08
sub ecx, dword [ebp - 0x94]
lea eax, [ecx + 1]
mov dword [ebp - 0x88], eax
cmp edx, eax
mov eax, dword [ebp - 0x80]
jae 0x10052b6c
test eax, eax
je 0x10052b39
mov ecx, dword [0x101075c0]
test ecx, ecx
je 0x10052b39
dec dword [ecx + 0x374]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x101075c0]
add esp, 4
test eax, eax
je 0x10052b52
inc dword [eax + 0x374]
push dword [ebp - 0x88]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [ebp - 0x88]
add esp, 4
mov dword [ebp - 0x7c], ecx
jmp 0x10052b72
mov ecx, dword [ebp - 0x88]
push ecx
push dword [ebp - 0x8c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi], eax
add esp, 0xc
mov eax, dword [ebp - 0x7c]
mov dword [edi + 0x44], eax
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.100508b0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [edi + 0x98]
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm1
test eax, eax
jle 0x10052bb8
dec eax
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x9c]
test eax, eax
jle 0x10052bc9
dec eax
mov dword [edi + 0x9c], eax
cmp dword [ebp - 0x64], 0
mov al, byte [ebp - 0x65]
mov cl, byte [ebp - 0x5e]
jne 0x10052be7
test al, al
je 0x10052bdd
test cl, cl
jne 0x10052be7
mov dword [edi + 0x9c], 1
cmp byte [ebp - 0x60], 0
mov edx, dword [ebp - 0x6c]
je 0x10052c39
test edx, 0x6000000
je 0x10052c39
mov dword [edi + 0x9c], 1
test dl, 0x40
je 0x10052c39
test al, al
jne 0x10052c19
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x10052c2b
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov eax, dword [0x101075c0]
mov dword [ebp - 0x88], eax
mov dword [eax + 0x1a08], edi
movss xmm0, dword [edi + 0x270]
mov ecx, dword [edi + 0x318]
mulss xmm0, dword [eax + 0x18d8]
test ecx, ecx
je 0x10052c6c
mulss xmm0, dword [ecx + 0x270]
movss dword [eax + 0x18e8], xmm0
movss dword [eax + 0x18d4], xmm0
mov eax, edx
and eax, 0x1000000
mov dword [ebp - 0x7c], eax
je 0x10052c92
movss xmm0, dword [esi + 0x1544]
jmp 0x10052cb4
test edx, 0x6000000
je 0x10052cac
test edx, 0x8000000
jne 0x10052cac
movss xmm0, dword [esi + 0x154c]
jmp 0x10052cb4
movss xmm0, dword [esi + 0x1528]
movss dword [edi + 0x40], xmm0
mov eax, dword [esi + 0x151c]
mov ecx, dword [esi + 0x1520]
movss xmm2, dword [ebp - 0x84]
mov dword [edi + 0x34], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x38], ecx
cmp eax, 0x1000000
jne 0x10052d0b
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10052d0b
test edx, 0x400
je 0x10052cfc
movss xmm0, dword [esi + 0x1520]
jmp 0x10052cff
movaps xmm0, xmm2
mov dword [edi + 0x34], 0
movss dword [edi + 0x38], xmm0
test dl, 0x21
jne 0x10052e3c
mov edx, dword [edi + 8]
mov ecx, dword [ebp - 0x88]
test dl, 1
je 0x10052d27
movaps xmm3, xmm2
jmp 0x10052d59
movss xmm0, dword [edi + 0x270]
mov eax, dword [edi + 0x318]
mulss xmm0, dword [ecx + 0x18d8]
test eax, eax
je 0x10052d49
mulss xmm0, dword [eax + 0x270]
movss xmm3, dword [ecx + 0x1554]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm5, dword [edi + 0xc]
movaps xmm4, xmm5
movss xmm6, dword [edi + 0x10]
addss xmm4, dword [edi + 0x1c]
addss xmm3, dword [edi + 0x10]
cmp dword [esi + 0x1a0c], edi
jne 0x10052e09
cmp dword [esi + 0x1a28], 0
jne 0x10052e09
cmp dword [esi + 0x1a30], 0
jne 0x10052e09
mov eax, dword [ecx + 0x1a08]
movss xmm1, dword [ecx + 0x1570]
movss xmm0, dword [ecx + 0x1574]
maxss xmm5, dword [eax + 0x22c]
minss xmm4, dword [eax + 0x234]
maxss xmm6, dword [eax + 0x230]
minss xmm3, dword [eax + 0x238]
subss xmm5, xmm1
addss xmm4, xmm1
movss xmm1, dword [ecx + 0xe8]
subss xmm6, xmm0
addss xmm3, xmm0
comiss xmm1, xmm5
jb 0x10052e09
movss xmm0, dword [ecx + 0xec]
comiss xmm0, xmm6
jb 0x10052e09
comiss xmm4, xmm1
jbe 0x10052e09
comiss xmm3, xmm0
jbe 0x10052e09
cmp byte [esi + 0x3e5], 0
je 0x10052e09
mov byte [edi + 0x7e], 1
cmp byte [edi + 0x7e], 0
je 0x10052e40
cmp byte [edi + 0x7d], 0
sete al
mov byte [edi + 0x7d], al
test edx, 0x100
jne 0x10052e33
comiss xmm2, dword [ecx + 0x2e04]
jb 0x10052e33
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2e04], eax
mov ecx, edi
call fcn.10054950
jmp 0x10052e40
mov byte [edi + 0x7d], 0
lea eax, [edi + 0x24]
mov byte [edi + 0x7e], 0
push eax
mov edx, edi
lea ecx, [ebp - 0x38]
call fcn.10050960
mov al, byte [ebp - 0x6d]
add esp, 4
mov byte [ebp - 0x5d], al
mov eax, dword [ebp - 0x6c]
and eax, 0x40
mov dword [ebp - 0x94], eax
je 0x10052ea0
cmp byte [edi + 0x7d], 0
jne 0x10052ea0
cmp byte [ebp - 0x65], 0
jne 0x10052e83
movss xmm0, dword [ebp - 0x38]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x6d], 1
cmp byte [ebp - 0x5e], 0
jne 0x10052f45
movss xmm0, dword [ebp - 0x34]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x5d], 1
jmp 0x10052f45
mov al, byte [edi + 0x90]
test al, al
jg 0x10052eb7
cmp byte [edi + 0x91], 0
jle 0x10052f45
cmp byte [ebp - 0x65], 0
jne 0x10052ee4
test al, al
jle 0x10052ee4
cmp byte [edi + 0x93], 0
je 0x10052ed6
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [ebp - 0x38]
jmp 0x10052edb
movss xmm0, dword [ebp - 0x38]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x6d], 1
cmp byte [ebp - 0x5e], 0
jne 0x10052f16
cmp byte [edi + 0x91], 0
jle 0x10052f16
cmp byte [edi + 0x93], 0
je 0x10052f08
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0x34]
jmp 0x10052f0d
movss xmm0, dword [ebp - 0x34]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x5d], 1
cmp byte [edi + 0x7d], 0
jne 0x10052f45
test dword [edi + 8], 0x100
mov ecx, dword [0x101075c0]
jne 0x10052f45
movss xmm0, dword [ebp - 0x84]
comiss xmm0, dword [ecx + 0x2e04]
jb 0x10052f45
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2e04], eax
push dword [edi + 0x20]
mov edx, edi
lea ecx, [ebp - 0xb8]
push dword [edi + 0x1c]
call fcn.100506a0
add esp, 8
cmp byte [edi + 0x7d], 0
movss xmm3, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x1c], xmm3
movss dword [edi + 0x20], xmm0
je 0x10052fe6
cmp dword [ebp - 0x7c], 0
jne 0x10052fe6
test byte [edi + 8], 1
mov edx, dword [0x101075c0]
je 0x10052f90
movss xmm2, dword [ebp - 0x84]
jmp 0x10052fc2
movss xmm0, dword [edx + 0x18d8]
mov eax, dword [edi + 0x318]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x10052fb2
mulss xmm0, dword [eax + 0x270]
movss xmm2, dword [edx + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm2, dword [edi + 0x10]
addss xmm0, xmm3
subss xmm2, dword [edi + 0x10]
subss xmm0, dword [edi + 0xc]
movss dword [ebp - 0x24], xmm2
movss dword [ebp - 0x28], xmm0
jmp 0x10052ff8
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov edx, dword [0x101075c0]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x28]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x18], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 0x14], eax
test cl, 1
je 0x1005301b
movss xmm0, dword [ebp - 0x84]
movaps xmm1, xmm0
jmp 0x10053055
movss xmm0, dword [edx + 0x18d8]
mov eax, dword [edi + 0x318]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x1005303d
mulss xmm0, dword [eax + 0x270]
movss xmm1, dword [edx + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x84]
test ecx, 0x400
je 0x10053099
movss xmm2, dword [edx + 0x18d8]
mov eax, dword [edi + 0x318]
mulss xmm2, dword [edi + 0x270]
test eax, eax
je 0x1005307f
mulss xmm2, dword [eax + 0x270]
movss xmm0, dword [edx + 0x1554]
addss xmm2, dword [edi + 0x150]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x1005309c
movaps xmm2, xmm0
cmp byte [ebp - 0x60], 0
addss xmm2, xmm1
movss dword [ebp - 0x80], xmm2
je 0x100530ef
mov eax, dword [ebp - 0x6c]
and eax, 0xc000000
mov dword [edi + 0x94], 0xffffffff
cmp eax, 0x4000000
jne 0x100530ef
cmp byte [ebp - 0x5f], 0
jne 0x100530ef
mov eax, dword [esi + 0x1b2c]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1b34]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
cmp dword [ebp - 0x7c], 0
je 0x1005318d
mov edx, dword [ebp - 0x90]
add edx, 0x180
mov dword [ebp - 0x88], edx
mov ax, word [edx]
mov word [edi + 0x88], ax
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x1005314f
test ecx, ecx
je 0x10053131
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x88]
sar eax, 1
add eax, ecx
jmp 0x10053136
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1005b300
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x88]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov edx, dword [ebp - 0x74]
mov al, byte [ebp - 0x5f]
test edx, edx
jne 0x10053193
test al, al
jne 0x10053193
cmp dword [ebp - 0xa0], 0x3000000
je 0x10053193
mov ecx, dword [ebp - 0x90]
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
jmp 0x10053190
mov edx, dword [ebp - 0x74]
mov al, byte [ebp - 0x5f]
movss xmm7, dword [edi + 0xac]
ucomiss xmm7, dword [0x100ff544]
lahf
test ah, 0x44
jnp 0x1005329e
cmp dword [edi + 0x9c], 0
jne 0x1005329e
movss xmm1, dword [edi + 0xb4]
movss xmm5, dword [edi + 0x20]
movss xmm2, dword [edi + 0xb0]
and dword [edi + 0xa0], 0xfffffff1
mov dword [edi + 0xac], 0x7f7fffff
mov dword [edi + 0xb0], 0x7f7fffff
mulss xmm1, dword [edi + 0x1c]
mulss xmm5, dword [edi + 0xb8]
movss xmm4, dword [edi + 0xc]
subss xmm7, xmm1
movss xmm6, dword [edi + 0x10]
subss xmm2, xmm5
cvttss2si eax, xmm7
movd xmm7, eax
cvttss2si eax, xmm2
cvtdq2ps xmm7, xmm7
movd xmm1, eax
movss dword [edi + 0xc], xmm7
subss xmm7, xmm4
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm7
movss dword [edi + 0x10], xmm1
subss xmm1, xmm6
addss xmm0, dword [edi + 0xc8]
movss dword [edi + 0xc8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0xcc]
movss dword [edi + 0xcc], xmm0
movaps xmm0, xmm7
addss xmm0, dword [edi + 0xe0]
addss xmm7, dword [edi + 0xd8]
movss dword [edi + 0xe0], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0xe4]
addss xmm1, dword [edi + 0xdc]
movss dword [edi + 0xd8], xmm7
movss dword [edi + 0xe4], xmm0
movss dword [edi + 0xdc], xmm1
jmp 0x100532f2
mov ecx, dword [ebp - 0x6c]
test ecx, 0x10000000
jne 0x100532d2
test edx, edx
je 0x100532ba
test al, al
jne 0x100532ba
cmp dword [ebp - 0x9c], 0
jg 0x100532d2
test ecx, 0x2000000
je 0x100532f5
test al, al
jne 0x100532f5
cmp dword [ebp - 0xa0], 0x3000000
je 0x100532f5
mov edx, edi
lea ecx, [ebp - 0xb0]
call fcn.10056ca0
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
mov ecx, dword [ebp - 0x6c]
cmp byte [ebp - 0x5f], 0
mov eax, dword [0x101075c0]
movss xmm2, dword [esi + 0x15b4]
movss xmm1, dword [esi + 0x15b0]
maxss xmm2, dword [esi + 0x15bc]
movss xmm0, dword [eax + 0x10]
movss xmm3, dword [eax + 0x14]
movaps xmm6, xmm0
maxss xmm1, dword [esi + 0x15b8]
movss xmm4, dword [ebp - 0x84]
movaps xmm5, xmm3
subss xmm5, xmm2
movss dword [ebp - 0x48], xmm4
addss xmm2, xmm4
movss dword [ebp - 0x44], xmm4
movss dword [ebp - 0x9c], xmm0
subss xmm6, xmm1
movss dword [ebp - 0x40], xmm0
addss xmm1, xmm4
movss dword [ebp - 0x98], xmm3
movss dword [ebp - 0x3c], xmm3
movss dword [ebp - 0x58], xmm2
movss dword [ebp - 0x50], xmm5
movss dword [ebp - 0x54], xmm6
movss dword [ebp - 0x5c], xmm1
jne 0x1005343c
cmp dword [ebp - 0x7c], 0
jne 0x1005343c
cmp byte [edi + 0x90], 0
jg 0x1005343c
cmp byte [edi + 0x91], 0
jg 0x1005343c
subss xmm0, xmm4
comiss xmm0, xmm4
jbe 0x1005343c
movaps xmm0, xmm3
subss xmm0, xmm4
comiss xmm0, xmm4
jbe 0x1005343c
cmp byte [eax + 0xb4], 0
movss xmm3, dword [edi + 0x18]
je 0x10053407
test byte [edi + 8], 1
jne 0x10053407
movss xmm0, dword [eax + 0x18d8]
mov edx, dword [edi + 0x318]
mulss xmm0, dword [edi + 0x270]
test edx, edx
je 0x100533f7
mulss xmm0, dword [edx + 0x270]
movss xmm3, dword [eax + 0x1554]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [edi + 0x10]
subss xmm2, xmm3
subss xmm1, dword [edi + 0x14]
comiss xmm2, xmm0
ja 0x10053421
movaps xmm2, xmm5
minss xmm2, xmm0
movss xmm0, dword [edi + 0xc]
comiss xmm1, xmm0
ja 0x10053432
movaps xmm1, xmm6
minss xmm1, xmm0
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm2
cmp dword [ebp - 0x7c], 0
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm0
je 0x1005346e
movss xmm2, dword [esi + 0x1540]
jmp 0x1005348e
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10053486
movss xmm2, dword [esi + 0x1548]
jmp 0x1005348e
movss xmm2, dword [esi + 0x1524]
xor dl, dl
movss dword [edi + 0x3c], xmm2
mov dword [ebp - 0x88], edx
cmp byte [ebp - 0x60], dl
je 0x100534cf
test ecx, 0x1000
jne 0x100534cf
cmp dword [ebp - 0x74], 0
je 0x100534b7
mov byte [ebp - 0x88], 1
jmp 0x100534cf
cmp dword [ebp - 0xa0], 0
mov eax, 1
movzx edx, dl
cmove edx, eax
mov dword [ebp - 0x88], edx
movss xmm1, dword [esi + 0x18d4]
xorps xmm0, xmm0
addss xmm2, dword [0x100ff0d0]
movaps xmmword [ebp - 0x20], xmm0
xor eax, eax
cmp byte [esi + 0xb3], al
movaps xmm0, xmm1
mulss xmm1, dword [0x100ff080]
setne al
mov dword [ebp - 0x4c], 0xffffffff
mulss xmm0, dword [0x100ff0f4]
inc eax
cmp byte [edi + 0x7d], 0
addss xmm1, xmm2
mov dword [ebp - 0x24], eax
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x1005354d
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
lea edx, [ebp - 0x38]
call fcn.10050cf0
movss xmm4, dword [ebp - 0x84]
add esp, 0x10
test al, al
je 0x1005354d
mov cl, 1
mov dl, cl
jmp 0x10053553
mov dl, byte [ebp - 0x6d]
mov cl, byte [ebp - 0x5d]
cmp byte [edi + 0x7d], 0
mov al, byte [ebp - 0x4c]
mov byte [edi + 0x84], al
jne 0x100536aa
cmp dword [ebp - 0x64], 0
lea eax, [ebp - 0xa8]
movss xmm2, dword [edi + 0x204]
movss xmm3, dword [edi + 0x208]
subss xmm2, dword [edi + 0x1fc]
subss xmm3, dword [edi + 0x200]
movss xmm5, dword [edi + 0x20]
movss xmm6, dword [edi + 0x1c]
subss xmm5, dword [ebp - 0x80]
addss xmm2, dword [edi + 0x70]
addss xmm3, dword [edi + 0x74]
jne 0x100535c1
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
jmp 0x100535ed
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 - 0xa8], xmm0
movss dword [ebp - 0xa4], xmm1
movss xmm7, dword [eax]
movss xmm1, dword [eax + 4]
test dl, dl
jne 0x100535fd
movaps xmm6, xmm2
test cl, cl
jne 0x10053604
movaps xmm5, xmm3
mov ecx, dword [ebp - 0x6c]
test ecx, 0x4000
jne 0x1005361d
comiss xmm1, xmm5
jbe 0x10053619
test cl, 8
je 0x1005361d
xor dl, dl
jmp 0x1005361f
mov dl, 1
mov eax, dword [ebp - 0x78]
add eax, 0x1580
mov byte [edi + 0x79], dl
test ecx, 0x8000
jne 0x10053668
mov dword [ebp - 0x64], eax
test dl, dl
je 0x1005363f
movss xmm0, dword [eax]
jmp 0x10053642
movaps xmm0, xmm4
subss xmm6, xmm0
comiss xmm7, xmm6
jbe 0x10053659
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
je 0x10053665
mov eax, dword [ebp - 0x64]
movaps xmm1, xmm4
mov byte [edi + 0x78], 0
jmp 0x10053687
mov eax, dword [ebp - 0x64]
mov byte [edi + 0x78], 1
test dl, dl
jne 0x10053683
comiss xmm1, xmm5
jbe 0x1005367e
test cl, 8
jne 0x1005367e
mov dl, 1
jmp 0x10053680
xor dl, dl
mov byte [edi + 0x79], dl
movss xmm1, dword [eax]
test dl, dl
je 0x1005369b
movss xmm0, dword [eax]
movss dword [edi + 0x70], xmm0
movss dword [edi + 0x74], xmm1
jmp 0x100536ad
movaps xmm0, xmm4
movss dword [edi + 0x74], xmm1
movss dword [edi + 0x70], xmm0
jmp 0x100536ad
mov ecx, dword [ebp - 0x6c]
mov eax, ecx
and eax, 0x5000000
mov dword [ebp - 0xa4], eax
cmp eax, 0x1000000
jne 0x100536da
cmp dword [ebp - 0xa0], 0x3000000
je 0x100536da
mov eax, dword [ebp - 0x90]
add eax, 0x22c
jmp 0x100536dd
lea eax, [ebp - 0x48]
test byte [edi + 8], 1
movss xmm0, dword [edi + 0xc]
movups xmm5, xmmword [eax]
movss xmm7, dword [edi + 0x10]
movaps xmm3, xmm0
addss xmm3, dword [edi + 0x14]
movaps xmm6, xmm7
movaps xmmword [ebp - 0xe0], xmm5
addss xmm6, dword [edi + 0x18]
movss dword [ebp - 0x64], xmm0
je 0x10053711
movaps xmm2, xmm4
jmp 0x1005374e
mov edx, dword [0x101075c0]
mov eax, dword [edi + 0x318]
movss xmm0, dword [edx + 0x18d8]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x10053739
mulss xmm0, dword [eax + 0x270]
movss xmm2, dword [edx + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x64]
movaps xmm1, xmm0
movss dword [ebp - 0xd0], xmm0
addss xmm1, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x10]
addss xmm2, xmm7
movss dword [ebp - 0xcc], xmm0
mov eax, ecx
movss xmm0, dword [ebp - 0x64]
and eax, 0x401
mov edx, dword [ebp - 0x78]
movss dword [ebp - 0xc8], xmm1
movss dword [ebp - 0xc4], xmm2
movaps xmm2, xmm5
movss dword [edi + 0x1ec], xmm0
movss dword [edi + 0x1f0], xmm7
movss dword [edi + 0x1f4], xmm3
movss dword [edi + 0x1f8], xmm6
movaps xmm6, xmm5
movss xmm0, dword [edi + 0x1ec]
shufps xmm6, xmm5, 0x55
maxss xmm0, xmm5
shufps xmm2, xmm5, 0xff
maxss xmm7, xmm6
movups xmmword [ebp - 0x110], xmm6
movups xmmword [ebp - 0x100], xmm2
movss dword [edi + 0x1ec], xmm0
movaps xmm0, xmm5
movss dword [edi + 0x1f0], xmm7
movss xmm1, dword [edi + 0x1f4]
shufps xmm0, xmm5, 0xaa
minss xmm1, xmm0
movups xmmword [ebp - 0xf0], xmm0
movss xmm0, dword [edi + 0x1f8]
minss xmm0, xmm2
movss dword [edi + 0x1f4], xmm1
movss dword [edi + 0x1f8], xmm0
movss xmm7, dword [edi + 0x10]
movss xmm1, dword [edi + 0xc]
movaps xmm0, xmm7
movss dword [edi + 0x1fc], xmm1
addss xmm0, dword [ebp - 0x80]
addss xmm7, dword [edi + 0x18]
movss dword [ebp - 0x74], xmm0
movss dword [edi + 0x200], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x14]
subss xmm7, dword [edi + 0x74]
subss xmm0, dword [edi + 0x70]
movss dword [edi + 0x208], xmm7
movss dword [ebp - 0xac], xmm0
movss dword [edi + 0x204], xmm0
cmp eax, 1
jne 0x10053882
movss xmm0, dword [edi + 0x40]
jmp 0x1005388a
movss xmm0, dword [edx + 0x155c]
movss xmm2, dword [0x100ff098]
movss dword [ebp - 0x64], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x34]
mulss xmm0, xmm2
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 + 0x20c], xmm0
movss xmm0, dword [ebp - 0x74]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0x64]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x210], xmm0
movss xmm0, dword [ebp - 0xac]
addss xmm0, xmm2
subss xmm0, xmm1
cvttss2si ecx, xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
movups xmm7, xmmword [ebp - 0x100]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x214], xmm0
movd xmm0, ecx
lea ecx, [edi + 0x20c]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x218], xmm0
movss xmm0, dword [ecx + 4]
comiss xmm6, xmm0
jbe 0x1005394c
movaps xmm1, xmm6
jmp 0x10053953
movaps xmm1, xmm7
minss xmm1, xmm0
movups xmm3, xmmword [ebp - 0xf0]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x1005396b
movaps xmm0, xmm5
jmp 0x10053972
movaps xmm0, xmm3
minss xmm0, xmm2
movss dword [ecx], xmm0
movss dword [ecx + 4], xmm1
movss xmm0, dword [ecx + 0xc]
comiss xmm6, xmm0
jbe 0x1005398a
movaps xmm1, xmm6
jmp 0x10053991
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm2, dword [ecx + 8]
comiss xmm5, xmm2
jbe 0x100539a0
movaps xmm0, xmm5
jmp 0x100539a7
movaps xmm0, xmm3
minss xmm0, xmm2
movss dword [ecx + 8], xmm0
movss dword [ecx + 0xc], xmm1
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm4
jbe 0x100539ce
test dword [ebp - 0x6c], 0x2000040
jne 0x100539ce
mulss xmm0, dword [0x100ff0a4]
jmp 0x100539de
movss xmm0, dword [edx + 0x18d4]
mulss xmm0, dword [0x100ff320]
cvttss2si eax, xmm0
push 1
mov edx, edi
lea ecx, [ebp - 0xb8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x254], xmm0
movss xmm1, dword [edi + 0x34]
movss xmm0, dword [edi + 0x204]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1fc]
addss xmm1, dword [edi + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x38]
addss xmm1, xmm1
movss dword [edi + 0x58], xmm0
movss xmm0, dword [edi + 0x208]
subss xmm0, dword [edi + 0x200]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
movss dword [edi + 0x5c], xmm0
call fcn.10055950
mov ecx, dword [edi + 0x278]
add esp, 4
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [ebp - 0x78]
movss dword [edi + 0x50], xmm0
movss dword [edi + 0x54], xmm1
mov dword [edi + 0x60], 0x7f7fffff
mov dword [edi + 0x64], 0x7f7fffff
mov eax, dword [eax + 0x18d0]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0xb4], ecx
add ecx, 0x48
mov dword [ebp - 0x64], ecx
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10053adc
inc edx
mov dword [ebp - 0xac], edx
test eax, eax
je 0x10053ac9
cdq
sub eax, edx
mov edx, dword [ebp - 0xac]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10053ace
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1005b300
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x74]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x74]
inc dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 0x70], eax
call fcn.100630d0
mov ecx, dword [0x101075c0]
movaps xmm0, xmmword [ebp - 0xe0]
comiss xmm0, dword [ebp - 0xf0]
mov eax, dword [ecx + 0x1a08]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x1a08]
mov dword [ebp - 0x74], eax
movaps xmmword [ebp - 0xc0], xmm0
mov eax, dword [eax + 0x278]
mov dword [ebp - 0x64], eax
jb 0x10053b4c
movss dword [ebp - 0xb8], xmm0
movaps xmm0, xmmword [ebp - 0xc0]
movaps xmmword [ebp - 0xe0], xmm0
movups xmm0, xmmword [ebp - 0x110]
comiss xmm0, dword [ebp - 0x100]
jb 0x10053b72
movss dword [ebp - 0xb4], xmm0
movaps xmm0, xmmword [ebp - 0xc0]
movaps xmmword [ebp - 0xe0], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xac], ecx
cmp edx, eax
jne 0x10053bb6
inc edx
mov dword [ebp - 0xb4], edx
test eax, eax
je 0x10053ba0
cdq
sub eax, edx
mov edx, dword [ebp - 0xb4]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10053ba5
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10069590
mov ecx, dword [ebp - 0xac]
mov eax, dword [ecx]
movaps xmm0, xmmword [ebp - 0xe0]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0x64]
movups xmmword [ecx + 0x60], xmm0
call fcn.10063030
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x278]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
test dword [ebp - 0x6c], 0x8000000
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edx + 0x22c], eax
movss dword [edx + 0x230], xmm0
movss dword [edx + 0x234], xmm1
movss dword [edx + 0x238], xmm2
je 0x10053c3a
call fcn.100561d0
cmp edi, eax
jne 0x10053c3a
cmp dword [edi + 0x9c], 0
jg 0x10053c3a
mov dl, 1
jmp 0x10053c3c
xor dl, dl
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x1c44]
test ecx, ecx
je 0x10053c55
cmp edi, dword [ecx + 0x31c]
jne 0x10053c55
mov cl, 1
jmp 0x10053c57
xor cl, cl
mov byte [ebp - 0x5d], cl
test dl, dl
jne 0x10053c66
test cl, cl
je 0x10053d58
movss xmm1, dword [eax + 0x1cb8]
push 0xf
push ecx
movzx ecx, dl
add ecx, 0x2e
mov dword [esp], 0
call fcn.1004bf50
mov ecx, dword [edi + 0x278]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10064c30
cmp byte [ebp - 0x5d], 0
mov eax, dword [ebp - 0x78]
je 0x10053d58
cmp edi, dword [eax + 0x1c44]
jne 0x10053d58
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [eax + 0x18d4]
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 - 0x84]
comiss xmm0, xmm1
movss dword [ebp - 0x48], xmm1
movss dword [ebp - 0x44], xmm4
movss dword [ebp - 0x40], xmm2
movss dword [ebp - 0x3c], xmm3
jb 0x10053d1a
comiss xmm0, xmm4
jb 0x10053d1a
comiss xmm2, dword [ebp - 0x9c]
jb 0x10053d1a
comiss xmm3, dword [ebp - 0x98]
jae 0x10053d58
movss xmm1, dword [eax + 0x1c50]
mulss xmm1, dword [0x100ff084]
push 0xf
movss xmm0, dword [eax + 0x1524]
push ecx
mov ecx, 0x2d
movss dword [esp], xmm0
call fcn.1004bf50
mov ecx, dword [edi + 0x278]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10064c30
cmp dword [ebp - 0xa4], 0x1000000
mov byte [ebp - 0x5d], 0
jne 0x10053da5
cmp dword [ebp - 0xa0], 0x3000000
je 0x10053da5
mov edx, dword [edi + 0x278]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x10053da5
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], 0
jle 0x10053da5
mov byte [ebp - 0x5d], 1
mov dword [edi + 0x278], eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x1c40]
test ecx, ecx
jne 0x10053db8
mov ecx, dword [eax + 0x1b38]
cmp byte [ebp - 0x88], 0
jne 0x10053dd9
test ecx, ecx
je 0x10053dd3
mov eax, dword [edi + 0x320]
cmp eax, dword [ecx + 0x320]
je 0x10053dd9
mov byte [ebp - 0x64], 0
jmp 0x10053ddd
mov byte [ebp - 0x64], 1
movd xmm0, esi
lea eax, [ebp - 0x20]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [ebp - 0xd0]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x64]
call fcn.10051a20
add esp, 0x10
cmp byte [ebp - 0x5d], 0
je 0x10053e16
lea eax, [edi + 0x27c]
mov dword [edi + 0x278], eax
mov esi, dword [ebp - 0x78]
cmp dword [esi + 0x1c44], edi
jne 0x10053f14
movss xmm3, dword [edi + 0xc]
movss xmm2, dword [edi + 0x10]
movaps xmm5, xmm3
movss xmm1, dword [esi + 0x18d4]
movaps xmm4, xmm2
addss xmm3, dword [edi + 0x14]
addss xmm2, dword [edi + 0x18]
movss xmm7, dword [edi + 0x3c]
subss xmm5, xmm1
movss xmm0, dword [ebp - 0x84]
subss xmm4, xmm1
movaps xmm6, xmm7
maxss xmm6, dword [esi + 0x1524]
addss xmm3, xmm1
comiss xmm0, xmm5
addss xmm2, xmm1
movss dword [ebp - 0x30], xmm5
movss dword [ebp - 0x2c], xmm4
movss dword [ebp - 0x28], xmm3
movss dword [ebp - 0x24], xmm2
jb 0x10053ed8
comiss xmm0, xmm4
jb 0x10053ed8
comiss xmm3, dword [ebp - 0x9c]
jb 0x10053ed8
comiss xmm2, dword [ebp - 0x98]
jb 0x10053ed8
xorps xmm1, xmmword [0x10100890]
movaps xmm6, xmm7
subss xmm1, dword [0x100ff0d0]
movaps xmm0, xmm1
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm0, xmm3
addss xmm1, xmm2
movss dword [ebp - 0x30], xmm5
movss dword [ebp - 0x2c], xmm4
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x24], xmm1
movss xmm1, dword [esi + 0x1c50]
push ecx
mov dword [esp], 0x40400000
mov ecx, 0x2d
push 0xffffffffffffffff
sub esp, 8
movss dword [esp + 4], xmm6
call fcn.1004bf50
mov ecx, dword [edi + 0x278]
add esp, 4
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10064b40
mov ecx, dword [ebp - 0x6c]
mov edx, ecx
movss xmm7, dword [edi + 0x2c]
movss xmm4, dword [ebp - 0x84]
shr edx, 3
not dl
and dl, 1
ucomiss xmm7, xmm4
lahf
test ah, 0x44
jnp 0x10053f41
movss dword [ebp - 0x98], xmm7
jmp 0x10053f7c
movss xmm0, dword [edi + 0x34]
mov eax, ecx
movss xmm1, dword [edi + 0x14]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x70]
cmp eax, 0x800
jne 0x10053f6d
movss xmm0, dword [edi + 0x24]
jmp 0x10053f70
movaps xmm0, xmm4
maxss xmm0, xmm1
movss dword [ebp - 0x98], xmm0
movss xmm5, dword [edi + 0x30]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x10053f91
movss dword [ebp - 0x74], xmm5
jmp 0x10053fc4
movss xmm0, dword [edi + 0x38]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ebp - 0x80]
subss xmm1, dword [edi + 0x74]
test dl, dl
je 0x10053fb8
movss xmm0, dword [edi + 0x28]
jmp 0x10053fbb
movaps xmm0, xmm4
maxss xmm0, xmm1
movss dword [ebp - 0x74], xmm0
movss xmm1, dword [edi + 0x34]
movss xmm0, dword [edi + 0x1fc]
subss xmm0, dword [edi + 0x50]
movss xmm6, dword [edi + 0x38]
movss dword [ebp - 0x24], xmm1
maxss xmm1, dword [edi + 0x40]
movss xmm2, dword [edi + 0x10]
ucomiss xmm7, xmm4
addss xmm1, xmm0
movss xmm0, dword [edi + 0x54]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [edi + 0x200]
subss xmm0, dword [ebp - 0x64]
subss xmm2, dword [ebp - 0x64]
cvttss2si eax, xmm1
movaps xmm1, xmm6
addss xmm2, xmm6
maxss xmm1, dword [edi + 0x40]
movd xmm3, eax
addss xmm2, dword [ebp - 0x80]
addss xmm1, xmm0
cvtdq2ps xmm3, xmm3
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x98]
addss xmm1, xmm3
movss dword [edi + 0x21c], xmm3
movss dword [edi + 0x240], xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x224], xmm1
movss xmm1, dword [ebp - 0x74]
addss xmm1, xmm0
movss dword [edi + 0x220], xmm0
movss xmm0, dword [edi + 0xc]
movaps xmm3, xmm0
movss dword [ebp - 0xa4], xmm0
subss xmm3, dword [edi + 0x50]
lahf
movss dword [edi + 0x228], xmm1
movss xmm1, dword [ebp - 0x24]
addss xmm3, xmm1
movss dword [edi + 0x23c], xmm3
test ah, 0x44
jp 0x100540b6
movss xmm7, dword [edi + 0x14]
movaps xmm0, xmm1
addss xmm0, xmm1
subss xmm7, xmm0
subss xmm7, dword [edi + 0x70]
ucomiss xmm5, xmm4
addss xmm7, xmm3
lahf
movss dword [edi + 0x244], xmm7
test ah, 0x44
jp 0x100540e5
movss xmm5, dword [edi + 0x18]
movaps xmm0, xmm6
addss xmm0, xmm6
subss xmm5, xmm0
subss xmm5, dword [ebp - 0x80]
subss xmm5, dword [edi + 0x74]
cmp dword [ebp - 0x7c], 0
addss xmm5, xmm2
addss xmm6, dword [ebp - 0x80]
movaps xmm0, xmm1
mov dword [edi + 0x108], 0
addss xmm0, xmm4
movss dword [edi + 0x248], xmm5
subss xmm6, dword [ebp - 0x64]
subss xmm0, dword [edi + 0x50]
movss dword [edi + 0x100], xmm0
addss xmm0, xmm4
mov dword [edi + 0x104], 0
addss xmm6, dword [edi + 0x10]
addss xmm0, dword [ebp - 0xa4]
movss dword [edi + 0xd8], xmm0
movss dword [edi + 0xdc], xmm6
movss dword [edi + 0xc8], xmm0
movss dword [edi + 0xcc], xmm6
movss dword [edi + 0xd0], xmm0
movss dword [edi + 0xd4], xmm6
movss dword [edi + 0xe0], xmm0
movss dword [edi + 0xe4], xmm6
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 1
mov eax, dword [edi + 0x140]
mov dword [edi + 0x13c], eax
mov dword [edi + 0x140], 0
je 0x100541ee
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x144]
jmp 0x100541f0
xor eax, eax
mov dword [edi + 0x144], eax
lea ecx, [edi + 0x16c]
mov byte [edi + 0x148], 0
movss xmm0, dword [edi + 0x5c]
comiss xmm0, xmm4
seta al
cmp byte [ebp - 0x60], 0
mov byte [edi + 0x149], al
mov byte [edi + 0x14a], 0
maxss xmm1, dword [esi + 0x1560]
maxss xmm1, dword [esi + 0x1ae0]
movss dword [edi + 0x14c], xmm1
mov eax, dword [esi + 0x1ae4]
mov dword [edi + 0x150], eax
movss xmm0, dword [esi + 0x1560]
mov dword [edi + 0x15c], 0
mov dword [edi + 0x158], 0
movss dword [edi + 0x154], xmm0
je 0x10054277
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
xor edx, edx
nop dword [eax]
test edx, edx
je 0x100542a5
movss xmm0, dword [ecx]
comiss xmm0, xmm4
jbe 0x100542a5
movss xmm0, dword [edi + 0x154]
addss xmm0, dword [edi + 0x158]
movss dword [edi + 0x158], xmm0
cvttss2si eax, dword [edi + 0x158]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0xc], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [edi + 0x158]
movss dword [edi + 0x158], xmm0
mov dword [ecx], 0
add ecx, 4
cmp edx, 3
jl 0x10054280
mov dword [edi + 0x178], 0
lea eax, [edi + 0x180]
mov dword [edi + 0x17c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1005431f
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 + 0x180]
call fcn.1005b300
lea eax, [edi + 0x180]
mov dword [eax], 0
lea eax, [edi + 0x258]
mov dword [edi + 0x18c], eax
mov eax, dword [ebp - 0x90]
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 1
test eax, eax
je 0x10054357
mov eax, dword [eax + 0x194]
jmp 0x1005435c
mov eax, 1
mov dword [edi + 0x198], eax
mov dword [edi + 0x1a0], 0xffffffff
mov dword [edi + 0x19c], 0xffffffff
mov eax, dword [edi + 0x254]
mov dword [edi + 0x1a8], eax
lea eax, [edi + 0x1b0]
mov dword [edi + 0x1ac], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100543bb
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 + 0x1b0]
call fcn.1005b300
lea eax, [edi + 0x1b0]
mov dword [eax], 0
lea eax, [edi + 0x1bc]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100543f0
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 + 0x1bc]
call fcn.1005b300
lea eax, [edi + 0x1bc]
lea ecx, [edi + 0x1c8]
mov dword [eax], 0
mov eax, dword [ecx + 4]
test eax, eax
jns 0x1005441e
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, dword [ecx + 4]
test eax, eax
cmovg edx, eax
push edx
call fcn.1005b300
lea ecx, [edi + 0x1c8]
mov dword [ecx], 0
lea ecx, [edi + 0x1d4]
push 0
call fcn.1005ae30
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x10054497
mov eax, dword [eax + 0x1a4]
lea ecx, [edi + 0x1b0]
mov dword [edi + 0x1a4], eax
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10054481
inc edx
mov dword [ebp - 0x24], edx
test eax, eax
je 0x1005446b
cdq
sub eax, edx
mov edx, dword [ebp - 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10054470
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1005b300
lea ecx, [edi + 0x1b0]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [edi + 0x1a4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0x1b0]
jmp 0x100544a1
mov dword [edi + 0x1a4], 0
mov cl, byte [edi + 0x90]
test cl, cl
jle 0x100544b3
dec cl
mov byte [edi + 0x90], cl
mov cl, byte [edi + 0x91]
test cl, cl
jle 0x100544c5
dec cl
mov byte [edi + 0x91], cl
cmp byte [ebp - 0x88], 0
je 0x100544de
mov ecx, edi
call fcn.10054950
xor dl, dl
mov ecx, edi
call fcn.100578c0
test byte [ebp - 0x6c], 1
jne 0x100544fb
push ecx
push dword [ebp - 0x8c]
lea edx, [ebp - 0xd0]
mov ecx, edi
call fcn.10051fc0
add esp, 8
mov eax, dword [edi + 0x48]
movss xmm2, dword [ebp - 0xd0]
movss xmm3, dword [ebp - 0xc8]
movss xmm4, dword [ebp - 0xc4]
mov dword [edi + 0x10c], eax
mov eax, dword [0x101075c0]
movss xmm1, dword [eax + 0x1570]
movss xmm0, dword [eax + 0x1574]
subss xmm2, xmm1
movss xmm5, dword [eax + 0xe8]
addss xmm3, xmm1
movss xmm1, dword [ebp - 0xcc]
addss xmm4, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x10054574
movss xmm0, dword [eax + 0xec]
comiss xmm0, xmm1
jb 0x10054574
comiss xmm3, xmm5
jbe 0x10054574
comiss xmm4, xmm0
jbe 0x10054574
mov eax, 1
jmp 0x10054576
xor eax, eax
movups xmm0, xmmword [ebp - 0xd0]
mov dword [edi + 0x110], eax
lea edx, [edi + 0x214]
push 1
lea ecx, [edi + 0x20c]
movups xmmword [edi + 0x114], xmm0
call fcn.1004f770
lea ecx, [edi + 0x91]
mov byte [edi + 0x7c], 0
lea edx, [edi + 0x90]
mov dword [ebp - 0x64], ecx
mov eax, edx
jmp 0x10054647
mov eax, dword [0x101075c0]
movss xmm0, dword [eax + 0x18d8]
mov dword [eax + 0x1a08], edi
mov ecx, dword [edi + 0x318]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x100545e4
mulss xmm0, dword [ecx + 0x270]
movss dword [eax + 0x18e8], xmm0
lea edx, [edi + 0x214]
movss dword [eax + 0x18d4], xmm0
lea ecx, [edi + 0x20c]
mov eax, dword [ebp - 0x6c]
mov esi, eax
and eax, 0x40
and esi, 0x1000000
mov dword [ebp - 0x6c], eax
lea eax, [edi + 0x90]
mov dword [ebp - 0x98], eax
lea eax, [edi + 0x91]
push 1
mov dword [ebp - 0x64], eax
call fcn.1004f770
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x94], eax
mov eax, edx
mov dword [ebp - 0x7c], esi
mov esi, dword [ebp - 0x78]
inc word [edi + 0x86]
add esp, 4
cmp dword [ebp - 0x7c], 0
mov dword [esi + 0x1a88], 0
je 0x1005472d
cmp dword [ebp - 0x94], 0
jne 0x100546a7
cmp byte [eax], 0
jg 0x100546a7
mov eax, dword [ebp - 0x64]
cmp byte [eax], 0
jg 0x100546a7
movss xmm0, dword [edi + 0x1ec]
comiss xmm0, dword [edi + 0x1f4]
jae 0x1005469d
movss xmm0, dword [edi + 0x1f0]
comiss xmm0, dword [edi + 0x1f8]
jb 0x100546a7
mov dword [edi + 0x98], 1
lea eax, [edi + 0x98]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x100546fe
cmp byte [eax + 0x7d], 0
jne 0x100546cc
cmp dword [eax + 0x98], 0
jle 0x100546d6
mov dword [edi + 0x98], 1
cmp byte [eax + 0x7d], 0
lea esi, [edi + 0x98]
mov dword [ebp - 0x8c], esi
mov esi, dword [ebp - 0x78]
jne 0x100546f4
cmp dword [eax + 0x9c], 0
jle 0x100546fe
mov dword [edi + 0x9c], 1
mov eax, dword [ebp - 0x8c]
movss xmm0, dword [ebp - 0x84]
comiss xmm0, dword [esi + 0x1518]
jb 0x1005471b
mov dword [eax], 1
cmp dword [eax], 0
jg 0x10054735
cmp dword [edi + 0x9c], 0
jg 0x10054735
xor al, al
jmp 0x10054737
lea eax, [edi + 0x98]
jmp 0x10054704
mov al, 1
mov byte [edi + 0x81], al
mov byte [ebp - 0x5d], al
xor al, al
cmp byte [edi + 0x7d], al
jne 0x10054751
cmp byte [edi + 0x7a], al
je 0x10054751
cmp byte [ebp - 0x5d], al
je 0x1005476d
cmp byte [edx], 0
jg 0x1005476d
cmp byte [ecx], 0
jg 0x1005476d
cmp dword [edi + 0x9c], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov ecx, dword [ebp - 4]
mov byte [edi + 0x7f], al
xor ecx, ebp
pop edi
xor al, 1
pop esi
call fcn.100d8a78
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret