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

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [0x682080]
push ebp
push esi
push edi
mov ebp, dword [ebx + 0x2ec8]
sub ebp, 1
js 0x41405a
lea edi, [ebp*4]
add edi, ebp
shl edi, 2
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebx + 0x2ed0]
cmp dword [edi + eax + 4], 7
jne 0x414052
mov esi, eax
mov ecx, edi
sub ecx, esi
add ecx, eax
mov eax, 0x66666667
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 + 0x2ec8]
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.0059ce90
add esp, 0xc
dec dword [ebx + 0x2ec8]
sub edi, 0x14
sub ebp, 1
jns 0x414000
xor esi, esi
cmp dword [ebx + 0x2ec8], esi
jle 0x414094
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebx + 0x2ed0]
add eax, edi
cmp dword [eax + 4], 0
jne 0x414088
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2ec8]
jl 0x414070
mov eax, dword [0x682080]
cmp byte [eax + 0xb4], 0
je 0x4140af
test byte [eax + 0xc], 2
jne 0x4140af
mov byte [eax + 0xb4], 0
call fcn.0041acb0
movss xmm0, dword [ebx + 0x18]
inc dword [ebx + 0x1b38]
cvtps2pd xmm0, xmm0
mov byte [ebx + 0x1b44], 1
mov dword [ebx + 0x2e60], 0
mov dword [ebx + 0x1b90], 0
addsd xmm0, qword [ebx + 0x1b30]
movsd qword [ebx + 0x1b30], xmm0
mov ecx, dword [ebx + 0x2e78]
test ecx, ecx
jns 0x414113
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 + 0x2e74]
call fcn.0041c2f0
mov dword [ebx + 0x2e74], 0
mov ecx, 0x78
mov eax, dword [ebx + 0x3104]
xorps xmm4, xmm4
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x5cc058]
movss xmm3, dword [0x5cbff0]
subss xmm0, dword [ebx + eax*4 + 0x2f24]
movss dword [esp + 0x10], xmm2
addss xmm0, dword [ebx + 0x3108]
movss dword [ebx + 0x3108], xmm0
movss dword [ebx + eax*4 + 0x2f24], xmm1
mov eax, dword [ebx + 0x3104]
inc eax
movss xmm1, dword [ebx + 0x3108]
cdq
idiv ecx
comiss xmm1, xmm4
mov dword [ebx + 0x3104], edx
jbe 0x414199
divss xmm1, dword [0x5cc044]
movaps xmm0, xmm3
divss xmm0, xmm1
jmp 0x41419c
movaps xmm0, xmm2
movss dword [ebx + 0x35c], xmm0
xor edi, edi
mov esi, dword [0x682080]
mov eax, dword [esi + 0x1cf4]
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 + 0x1cec], edi
jle 0x4142b0
mov eax, dword [esi + 0x1cf4]
movaps xmm2, xmm4
mov edx, dword [eax + edi*4]
inc edi
mov ecx, dword [edx + 0x8c]
mov eax, dword [edx + 0x88]
mov dword [edx + 0x7c], ecx
movss xmm0, dword [edx + 0x7c]
addss xmm0, dword [edx + 8]
mov ecx, dword [edx + 0x94]
mov dword [edx + 0x78], eax
mov eax, dword [edx + 0x90]
movss xmm1, dword [edx + 0x78]
addss xmm1, dword [edx + 4]
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [edx + 0x78]
mov dword [edx + 0x80], eax
mov dword [edx + 0x84], ecx
movss dword [edx + 0x14], xmm1
movaps xmm1, xmm4
mov dword [edx + 0x90], 0
addss xmm0, dword [edx + 0x80]
mov dword [edx + 0x94], 0
mov dword [edx + 0x88], 0
mov dword [edx + 0x8c], 0
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x7c]
movss dword [edx + 0x1c], xmm2
addss xmm0, dword [edx + 0x84]
maxss xmm1, xmm0
movss dword [edx + 0x20], xmm1
cmp edi, dword [esi + 0x1cec]
jl 0x4141e0
movss xmm2, dword [esp + 0x10]
movss xmm3, dword [0x5cbff0]
mov eax, dword [ebx + 0x98]
mov byte [eax + 0x10], 1
mov esi, dword [0x682080]
mov edi, dword [esi + 0xa4]
test edi, edi
jne 0x4142d5
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x3c]
mov edi, dword [eax]
movss xmm1, dword [esi + 0x9c]
movaps xmm0, xmm3
mov ecx, dword [esi + 0x1b94]
mov dword [esi + 0x192c], edi
mulss xmm1, dword [edi + 0x10]
mulss xmm1, dword [edi + 0x40]
maxss xmm0, xmm1
movss dword [esi + 0x1934], xmm0
test ecx, ecx
je 0x41432f
mov eax, dword [0x682080]
movss xmm0, dword [ecx + 0x280]
mulss xmm0, dword [eax + 0x1934]
mov eax, dword [ecx + 0x31c]
test eax, eax
je 0x414332
mulss xmm0, dword [eax + 0x280]
jmp 0x414332
movaps xmm0, xmm4
movss xmm4, dword [0x5cc064]
movaps xmm7, xmm2
movss dword [esi + 0x1930], xmm0
movaps xmm6, xmm2
mov edx, dword [edi + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [esi + 0x1938], eax
lea eax, [edx + 0x58]
mov dword [esi + 0x193c], ecx
mov dword [esi + 0x1b28], eax
mov dword [esi + 0x1940], edi
movss dword [esi + 0x1944], xmm0
mov edx, dword [ebx + 0x1cec]
test edx, edx
jle 0x4143d4
mov ecx, dword [ebx + 0x1cf4]
nop word [eax + 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 0x4143b4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x4143bc
movaps xmm6, xmm2
comiss xmm1, xmm4
jbe 0x4143c4
movaps xmm4, xmm1
comiss xmm0, xmm5
jbe 0x4143cc
movaps xmm5, xmm0
add ecx, 4
sub edx, 1
jne 0x414390
mov eax, dword [ebx + 0x15d4]
movss dword [esp + 0x14], xmm7
movss dword [esp + 0x18], xmm6
movss dword [esp + 0x1c], xmm4
movss dword [esp + 0x20], xmm5
movups xmm0, xmmword [esp + 0x14]
push ecx
lea ecx, [ebx + 0x1938]
mov dword [ebx + 0x1948], eax
movups xmmword [ebx + 0x1950], xmm0
movss xmm0, dword [ebx + 0x15d8]
movss dword [esp], xmm0
call fcn.00421f90
xor edx, edx
mov dword [ebx + 0x1960], 0
cmp byte [ebx + 0x15d0], dl
je 0x414440
mov dword [ebx + 0x1960], 1
mov edx, 1
cmp byte [ebx + 0x15d1], 0
mov ecx, edx
je 0x414462
mov eax, dword [ebx + 0x192c]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x414462
or ecx, 2
mov dword [ebx + 0x1960], ecx
cmp byte [ebx + 0x15d2], 0
je 0x414474
or ecx, 4
mov dword [ebx + 0x1960], ecx
test byte [ebx + 0xc], 8
je 0x414483
or ecx, 8
mov dword [ebx + 0x1960], ecx
xor esi, esi
cmp dword [ebx + 0x1cec], esi
jle 0x4144b2
nop dword [eax]
mov eax, dword [ebx + 0x1cf4]
push 0x2c
push 0
mov eax, dword [eax + esi*4]
add eax, 0x34
push eax
call fcn.0059c4a0
inc esi
add esp, 0xc
cmp esi, dword [ebx + 0x1cec]
jl 0x414490
cmp byte [ebx + 0x1e3c], 0
je 0x4144ec
mov eax, dword [ebx + 0x1e54]
cmp eax, dword [ebx + 0x1bc8]
jne 0x4144ec
mov ecx, dword [0x682080]
cmp dword [ecx + 0x1bc8], eax
jne 0x4144dd
mov dword [ecx + 0x1bcc], eax
cmp dword [ecx + 0x1c04], eax
jne 0x4144ec
mov byte [ecx + 0x1c08], 1
cmp dword [ebx + 0x1bb8], 0
jne 0x414501
mov dword [ebx + 0x1bc0], 0
jmp 0x414513
mov eax, dword [ebx + 0x1bb4]
test eax, eax
je 0x41451d
cmp dword [ebx + 0x1bc8], eax
jne 0x41451d
mov dword [ebx + 0x1bc4], 0
mov eax, dword [ebx + 0x1bb4]
test eax, eax
je 0x414557
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bc0]
movss dword [ebx + 0x1bc0], xmm0
cmp dword [ebx + 0x1bc8], eax
je 0x414557
addss xmm1, dword [ebx + 0x1bc4]
movss dword [ebx + 0x1bc4], xmm1
mov dword [ebx + 0x1bb8], eax
mov al, byte [ebx + 0x1bbd]
mov byte [ebx + 0x1bbe], al
mov eax, dword [ebx + 0x1bc8]
mov dword [ebx + 0x1bb4], 0
mov word [ebx + 0x1bbc], 0
mov byte [ebx + 0x1bbf], 0
cmp dword [ebx + 0x1bcc], eax
je 0x4145a2
cmp dword [ebx + 0x1c04], eax
jne 0x4145a2
test eax, eax
je 0x4145a2
call fcn.0040bd10
mov ecx, dword [ebx + 0x1bc8]
test ecx, ecx
je 0x4145c1
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1bd0]
movss dword [ebx + 0x1bd0], xmm0
mov eax, dword [ebx + 0x1bf8]
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1c14]
mov dword [ebx + 0x1c0c], eax
mov al, byte [ebx + 0x1bd8]
mov byte [ebx + 0x1c09], al
mov eax, dword [ebx + 0x2e20]
movss dword [ebx + 0x1c14], xmm0
mov dword [ebx + 0x1c04], ecx
mov dword [ebx + 0x1bcc], 0
mov byte [ebx + 0x1bd9], 0
mov byte [ebx + 0x1c08], 0
mov byte [ebx + 0x1bd4], 0
test eax, eax
je 0x41462b
cmp ecx, eax
je 0x41462b
mov dword [ebx + 0x2e20], 0
test ecx, ecx
jne 0x414647
mov dword [ebx + 0x1bdc], ecx
mov dword [ebx + 0x1be0], ecx
mov dword [ebx + 0x1be8], ecx
mov dword [ebx + 0x1bec], ecx
mov eax, dword [ebx + 0x1ea0]
lea edi, [ebx + 0xc58]
mov dword [ebx + 0x1ea4], eax
xor eax, eax
mov dword [ebx + 0x1ea0], 0
mov dword [ebx + 0x1e9c], 0x7f7fffff
mov word [ebx + 0x1e3d], 0
mov dword [ebx + 0x1eac], 0
mov esi, dword [0x682080]
movss xmm2, dword [0x5cc05c]
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 0x414702
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x4146fb
xorps xmm0, xmm0
jmp 0x414705
addss xmm0, dword [ebx + 0x18]
jmp 0x414705
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x4146e0
call fcn.00411d30
call fcn.0041a2f0
call fcn.0041a120
mov esi, dword [0x682080]
mov edi, dword [esi + 0x1ba0]
test edi, edi
je 0x414811
mov eax, dword [esi + 0x1bc8]
mov dword [esi + 0x1bcc], eax
cmp dword [esi + 0x1c04], eax
jne 0x414753
mov byte [esi + 0x1c08], 1
cmp byte [esi + 0xec], 0
mov edi, dword [edi + 0x320]
je 0x414800
lea ecx, [esi + 0xe4]
test ecx, ecx
je 0x414774
mov eax, ecx
jmp 0x41477e
mov eax, dword [0x682080]
add eax, 0xe4
movss xmm0, dword [eax]
movss xmm1, dword [0x5cc060]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x414800
comiss xmm2, xmm1
jb 0x414800
movss xmm1, dword [ecx]
subss xmm1, dword [esi + 0x1bf0]
movss xmm0, dword [edi + 0xc]
movss xmm2, dword [ecx + 4]
subss xmm2, dword [esi + 0x1bf4]
ucomiss xmm0, xmm1
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x18], xmm2
lahf
test ah, 0x44
jp 0x4147da
movss xmm0, dword [edi + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x4147f0
push edi
call fcn.00410ba0
push 1
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.004194e0
add esp, 0x10
push dword [esi + 0x1ba0]
call fcn.0040dab0
add esp, 4
jmp 0x414849
call fcn.0040bd10
mov dword [esi + 0x1ba0], 0
jmp 0x414849
mov ecx, dword [esi + 0x1bf8]
test ecx, ecx
je 0x414849
mov eax, dword [esi + 0x1bc8]
cmp dword [ecx + 0x50], eax
jne 0x414849
mov dword [esi + 0x1bcc], eax
cmp dword [esi + 0x1c04], eax
jne 0x41483b
mov byte [esi + 0x1c08], 1
cmp byte [esi + 0xec], 0
jne 0x414849
call fcn.0040bd10
mov eax, dword [0x682080]
mov edx, dword [eax + 0x1cd4]
sub edx, 1
js 0x41487f
mov eax, dword [eax + 0x1cdc]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x414877
test dword [ecx + 8], 0x8000000
jne 0x414899
sub eax, 0x24
sub edx, 1
jns 0x414868
cmp dword [ebx + 0x1e00], 0
je 0x4148b8
movss xmm0, dword [ebx + 0x1e10]
comiss xmm0, dword [0x5cbf98]
jbe 0x4148b8
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x5cc020]
addss xmm1, dword [ebx + 0x1e34]
minss xmm1, dword [0x5cbff0]
jmp 0x4148d9
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x5cc028]
movss xmm1, dword [ebx + 0x1e34]
subss xmm1, xmm0
maxss xmm1, dword [0x5cbf98]
movss dword [ebx + 0x1e34], xmm1
mov dword [ebx + 0x1e38], 0
mov dword [ebx + 0x3114], 0xffffffff
mov dword [ebx + 0x3110], 0xffffffff
mov dword [ebx + 0x310c], 0xffffffff
mov dword [ebx + 0x2e80], 0x3f800000
mov dword [ebx + 0x2e84], 0x3f800000
call fcn.0041a820
mov esi, dword [0x682080]
mov edi, dword [esi + 0x1cf8]
test edi, edi
je 0x414967
cmp byte [edi + 0x8a], 0
je 0x414967
test dword [edi + 8], 0x40000
jne 0x414967
cmp byte [esi + 0xfc], 0
jne 0x414967
mov eax, dword [esi + 0x34]
test eax, eax
js 0x414967
push 1
push eax
call fcn.0040fbb0
add esp, 8
test al, al
je 0x414967
mov al, 1
jmp 0x414969
xor al, al
cmp dword [esi + 0x1bc8], 0
mov byte [esi + 0x1e30], al
jne 0x4149c8
test al, al
je 0x4149c8
cmp dword [esi + 0x1cfc], 0
mov dword [esi + 0x1e1c], edi
mov dword [esi + 0x1e28], 0x7fffffff
je 0x4149b7
mov ecx, dword [esi + 0x1d44]
cmp ecx, 0x7fffffff
je 0x4149b7
xor edx, edx
mov eax, 2
cmp byte [esi + 0xfd], dl
cmovne eax, edx
add eax, ecx
jmp 0x4149c2
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
mov dword [esi + 0x1e2c], eax
mov edi, dword [esi + 0x1e1c]
mov dword [esi + 0x1e18], 0
mov dword [esi + 0x1e24], 0x7fffffff
mov dword [esi + 0x1e20], 0x7fffffff
test edi, edi
je 0x414a5c
mov eax, dword [esi + 0x1e28]
mov dword [esi + 0x1e18], edi
cmp eax, 0x7fffffff
je 0x414a1a
mov ecx, dword [edi + 0x1a8]
cmp ecx, 0xffffffff
je 0x414a1a
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e20], edx
mov eax, dword [esi + 0x1e2c]
cmp eax, 0x7fffffff
je 0x414a3e
mov ecx, dword [edi + 0x1ac]
cmp ecx, 0xffffffff
je 0x414a3e
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e24], edx
mov dword [esi + 0x1e1c], 0
mov dword [esi + 0x1e2c], 0x7fffffff
mov dword [esi + 0x1e28], 0x7fffffff
mov dword [esi + 0x1d44], 0x7fffffff
cmp byte [ebx + 0x1b47], 0
jne 0x414a97
movss xmm1, dword [ebx + 0xb8]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x414a97
movsd xmm0, qword [ebx + 0x1b30]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
jmp 0x414a9d
movss xmm0, dword [esp + 0x10]
xor edi, edi
cmp dword [ebx + 0x1b54], edi
je 0x414c54
nop dword [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 0x414c41
cmp byte [esi + 0x360], cl
jne 0x414c41
comiss xmm0, dword [esi + 0x260]
jbe 0x414c41
mov ecx, dword [esi + 0x288]
mov byte [esi + 0x360], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x358], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x35c], eax
mov ecx, dword [esi + 0xc8]
test ecx, ecx
je 0x414b61
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc0], 0
mov eax, dword [0x682080]
test eax, eax
je 0x414b47
dec dword [eax + 0x370]
push dword [0x682088]
push ecx
call dword [0x668cec]
add esp, 8
mov dword [esi + 0xc8], 0
mov ecx, dword [esi + 0x288]
call fcn.00423330
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x414bb3
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
mov eax, dword [0x682080]
test eax, eax
je 0x414b99
dec dword [eax + 0x370]
push dword [0x682088]
push ecx
call dword [0x668cec]
add esp, 8
mov dword [esi + 0x190], 0
mov ecx, dword [esi + 0x1c4]
test ecx, ecx
je 0x414bfa
mov dword [esi + 0x1c0], 0
mov dword [esi + 0x1bc], 0
mov eax, dword [0x682080]
test eax, eax
je 0x414be0
dec dword [eax + 0x370]
push dword [0x682088]
push ecx
call dword [0x668cec]
add esp, 8
mov dword [esi + 0x1c4], 0
mov ecx, dword [esi + 0x1d0]
test ecx, ecx
je 0x414c41
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1c8], 0
mov eax, dword [0x682080]
test eax, eax
je 0x414c27
dec dword [eax + 0x370]
push dword [0x682088]
push ecx
call dword [0x668cec]
add esp, 8
mov dword [esi + 0x1d0], 0
movss xmm0, dword [esp + 0x10]
inc edi
cmp edi, dword [ebx + 0x1b54]
jne 0x414ab0
xor esi, esi
cmp dword [ebx + 0x1ef8], esi
jle 0x414cae
xor edi, edi
xorps xmm1, xmm1
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebx + 0x1f00]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm1
jb 0x414c9f
movss xmm2, dword [esp + 0x10]
comiss xmm2, xmm0
jbe 0x414c9f
mov eax, dword [ebx + 0x1ed8]
add eax, edi
push eax
call fcn.00427900
add esp, 4
xorps xmm1, xmm1
inc esi
add edi, 0x228
cmp esi, dword [ebx + 0x1ef8]
jl 0x414c70
cmp byte [ebx + 0x1b47], 0
je 0x414d54
mov esi, dword [0x682080]
mov ecx, dword [esi + 0x1cc4]
test ecx, ecx
je 0x414d08
mov dword [esi + 0x1cc0], 0
mov dword [esi + 0x1cbc], 0
mov eax, dword [0x682080]
test eax, eax
je 0x414cee
dec dword [eax + 0x370]
push dword [0x682088]
push ecx
call dword [0x668cec]
add esp, 8
mov dword [esi + 0x1cc4], 0
mov ecx, dword [esi + 0x1cd0]
test ecx, ecx
je 0x414d4f
mov dword [esi + 0x1ccc], 0
mov dword [esi + 0x1cc8], 0
mov eax, dword [0x682080]
test eax, eax
je 0x414d35
dec dword [eax + 0x370]
push dword [0x682088]
push ecx
call dword [0x668cec]
add esp, 8
mov dword [esi + 0x1cd0], 0
call fcn.00427710
mov eax, dword [ebx + 0x1cf8]
mov byte [ebx + 0x1b47], 0
test eax, eax
je 0x414d7a
cmp byte [eax + 0x8b], 0
jne 0x414d7a
push 0
push 0
call fcn.0040d9f0
add esp, 8
mov ecx, dword [ebx + 0x1b7c]
test ecx, ecx
jns 0x414da0
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.0041c2f0
mov dword [ebx + 0x1b78], 0
mov ecx, dword [ebx + 0x1ce4]
test ecx, ecx
jns 0x414dd0
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 + 0x1ce0]
call fcn.0041c370
lea esi, [ebx + 0x1cbc]
mov dword [ebx + 0x1ce0], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x414dff
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.0041c2f0
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x414e14
push 8
mov ecx, esi
call fcn.0041c2f0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [ebx + 0x1cc8]
inc dword [esi]
call fcn.0041c4f0
push 0
push dword [ebx + 0x1cf8]
call fcn.0040bff0
mov edi, dword [0x682080]
add esp, 8
cmp byte [edi + 0x2f0c], 0
mov dword [edi + 0x2f10], 0
je 0x414f20
mov eax, dword [0x682080]
mov ebp, dword [edi + 0x1bb8]
mov dword [eax + 0x1e38], 7
mov esi, dword [0x682080]
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x414e9a
push 1
push eax
call fcn.0040fbb0
add esp, 8
test al, al
je 0x414e9a
mov byte [edi + 0x2f0c], 0
mov esi, dword [0x682080]
movss xmm0, dword [esi + 0x3f4]
ucomiss xmm0, dword [0x5cbf98]
lahf
test ah, 0x44
jp 0x414ec6
test ebp, ebp
je 0x414ec6
mov dword [edi + 0x2f10], ebp
mov byte [edi + 0x2f0c], 0
mov esi, dword [0x682080]
or dword [esi + 0x1c18], 0x40
push 0
push 0
mov dword [esi + 0x1c6c], 0x3f19999a
call fcn.0040abe0
push ebp
push str.HoveredId:_0x_08X
call fcn.0043c390
push str.Press_ESC_to_abort_picking.
call fcn.0043c390
xor ecx, ecx
mov eax, 0x10
test ebp, ebp
push str.Click_to_break_in_debugger_
cmove ecx, eax
mov eax, dword [0x682080]
add eax, 0x15dc
add eax, ecx
push eax
call fcn.0043c3b0
add esp, 0x1c
call fcn.0040c670
mov byte [ebx + 0x1b45], 1
mov eax, dword [0x682080]
push 0
push 0
push 0
or dword [eax + 0x1c18], 2
push str.DebugDefault
mov dword [eax + 0x1c38], 0x43c80000
mov dword [eax + 0x1c3c], 0x43c80000
mov dword [eax + 0x1c20], 4
call fcn.00407400
xor esi, esi
add esp, 0x10
cmp dword [ebx + 0x2ec8], esi
jle 0x414f94
xor edi, edi
mov eax, dword [ebx + 0x2ed0]
add eax, edi
cmp dword [eax + 4], 1
jne 0x414f88
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2ec8]
jl 0x414f70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret