Function at 0x407ba0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [0x4b5c78]
mov ebx, edi
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebx + 0x2ed4]
lea eax, [ecx - 1]
mov dword [ebp - 4], eax
test eax, eax
js 0x407c3a
lea edi, [eax + eax*4]
shl edi, 2
nop word [eax + eax]
mov ecx, dword [ebx + 0x2edc]
cmp dword [ecx + edi + 4], 7
jne 0x407c23
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 + 0x2ed4]
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.00456940
mov eax, dword [ebp - 4]
add esp, 0xc
dec dword [ebx + 0x2ed4]
mov ecx, dword [ebx + 0x2ed4]
dec eax
sub edi, 0x14
mov dword [ebp - 4], eax
test eax, eax
jns 0x407bd0
mov edi, dword [0x4b5c78]
xor esi, esi
test ecx, ecx
jle 0x407c6c
xor edi, edi
mov eax, dword [ebx + 0x2edc]
add eax, edi
cmp dword [eax + 4], 0
jne 0x407c5a
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2ed4]
jl 0x407c42
mov edi, dword [0x4b5c78]
cmp byte [edi + 0xb4], 0
je 0x407c82
test byte [edi + 0xc], 2
jne 0x407c82
mov byte [edi + 0xb4], 0
mov esi, edi
cmp byte [esi + 0x2e9d], 0
jne 0x407cde
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x407cd7
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.004050a0
mov edi, eax
add esp, 8
test edi, edi
je 0x407cd1
mov edx, dword [ebp - 4]
mov ecx, edi
call fcn.00414190
mov ecx, dword [0x4b5c78]
test ecx, ecx
je 0x407cc8
dec dword [ecx + 0x370]
push edi
call fcn.0045d47f
add esp, 4
mov edi, dword [0x4b5c78]
mov byte [esi + 0x2e9d], 1
movss xmm0, dword [esi + 0x2ea0]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x407d69
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2ea0], xmm0
jb 0x407d69
mov eax, dword [esi + 0x20]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x407d58
lea ecx, [ebp - 4]
mov dword [edi + 0x2ea0], 0
mov dword [ebp - 4], 0
call fcn.00414430
mov ecx, dword [ebp - 0xc]
mov edx, 0x48d610
mov dword [ebp - 8], eax
call fcn.00404fd0
mov edi, eax
test edi, edi
je 0x407d50
push edi
push dword [ebp - 4]
push 1
push dword [ebp - 8]
call fcn.0045b333
push edi
call fcn.0045a788
add esp, 0x14
mov edi, dword [0x4b5c78]
jmp 0x407d5f
mov byte [esi + 0x358], 1
mov dword [esi + 0x2ea0], 0
movss xmm0, dword [ebx + 0x18]
inc dword [ebx + 0x1b38]
cvtps2pd xmm0, xmm0
mov byte [ebx + 0x1b44], 1
mov dword [ebx + 0x2e6c], 0
mov dword [ebx + 0x1b90], 0
addsd xmm0, qword [ebx + 0x1b30]
movsd qword [ebx + 0x1b30], xmm0
mov ecx, dword [ebx + 0x2e84]
test ecx, ecx
jns 0x407dce
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 + 0x2e80]
call fcn.00415160
mov edi, dword [0x4b5c78]
mov dword [ebx + 0x2e80], 0
mov ecx, 0x78
mov eax, dword [ebx + 0x3110]
xorps xmm3, xmm3
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x491d28]
movss xmm4, dword [0x491c7c]
subss xmm0, dword [ebx + eax*4 + 0x2f30]
movss dword [ebp - 4], xmm2
addss xmm0, dword [ebx + 0x3118]
movss dword [ebx + 0x3118], xmm0
movss dword [ebx + eax*4 + 0x2f30], xmm1
mov eax, dword [ebx + 0x3110]
inc eax
movss xmm1, dword [ebx + 0x3118]
cdq
idiv ecx
mov eax, dword [ebx + 0x3114]
inc eax
mov dword [ebx + 0x3110], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [ebx + 0x3114], ecx
jbe 0x407e68
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x407e6b
movaps xmm0, xmm2
movss dword [ebx + 0x35c], xmm0
xor edx, edx
mov eax, dword [edi + 0x1cfc]
mov ecx, dword [eax]
mov dword [ecx], 5
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [edi + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x14]
mov dword [ecx + 0x10], eax
cmp dword [edi + 0x1cf4], edx
jle 0x407f7e
nop dword [eax]
mov eax, dword [edi + 0x1cfc]
movaps xmm2, xmm3
mov ecx, dword [eax + edx*4]
inc edx
mov eax, dword [ecx + 0x88]
movss xmm1, dword [ecx + 4]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x8c]
mov dword [ecx + 0x7c], eax
mov eax, dword [ecx + 0x90]
mov dword [ecx + 0x80], eax
mov eax, dword [ecx + 0x94]
mov dword [ecx + 0x84], eax
mov dword [ecx + 0x90], 0
mov eax, dword [ecx + 0x90]
mov dword [ecx + 0x94], 0
mov dword [ecx + 0x88], eax
mov eax, dword [ecx + 0x94]
mov dword [ecx + 0x8c], eax
movss xmm0, dword [ecx + 0x7c]
addss xmm0, dword [ecx + 8]
addss xmm1, dword [ecx + 0x78]
movss dword [ecx + 0x18], xmm0
movss xmm0, dword [ecx + 0xc]
movss dword [ecx + 0x14], xmm1
movaps xmm1, xmm3
subss xmm0, dword [ecx + 0x78]
addss xmm0, dword [ecx + 0x80]
maxss xmm2, xmm0
movss xmm0, dword [ecx + 0x10]
subss xmm0, dword [ecx + 0x7c]
addss xmm0, dword [ecx + 0x84]
movss dword [ecx + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [ecx + 0x20], xmm1
cmp edx, dword [edi + 0x1cf4]
jl 0x407eb0
movss xmm2, dword [0x491d28]
mov eax, dword [ebx + 0x98]
mov byte [eax + 0x10], 1
mov edx, dword [edi + 0xa4]
test edx, edx
jne 0x407f9d
mov eax, dword [edi + 0x98]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
mov eax, dword [edi + 0x1b9c]
movaps xmm0, xmm4
mov dword [edi + 0x192c], edx
movss xmm1, dword [edx + 0x10]
mulss xmm1, dword [edi + 0x9c]
mulss xmm1, dword [edx + 0x40]
maxss xmm0, xmm1
movss dword [edi + 0x1934], xmm0
test eax, eax
je 0x407fee
movss xmm1, dword [eax + 0x27c]
mov eax, dword [eax + 0x318]
mulss xmm1, xmm0
test eax, eax
je 0x407ff1
mulss xmm1, dword [eax + 0x27c]
jmp 0x407ff1
movaps xmm1, xmm3
movss xmm4, dword [0x491d50]
movaps xmm7, xmm2
movss dword [edi + 0x1930], xmm1
movaps xmm6, xmm2
mov ecx, dword [edx + 0x30]
movaps xmm5, xmm4
mov eax, dword [ecx + 0x2c]
mov dword [edi + 0x1938], eax
mov eax, dword [ecx + 0x30]
mov dword [edi + 0x193c], eax
lea eax, [ecx + 0x58]
mov dword [edi + 0x1b28], eax
mov dword [edi + 0x1940], edx
movss dword [edi + 0x1944], xmm1
mov edx, dword [ebx + 0x1cf4]
test edx, edx
jle 0x40808c
mov ecx, dword [ebx + 0x1cfc]
mov eax, dword [ecx]
movss xmm3, dword [eax + 4]
comiss xmm7, xmm3
movss xmm2, dword [eax + 8]
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
addss xmm0, xmm3
addss xmm1, xmm2
jbe 0x40806c
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x408074
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x40807c
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x408084
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x408046
mov eax, dword [ebx + 0x15d4]
movss xmm1, dword [ebx + 0x15d8]
movss dword [ebp - 0x20], xmm7
movss dword [ebp - 0x1c], xmm6
movss dword [ebp - 0x18], xmm4
movss dword [ebp - 0x14], xmm5
movups xmm0, xmmword [ebp - 0x20]
mov dword [ebx + 0x1948], eax
movups xmmword [ebx + 0x1950], xmm0
movss xmm0, dword [ebx + 0x194c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x4081b2
movss dword [ebx + 0x194c], xmm1
xor esi, esi
nop
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
jle 0x40816e
movss xmm1, dword [ebx + 0x194c]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x491c7c]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.0047a5d0
movss xmm1, dword [0x491cb0]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.004786d0
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x40815f
mov eax, 4
jmp 0x408170
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x408170
xor eax, eax
mov byte [ebx + esi + 0x1ae8], al
inc esi
cmp esi, 0x40
jl 0x4080e0
movsd xmm0, qword [0x491c90]
call fcn.0047aaf0
movss xmm1, dword [0x491c7c]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x194c]
divss xmm0, xmm1
movss dword [ebx + 0x1ae4], xmm0
xor edx, edx
mov dword [ebx + 0x1960], 0
cmp byte [ebx + 0x15d0], dl
je 0x4081d5
mov dword [ebx + 0x1960], 1
mov edx, 1
cmp byte [ebx + 0x15d1], 0
mov ecx, edx
je 0x4081f7
mov eax, dword [ebx + 0x192c]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x4081f7
or ecx, 2
mov dword [ebx + 0x1960], ecx
cmp byte [ebx + 0x15d2], 0
je 0x408209
or ecx, 4
mov dword [ebx + 0x1960], ecx
test byte [ebx + 0xc], 8
je 0x408218
or ecx, 8
mov dword [ebx + 0x1960], ecx
xor esi, esi
cmp dword [ebx + 0x1cf4], esi
jle 0x408244
mov eax, dword [ebx + 0x1cfc]
push 0x2c
push 0
mov eax, dword [eax + esi*4]
add eax, 0x34
push eax
call fcn.00456ec0
inc esi
add esp, 0xc
cmp esi, dword [ebx + 0x1cf4]
jl 0x408222
cmp byte [ebx + 0x1e44], 0
je 0x408278
mov eax, dword [ebx + 0x1e5c]
cmp eax, dword [ebx + 0x1bd4]
jne 0x408278
cmp dword [edi + 0x1bd4], eax
jne 0x408269
mov dword [edi + 0x1bd8], eax
cmp dword [edi + 0x1c0c], eax
jne 0x408278
mov byte [edi + 0x1c10], 1
cmp dword [ebx + 0x1bc4], 0
mov eax, dword [ebx + 0x1bc0]
jne 0x408293
mov dword [ebx + 0x1bcc], 0
jmp 0x4082a1
mov edx, eax
test eax, eax
je 0x4082ad
cmp dword [ebx + 0x1bd4], eax
jne 0x4082ad
mov dword [ebx + 0x1bd0], 0
mov edx, eax
movss xmm2, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1bd4]
test edx, edx
je 0x4082e7
movss xmm0, dword [ebx + 0x1bcc]
addss xmm0, xmm2
movss dword [ebx + 0x1bcc], xmm0
cmp ecx, edx
je 0x4082e7
movaps xmm0, xmm2
addss xmm0, dword [ebx + 0x1bd0]
movss dword [ebx + 0x1bd0], xmm0
movaps xmm1, xmm2
mov al, byte [ebx + 0x1bc9]
mov dword [ebx + 0x1bc4], edx
mov edx, ecx
mov byte [ebx + 0x1bca], al
mov dword [ebx + 0x1bc0], 0
mov word [ebx + 0x1bc8], 0
mov byte [ebx + 0x1bcb], 0
cmp dword [ebx + 0x1bd8], ecx
je 0x4083c3
cmp dword [ebx + 0x1c0c], ecx
jne 0x4083c3
test ecx, ecx
je 0x4083c3
mov ecx, dword [edi + 0x1bd4]
test ecx, ecx
setne al
mov byte [edi + 0x1be0], al
test ecx, ecx
je 0x40836a
mov dword [edi + 0x1bdc], 0
mov word [edi + 0x1be3], 0
mov dword [edi + 0x1c08], 0xffffffff
mov dword [edi + 0x1bd4], 0
mov word [edi + 0x1be1], 0
mov dword [edi + 0x1c00], 0
mov word [edi + 0x1be5], 0
mov dword [edi + 0x1be8], 0
mov dword [edi + 0x1bec], 0
mov dword [edi + 0x1bf0], 0
mov dword [edi + 0x1bf4], 0
mov edx, dword [ebx + 0x1bd4]
movss xmm1, dword [ebx + 0x18]
test edx, edx
je 0x4083da
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bdc]
movss dword [ebx + 0x1bdc], xmm0
mov eax, dword [ebx + 0x1c00]
addss xmm1, dword [ebx + 0x1c1c]
mov dword [ebx + 0x1c14], eax
mov al, byte [ebx + 0x1be4]
mov byte [ebx + 0x1c11], al
mov eax, dword [ebx + 0x2e2c]
movss dword [ebx + 0x1c1c], xmm1
mov dword [ebx + 0x1c0c], edx
mov dword [ebx + 0x1bd8], 0
mov byte [ebx + 0x1be5], 0
mov byte [ebx + 0x1c10], 0
mov byte [ebx + 0x1be0], 0
test eax, eax
je 0x40843f
cmp edx, eax
je 0x40843f
mov dword [ebx + 0x2e2c], 0
test edx, edx
jne 0x40845b
mov dword [ebx + 0x1be8], edx
mov dword [ebx + 0x1bec], edx
mov dword [ebx + 0x1bf0], edx
mov dword [ebx + 0x1bf4], edx
mov eax, dword [ebx + 0x1ea8]
mov dword [ebx + 0x1eac], eax
xor eax, eax
mov dword [ebx + 0x1ea8], 0
mov dword [ebx + 0x1ea4], 0x7f7fffff
mov word [ebx + 0x1e45], 0
mov dword [ebx + 0x1eb4], 0
cmp byte [edi + 0xfc], al
movss xmm2, dword [0x491d38]
setne al
mov ecx, eax
or ecx, 2
cmp byte [edi + 0xfd], 0
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [edi + 0xfe], 0
cmove edx, ecx
mov ecx, 0x200
mov eax, edx
or eax, 8
cmp byte [edi + 0xff], 0
lea edi, [ebx + 0xc58]
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 + eax]
cmp byte [ebx + ecx + 0x100], 0
je 0x408511
movss xmm1, dword [eax]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x408514
movss xmm0, dword [ebx + 0x18]
addss xmm0, xmm1
jmp 0x408514
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x4084f0
call fcn.00411760
call fcn.00407170
call fcn.004079c0
call fcn.00406e10
mov eax, dword [0x4b5c78]
mov edx, dword [eax + 0x1cdc]
sub edx, 1
js 0x408572
mov eax, dword [eax + 0x1ce4]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x40856a
test dword [ecx + 8], 0x8000000
jne 0x408634
sub eax, 0x24
sub edx, 1
jns 0x408557
cmp dword [ebx + 0x1e08], 0
xorps xmm6, xmm6
je 0x40858f
movss xmm0, dword [ebx + 0x1e18]
comiss xmm0, xmm6
ja 0x408637
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x491cd0]
movss xmm1, dword [ebx + 0x1e3c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [ebx + 0x1e3c], xmm1
mov dword [ebx + 0x1e40], 0
mov dword [ebx + 0x3124], 0xffffffff
mov dword [ebx + 0x3120], 0xffffffff
mov dword [ebx + 0x311c], 0xffffffff
mov dword [ebx + 0x2e8c], 0x3f800000
mov dword [ebx + 0x2e90], 0x3f800000
call fcn.00407560
mov esi, dword [0x4b5c78]
mov edi, dword [esi + 0x1d00]
test edi, edi
je 0x408659
cmp byte [edi + 0x8a], 0
je 0x408659
test dword [edi + 8], 0x40000
jne 0x408659
cmp byte [esi + 0xfc], 0
jne 0x408659
mov ecx, dword [esi + 0x34]
test ecx, ecx
js 0x408659
call fcn.0040a8e0
test al, al
je 0x408659
mov al, 1
jmp 0x40865b
xorps xmm6, xmm6
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x491cc0]
addss xmm1, dword [ebx + 0x1e3c]
minss xmm1, dword [0x491c7c]
jmp 0x4085ac
xor al, al
cmp dword [esi + 0x1bd4], 0
mov byte [esi + 0x1e38], al
jne 0x4086b5
test al, al
je 0x4086b5
cmp dword [esi + 0x1d04], 0
mov dword [esi + 0x1e24], edi
mov dword [esi + 0x1e30], 0x7fffffff
je 0x4086a4
mov ecx, dword [esi + 0x1d4c]
cmp ecx, 0x7fffffff
je 0x4086a4
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
add eax, ecx
jmp 0x4086af
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
mov dword [esi + 0x1e34], eax
mov edi, dword [esi + 0x1e24]
mov dword [esi + 0x1e20], 0
mov dword [esi + 0x1e2c], 0x7fffffff
mov dword [esi + 0x1e28], 0x7fffffff
test edi, edi
je 0x408749
mov eax, dword [esi + 0x1e30]
mov dword [esi + 0x1e20], edi
cmp eax, 0x7fffffff
je 0x408707
mov ecx, dword [edi + 0x1a8]
cmp ecx, 0xffffffff
je 0x408707
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e28], edx
mov eax, dword [esi + 0x1e34]
cmp eax, 0x7fffffff
je 0x40872b
mov ecx, dword [edi + 0x1ac]
cmp ecx, 0xffffffff
je 0x40872b
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e2c], edx
mov dword [esi + 0x1e24], 0
mov dword [esi + 0x1e34], 0x7fffffff
mov dword [esi + 0x1e30], 0x7fffffff
mov dword [esi + 0x1d4c], 0x7fffffff
cmp byte [ebx + 0x1b47], 0
jne 0x408780
movss xmm0, dword [ebx + 0xb8]
comiss xmm6, xmm0
ja 0x408780
movsd xmm1, qword [ebx + 0x1b30]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 4], xmm1
jmp 0x408788
movss xmm1, dword [0x491d28]
xor edi, edi
cmp dword [ebx + 0x1b54], edi
je 0x408927
nop word [eax + eax]
mov eax, dword [ebx + 0x1b5c]
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 0x408915
cmp byte [esi + 0x35c], cl
jne 0x408915
comiss xmm1, dword [esi + 0x25c]
jbe 0x408915
mov ecx, dword [esi + 0x284]
mov byte [esi + 0x35c], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x354], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x358], eax
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x40884a
mov eax, dword [0x4b5c78]
mov dword [esi + 0xc8], 0
mov dword [esi + 0xc4], 0
test eax, eax
je 0x408837
dec dword [eax + 0x370]
push ecx
call fcn.0045d47f
add esp, 4
mov dword [esi + 0xcc], 0
mov ecx, dword [esi + 0x284]
call fcn.0041cf10
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x408895
mov eax, dword [0x4b5c78]
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test eax, eax
je 0x408882
dec dword [eax + 0x370]
push ecx
call fcn.0045d47f
add esp, 4
mov dword [esi + 0x190], 0
mov ecx, dword [esi + 0x1c0]
test ecx, ecx
je 0x4088d5
mov eax, dword [0x4b5c78]
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1b8], 0
test eax, eax
je 0x4088c2
dec dword [eax + 0x370]
push ecx
call fcn.0045d47f
add esp, 4
mov dword [esi + 0x1c0], 0
mov ecx, dword [esi + 0x1cc]
test ecx, ecx
je 0x408915
mov eax, dword [0x4b5c78]
mov dword [esi + 0x1c8], 0
mov dword [esi + 0x1c4], 0
test eax, eax
je 0x408902
dec dword [eax + 0x370]
push ecx
call fcn.0045d47f
add esp, 4
mov dword [esi + 0x1cc], 0
movss xmm1, dword [ebp - 4]
inc edi
cmp edi, dword [ebx + 0x1b54]
jne 0x4087a0
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp dword [ebx + 0x1f04], ecx
jle 0x408a2f
xor edx, edx
xorps xmm1, xmm1
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 0x1f0c]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x408a16
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x408a16
mov esi, dword [ebx + 0x1ee4]
mov edi, dword [0x4b5c78]
add esi, edx
mov dword [ebp - 0x14], edi
mov dword [esi + 0x17c], 0
mov byte [esi + 0x1a4], 1
mov eax, dword [esi + 0x174]
test eax, eax
je 0x4089c2
mov dword [esi + 0x170], 0
mov dword [esi + 0x16c], 0
test edi, edi
je 0x4089ac
dec dword [edi + 0x370]
push eax
call fcn.0045d47f
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 0x4089ec
xor ecx, ecx
or edi, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x68]
inc edx
mov word [eax + ecx - 0x18], di
cmp edx, dword [esi + 0x54]
jl 0x4089d5
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
sub esi, dword [edi + 0x1ee4]
mov eax, 0x4bda12f7
imul esi
mov eax, dword [edi + 0x1f0c]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0xc]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [ebp - 8]
inc ecx
add edx, 0x1b0
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
cmp ecx, dword [ebx + 0x1f04]
jl 0x408940
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x1ef8], eax
jle 0x408aca
xor esi, esi
xorps xmm1, xmm1
nop word [eax + eax]
mov edi, dword [ebx + 0x1f00]
movss xmm0, dword [edi + esi + 4]
comiss xmm0, xmm1
jb 0x408abb
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x408abb
lea ecx, [esi + 0x10]
add ecx, edi
call fcn.0041f820
mov ecx, dword [edi + esi + 0x38]
test ecx, ecx
je 0x408aad
mov eax, dword [0x4b5c78]
mov dword [edi + esi + 0x34], 0
mov dword [edi + esi + 0x30], 0
test eax, eax
je 0x408a9c
dec dword [eax + 0x370]
push ecx
call fcn.0045d47f
add esp, 4
mov dword [edi + esi + 0x38], 0
mov eax, dword [ebp - 0xc]
xorps xmm1, xmm1
mov dword [edi + esi + 4], 0xbf800000
inc eax
sub esi, 0xffffff80
mov dword [ebp - 0xc], eax
cmp eax, dword [ebx + 0x1ef8]
jl 0x408a50
cmp byte [ebx + 0x1b47], 0
je 0x408b5d
mov esi, dword [0x4b5c78]
mov eax, dword [esi + 0x1ccc]
test eax, eax
je 0x408b18
mov dword [esi + 0x1cc8], 0
mov dword [esi + 0x1cc4], 0
test esi, esi
je 0x408b05
dec dword [esi + 0x370]
push eax
call fcn.0045d47f
add esp, 4
mov dword [esi + 0x1ccc], 0
mov ecx, dword [esi + 0x1cd8]
test ecx, ecx
je 0x408b58
mov eax, dword [0x4b5c78]
mov dword [esi + 0x1cd4], 0
mov dword [esi + 0x1cd0], 0
test eax, eax
je 0x408b45
dec dword [eax + 0x370]
push ecx
call fcn.0045d47f
add esp, 4
mov dword [esi + 0x1cd8], 0
call fcn.00425ac0
mov eax, dword [ebx + 0x1d00]
mov byte [ebx + 0x1b47], 0
test eax, eax
je 0x408bc1
cmp byte [eax + 0x8b], 0
jne 0x408bc1
mov eax, dword [0x4b5c78]
mov edx, dword [eax + 0x1b60]
sub edx, 1
js 0x408bba
mov eax, dword [eax + 0x1b68]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x408bb2
cmp byte [ecx + 0x8b], 0
je 0x408bb2
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x408e1b
sub esi, 4
sub edx, 1
jns 0x408b90
xor ecx, ecx
call fcn.0040eba0
mov ecx, dword [ebx + 0x1b7c]
test ecx, ecx
jns 0x408be7
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 + 0x1b78]
call fcn.00415160
mov dword [ebx + 0x1b78], 0
mov ecx, dword [ebx + 0x1cec]
test ecx, ecx
jns 0x408c17
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 + 0x1ce8]
call fcn.004155d0
lea esi, [ebx + 0x1cc4]
mov dword [ebx + 0x1ce8], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x408ca3
mov eax, ecx
xor edi, edi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg edi, eax
cmp edi, ecx
jle 0x408ca3
mov eax, dword [0x4b5c78]
test eax, eax
je 0x408c51
inc dword [eax + 0x370]
lea eax, [edi*4]
push eax
call fcn.0046204a
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 0x14], eax
test edx, edx
je 0x408c9d
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call fcn.004563c0
mov ecx, dword [esi + 8]
add esp, 0xc
test ecx, ecx
je 0x408c91
mov eax, dword [0x4b5c78]
test eax, eax
je 0x408c91
dec dword [eax + 0x370]
push ecx
call fcn.0045d47f
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 4], edi
lea eax, [ebp - 0x14]
mov dword [esi], 0
push eax
mov ecx, esi
mov dword [ebp - 0x14], 0
call fcn.00414ee0
push ecx
lea ecx, [ebx + 0x1cd0]
call fcn.00414e30
mov ecx, dword [ebx + 0x1d00]
xor dl, dl
call fcn.004100a0
mov esi, dword [0x4b5c78]
cmp byte [esi + 0x2f18], 0
mov dword [esi + 0x2f1c], 0
je 0x408d9f
mov edi, dword [esi + 0x1bc4]
mov dword [esi + 0x1e40], 7
mov ecx, dword [esi + 0x6c]
test ecx, ecx
js 0x408d18
call fcn.0040a8e0
test al, al
je 0x408d18
mov byte [esi + 0x2f18], 0
movss xmm0, dword [esi + 0x3f4]
ucomiss xmm0, dword [0x491bf8]
lahf
test ah, 0x44
jp 0x408d3e
test edi, edi
je 0x408d3e
mov dword [esi + 0x2f1c], edi
mov byte [esi + 0x2f18], 0
or dword [esi + 0x1c20], 0x40
xor edx, edx
mov dword [esi + 0x1c74], 0x3f19999a
call fcn.0040fd50
push edi
push str.HoveredId:_0x_08X
call fcn.00426730
push str.Press_ESC_to_abort_picking.
call fcn.00426730
add esp, 0xc
xor ecx, ecx
mov eax, 0x10
test edi, edi
cmove ecx, eax
mov eax, dword [0x4b5c78]
add eax, 0x15dc
add eax, ecx
push str.Click_to_break_in_debugger_
push eax
call fcn.004267c0
add esp, 8
call fcn.0040eab0
mov esi, dword [0x4b5c78]
mov byte [ebx + 0x1b45], 1
mov ecx, str.DebugDefault
or dword [esi + 0x1c20], 2
push 0
mov dword [esi + 0x1c40], 0x43c80000
mov dword [esi + 0x1c44], 0x43c80000
mov dword [esi + 0x1c28], 4
call fcn.0040cf60
xor esi, esi
add esp, 4
cmp dword [ebx + 0x2ed4], esi
jle 0x408e14
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebx + 0x2edc]
add eax, edi
cmp dword [eax + 4], 1
jne 0x408e08
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2ed4]
jl 0x408df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x328]
test eax, eax
je 0x408e2e
cmp byte [eax + 0x8b], 0
jne 0x408e30
mov eax, ecx
mov ecx, eax
jmp 0x408bbc