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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [0x1023ebe8]
push esi
push edi
mov eax, dword [ebx + 0x2ee0]
sub eax, 1
mov dword [ebp - 4], eax
js 0x1004b3f3
lea edi, [eax + eax*4]
shl edi, 2
mov edx, dword [ebx + 0x2ee8]
cmp dword [edi + edx + 4], 7
jne 0x1004b3e8
mov esi, edx
mov ecx, edi
sub ecx, esi
mov eax, 0x66666667
add ecx, edx
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
lea edx, [esi + eax*4]
mov eax, dword [ebx + 0x2ee0]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax*4 - 0x14]
push eax
lea eax, [edx + 0x14]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 4]
add esp, 0xc
dec dword [ebx + 0x2ee0]
dec eax
sub edi, 0x14
mov dword [ebp - 4], eax
test eax, eax
jns 0x1004b393
xor esi, esi
cmp dword [ebx + 0x2ee0], esi
jle 0x1004b424
xor edi, edi
nop
mov eax, dword [ebx + 0x2ee8]
add eax, edi
cmp dword [eax + 4], 0
jne 0x1004b418
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2ee0]
jl 0x1004b400
mov eax, dword [0x1023ebe8]
cmp byte [eax + 0xb4], 0
je 0x1004b43f
test byte [eax + 0xc], 2
jne 0x1004b43f
mov byte [eax + 0xb4], 0
call fcn.10051140
movss xmm0, dword [ebx + 0x18]
inc dword [ebx + 0x1b48]
cvtps2pd xmm0, xmm0
mov byte [ebx + 0x1b54], 1
mov dword [ebx + 0x2e78], 0
mov dword [ebx + 0x1ba0], 0
addsd xmm0, qword [ebx + 0x1b40]
movsd qword [ebx + 0x1b40], xmm0
mov ecx, dword [ebx + 0x2e90]
test ecx, ecx
jns 0x1004b4a3
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, [ebx + 0x2e8c]
call fcn.10052700
mov dword [ebx + 0x2e8c], 0
mov ecx, 0x78
mov eax, dword [ebx + 0x311c]
xorps xmm3, xmm3
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x10217cf0]
movss xmm4, dword [0x100fe7f4]
subss xmm0, dword [ebx + eax*4 + 0x2f3c]
movss dword [ebp - 4], xmm2
addss xmm0, dword [ebx + 0x3120]
movss dword [ebx + 0x3120], xmm0
movss dword [ebx + eax*4 + 0x2f3c], xmm1
mov eax, dword [ebx + 0x311c]
inc eax
movss xmm1, dword [ebx + 0x3120]
cdq
idiv ecx
comiss xmm1, xmm3
mov dword [ebx + 0x311c], edx
jbe 0x1004b528
divss xmm1, dword [0x10217ce4]
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x1004b52b
movaps xmm0, xmm2
movss dword [ebx + 0x35c], xmm0
xor edi, edi
mov esi, dword [0x1023ebe8]
mov eax, dword [esi + 0x1d0c]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
cmp dword [esi + 0x1d04], edi
jle 0x1004b637
nop
mov eax, dword [esi + 0x1d0c]
movaps xmm2, xmm3
mov edx, dword [eax + edi*4]
inc edi
mov eax, dword [edx + 0x88]
mov ecx, dword [edx + 0x8c]
mov dword [edx + 0x78], eax
mov eax, dword [edx + 0x90]
mov dword [edx + 0x7c], ecx
mov ecx, dword [edx + 0x94]
mov dword [edx + 0x80], eax
mov dword [edx + 0x84], ecx
mov dword [edx + 0x90], 0
mov dword [edx + 0x94], 0
mov dword [edx + 0x88], 0
mov dword [edx + 0x8c], 0
movss xmm0, dword [edx + 0x7c]
addss xmm0, dword [edx + 8]
movss xmm1, dword [edx + 0x78]
addss xmm1, dword [edx + 4]
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
movss dword [edx + 0x14], xmm1
movaps xmm1, xmm3
subss xmm0, dword [edx + 0x78]
addss xmm0, dword [edx + 0x80]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x7c]
addss xmm0, dword [edx + 0x84]
movss dword [edx + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x20], xmm1
cmp edi, dword [esi + 0x1d04]
jl 0x1004b570
movss xmm2, dword [ebp - 4]
mov eax, dword [ebx + 0x98]
mov byte [eax + 0x10], 1
mov esi, dword [0x1023ebe8]
mov edi, dword [esi + 0xa4]
test edi, edi
jne 0x1004b65c
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x3c]
mov edi, dword [eax]
movss xmm1, dword [esi + 0x9c]
movaps xmm0, xmm4
mov ecx, dword [esi + 0x1bac]
mov dword [esi + 0x193c], edi
mulss xmm1, dword [edi + 0x10]
mulss xmm1, dword [edi + 0x40]
maxss xmm0, xmm1
movss dword [esi + 0x1944], xmm0
test ecx, ecx
je 0x1004b6b4
mov eax, dword [0x1023ebe8]
movss xmm3, dword [ecx + 0x28c]
mulss xmm3, dword [eax + 0x1944]
mov eax, dword [ecx + 0x328]
test eax, eax
je 0x1004b6b4
mulss xmm3, dword [eax + 0x28c]
movss xmm4, dword [0x10217d00]
movaps xmm7, xmm2
movss dword [esi + 0x1940], xmm3
movaps xmm6, xmm2
mov edx, dword [edi + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [esi + 0x1948], eax
lea eax, [edx + 0x58]
mov dword [esi + 0x194c], ecx
mov dword [esi + 0x1b38], eax
mov dword [esi + 0x1950], edi
movss dword [esi + 0x1954], xmm3
mov edx, dword [ebx + 0x1d04]
test edx, edx
jle 0x1004b754
mov ecx, dword [ebx + 0x1d0c]
nop dword [eax]
mov eax, dword [ecx]
movss xmm3, dword [eax + 4]
comiss xmm7, xmm3
movss xmm2, dword [eax + 8]
movaps xmm1, xmm3
addss xmm1, dword [eax + 0xc]
movaps xmm0, xmm2
addss xmm0, dword [eax + 0x10]
jbe 0x1004b734
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1004b73c
movaps xmm6, xmm2
comiss xmm1, xmm4
jbe 0x1004b744
movaps xmm4, xmm1
comiss xmm0, xmm5
jbe 0x1004b74c
movaps xmm5, xmm0
add ecx, 4
sub edx, 1
jne 0x1004b710
mov eax, dword [ebx + 0x15d4]
movss dword [ebp - 0x14], xmm7
movss dword [ebp - 0x10], xmm6
movss dword [ebp - 0xc], xmm4
movss dword [ebp - 8], xmm5
movups xmm0, xmmword [ebp - 0x14]
push ecx
lea ecx, [ebx + 0x1948]
mov dword [ebx + 0x1958], eax
movups xmmword [ebx + 0x1960], xmm0
movss xmm0, dword [ebx + 0x15d8]
movss dword [esp], xmm0
call fcn.10059a00
xor edx, edx
mov dword [ebx + 0x1970], 0
cmp byte [ebx + 0x15d0], dl
je 0x1004b7bb
mov dword [ebx + 0x1970], 1
mov edx, 1
cmp byte [ebx + 0x15d1], 0
mov ecx, edx
je 0x1004b7dd
mov eax, dword [ebx + 0x193c]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1004b7dd
or ecx, 2
mov dword [ebx + 0x1970], ecx
cmp byte [ebx + 0x15d2], 0
je 0x1004b7ef
or ecx, 4
mov dword [ebx + 0x1970], ecx
test byte [ebx + 0xc], 8
je 0x1004b7fe
or ecx, 8
mov dword [ebx + 0x1970], ecx
xor esi, esi
cmp dword [ebx + 0x1d04], esi
jle 0x1004b832
nop dword [eax + eax]
mov eax, dword [ebx + 0x1d0c]
push 0x2c
push 0
mov eax, dword [eax + esi*4]
add eax, 0x34
push eax
call sub.VCRUNTIME140.dll_memset
inc esi
add esp, 0xc
cmp esi, dword [ebx + 0x1d04]
jl 0x1004b810
cmp byte [ebx + 0x1e54], 0
je 0x1004b86c
mov eax, dword [ebx + 0x1e6c]
cmp eax, dword [ebx + 0x1be0]
jne 0x1004b86c
mov ecx, dword [0x1023ebe8]
cmp dword [ecx + 0x1be0], eax
jne 0x1004b85d
mov dword [ecx + 0x1be8], eax
cmp dword [ecx + 0x1c1c], eax
jne 0x1004b86c
mov byte [ecx + 0x1c20], 1
cmp dword [ebx + 0x1bd0], 0
jne 0x1004b881
mov dword [ebx + 0x1bd8], 0
jmp 0x1004b893
mov eax, dword [ebx + 0x1bcc]
test eax, eax
je 0x1004b89d
cmp dword [ebx + 0x1be0], eax
jne 0x1004b89d
mov dword [ebx + 0x1bdc], 0
mov eax, dword [ebx + 0x1bcc]
test eax, eax
je 0x1004b8d7
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bd8]
movss dword [ebx + 0x1bd8], xmm0
cmp dword [ebx + 0x1be0], eax
je 0x1004b8d7
addss xmm1, dword [ebx + 0x1bdc]
movss dword [ebx + 0x1bdc], xmm1
mov dword [ebx + 0x1bd0], eax
mov al, byte [ebx + 0x1bd5]
mov byte [ebx + 0x1bd6], al
mov eax, dword [ebx + 0x1be0]
mov dword [ebx + 0x1bcc], 0
mov word [ebx + 0x1bd4], 0
mov byte [ebx + 0x1bd7], 0
cmp dword [ebx + 0x1be8], eax
je 0x1004b922
cmp dword [ebx + 0x1c1c], eax
jne 0x1004b922
test eax, eax
je 0x1004b922
call fcn.10042da0
mov ecx, dword [ebx + 0x1be0]
test ecx, ecx
je 0x1004b941
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1bec]
movss dword [ebx + 0x1bec], xmm0
mov eax, dword [ebx + 0x1c10]
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1c2c]
mov dword [ebx + 0x1c24], eax
mov al, byte [ebx + 0x1bf4]
mov byte [ebx + 0x1c21], al
mov eax, dword [ebx + 0x2e38]
movss dword [ebx + 0x1c2c], xmm0
mov dword [ebx + 0x1c1c], ecx
mov dword [ebx + 0x1be8], 0
mov byte [ebx + 0x1bf5], 0
mov byte [ebx + 0x1c20], 0
mov byte [ebx + 0x1bf0], 0
test eax, eax
je 0x1004b9ab
cmp ecx, eax
je 0x1004b9ab
mov dword [ebx + 0x2e38], 0
test ecx, ecx
jne 0x1004b9c7
mov dword [ebx + 0x1bf8], ecx
mov dword [ebx + 0x1bfc], ecx
mov dword [ebx + 0x1c00], ecx
mov dword [ebx + 0x1c04], ecx
mov eax, dword [ebx + 0x1eb8]
lea edi, [ebx + 0xc58]
mov dword [ebx + 0x1ebc], eax
xor eax, eax
mov dword [ebx + 0x1eb8], 0
mov dword [ebx + 0x1eb4], 0x7f7fffff
mov word [ebx + 0x1e55], 0
mov dword [ebx + 0x1ec4], 0
mov esi, dword [0x1023ebe8]
movss xmm2, dword [0x10217cf8]
cmp byte [esi + 0xfc], al
setne al
mov ecx, eax
or ecx, 2
cmp byte [esi + 0xfd], 0
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [esi + 0xfe], 0
cmove edx, ecx
mov ecx, 0x200
mov eax, edx
or eax, 8
cmp byte [esi + 0xff], 0
cmove eax, edx
mov dword [ebx + 0x37c], eax
lea eax, [ebx + 0x458]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
nop dword [eax]
cmp byte [ebx + ecx + 0x100], 0
je 0x1004ba82
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1004ba7b
xorps xmm0, xmm0
jmp 0x1004ba85
addss xmm0, dword [ebx + 0x18]
jmp 0x1004ba85
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x1004ba60
call fcn.100490a0
call fcn.10050750
call fcn.10050550
mov esi, dword [0x1023ebe8]
mov edx, dword [esi + 0x1bb8]
test edx, edx
je 0x1004bbaa
mov eax, dword [esi + 0x1be0]
mov dword [esi + 0x1be8], eax
cmp dword [esi + 0x1c1c], eax
jne 0x1004bad3
mov byte [esi + 0x1c20], 1
cmp byte [esi + 0xec], 0
mov edx, dword [edx + 0x32c]
je 0x1004bb99
mov ecx, dword [0x1023ebe8]
lea eax, [esi + 0xe4]
mov edi, eax
test eax, eax
jne 0x1004bafe
lea edi, [ecx + 0xe4]
movss xmm0, dword [edi]
movss xmm1, dword [0x10217cfc]
comiss xmm0, xmm1
movss xmm2, dword [edi + 4]
jb 0x1004bb99
comiss xmm2, xmm1
jb 0x1004bb99
movss xmm1, dword [eax]
subss xmm1, dword [esi + 0x1c08]
movss xmm0, dword [edx + 0x18]
movss xmm2, dword [eax + 4]
subss xmm2, dword [esi + 0x1c0c]
ucomiss xmm0, xmm1
movss dword [ebp - 0xc], xmm1
movss dword [ebp - 8], xmm2
lahf
test ah, 0x44
jp 0x1004bb5c
movss xmm0, dword [edx + 0x1c]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1004bb89
test dword [edx + 0x14], 0x100
jne 0x1004bb7a
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2eac]
jb 0x1004bb7a
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2eac], eax
push 1
lea eax, [ebp - 0xc]
push eax
push edx
call fcn.100501d0
add esp, 0xc
push dword [esi + 0x1bb8]
call fcn.10044d10
add esp, 4
jmp 0x1004bbe2
call fcn.10042da0
mov dword [esi + 0x1bb8], 0
jmp 0x1004bbe2
mov ecx, dword [esi + 0x1c10]
test ecx, ecx
je 0x1004bbe2
mov eax, dword [esi + 0x1be0]
cmp dword [ecx + 0x5c], eax
jne 0x1004bbe2
mov dword [esi + 0x1be8], eax
cmp dword [esi + 0x1c1c], eax
jne 0x1004bbd4
mov byte [esi + 0x1c20], 1
cmp byte [esi + 0xec], 0
jne 0x1004bbe2
call fcn.10042da0
mov eax, dword [0x1023ebe8]
mov edx, dword [eax + 0x1cec]
sub edx, 1
js 0x1004bc18
mov eax, dword [eax + 0x1cf4]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1004bc10
test dword [ecx + 0x14], 0x8000000
jne 0x1004bc32
sub eax, 0x24
sub edx, 1
jns 0x1004bc01
cmp dword [ebx + 0x1e18], 0
je 0x1004bc51
movss xmm0, dword [ebx + 0x1e28]
comiss xmm0, dword [0x100ffa90]
jbe 0x1004bc51
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x10217cd0]
addss xmm1, dword [ebx + 0x1e4c]
minss xmm1, dword [0x100fe7f4]
jmp 0x1004bc72
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x10217064]
movss xmm1, dword [ebx + 0x1e4c]
subss xmm1, xmm0
maxss xmm1, dword [0x100ffa90]
movss dword [ebx + 0x1e4c], xmm1
mov dword [ebx + 0x1e50], 0
mov dword [ebx + 0x312c], 0xffffffff
mov dword [ebx + 0x3128], 0xffffffff
mov dword [ebx + 0x3124], 0xffffffff
mov dword [ebx + 0x2e98], 0x3f800000
mov dword [ebx + 0x2e9c], 0x3f800000
call fcn.10050cb0
mov esi, dword [0x1023ebe8]
mov edi, dword [esi + 0x1d10]
test edi, edi
je 0x1004bd00
cmp byte [edi + 0x96], 0
je 0x1004bd00
test dword [edi + 0x14], 0x40000
jne 0x1004bd00
cmp byte [esi + 0xfc], 0
jne 0x1004bd00
mov eax, dword [esi + 0x34]
test eax, eax
js 0x1004bd00
push 1
push eax
call fcn.10047410
add esp, 8
test al, al
je 0x1004bd00
mov al, 1
jmp 0x1004bd02
xor al, al
cmp dword [esi + 0x1be0], 0
mov byte [esi + 0x1e48], al
jne 0x1004bd61
test al, al
je 0x1004bd61
cmp dword [esi + 0x1d14], 0
mov dword [esi + 0x1e34], edi
mov dword [esi + 0x1e40], 0x7fffffff
je 0x1004bd50
mov ecx, dword [esi + 0x1d5c]
cmp ecx, 0x7fffffff
je 0x1004bd50
xor edx, edx
mov eax, 2
cmp byte [esi + 0xfd], dl
cmovne eax, edx
add eax, ecx
jmp 0x1004bd5b
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
mov dword [esi + 0x1e44], eax
mov edi, dword [esi + 0x1e34]
mov dword [esi + 0x1e30], 0
mov dword [esi + 0x1e3c], 0x7fffffff
mov dword [esi + 0x1e38], 0x7fffffff
test edi, edi
je 0x1004bdf5
mov eax, dword [esi + 0x1e40]
mov dword [esi + 0x1e30], edi
cmp eax, 0x7fffffff
je 0x1004bdb3
mov ecx, dword [edi + 0x1b4]
cmp ecx, 0xffffffff
je 0x1004bdb3
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e38], edx
mov eax, dword [esi + 0x1e44]
cmp eax, 0x7fffffff
je 0x1004bdd7
mov ecx, dword [edi + 0x1b8]
cmp ecx, 0xffffffff
je 0x1004bdd7
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e3c], edx
mov dword [esi + 0x1e34], 0
mov dword [esi + 0x1e44], 0x7fffffff
mov dword [esi + 0x1e40], 0x7fffffff
mov dword [esi + 0x1d5c], 0x7fffffff
cmp byte [ebx + 0x1b57], 0
jne 0x1004be2f
movss xmm1, dword [ebx + 0xb8]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1004be2f
movsd xmm0, qword [ebx + 0x1b40]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [ebp - 4], xmm0
jmp 0x1004be34
movss xmm0, dword [ebp - 4]
xor edi, edi
cmp dword [ebx + 0x1b64], edi
je 0x1004bfe5
mov eax, dword [ebx + 0x1b6c]
xor ecx, ecx
mov esi, dword [eax + edi*4]
mov al, byte [esi + 0x96]
mov byte [esi + 0x97], al
mov word [esi + 0xa2], cx
mov byte [esi + 0x96], cl
mov byte [esi + 0x98], cl
test al, al
jne 0x1004bfd3
cmp byte [esi + 0x36c], cl
jne 0x1004bfd3
comiss xmm0, dword [esi + 0x26c]
jbe 0x1004bfd3
mov ecx, dword [esi + 0x294]
mov byte [esi + 0x36c], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x364], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x368], eax
mov ecx, dword [esi + 0xd4]
test ecx, ecx
je 0x1004bef3
mov dword [esi + 0xd0], 0
mov dword [esi + 0xcc], 0
mov eax, dword [0x1023ebe8]
test eax, eax
je 0x1004bed9
dec dword [eax + 0x370]
push dword [0x1023ece8]
push ecx
call dword [0x1023945c]
add esp, 8
mov dword [esi + 0xd4], 0
mov ecx, dword [esi + 0x294]
call fcn.1005a270
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x1004bf45
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
mov eax, dword [0x1023ebe8]
test eax, eax
je 0x1004bf2b
dec dword [eax + 0x370]
push dword [0x1023ece8]
push ecx
call dword [0x1023945c]
add esp, 8
mov dword [esi + 0x19c], 0
mov ecx, dword [esi + 0x1d0]
test ecx, ecx
je 0x1004bf8c
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1c8], 0
mov eax, dword [0x1023ebe8]
test eax, eax
je 0x1004bf72
dec dword [eax + 0x370]
push dword [0x1023ece8]
push ecx
call dword [0x1023945c]
add esp, 8
mov dword [esi + 0x1d0], 0
mov ecx, dword [esi + 0x1dc]
test ecx, ecx
je 0x1004bfd3
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1d4], 0
mov eax, dword [0x1023ebe8]
test eax, eax
je 0x1004bfb9
dec dword [eax + 0x370]
push dword [0x1023ece8]
push ecx
call dword [0x1023945c]
add esp, 8
mov dword [esi + 0x1dc], 0
movss xmm0, dword [ebp - 4]
inc edi
cmp edi, dword [ebx + 0x1b64]
jne 0x1004be42
xor esi, esi
cmp dword [ebx + 0x1f10], esi
jle 0x1004c03d
xor edi, edi
xorps xmm1, xmm1
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebx + 0x1f18]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm1
jb 0x1004c02e
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x1004c02e
mov eax, dword [ebx + 0x1ef0]
add eax, edi
push eax
call fcn.10064ef0
add esp, 4
xorps xmm1, xmm1
inc esi
add edi, 0x228
cmp esi, dword [ebx + 0x1f10]
jl 0x1004c000
cmp byte [ebx + 0x1b57], 0
je 0x1004c0e3
mov esi, dword [0x1023ebe8]
mov ecx, dword [esi + 0x1cdc]
test ecx, ecx
je 0x1004c097
mov dword [esi + 0x1cd8], 0
mov dword [esi + 0x1cd4], 0
mov eax, dword [0x1023ebe8]
test eax, eax
je 0x1004c07d
dec dword [eax + 0x370]
push dword [0x1023ece8]
push ecx
call dword [0x1023945c]
add esp, 8
mov dword [esi + 0x1cdc], 0
mov ecx, dword [esi + 0x1ce8]
test ecx, ecx
je 0x1004c0de
mov dword [esi + 0x1ce4], 0
mov dword [esi + 0x1ce0], 0
mov eax, dword [0x1023ebe8]
test eax, eax
je 0x1004c0c4
dec dword [eax + 0x370]
push dword [0x1023ece8]
push ecx
call dword [0x1023945c]
add esp, 8
mov dword [esi + 0x1ce8], 0
call fcn.10064d00
mov eax, dword [ebx + 0x1d10]
mov byte [ebx + 0x1b57], 0
test eax, eax
je 0x1004c109
cmp byte [eax + 0x97], 0
jne 0x1004c109
push 0
push 0
call fcn.10044c50
add esp, 8
mov ecx, dword [ebx + 0x1b8c]
test ecx, ecx
jns 0x1004c12f
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, [ebx + 0x1b88]
call fcn.10052700
mov dword [ebx + 0x1b88], 0
mov ecx, dword [ebx + 0x1cfc]
test ecx, ecx
jns 0x1004c15f
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, [ebx + 0x1cf8]
call fcn.10052790
lea esi, [ebx + 0x1cd4]
mov dword [ebx + 0x1cf8], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1004c18e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10052700
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1004c1a3
push 8
mov ecx, esi
call fcn.10052700
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [ebx + 0x1ce0]
inc dword [esi]
call fcn.10052910
push 0
push dword [ebx + 0x1d10]
call fcn.10043080
mov edi, dword [0x1023ebe8]
add esp, 8
cmp byte [edi + 0x2f24], 0
mov dword [edi + 0x2f28], 0
je 0x1004c2b8
mov eax, dword [0x1023ebe8]
mov ecx, dword [edi + 0x1bd0]
mov dword [ebp - 4], ecx
mov dword [eax + 0x1e50], 7
mov esi, dword [0x1023ebe8]
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x1004c22f
push 1
push eax
call fcn.10047410
mov ecx, dword [ebp - 4]
add esp, 8
test al, al
je 0x1004c22f
mov byte [edi + 0x2f24], 0
mov esi, dword [0x1023ebe8]
movss xmm0, dword [esi + 0x3f4]
ucomiss xmm0, dword [0x100ffa90]
lahf
test ah, 0x44
jp 0x1004c25b
test ecx, ecx
je 0x1004c25b
mov dword [edi + 0x2f28], ecx
mov byte [edi + 0x2f24], 0
mov esi, dword [0x1023ebe8]
or dword [esi + 0x1c30], 0x40
push 0
push 0
mov dword [esi + 0x1c84], 0x3f19999a
call fcn.10041ca0
mov esi, dword [ebp - 4]
push esi
push str.HoveredId:_0x_08X
call fcn.1007c3f0
push str.Press_ESC_to_abort_picking.
call fcn.1007c3f0
xor ecx, ecx
mov eax, 0x10
test esi, esi
push str.Click_to_break_in_debugger_
cmove ecx, eax
mov eax, dword [0x1023ebe8]
add eax, 0x15dc
add eax, ecx
push eax
call fcn.1007c410
add esp, 0x1c
call fcn.100438e0
mov byte [ebx + 0x1b55], 1
mov eax, dword [0x1023ebe8]
push 0
push 0
push str.DebugDefault
or dword [eax + 0x1c30], 2
mov dword [eax + 0x1c50], 0x43c80000
mov dword [eax + 0x1c54], 0x43c80000
mov dword [eax + 0x1c38], 4
call fcn.1003f4a0
xor esi, esi
add esp, 0xc
cmp dword [ebx + 0x2ee0], esi
jle 0x1004c334
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebx + 0x2ee8]
add eax, edi
cmp dword [eax + 4], 1
jne 0x1004c328
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2ee0]
jl 0x1004c310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret