Function at 0x406820
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 [0x43acf0]
mov ebx, edi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx + 0x2f10]
sub eax, 1
mov dword [ebp - 8], eax
js 0x4068b0
lea edi, [eax + eax*4]
shl edi, 2
nop dword [eax + eax]
mov ecx, dword [ebx + 0x2f18]
cmp dword [ecx + edi + 4], 7
jne 0x4068a3
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 + 0x2f10]
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 - 8]
add esp, 0xc
dec dword [ebx + 0x2f10]
dec eax
sub edi, 0x14
mov dword [ebp - 8], eax
test eax, eax
jns 0x406850
mov edi, ebx
xor esi, esi
cmp dword [ebx + 0x2f10], esi
jle 0x4068ea
xor edi, edi
nop dword [eax]
mov eax, dword [ebx + 0x2f18]
add eax, edi
cmp dword [eax + 4], 0
jne 0x4068d8
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2f10]
jl 0x4068c0
mov edi, dword [0x43acf0]
cmp byte [edi + 0xb4], 0
je 0x406900
test byte [edi + 0xc], 2
jne 0x406900
mov byte [edi + 0xb4], 0
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, edi
mov dword [ebp - 4], eax
cmp byte [esi + 0x2ed9], 0
jne 0x406962
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x40695b
push ecx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call fcn.00403df0
mov edi, eax
add esp, 8
test edi, edi
je 0x406955
mov edx, dword [ebp - 8]
mov ecx, edi
call fcn.00413850
mov ecx, dword [0x43acf0]
test ecx, ecx
je 0x40694e
dec dword [ecx + 0x370]
push edi
call dword [ebp - 4]
add esp, 4
mov edi, dword [0x43acf0]
mov byte [esi + 0x2ed9], 1
movss xmm1, dword [esi + 0x2edc]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x4069ef
subss xmm1, dword [esi + 0x18]
comiss xmm0, xmm1
movss dword [esi + 0x2edc], xmm1
jb 0x4069ef
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4069de
lea ecx, [ebp - 8]
mov dword [edi + 0x2edc], 0
mov dword [ebp - 8], 0
call fcn.00413af0
mov ecx, dword [ebp - 0x10]
mov edx, 0x435614
mov dword [ebp - 0xc], eax
call fcn.00403d20
mov edi, eax
test edi, edi
je 0x4069d6
push edi
push dword [ebp - 8]
push 1
push dword [ebp - 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
mov edi, dword [0x43acf0]
jmp 0x4069e5
mov byte [esi + 0x358], 1
mov dword [esi + 0x2edc], 0
movss xmm0, dword [ebx + 0x18]
inc dword [ebx + 0x1b38]
cvtps2pd xmm0, xmm0
mov byte [ebx + 0x1b44], 1
mov dword [ebx + 0x2ea8], 0
mov dword [ebx + 0x1b90], 0
addsd xmm0, qword [ebx + 0x1b30]
movsd qword [ebx + 0x1b30], xmm0
mov ecx, dword [ebx + 0x2ec0]
test ecx, ecx
jns 0x406a54
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 + 0x2ebc]
call fcn.00414860
mov edi, dword [0x43acf0]
mov dword [ebx + 0x2ebc], 0
mov ecx, 0x78
mov eax, dword [ebx + 0x314c]
xorps xmm3, xmm3
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x435ab8]
movss xmm4, dword [0x435a1c]
subss xmm0, dword [ebx + eax*4 + 0x2f6c]
movss dword [ebp - 8], xmm2
addss xmm0, dword [ebx + 0x3154]
movss dword [ebx + 0x3154], xmm0
movss dword [ebx + eax*4 + 0x2f6c], xmm1
mov eax, dword [ebx + 0x314c]
inc eax
movss xmm1, dword [ebx + 0x3154]
cdq
idiv ecx
mov eax, dword [ebx + 0x3150]
inc eax
mov dword [ebx + 0x314c], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [ebx + 0x3150], ecx
jbe 0x406aee
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x406af1
movaps xmm0, xmm2
movss dword [ebx + 0x35c], xmm0
xor esi, esi
mov eax, dword [edi + 0x1cfc]
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 + 0x1cf4], esi
jle 0x406bf7
nop
mov eax, dword [edi + 0x1cfc]
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 + 0x1cf4]
jl 0x406b30
movss xmm2, dword [ebp - 8]
mov eax, dword [ebx + 0x98]
mov byte [eax + 0x10], 1
mov esi, dword [edi + 0xa4]
test esi, esi
jne 0x406c16
mov eax, dword [edi + 0x98]
mov eax, dword [eax + 0x3c]
mov esi, dword [eax]
movss xmm1, dword [edi + 0x9c]
movaps xmm0, xmm4
mov eax, dword [edi + 0x1b9c]
mov dword [edi + 0x192c], esi
mulss xmm1, dword [esi + 0x10]
mulss xmm1, dword [esi + 0x44]
maxss xmm0, xmm1
movss dword [edi + 0x1934], xmm0
test eax, eax
je 0x406c63
mulss xmm0, dword [eax + 0x27c]
mov eax, dword [eax + 0x318]
test eax, eax
je 0x406c66
mulss xmm0, dword [eax + 0x27c]
jmp 0x406c66
movaps xmm0, xmm3
movss xmm4, dword [0x435adc]
movaps xmm7, xmm2
movss dword [edi + 0x1930], xmm0
movaps xmm6, xmm2
mov edx, dword [esi + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [edi + 0x1938], eax
lea eax, [edx + 0x58]
mov dword [edi + 0x193c], ecx
mov dword [edi + 0x1b28], eax
mov dword [edi + 0x1940], esi
movss dword [edi + 0x1944], xmm0
mov edx, dword [ebx + 0x1cf4]
test edx, edx
jle 0x406d04
mov ecx, dword [ebx + 0x1cfc]
nop dword [eax + 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 0x406ce4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x406cec
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x406cf4
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x406cfc
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x406cc0
movss dword [ebx + 0x1950], xmm7
movss dword [ebx + 0x1954], xmm6
movss dword [ebx + 0x1958], xmm4
movss dword [ebx + 0x195c], xmm5
mov eax, dword [ebx + 0x15d4]
movss xmm1, dword [ebx + 0x15d8]
mov dword [ebx + 0x1948], eax
movss xmm0, dword [ebx + 0x194c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x406e29
movss dword [ebx + 0x194c], xmm1
xor esi, esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x406de5
movss xmm1, dword [ebx + 0x194c]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x435a1c]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x435a54]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x406dd6
mov eax, 4
jmp 0x406de7
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x406de7
xor eax, eax
mov byte [esi + ebx + 0x1ae8], al
inc esi
cmp esi, 0x40
jl 0x406d57
movsd xmm0, qword [0x435a30]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x435a1c]
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 0x406e4c
mov dword [ebx + 0x1960], 1
mov edx, 1
cmp byte [ebx + 0x15d1], 0
mov ecx, edx
je 0x406e6e
mov eax, dword [ebx + 0x192c]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x406e6e
or ecx, 2
mov dword [ebx + 0x1960], ecx
cmp byte [ebx + 0x15d2], 0
je 0x406e80
or ecx, 4
mov dword [ebx + 0x1960], ecx
test byte [ebx + 0xc], 8
je 0x406e8f
or ecx, 8
mov dword [ebx + 0x1960], ecx
xor esi, esi
cmp dword [ebx + 0x1cf4], esi
jle 0x406ec2
nop dword [eax]
mov eax, dword [ebx + 0x1cfc]
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 + 0x1cf4]
jl 0x406ea0
cmp byte [ebx + 0x1e44], 0
je 0x406ef6
mov eax, dword [ebx + 0x1e5c]
cmp eax, dword [ebx + 0x1bd4]
jne 0x406ef6
cmp dword [edi + 0x1bd4], eax
jne 0x406ee7
mov dword [edi + 0x1bd8], eax
cmp dword [edi + 0x1c0c], eax
jne 0x406ef6
mov byte [edi + 0x1c10], 1
cmp dword [ebx + 0x1bc4], 0
jne 0x406f0b
mov dword [ebx + 0x1bcc], 0
jmp 0x406f1d
mov eax, dword [ebx + 0x1bc0]
test eax, eax
je 0x406f27
cmp dword [ebx + 0x1bd4], eax
jne 0x406f27
mov dword [ebx + 0x1bd0], 0
mov eax, dword [ebx + 0x1bc0]
test eax, eax
je 0x406f61
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bcc]
movss dword [ebx + 0x1bcc], xmm0
cmp dword [ebx + 0x1bd4], eax
je 0x406f61
addss xmm1, dword [ebx + 0x1bd0]
movss dword [ebx + 0x1bd0], xmm1
mov dword [ebx + 0x1bc4], eax
mov al, byte [ebx + 0x1bc9]
mov byte [ebx + 0x1bca], al
mov eax, dword [ebx + 0x1bd4]
mov dword [ebx + 0x1bc0], 0
mov word [ebx + 0x1bc8], 0
mov byte [ebx + 0x1bcb], 0
cmp dword [ebx + 0x1bd8], eax
je 0x406fac
cmp dword [ebx + 0x1c0c], eax
jne 0x406fac
test eax, eax
je 0x406fac
call fcn.004055e0
mov ecx, dword [ebx + 0x1bd4]
test ecx, ecx
je 0x406fcb
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1bdc]
movss dword [ebx + 0x1bdc], xmm0
mov eax, dword [ebx + 0x1c00]
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1c1c]
mov dword [ebx + 0x1c14], eax
mov al, byte [ebx + 0x1be4]
mov byte [ebx + 0x1c11], al
mov eax, dword [ebx + 0x2e38]
movss dword [ebx + 0x1c1c], xmm0
mov dword [ebx + 0x1c0c], ecx
mov dword [ebx + 0x1bd8], 0
mov byte [ebx + 0x1be5], 0
mov byte [ebx + 0x1c10], 0
mov byte [ebx + 0x1be0], 0
test eax, eax
je 0x407035
cmp ecx, eax
je 0x407035
mov dword [ebx + 0x2e38], 0
test ecx, ecx
jne 0x407051
mov dword [ebx + 0x1be8], ecx
mov dword [ebx + 0x1bec], ecx
mov dword [ebx + 0x1bf0], ecx
mov dword [ebx + 0x1bf4], ecx
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 [0x435ac8]
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
cmp byte [ebx + ecx + 0x100], 0
je 0x407103
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x4070fc
xorps xmm0, xmm0
jmp 0x407106
addss xmm0, dword [ebx + 0x18]
jmp 0x407106
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x4070e1
call fcn.00410f50
call fcn.00405dc0
call fcn.00406620
mov esi, dword [0x43acf0]
mov ecx, dword [esi + 0x1ba8]
test ecx, ecx
je 0x407225
mov eax, dword [esi + 0x1bd4]
mov dword [esi + 0x1bd8], eax
cmp dword [esi + 0x1c0c], eax
jne 0x407154
mov byte [esi + 0x1c10], 1
cmp byte [esi + 0xec], 0
mov ecx, dword [ecx + 0x31c]
je 0x407219
lea eax, [esi + 0xe4]
mov edx, eax
test eax, eax
jne 0x407179
lea edx, [esi + 0xe4]
movss xmm0, dword [edx]
movss xmm1, dword [0x435ad8]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x407219
comiss xmm2, xmm1
jb 0x407219
movss xmm1, dword [eax]
subss xmm1, dword [esi + 0x1bf8]
movss xmm0, dword [ecx + 0xc]
movss xmm2, dword [eax + 4]
subss xmm2, dword [esi + 0x1bfc]
ucomiss xmm0, xmm1
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x1c], xmm2
lahf
test ah, 0x44
jp 0x4071db
movss xmm0, dword [ecx + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x407206
test dword [ecx + 8], 0x100
jne 0x4071f9
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x2edc]
jb 0x4071f9
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2edc], eax
push 1
lea edx, [ebp - 0x20]
call fcn.0040e500
add esp, 4
mov ecx, dword [esi + 0x1ba8]
call fcn.0040e360
mov esi, dword [0x43acf0]
jmp 0x40725d
mov dword [esi + 0x1ba8], 0
jmp 0x407258
mov ecx, dword [esi + 0x1c00]
test ecx, ecx
je 0x40725d
mov eax, dword [esi + 0x1bd4]
cmp dword [ecx + 0x50], eax
jne 0x40725d
mov dword [esi + 0x1bd8], eax
cmp dword [esi + 0x1c0c], eax
jne 0x40724f
mov byte [esi + 0x1c10], 1
cmp byte [esi + 0xec], 0
jne 0x40725d
call fcn.004055e0
mov edx, dword [esi + 0x1cdc]
sub edx, 1
js 0x407292
mov eax, dword [esi + 0x1ce4]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x40728a
test dword [ecx + 8], 0x8000000
jne 0x407354
sub eax, 0x24
sub edx, 1
jns 0x407277
cmp dword [ebx + 0x1e08], 0
xorps xmm6, xmm6
je 0x4072af
movss xmm0, dword [ebx + 0x1e18]
comiss xmm0, xmm6
ja 0x407357
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x435a70]
movss xmm1, dword [ebx + 0x1e3c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [ebx + 0x1e3c], xmm1
mov dword [ebx + 0x1e40], 0
mov dword [ebx + 0x3160], 0xffffffff
mov dword [ebx + 0x315c], 0xffffffff
mov dword [ebx + 0x3158], 0xffffffff
mov dword [ebx + 0x2ec8], 0x3f800000
mov dword [ebx + 0x2ecc], 0x3f800000
call fcn.00406180
mov esi, dword [0x43acf0]
mov edi, dword [esi + 0x1d00]
test edi, edi
je 0x407379
cmp byte [edi + 0x8a], 0
je 0x407379
test dword [edi + 8], 0x40000
jne 0x407379
cmp byte [esi + 0xfc], 0
jne 0x407379
mov ecx, dword [esi + 0x34]
test ecx, ecx
js 0x407379
call fcn.00409330
test al, al
je 0x407379
mov al, 1
jmp 0x40737b
xorps xmm6, xmm6
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x435a60]
addss xmm1, dword [ebx + 0x1e3c]
minss xmm1, dword [0x435a1c]
jmp 0x4072cc
xor al, al
cmp dword [esi + 0x1bd4], 0
mov byte [esi + 0x1e38], al
jne 0x4073d5
test al, al
je 0x4073d5
cmp dword [esi + 0x1d04], 0
mov dword [esi + 0x1e24], edi
mov dword [esi + 0x1e30], 0x7fffffff
je 0x4073c4
mov ecx, dword [esi + 0x1d4c]
cmp ecx, 0x7fffffff
je 0x4073c4
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
add eax, ecx
jmp 0x4073cf
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 0x407469
mov eax, dword [esi + 0x1e30]
mov dword [esi + 0x1e20], edi
cmp eax, 0x7fffffff
je 0x407427
mov ecx, dword [edi + 0x1a8]
cmp ecx, 0xffffffff
je 0x407427
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e28], edx
mov eax, dword [esi + 0x1e34]
cmp eax, 0x7fffffff
je 0x40744b
mov ecx, dword [edi + 0x1ac]
cmp ecx, 0xffffffff
je 0x40744b
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 0x4074a0
movss xmm0, dword [ebx + 0xb8]
comiss xmm6, xmm0
ja 0x4074a0
movsd xmm1, qword [ebx + 0x1b30]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 8], xmm1
jmp 0x4074a5
movss xmm1, dword [ebp - 8]
xor edi, edi
cmp dword [ebx + 0x1b54], edi
je 0x407632
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 0x407620
cmp byte [esi + 0x35c], cl
jne 0x407620
comiss xmm1, dword [esi + 0x25c]
jbe 0x407620
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 0x40755b
mov eax, dword [0x43acf0]
mov dword [esi + 0xc8], 0
mov dword [esi + 0xc4], 0
test eax, eax
je 0x40754a
dec dword [eax + 0x370]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0xcc], 0
mov ecx, dword [esi + 0x284]
call fcn.0041e300
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x4075a4
mov eax, dword [0x43acf0]
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test eax, eax
je 0x407593
dec dword [eax + 0x370]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x190], 0
mov ecx, dword [esi + 0x1c0]
test ecx, ecx
je 0x4075e2
mov eax, dword [0x43acf0]
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1b8], 0
test eax, eax
je 0x4075d1
dec dword [eax + 0x370]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x1c0], 0
mov ecx, dword [esi + 0x1cc]
test ecx, ecx
je 0x407620
mov eax, dword [0x43acf0]
mov dword [esi + 0x1c8], 0
mov dword [esi + 0x1c4], 0
test eax, eax
je 0x40760f
dec dword [eax + 0x370]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x1cc], 0
movss xmm1, dword [ebp - 8]
inc edi
cmp edi, dword [ebx + 0x1b54]
jne 0x4074b3
xor ecx, ecx
mov dword [ebp - 0xc], ecx
cmp dword [ebx + 0x1f08], ecx
jle 0x40777f
xor edx, edx
xorps xmm1, xmm1
mov dword [ebp - 0x10], edx
nop dword [eax + eax]
mov eax, dword [ebx + 0x1f10]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x407766
movss xmm2, dword [ebp - 8]
comiss xmm2, xmm0
jbe 0x407766
mov esi, dword [ebx + 0x1ee4]
mov edi, dword [0x43acf0]
add esi, edx
mov dword [ebp - 0x1c], edi
mov dword [esi + 0x194], 0
mov eax, dword [esi + 0x190]
test eax, eax
je 0x4076c6
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test edi, edi
je 0x4076b5
dec dword [edi + 0x370]
push eax
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x190], 0
mov byte [esi + 0x1bc], 1
mov ecx, dword [esi + 0x174]
test ecx, ecx
je 0x40770b
mov eax, dword [0x43acf0]
mov dword [esi + 0x170], 0
mov dword [esi + 0x16c], 0
test eax, eax
je 0x4076fa
dec dword [eax + 0x370]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x174], 0
xor edx, edx
mov byte [esi + 0x1c6], 1
cmp dword [esi + 0x54], edx
jle 0x407737
xor ecx, ecx
or edi, 0xffffffff
nop
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x68]
inc edx
mov word [eax + ecx - 0x18], di
cmp edx, dword [esi + 0x54]
jl 0x407720
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
sub esi, dword [edi + 0x1ee4]
mov eax, 0x8fb823ef
imul esi
xorps xmm1, xmm1
mov eax, dword [edi + 0x1f10]
add edx, esi
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [ebp - 0xc]
inc ecx
add edx, 0x1c8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
cmp ecx, dword [ebx + 0x1f08]
jl 0x407650
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebx + 0x1efc], eax
jle 0x4077d3
xor esi, esi
xorps xmm1, xmm1
mov edi, dword [ebx + 0x1f04]
movss xmm0, dword [esi + edi + 4]
comiss xmm0, xmm1
jb 0x4077c4
movss xmm2, dword [ebp - 8]
comiss xmm2, xmm0
jbe 0x4077c4
lea ecx, [edi + 0x10]
add ecx, esi
call fcn.00420c80
mov eax, dword [ebp - 0x10]
xorps xmm1, xmm1
mov dword [esi + edi + 4], 0xbf800000
inc eax
add esi, 0x68
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0x1efc]
jl 0x407791
cmp byte [ebx + 0x1b47], 0
je 0x407868
mov esi, dword [0x43acf0]
mov eax, dword [esi + 0x1ccc]
test eax, eax
je 0x407823
mov dword [esi + 0x1cc8], 0
mov dword [esi + 0x1cc4], 0
test esi, esi
je 0x40780e
dec dword [esi + 0x370]
mov edi, dword [ebp - 4]
push eax
call edi
add esp, 4
mov dword [esi + 0x1ccc], 0
jmp 0x407826
mov edi, dword [ebp - 4]
mov ecx, dword [esi + 0x1cd8]
test ecx, ecx
je 0x407863
mov eax, dword [0x43acf0]
mov dword [esi + 0x1cd4], 0
mov dword [esi + 0x1cd0], 0
test eax, eax
je 0x407853
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x1cd8], 0
call fcn.004260e0
mov eax, dword [ebx + 0x1d00]
mov byte [ebx + 0x1b47], 0
test eax, eax
je 0x4078d1
cmp byte [eax + 0x8b], 0
jne 0x4078d1
mov eax, dword [0x43acf0]
mov edx, dword [eax + 0x1b60]
sub edx, 1
js 0x4078ca
mov eax, dword [eax + 0x1b68]
lea esi, [eax + edx*4]
nop dword [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x4078c2
cmp byte [ecx + 0x8b], 0
je 0x4078c2
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x407adb
sub esi, 4
sub edx, 1
jns 0x4078a0
xor ecx, ecx
call fcn.0040e360
mov ecx, dword [ebx + 0x1b7c]
test ecx, ecx
jns 0x4078f7
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.00414860
mov dword [ebx + 0x1b78], 0
mov ecx, dword [ebx + 0x1cec]
test ecx, ecx
jns 0x407927
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.00414c30
mov dword [ebx + 0x1ce8], 0
mov ecx, dword [ebx + 0x1cc8]
test ecx, ecx
jns 0x407957
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea ecx, [ebx + 0x1cc4]
test eax, eax
cmovg edx, eax
push edx
call fcn.00414860
lea eax, [ebp - 0x1c]
mov dword [ebx + 0x1cc4], 0
push eax
lea ecx, [ebx + 0x1cc4]
mov dword [ebp - 0x1c], 0
call fcn.00414630
push 0
lea ecx, [ebx + 0x1cd0]
call fcn.00414580
mov ecx, dword [ebx + 0x1d00]
xor dl, dl
call fcn.0040fa00
mov esi, dword [0x43acf0]
cmp byte [esi + 0x2f54], 0
mov dword [esi + 0x2f58], 0
je 0x407a5c
mov ecx, dword [esi + 0x6c]
mov edi, dword [esi + 0x1bc4]
mov dword [esi + 0x1e40], 7
test ecx, ecx
js 0x4079d5
call fcn.00409330
test al, al
je 0x4079d5
mov byte [esi + 0x2f54], 0
movss xmm0, dword [esi + 0x3f4]
ucomiss xmm0, dword [0x4359a0]
lahf
test ah, 0x44
jp 0x4079fb
test edi, edi
je 0x4079fb
mov dword [esi + 0x2f58], edi
mov byte [esi + 0x2f54], 0
or dword [esi + 0x1c20], 0x40
xor edx, edx
mov dword [esi + 0x1c74], 0x3f19999a
call fcn.0040f670
push edi
push str.HoveredId:_0x_08X
call fcn.00426d70
push str.Press_ESC_to_abort_picking.
call fcn.00426d70
add esp, 0xc
xor ecx, ecx
mov eax, 0x10
test edi, edi
cmove ecx, eax
mov eax, dword [0x43acf0]
add eax, 0x15dc
add eax, ecx
push str.Click_to_break_in_debugger_
push eax
call fcn.00426e60
add esp, 8
call fcn.0040e260
mov esi, dword [0x43acf0]
mov byte [ebx + 0x1b45], 1
xor edx, edx
or dword [esi + 0x1c20], 2
mov ecx, str.DebugDefault
push 0
mov dword [esi + 0x1c40], 0x43c80000
mov dword [esi + 0x1c44], 0x43c80000
mov dword [esi + 0x1c28], 4
call fcn.0040bc60
xor esi, esi
add esp, 4
cmp dword [ebx + 0x2f10], esi
jle 0x407ad4
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebx + 0x2f18]
add eax, edi
cmp dword [eax + 4], 1
jne 0x407ac8
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2f10]
jl 0x407ab0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x328]
test eax, eax
je 0x407aee
cmp byte [eax + 0x8b], 0
jne 0x407af0
mov eax, ecx
mov ecx, eax
jmp 0x4078cc