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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
mov ebx, dword [0x10168418]
push esi
push edi
mov dword [esp + 0x34], ebx
mov eax, dword [ebx + 0x2fbc]
sub eax, 1
mov dword [esp + 0x28], eax
js 0x100466c0
lea edi, [eax + eax*4]
shl edi, 2
nop dword [eax + eax]
mov ecx, dword [ebx + 0x2fc4]
cmp dword [ecx + edi + 4], 7
jne 0x100466b4
mov esi, ecx
mov eax, 0x66666667
sub ecx, esi
add ecx, edi
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 + 0x2fbc]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax*4 - 0x14]
push eax
lea eax, [edx + 0x14]
push eax
push edx
call fcn.100f7220
mov eax, dword [esp + 0x34]
add esp, 0xc
dec dword [ebx + 0x2fbc]
dec eax
sub edi, 0x14
mov dword [esp + 0x28], eax
test eax, eax
jns 0x10046660
xor esi, esi
cmp dword [ebx + 0x2fbc], esi
jle 0x100466f4
xor edi, edi
nop dword [eax]
mov eax, dword [ebx + 0x2fc4]
add eax, edi
cmp dword [eax + 4], 0
jne 0x100466e8
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2fbc]
jl 0x100466d0
mov esi, dword [0x10168418]
cmp byte [esi + 0xb4], 0
je 0x10046710
test byte [esi + 0xc], 2
jne 0x10046710
mov byte [esi + 0xb4], 0
cmp byte [esi + 0x2f85], 0
jne 0x10046767
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10046760
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
call fcn.10043210
mov edi, eax
add esp, 8
test edi, edi
je 0x10046760
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.10054350
mov ecx, dword [0x10168418]
test ecx, ecx
je 0x10046757
dec dword [ecx + 0x374]
push edi
call fcn.101012f6
add esp, 4
mov byte [esi + 0x2f85], 1
movss xmm1, dword [esi + 0x2f88]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100467f2
subss xmm1, dword [esi + 0x18]
comiss xmm0, xmm1
movss dword [esi + 0x2f88], xmm1
jb 0x100467f2
mov edi, dword [esi + 0x20]
test edi, edi
je 0x100467e1
mov eax, dword [0x10168418]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0
mov dword [eax + 0x2f88], 0
call fcn.100545b0
mov edx, 0x1014e518
mov dword [esp + 0x30], eax
mov ecx, edi
call fcn.10043120
mov edi, eax
test edi, edi
je 0x100467e8
push edi
push dword [esp + 0x2c]
push 1
push dword [esp + 0x3c]
call fcn.101020eb
push edi
call fcn.10101b0f
add esp, 0x14
jmp 0x100467e8
mov byte [esi + 0x35c], 1
mov dword [esi + 0x2f88], 0
movss xmm0, dword [ebx + 0x18]
lea ecx, [ebx + 0x2f68]
inc dword [ebx + 0x1b40]
cvtps2pd xmm0, xmm0
push 0
mov byte [ebx + 0x1b4c], 1
mov dword [ebx + 0x2f54], 0
mov dword [ebx + 0x1b98], 0
addsd xmm0, qword [ebx + 0x1b38]
movsd qword [ebx + 0x1b38], xmm0
call fcn.10055570
mov eax, dword [ebx + 0x31f8]
mov ecx, 0x78
movss xmm1, dword [ebx + 0x18]
xorps xmm3, xmm3
movaps xmm0, xmm1
movss xmm2, dword [0x10151edc]
movss xmm4, dword [0x10151cb0]
subss xmm0, dword [ebx + eax*4 + 0x3018]
movss dword [esp + 0x28], xmm2
addss xmm0, dword [ebx + 0x3200]
movss dword [ebx + 0x3200], xmm0
movss dword [ebx + eax*4 + 0x3018], xmm1
mov eax, dword [ebx + 0x31f8]
inc eax
movss xmm1, dword [ebx + 0x3200]
cdq
idiv ecx
mov eax, dword [ebx + 0x31fc]
inc eax
mov dword [ebx + 0x31f8], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [ebx + 0x31fc], ecx
jbe 0x100468c9
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x100468cc
movaps xmm0, xmm2
mov edi, dword [0x10168418]
xor esi, esi
movss dword [ebx + 0x360], xmm0
mov eax, dword [edi + 0x1d04]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
cmp dword [edi + 0x1cfc], esi
jle 0x100469d8
mov eax, dword [edi + 0x1d04]
movaps xmm2, xmm3
mov edx, dword [eax + esi*4]
inc esi
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 esi, dword [edi + 0x1cfc]
jl 0x10046910
movss xmm2, dword [esp + 0x28]
mov eax, dword [ebx + 0x98]
mov byte [eax + 0x10], 1
mov esi, dword [edi + 0xa4]
test esi, esi
jne 0x100469f7
mov eax, dword [edi + 0x98]
mov eax, dword [eax + 0x3c]
mov esi, dword [eax]
movss xmm0, dword [edi + 0x9c]
movaps xmm1, xmm4
mov eax, dword [edi + 0x1ba4]
mov dword [edi + 0x1934], esi
mulss xmm0, dword [esi + 0x10]
mulss xmm0, dword [esi + 0x40]
maxss xmm1, xmm0
movss dword [edi + 0x193c], xmm1
test eax, eax
je 0x10046a44
mulss xmm1, dword [eax + 0x280]
mov eax, dword [eax + 0x324]
test eax, eax
je 0x10046a47
mulss xmm1, dword [eax + 0x280]
jmp 0x10046a47
movaps xmm1, xmm3
movss xmm4, dword [0x10151fa0]
movaps xmm7, xmm2
movss dword [edi + 0x1938], xmm1
movaps xmm6, xmm2
mov edx, dword [esi + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [edi + 0x1940], eax
lea eax, [edx + 0x58]
mov dword [edi + 0x1944], ecx
mov dword [edi + 0x1b30], eax
mov dword [edi + 0x1948], esi
movss dword [edi + 0x194c], xmm1
mov edx, dword [ebx + 0x1cfc]
test edx, edx
jle 0x10046ae4
mov ecx, dword [ebx + 0x1d04]
nop dword [eax]
mov eax, dword [ecx]
movss xmm3, dword [eax + 4]
comiss xmm7, xmm3
movss xmm2, dword [eax + 8]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x10]
jbe 0x10046ac4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x10046acc
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x10046ad4
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x10046adc
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x10046aa0
movss dword [ebx + 0x1958], xmm7
movss dword [ebx + 0x195c], xmm6
movss dword [ebx + 0x1960], xmm4
movss dword [ebx + 0x1964], xmm5
mov eax, dword [ebx + 0x15dc]
movss xmm1, dword [ebx + 0x15e0]
mov dword [ebx + 0x1950], eax
movss xmm0, dword [ebx + 0x1954]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10046c0d
movss dword [ebx + 0x1954], xmm1
xor esi, esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x10046bc9
movss xmm1, dword [ebx + 0x1954]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10151cb0]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.10119f20
movss xmm1, dword [0x10151d5c]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
fstp qword [esp]
call fcn.10117aa0
fstp qword [esp + 0x40]
movsd xmm0, qword [esp + 0x40]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x10046bba
mov eax, 4
jmp 0x10046bcb
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x10046bcb
xor eax, eax
mov byte [esi + ebx + 0x1af0], al
inc esi
cmp esi, 0x40
jl 0x10046b37
movsd xmm0, qword [0x10151cd8]
call fcn.1011ac80
movss xmm1, dword [0x10151cb0]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x1954]
divss xmm0, xmm1
movss dword [ebx + 0x1aec], xmm0
xor edx, edx
mov dword [ebx + 0x1968], 0
cmp byte [ebx + 0x15d8], dl
je 0x10046c30
mov dword [ebx + 0x1968], 1
mov edx, 1
cmp byte [ebx + 0x15d9], 0
mov ecx, edx
je 0x10046c52
mov eax, dword [ebx + 0x1934]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x10046c52
or ecx, 2
mov dword [ebx + 0x1968], ecx
cmp byte [ebx + 0x15da], 0
je 0x10046c64
or ecx, 4
mov dword [ebx + 0x1968], ecx
test byte [ebx + 0xc], 8
je 0x10046c73
or ecx, 8
mov dword [ebx + 0x1968], ecx
xor esi, esi
cmp dword [ebx + 0x1cfc], esi
jle 0x10046ca2
nop dword [eax]
mov eax, dword [ebx + 0x1d04]
push 0x2c
push 0
mov eax, dword [eax + esi*4]
add eax, 0x34
push eax
call fcn.100f77a0
inc esi
add esp, 0xc
cmp esi, dword [ebx + 0x1cfc]
jl 0x10046c80
cmp byte [ebx + 0x1f2c], 0
je 0x10046cd6
mov eax, dword [ebx + 0x1f44]
cmp eax, dword [ebx + 0x1bdc]
jne 0x10046cd6
cmp dword [edi + 0x1bdc], eax
jne 0x10046cc7
mov dword [edi + 0x1be0], eax
cmp dword [edi + 0x1c14], eax
jne 0x10046cd6
mov byte [edi + 0x1c18], 1
cmp dword [ebx + 0x1bcc], 0
jne 0x10046ceb
mov dword [ebx + 0x1bd4], 0
jmp 0x10046cfd
mov eax, dword [ebx + 0x1bc8]
test eax, eax
je 0x10046d07
cmp dword [ebx + 0x1bdc], eax
jne 0x10046d07
mov dword [ebx + 0x1bd8], 0
mov eax, dword [ebx + 0x1bc8]
test eax, eax
je 0x10046d41
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bd4]
movss dword [ebx + 0x1bd4], xmm0
cmp dword [ebx + 0x1bdc], eax
je 0x10046d41
addss xmm1, dword [ebx + 0x1bd8]
movss dword [ebx + 0x1bd8], xmm1
mov dword [ebx + 0x1bcc], eax
mov al, byte [ebx + 0x1bd1]
mov byte [ebx + 0x1bd2], al
mov eax, dword [ebx + 0x1bdc]
mov dword [ebx + 0x1bc8], 0
mov word [ebx + 0x1bd0], 0
mov byte [ebx + 0x1bd3], 0
cmp dword [ebx + 0x1be0], eax
je 0x10046d8c
cmp dword [ebx + 0x1c14], eax
jne 0x10046d8c
test eax, eax
je 0x10046d8c
call fcn.10045310
mov ecx, dword [ebx + 0x1bdc]
test ecx, ecx
je 0x10046dab
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1be4]
movss dword [ebx + 0x1be4], xmm0
mov eax, dword [ebx + 0x1c08]
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1c24]
mov dword [ebx + 0x1c1c], eax
mov al, byte [ebx + 0x1bec]
mov byte [ebx + 0x1c19], al
mov eax, dword [ebx + 0x2f14]
movss dword [ebx + 0x1c24], xmm0
mov dword [ebx + 0x1c14], ecx
mov dword [ebx + 0x1be0], 0
mov byte [ebx + 0x1bed], 0
mov byte [ebx + 0x1c18], 0
mov byte [ebx + 0x1be8], 0
test eax, eax
je 0x10046e15
cmp ecx, eax
je 0x10046e15
mov dword [ebx + 0x2f14], 0
test ecx, ecx
jne 0x10046e31
mov dword [ebx + 0x1bf0], ecx
mov dword [ebx + 0x1bf4], ecx
mov dword [ebx + 0x1bf8], ecx
mov dword [ebx + 0x1bfc], ecx
mov eax, dword [ebx + 0x1f90]
mov dword [ebx + 0x1f94], eax
xor eax, eax
mov dword [ebx + 0x1f90], 0
mov dword [ebx + 0x1f8c], 0x7f7fffff
mov word [ebx + 0x1f2d], 0
mov dword [ebx + 0x1f9c], 0
cmp byte [edi + 0x100], al
movss xmm2, dword [0x10151f1c]
setne al
mov ecx, eax
or ecx, 2
cmp byte [edi + 0x101], 0
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [edi + 0x102], 0
cmove edx, ecx
mov ecx, 0x200
mov eax, edx
or eax, 8
cmp byte [edi + 0x103], 0
lea edi, [ebx + 0xc60]
cmove eax, edx
mov dword [ebx + 0x380], eax
lea eax, [ebx + 0x460]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp byte [ebx + ecx + 0x104], 0
je 0x10046ee3
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x10046edc
xorps xmm0, xmm0
jmp 0x10046ee6
addss xmm0, dword [ebx + 0x18]
jmp 0x10046ee6
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x10046ec1
call fcn.10051950
call fcn.10045bd0
call fcn.10046430
mov esi, dword [0x10168418]
mov ecx, dword [esi + 0x1bb0]
test ecx, ecx
je 0x1004700d
mov eax, dword [esi + 0x1bdc]
mov dword [esi + 0x1be0], eax
cmp dword [esi + 0x1c14], eax
jne 0x10046f34
mov byte [esi + 0x1c18], 1
cmp byte [esi + 0xf0], 0
mov ecx, dword [ecx + 0x328]
je 0x10046ffc
lea eax, [esi + 0xe8]
mov edx, eax
test eax, eax
jne 0x10046f59
lea edx, [esi + 0xe8]
movss xmm0, dword [edx]
movss xmm1, dword [0x10151f9c]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x10046ffc
comiss xmm2, xmm1
jb 0x10046ffc
movss xmm1, dword [eax]
subss xmm1, dword [esi + 0x1c00]
movss xmm0, dword [ecx + 0xc]
movss xmm2, dword [eax + 4]
subss xmm2, dword [esi + 0x1c04]
ucomiss xmm0, xmm1
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm2
lahf
test ah, 0x44
jp 0x10046fbd
movss xmm0, dword [ecx + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10046fe9
test dword [ecx + 8], 0x100
jne 0x10046fdb
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x2f88]
jb 0x10046fdb
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2f88], eax
push 1
lea edx, [esp + 0x3c]
call fcn.1004e8e0
add esp, 4
mov ecx, dword [esi + 0x1bb0]
call fcn.1004e490
mov esi, dword [0x10168418]
jmp 0x10047045
call fcn.10045310
mov dword [esi + 0x1bb0], 0
jmp 0x10047045
mov ecx, dword [esi + 0x1c08]
test ecx, ecx
je 0x10047045
mov eax, dword [esi + 0x1bdc]
cmp dword [ecx + 0x50], eax
jne 0x10047045
mov dword [esi + 0x1be0], eax
cmp dword [esi + 0x1c14], eax
jne 0x10047037
mov byte [esi + 0x1c18], 1
cmp byte [esi + 0xf0], 0
jne 0x10047045
call fcn.10045310
mov edx, dword [esi + 0x1ce4]
sub edx, 1
js 0x1004707b
mov eax, dword [esi + 0x1cec]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x10047073
test dword [ecx + 8], 0x8000000
jne 0x1004713d
sub eax, 0x24
sub edx, 1
jns 0x10047060
cmp dword [ebx + 0x1e14], 0
xorps xmm6, xmm6
je 0x10047098
movss xmm0, dword [ebx + 0x1e24]
comiss xmm0, xmm6
ja 0x10047140
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x10151db0]
movss xmm1, dword [ebx + 0x1e8c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [ebx + 0x1e8c], xmm1
mov dword [ebx + 0x1f28], 0
mov dword [ebx + 0x320c], 0xffffffff
mov dword [ebx + 0x3208], 0xffffffff
mov dword [ebx + 0x3204], 0xffffffff
mov dword [ebx + 0x2f74], 0x3f800000
mov dword [ebx + 0x2f78], 0x3f800000
call fcn.10045f90
mov esi, dword [0x10168418]
mov edi, dword [esi + 0x1d08]
test edi, edi
je 0x10047162
cmp byte [edi + 0x8a], 0
je 0x10047162
test dword [edi + 8], 0x40000
jne 0x10047162
cmp byte [esi + 0x100], 0
jne 0x10047162
mov ecx, dword [esi + 0x34]
test ecx, ecx
js 0x10047162
call fcn.10049280
test al, al
je 0x10047162
mov al, 1
jmp 0x10047164
xorps xmm6, xmm6
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x10151d98]
addss xmm1, dword [ebx + 0x1e8c]
minss xmm1, dword [0x10151cb0]
jmp 0x100470b5
xor al, al
cmp dword [esi + 0x1bdc], 0
mov byte [esi + 0x1e44], al
jne 0x100471be
test al, al
je 0x100471be
cmp dword [esi + 0x1d0c], 0
mov dword [esi + 0x1e30], edi
mov dword [esi + 0x1e3c], 0x7fffffff
je 0x100471ad
mov ecx, dword [esi + 0x1d54]
cmp ecx, 0x7fffffff
je 0x100471ad
movzx eax, byte [esi + 0x101]
neg eax
sbb eax, eax
add eax, ecx
jmp 0x100471b8
movzx eax, byte [esi + 0x101]
neg eax
sbb eax, eax
mov dword [esi + 0x1e40], eax
mov edi, dword [esi + 0x1e30]
mov dword [esi + 0x1e2c], 0
mov dword [esi + 0x1e38], 0x7fffffff
mov dword [esi + 0x1e34], 0x7fffffff
test edi, edi
je 0x10047252
mov eax, dword [esi + 0x1e3c]
mov dword [esi + 0x1e2c], edi
cmp eax, 0x7fffffff
je 0x10047210
mov ecx, dword [edi + 0x1a8]
cmp ecx, 0xffffffff
je 0x10047210
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e34], edx
mov eax, dword [esi + 0x1e40]
cmp eax, 0x7fffffff
je 0x10047234
mov ecx, dword [edi + 0x1ac]
cmp ecx, 0xffffffff
je 0x10047234
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e38], edx
mov dword [esi + 0x1e30], 0
mov dword [esi + 0x1e40], 0x7fffffff
mov dword [esi + 0x1e3c], 0x7fffffff
mov dword [esi + 0x1d54], 0x7fffffff
cmp byte [ebx + 0x1b4f], 0
jne 0x1004728a
movss xmm0, dword [ebx + 0xb8]
comiss xmm6, xmm0
ja 0x1004728a
movsd xmm1, qword [ebx + 0x1b38]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x28], xmm1
jmp 0x10047290
movss xmm1, dword [esp + 0x28]
xor edi, edi
cmp dword [ebx + 0x1b5c], edi
je 0x10047428
nop
mov eax, dword [ebx + 0x1b64]
xor ecx, ecx
mov esi, dword [eax + edi*4]
mov al, byte [esi + 0x8a]
mov byte [esi + 0x8b], al
mov word [esi + 0x96], cx
mov byte [esi + 0x8a], cl
mov byte [esi + 0x8c], cl
test al, al
jne 0x10047415
cmp byte [esi + 0x368], cl
jne 0x10047415
comiss xmm1, dword [esi + 0x260]
jbe 0x10047415
mov ecx, dword [esi + 0x288]
mov byte [esi + 0x368], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x360], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x364], eax
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x1004734a
mov eax, dword [0x10168418]
mov dword [esi + 0xc8], 0
mov dword [esi + 0xc4], 0
test eax, eax
je 0x10047337
dec dword [eax + 0x374]
push ecx
call fcn.101012f6
add esp, 4
mov dword [esi + 0xcc], 0
mov ecx, dword [esi + 0x288]
call fcn.1005e140
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x10047395
mov eax, dword [0x10168418]
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test eax, eax
je 0x10047382
dec dword [eax + 0x374]
push ecx
call fcn.101012f6
add esp, 4
mov dword [esi + 0x190], 0
mov ecx, dword [esi + 0x1c4]
test ecx, ecx
je 0x100473d5
mov eax, dword [0x10168418]
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1bc], 0
test eax, eax
je 0x100473c2
dec dword [eax + 0x374]
push ecx
call fcn.101012f6
add esp, 4
mov dword [esi + 0x1c4], 0
mov ecx, dword [esi + 0x1d0]
test ecx, ecx
je 0x10047415
mov eax, dword [0x10168418]
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1c8], 0
test eax, eax
je 0x10047402
dec dword [eax + 0x374]
push ecx
call fcn.101012f6
add esp, 4
mov dword [esi + 0x1d0], 0
movss xmm1, dword [esp + 0x28]
inc edi
cmp edi, dword [ebx + 0x1b5c]
jne 0x100472a0
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [ebx + 0x1fec], ecx
jle 0x10047547
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x30], edx
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebx + 0x1ff4]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1004752c
movss xmm2, dword [esp + 0x28]
comiss xmm2, xmm0
jbe 0x1004752c
mov esi, dword [ebx + 0x1fcc]
mov edi, dword [0x10168418]
add esi, edx
mov dword [esp + 0x38], edi
mov dword [esi + 0x17c], 0
mov byte [esi + 0x1a4], 1
mov eax, dword [esi + 0x174]
test eax, eax
je 0x100474d4
mov dword [esi + 0x170], 0
mov dword [esi + 0x16c], 0
test edi, edi
je 0x100474be
dec dword [edi + 0x374]
push eax
call fcn.101012f6
add esp, 4
mov dword [esi + 0x174], 0
xorps xmm1, xmm1
xor edx, edx
mov byte [esi + 0x1ae], 1
cmp dword [esi + 0x54], edx
jle 0x10047500
xor ecx, ecx
or edi, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x68]
inc edx
mov word [ecx + eax - 0x18], di
cmp edx, dword [esi + 0x54]
jl 0x100474e7
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
sub esi, dword [edi + 0x1fcc]
mov eax, 0x4bda12f7
imul esi
mov eax, dword [edi + 0x1ff4]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x2c]
inc ecx
add edx, 0x1b0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
cmp ecx, dword [ebx + 0x1fec]
jl 0x10047450
xor eax, eax
mov dword [esp + 0x30], eax
cmp dword [ebx + 0x1fe0], eax
jle 0x100475dd
xor esi, esi
xorps xmm1, xmm1
nop
mov edi, dword [ebx + 0x1fe8]
movss xmm0, dword [esi + edi + 4]
comiss xmm0, xmm1
jb 0x100475cd
movss xmm2, dword [esp + 0x28]
comiss xmm2, xmm0
jbe 0x100475cd
lea ecx, [edi + 0x10]
add ecx, esi
call fcn.10061430
mov ecx, dword [esi + edi + 0x38]
test ecx, ecx
je 0x100475be
mov eax, dword [0x10168418]
mov dword [esi + edi + 0x34], 0
mov dword [esi + edi + 0x30], 0
test eax, eax
je 0x100475ad
dec dword [eax + 0x374]
push ecx
call fcn.101012f6
add esp, 4
mov dword [esi + edi + 0x38], 0
mov eax, dword [esp + 0x30]
xorps xmm1, xmm1
mov dword [esi + edi + 4], 0xbf800000
inc eax
sub esi, 0xffffff80
mov dword [esp + 0x30], eax
cmp eax, dword [ebx + 0x1fe0]
jl 0x10047560
cmp byte [ebx + 0x1b4f], 0
je 0x10047670
mov esi, dword [0x10168418]
mov eax, dword [esi + 0x1cd4]
test eax, eax
je 0x1004762b
mov dword [esi + 0x1cd0], 0
mov dword [esi + 0x1ccc], 0
test esi, esi
je 0x10047618
dec dword [esi + 0x374]
push eax
call fcn.101012f6
add esp, 4
mov dword [esi + 0x1cd4], 0
mov ecx, dword [esi + 0x1ce0]
test ecx, ecx
je 0x1004766b
mov eax, dword [0x10168418]
mov dword [esi + 0x1cdc], 0
mov dword [esi + 0x1cd8], 0
test eax, eax
je 0x10047658
dec dword [eax + 0x374]
push ecx
call fcn.101012f6
add esp, 4
mov dword [esi + 0x1ce0], 0
call fcn.10067950
mov eax, dword [ebx + 0x1d08]
mov byte [ebx + 0x1b4f], 0
test eax, eax
je 0x100476d4
cmp byte [eax + 0x8b], 0
jne 0x100476d4
mov eax, dword [0x10168418]
mov edx, dword [eax + 0x1b68]
sub edx, 1
js 0x100476cd
mov eax, dword [eax + 0x1b70]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x100476c5
cmp byte [ecx + 0x8b], 0
je 0x100476c5
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x100478db
sub esi, 4
sub edx, 1
jns 0x100476a3
xor ecx, ecx
call fcn.1004e490
mov ecx, dword [ebx + 0x1b84]
test ecx, ecx
jns 0x100476fa
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 + 0x1b80]
call fcn.100554f0
mov dword [ebx + 0x1b80], 0
mov ecx, dword [ebx + 0x1cf4]
test ecx, ecx
jns 0x1004772a
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 + 0x1cf0]
call fcn.10055950
mov dword [ebx + 0x1cf0], 0
mov ecx, dword [ebx + 0x1cd0]
test ecx, ecx
jns 0x1004775a
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea ecx, [ebx + 0x1ccc]
test eax, eax
cmovg edx, eax
push edx
call fcn.100554f0
lea eax, [esp + 0x38]
mov dword [ebx + 0x1ccc], 0
push eax
lea ecx, [ebx + 0x1ccc]
mov dword [esp + 0x3c], 0
call fcn.100552c0
push 0
lea ecx, [ebx + 0x1cd8]
call fcn.10055210
mov ecx, dword [ebx + 0x1d08]
xor dl, dl
call fcn.10050220
mov esi, dword [0x10168418]
cmp byte [esi + 0x3000], 0
mov dword [esi + 0x3004], 0
je 0x10047861
mov ecx, dword [esi + 0x6c]
mov edi, dword [esi + 0x1bcc]
mov dword [esi + 0x1f28], 7
test ecx, ecx
js 0x100477da
call fcn.10049280
test al, al
je 0x100477da
mov byte [esi + 0x3000], 0
movss xmm0, dword [esi + 0x3fc]
ucomiss xmm0, dword [0x10151bac]
lahf
test ah, 0x44
jp 0x10047800
test edi, edi
je 0x10047800
mov dword [esi + 0x3004], edi
mov byte [esi + 0x3000], 0
or dword [esi + 0x1c28], 0x40
xor edx, edx
mov dword [esi + 0x1c7c], 0x3f19999a
call fcn.1004fda0
push edi
push str.HoveredId:_0x_08X
call fcn.10068700
push str.Press_ESC_to_abort_picking.
call fcn.10068700
add esp, 0xc
xor ecx, ecx
mov eax, 0x10
test edi, edi
cmove ecx, eax
mov eax, dword [0x10168418]
add eax, 0x15e4
add eax, ecx
push str.Click_to_break_in_debugger_
push eax
call fcn.100687f0
add esp, 8
call fcn.1004e390
mov esi, dword [0x10168418]
mov byte [ebx + 0x1b4d], 1
xor edx, edx
or dword [esi + 0x1c28], 2
mov ecx, str.DebugDefault
push 0
mov dword [esi + 0x1c48], 0x43c80000
mov dword [esi + 0x1c4c], 0x43c80000
mov dword [esi + 0x1c30], 4
call fcn.1004c0f0
xor esi, esi
add esp, 4
cmp dword [ebx + 0x2fbc], esi
jle 0x100478d4
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebx + 0x2fc4]
add eax, edi
cmp dword [eax + 4], 1
jne 0x100478c8
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2fbc]
jl 0x100478b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x334]
test eax, eax
je 0x100478ee
cmp byte [eax + 0x8b], 0
jne 0x100478f0
mov eax, ecx
mov ecx, eax
jmp 0x100476cf