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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [0x103c80a8]
mov ebx, edi
mov dword [esp + 0x34], ebx
mov eax, dword [ebx + 0x2f40]
sub eax, 1
mov dword [esp + 0x28], eax
js 0x1006a132
lea edi, [eax + eax*4]
shl edi, 2
nop dword [eax]
mov ecx, dword [ebx + 0x2f48]
cmp dword [ecx + edi + 4], 7
jne 0x1006a124
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 + 0x2f40]
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 [esp + 0x34]
add esp, 0xc
dec dword [ebx + 0x2f40]
dec eax
sub edi, 0x14
mov dword [esp + 0x28], eax
test eax, eax
jns 0x1006a0d0
mov edi, ebx
xor esi, esi
cmp dword [ebx + 0x2f40], esi
jle 0x1006a16a
xor edi, edi
nop
mov eax, dword [ebx + 0x2f48]
add eax, edi
cmp dword [eax + 4], 0
jne 0x1006a158
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2f40]
jl 0x1006a140
mov edi, dword [0x103c80a8]
cmp byte [edi + 0xb4], 0
je 0x1006a180
test byte [edi + 0xc], 2
jne 0x1006a180
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 [esp + 0x24], eax
cmp byte [esi + 0x2f09], 0
jne 0x1006a1e7
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1006a1e0
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
call fcn.100672f0
mov edi, eax
add esp, 8
test edi, edi
je 0x1006a1da
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.100764e0
mov ecx, dword [0x103c80a8]
test ecx, ecx
je 0x1006a1d2
dec dword [ecx + 0x370]
push edi
call dword [esp + 0x28]
add esp, 4
mov edi, dword [0x103c80a8]
mov byte [esi + 0x2f09], 1
movss xmm0, dword [esi + 0x2f0c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1006a27f
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2f0c], xmm0
jb 0x1006a27f
mov eax, dword [esi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
je 0x1006a26e
lea ecx, [esp + 0x28]
mov dword [edi + 0x2f0c], 0
mov dword [esp + 0x28], 0
call fcn.10076740
mov ecx, dword [esp + 0x30]
mov edx, 0x101d288c
mov dword [esp + 0x2c], eax
call fcn.100671f0
mov edi, eax
test edi, edi
je 0x1006a266
push edi
push dword [esp + 0x2c]
push 1
push dword [esp + 0x38]
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 [0x103c80a8]
jmp 0x1006a275
mov byte [esi + 0x358], 1
mov dword [esi + 0x2f0c], 0
movss xmm0, dword [ebx + 0x18]
inc dword [ebx + 0x1b38]
cvtps2pd xmm0, xmm0
mov byte [ebx + 0x1b44], 1
mov dword [ebx + 0x2ed8], 0
mov dword [ebx + 0x1b90], 0
addsd xmm0, qword [ebx + 0x1b30]
movsd qword [ebx + 0x1b30], xmm0
mov ecx, dword [ebx + 0x2ef0]
test ecx, ecx
jns 0x1006a2e4
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 + 0x2eec]
call fcn.10077680
mov edi, dword [0x103c80a8]
mov dword [ebx + 0x2eec], 0
mov ecx, 0x78
mov eax, dword [ebx + 0x317c]
xorps xmm3, xmm3
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x101d86cc]
movss xmm4, dword [0x101d84f0]
subss xmm0, dword [ebx + eax*4 + 0x2f9c]
movss dword [esp + 0x28], xmm2
addss xmm0, dword [ebx + 0x3184]
movss dword [ebx + 0x3184], xmm0
movss dword [ebx + eax*4 + 0x2f9c], xmm1
mov eax, dword [ebx + 0x317c]
inc eax
movss xmm1, dword [ebx + 0x3184]
cdq
idiv ecx
mov eax, dword [ebx + 0x3180]
inc eax
mov dword [ebx + 0x317c], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [ebx + 0x3180], ecx
jbe 0x1006a37f
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x1006a382
movaps xmm0, xmm2
movss dword [ebx + 0x35c], xmm0
xor esi, esi
mov eax, dword [edi + 0x1d2c]
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 + 0x1d24], esi
jle 0x1006a488
mov eax, dword [edi + 0x1d2c]
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 + 0x1d24]
jl 0x1006a3c0
movss xmm2, dword [esp + 0x28]
mov eax, dword [ebx + 0x98]
mov byte [eax + 0x10], 1
mov esi, dword [edi + 0xa4]
test esi, esi
jne 0x1006a4a7
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 + 0x1b9c]
mov dword [edi + 0x192c], esi
mulss xmm0, dword [esi + 0x10]
mulss xmm0, dword [esi + 0x44]
maxss xmm1, xmm0
movss dword [edi + 0x1934], xmm1
test eax, eax
je 0x1006a4f4
mulss xmm1, dword [eax + 0x254]
mov eax, dword [eax + 0x2f0]
test eax, eax
je 0x1006a4f7
mulss xmm1, dword [eax + 0x254]
jmp 0x1006a4f7
movaps xmm1, xmm3
movss xmm4, dword [0x101d8734]
movaps xmm7, xmm2
movss dword [edi + 0x1930], 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 + 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], xmm1
mov edx, dword [ebx + 0x1d24]
test edx, edx
jle 0x1006a594
mov ecx, dword [ebx + 0x1d2c]
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 0x1006a574
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1006a57c
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x1006a584
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1006a58c
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x1006a550
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 0x1006a6bd
movss dword [ebx + 0x194c], xmm1
xor esi, esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1006a679
movss xmm1, dword [ebx + 0x194c]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x101d84f0]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x101d8558]
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 sub.api_ms_win_crt_math_l1_1_0.dll_ceil
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 0x1006a66a
mov eax, 4
jmp 0x1006a67b
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x1006a67b
xor eax, eax
mov byte [esi + ebx + 0x1ae8], al
inc esi
cmp esi, 0x40
jl 0x1006a5e7
movsd xmm0, qword [0x101d8508]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x101d84f0]
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 0x1006a6e0
mov dword [ebx + 0x1960], 1
mov edx, 1
cmp byte [ebx + 0x15d1], 0
mov ecx, edx
je 0x1006a702
mov eax, dword [ebx + 0x192c]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1006a702
or ecx, 2
mov dword [ebx + 0x1960], ecx
cmp byte [ebx + 0x15d2], 0
je 0x1006a714
or ecx, 4
mov dword [ebx + 0x1960], ecx
test byte [ebx + 0xc], 8
je 0x1006a723
or ecx, 8
mov dword [ebx + 0x1960], ecx
xor esi, esi
cmp dword [ebx + 0x1d24], esi
jle 0x1006a752
nop dword [eax]
mov eax, dword [ebx + 0x1d2c]
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 + 0x1d24]
jl 0x1006a730
cmp byte [ebx + 0x1e74], 0
je 0x1006a786
mov eax, dword [ebx + 0x1e8c]
cmp eax, dword [ebx + 0x1bd0]
jne 0x1006a786
cmp dword [edi + 0x1bd0], eax
jne 0x1006a777
mov dword [edi + 0x1bd4], eax
cmp dword [edi + 0x1c0c], eax
jne 0x1006a786
mov byte [edi + 0x1c10], 1
cmp dword [ebx + 0x1bc0], 0
jne 0x1006a79b
mov dword [ebx + 0x1bc8], 0
jmp 0x1006a7ad
mov eax, dword [ebx + 0x1bbc]
test eax, eax
je 0x1006a7b7
cmp dword [ebx + 0x1bd0], eax
jne 0x1006a7b7
mov dword [ebx + 0x1bcc], 0
mov eax, dword [ebx + 0x1bbc]
test eax, eax
je 0x1006a7f1
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bc8]
movss dword [ebx + 0x1bc8], xmm0
cmp dword [ebx + 0x1bd0], eax
je 0x1006a7f1
addss xmm1, dword [ebx + 0x1bcc]
movss dword [ebx + 0x1bcc], xmm1
mov dword [ebx + 0x1bc0], eax
mov al, byte [ebx + 0x1bc5]
mov byte [ebx + 0x1bc6], al
mov eax, dword [ebx + 0x1bd0]
mov dword [ebx + 0x1bbc], 0
mov word [ebx + 0x1bc4], 0
mov byte [ebx + 0x1bc7], 0
cmp dword [ebx + 0x1bd4], eax
je 0x1006a83c
cmp dword [ebx + 0x1c0c], eax
jne 0x1006a83c
test eax, eax
je 0x1006a83c
call fcn.10068df0
mov ecx, dword [ebx + 0x1bd0]
test ecx, ecx
je 0x1006a85b
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1bd8]
movss dword [ebx + 0x1bd8], 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 + 0x1be0]
mov byte [ebx + 0x1c11], al
mov eax, dword [ebx + 0x2e68]
movss dword [ebx + 0x1c1c], xmm0
mov dword [ebx + 0x1c0c], ecx
mov dword [ebx + 0x1bd4], 0
mov byte [ebx + 0x1be1], 0
mov byte [ebx + 0x1c10], 0
mov byte [ebx + 0x1bdc], 0
test eax, eax
je 0x1006a8c5
cmp ecx, eax
je 0x1006a8c5
mov dword [ebx + 0x2e68], 0
test ecx, ecx
jne 0x1006a8e1
mov dword [ebx + 0x1be4], ecx
mov dword [ebx + 0x1be8], ecx
mov dword [ebx + 0x1bf0], ecx
mov dword [ebx + 0x1bf4], ecx
mov eax, dword [ebx + 0x1ed8]
mov dword [ebx + 0x1edc], eax
xor eax, eax
mov dword [ebx + 0x1ed8], 0
mov dword [ebx + 0x1ed4], 0x7f7fffff
mov word [ebx + 0x1e75], 0
mov dword [ebx + 0x1ee4], 0
cmp byte [edi + 0xfc], al
movss xmm2, dword [0x101d86f0]
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 0x1006a993
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1006a98c
xorps xmm0, xmm0
jmp 0x1006a996
addss xmm0, dword [ebx + 0x18]
jmp 0x1006a996
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x1006a971
call fcn.10073ed0
call fcn.10069620
call fcn.10069ea0
mov esi, dword [0x103c80a8]
mov ecx, dword [esi + 0x1ba8]
test ecx, ecx
je 0x1006aab8
mov eax, dword [esi + 0x1bd0]
mov dword [esi + 0x1bd4], eax
cmp dword [esi + 0x1c0c], eax
jne 0x1006a9e4
mov byte [esi + 0x1c10], 1
cmp byte [esi + 0xec], 0
mov ecx, dword [ecx + 0x2f4]
je 0x1006aaac
lea eax, [esi + 0xe4]
mov edx, eax
test eax, eax
jne 0x1006aa09
lea edx, [esi + 0xe4]
movss xmm0, dword [edx]
movss xmm1, dword [0x101d8730]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x1006aaac
comiss xmm2, xmm1
jb 0x1006aaac
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 [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm2
lahf
test ah, 0x44
jp 0x1006aa6d
movss xmm0, dword [ecx + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1006aa99
test dword [ecx + 8], 0x100
jne 0x1006aa8b
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x2f0c]
jb 0x1006aa8b
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2f0c], eax
push 1
lea edx, [esp + 0x3c]
call fcn.10071e70
add esp, 4
mov ecx, dword [esi + 0x1ba8]
call fcn.10071a70
mov esi, dword [0x103c80a8]
jmp 0x1006aaf0
mov dword [esi + 0x1ba8], 0
jmp 0x1006aaeb
mov ecx, dword [esi + 0x1c00]
test ecx, ecx
je 0x1006aaf0
mov eax, dword [esi + 0x1bd0]
cmp dword [ecx + 0x50], eax
jne 0x1006aaf0
mov dword [esi + 0x1bd4], eax
cmp dword [esi + 0x1c0c], eax
jne 0x1006aae2
mov byte [esi + 0x1c10], 1
cmp byte [esi + 0xec], 0
jne 0x1006aaf0
call fcn.10068df0
mov edx, dword [esi + 0x1d0c]
sub edx, 1
js 0x1006ab2b
mov eax, dword [esi + 0x1d14]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop word [eax + eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x1006ab23
test dword [ecx + 8], 0x8000000
jne 0x1006abed
sub eax, 0x24
sub edx, 1
jns 0x1006ab10
cmp dword [ebx + 0x1e38], 0
xorps xmm6, xmm6
je 0x1006ab48
movss xmm0, dword [ebx + 0x1e48]
comiss xmm0, xmm6
ja 0x1006abf0
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x101d858c]
movss xmm1, dword [ebx + 0x1e6c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [ebx + 0x1e6c], xmm1
mov dword [ebx + 0x1e70], 0
mov dword [ebx + 0x3190], 0xffffffff
mov dword [ebx + 0x318c], 0xffffffff
mov dword [ebx + 0x3188], 0xffffffff
mov dword [ebx + 0x2ef8], 0x3f800000
mov dword [ebx + 0x2efc], 0x3f800000
call fcn.100699e0
mov esi, dword [0x103c80a8]
mov edi, dword [esi + 0x1d30]
test edi, edi
je 0x1006ac12
cmp byte [edi + 0x92], 0
je 0x1006ac12
test dword [edi + 8], 0x40000
jne 0x1006ac12
cmp byte [esi + 0xfc], 0
jne 0x1006ac12
mov ecx, dword [esi + 0x34]
test ecx, ecx
js 0x1006ac12
call fcn.1006c4f0
test al, al
je 0x1006ac12
mov al, 1
jmp 0x1006ac14
xorps xmm6, xmm6
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x101d8570]
addss xmm1, dword [ebx + 0x1e6c]
minss xmm1, dword [0x101d84f0]
jmp 0x1006ab65
xor al, al
cmp dword [esi + 0x1bd0], 0
mov byte [esi + 0x1e68], al
jne 0x1006ac6e
test al, al
je 0x1006ac6e
cmp dword [esi + 0x1d34], 0
mov dword [esi + 0x1e54], edi
mov dword [esi + 0x1e60], 0x7fffffff
je 0x1006ac5d
mov ecx, dword [esi + 0x1d7c]
cmp ecx, 0x7fffffff
je 0x1006ac5d
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
add eax, ecx
jmp 0x1006ac68
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
mov dword [esi + 0x1e64], eax
mov edi, dword [esi + 0x1e54]
mov dword [esi + 0x1e50], 0
mov dword [esi + 0x1e5c], 0x7fffffff
mov dword [esi + 0x1e58], 0x7fffffff
test edi, edi
je 0x1006ad02
mov eax, dword [esi + 0x1e60]
mov dword [esi + 0x1e50], edi
cmp eax, 0x7fffffff
je 0x1006acc0
mov ecx, dword [edi + 0x180]
cmp ecx, 0xffffffff
je 0x1006acc0
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e58], edx
mov eax, dword [esi + 0x1e64]
cmp eax, 0x7fffffff
je 0x1006ace4
mov ecx, dword [edi + 0x184]
cmp ecx, 0xffffffff
je 0x1006ace4
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e5c], edx
mov dword [esi + 0x1e54], 0
mov dword [esi + 0x1e64], 0x7fffffff
mov dword [esi + 0x1e60], 0x7fffffff
mov dword [esi + 0x1d7c], 0x7fffffff
cmp byte [ebx + 0x1b47], 0
jne 0x1006ad3a
movss xmm0, dword [ebx + 0xb8]
comiss xmm6, xmm0
ja 0x1006ad3a
movsd xmm1, qword [ebx + 0x1b30]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x28], xmm1
jmp 0x1006ad40
movss xmm1, dword [esp + 0x28]
xor edi, edi
cmp dword [ebx + 0x1b54], edi
je 0x1006aed4
nop
mov eax, dword [ebx + 0x1b5c]
xor ecx, ecx
mov esi, dword [eax + edi*4]
mov al, byte [esi + 0x92]
mov byte [esi + 0x93], al
mov word [esi + 0x9e], cx
mov byte [esi + 0x92], cl
mov byte [esi + 0x94], cl
test al, al
jne 0x1006aec1
cmp byte [esi + 0x334], cl
jne 0x1006aec1
comiss xmm1, dword [esi + 0x234]
jbe 0x1006aec1
mov ecx, dword [esi + 0x25c]
mov byte [esi + 0x334], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x32c], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x330], eax
mov ecx, dword [esi + 0xd4]
test ecx, ecx
je 0x1006adf9
mov eax, dword [0x103c80a8]
mov dword [esi + 0xd0], 0
mov dword [esi + 0xcc], 0
test eax, eax
je 0x1006ade7
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x28]
add esp, 4
mov dword [esi + 0xd4], 0
mov ecx, dword [esi + 0x25c]
call fcn.10078df0
mov ecx, dword [esi + 0x168]
test ecx, ecx
je 0x1006ae43
mov eax, dword [0x103c80a8]
mov dword [esi + 0x164], 0
mov dword [esi + 0x160], 0
test eax, eax
je 0x1006ae31
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x28]
add esp, 4
mov dword [esi + 0x168], 0
mov ecx, dword [esi + 0x198]
test ecx, ecx
je 0x1006ae82
mov eax, dword [0x103c80a8]
mov dword [esi + 0x194], 0
mov dword [esi + 0x190], 0
test eax, eax
je 0x1006ae70
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x28]
add esp, 4
mov dword [esi + 0x198], 0
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x1006aec1
mov eax, dword [0x103c80a8]
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x19c], 0
test eax, eax
je 0x1006aeaf
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x28]
add esp, 4
mov dword [esi + 0x1a4], 0
movss xmm1, dword [esp + 0x28]
inc edi
cmp edi, dword [ebx + 0x1b54]
jne 0x1006ad50
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [ebx + 0x1f38], ecx
jle 0x1006b027
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x30], edx
nop
mov eax, dword [ebx + 0x1f40]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1006b00c
movss xmm2, dword [esp + 0x28]
comiss xmm2, xmm0
jbe 0x1006b00c
mov esi, dword [ebx + 0x1f14]
mov edi, dword [0x103c80a8]
add esi, edx
mov dword [esp + 0x38], edi
mov dword [esi + 0x194], 0
mov eax, dword [esi + 0x190]
test eax, eax
je 0x1006af69
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test edi, edi
je 0x1006af57
dec dword [edi + 0x370]
push eax
call dword [esp + 0x28]
add esp, 4
mov dword [esi + 0x190], 0
mov byte [esi + 0x1bc], 1
mov ecx, dword [esi + 0x174]
test ecx, ecx
je 0x1006afaf
mov eax, dword [0x103c80a8]
mov dword [esi + 0x170], 0
mov dword [esi + 0x16c], 0
test eax, eax
je 0x1006af9d
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x28]
add esp, 4
mov dword [esi + 0x174], 0
xor edx, edx
mov byte [esi + 0x1c6], 1
cmp dword [esi + 0x54], edx
jle 0x1006afdb
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 0x1006afc2
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
sub esi, dword [edi + 0x1f14]
mov eax, 0x8fb823ef
imul esi
xorps xmm1, xmm1
mov eax, dword [edi + 0x1f40]
add edx, esi
sar edx, 8
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, 0x1c8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
cmp ecx, dword [ebx + 0x1f38]
jl 0x1006aef0
xor eax, eax
mov dword [esp + 0x30], eax
cmp dword [ebx + 0x1f2c], eax
jle 0x1006b085
xor esi, esi
xorps xmm1, xmm1
nop word [eax + eax]
mov edi, dword [ebx + 0x1f34]
movss xmm0, dword [edi + esi + 4]
comiss xmm0, xmm1
jb 0x1006b075
movss xmm2, dword [esp + 0x28]
comiss xmm2, xmm0
jbe 0x1006b075
lea ecx, [esi + 0x10]
add ecx, edi
call fcn.1007b850
mov eax, dword [esp + 0x30]
xorps xmm1, xmm1
mov dword [edi + esi + 4], 0xbf800000
inc eax
add esi, 0x68
mov dword [esp + 0x30], eax
cmp eax, dword [ebx + 0x1f2c]
jl 0x1006b040
cmp byte [ebx + 0x1b47], 0
je 0x1006b11c
mov esi, dword [0x103c80a8]
mov eax, dword [esi + 0x1cfc]
test eax, eax
je 0x1006b0d6
mov dword [esi + 0x1cf8], 0
mov dword [esi + 0x1cf4], 0
test esi, esi
je 0x1006b0c0
dec dword [esi + 0x370]
mov edi, dword [esp + 0x24]
push eax
call edi
add esp, 4
mov dword [esi + 0x1cfc], 0
jmp 0x1006b0da
mov edi, dword [esp + 0x24]
mov ecx, dword [esi + 0x1d08]
test ecx, ecx
je 0x1006b117
mov eax, dword [0x103c80a8]
mov dword [esi + 0x1d04], 0
mov dword [esi + 0x1d00], 0
test eax, eax
je 0x1006b107
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x1d08], 0
call fcn.10082570
mov eax, dword [ebx + 0x1d30]
mov byte [ebx + 0x1b47], 0
test eax, eax
je 0x1006b181
cmp byte [eax + 0x93], 0
jne 0x1006b181
mov eax, dword [0x103c80a8]
mov edx, dword [eax + 0x1b60]
sub edx, 1
js 0x1006b17a
mov eax, dword [eax + 0x1b68]
lea esi, [eax + edx*4]
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x1006b172
cmp byte [ecx + 0x93], 0
je 0x1006b172
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1006b37b
sub esi, 4
sub edx, 1
jns 0x1006b150
xor ecx, ecx
call fcn.10071a70
mov ecx, dword [ebx + 0x1b7c]
test ecx, ecx
jns 0x1006b1a7
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.10077ac0
mov dword [ebx + 0x1b78], 0
mov ecx, dword [ebx + 0x1d1c]
test ecx, ecx
jns 0x1006b1d7
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 + 0x1d18]
call fcn.10077a40
lea esi, [ebx + 0x1cf4]
mov dword [ebx + 0x1d18], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1006b206
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.10077680
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1006b21b
push 8
mov ecx, esi
call fcn.10077680
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push ecx
mov dword [eax + ecx*4], 0
lea ecx, [ebx + 0x1d00]
inc dword [esi]
call fcn.10077450
mov esi, dword [0x103c80a8]
cmp byte [esi + 0x2f84], 0
mov dword [esi + 0x2f88], 0
je 0x1006b300
mov ecx, dword [esi + 0x6c]
mov edi, dword [esi + 0x1bc0]
mov dword [esi + 0x1e70], 7
test ecx, ecx
js 0x1006b279
call fcn.1006c4f0
test al, al
je 0x1006b279
mov byte [esi + 0x2f84], 0
movss xmm0, dword [esi + 0x3f4]
ucomiss xmm0, dword [0x101d83e0]
lahf
test ah, 0x44
jp 0x1006b29f
test edi, edi
je 0x1006b29f
mov dword [esi + 0x2f88], edi
mov byte [esi + 0x2f84], 0
or dword [esi + 0x1c64], 0x40
xor edx, edx
mov dword [esi + 0x1cb8], 0x3f19999a
call fcn.100728c0
push edi
push str.HoveredId:_0x_08X
call fcn.10083250
push str.Press_ESC_to_abort_picking.
call fcn.10083250
add esp, 0xc
xor ecx, ecx
mov eax, 0x10
test edi, edi
cmove ecx, eax
mov eax, dword [0x103c80a8]
add eax, 0x15dc
add eax, ecx
push str.Click_to_break_in_debugger_
push eax
call fcn.100832e0
add esp, 8
call fcn.10071930
mov esi, dword [0x103c80a8]
mov byte [ebx + 0x1b45], 1
xor edx, edx
or dword [esi + 0x1c64], 2
mov ecx, str.DebugDefault
push 0
mov dword [esi + 0x1c84], 0x43c80000
mov dword [esi + 0x1c88], 0x43c80000
mov dword [esi + 0x1c6c], 4
call fcn.1006f1b0
xor esi, esi
add esp, 4
cmp dword [ebx + 0x2f40], esi
jle 0x1006b374
xor edi, edi
nop dword [eax]
mov eax, dword [ebx + 0x2f48]
add eax, edi
cmp dword [eax + 4], 1
jne 0x1006b368
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2f40]
jl 0x1006b350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x300]
test eax, eax
je 0x1006b38e
cmp byte [eax + 0x93], 0
jne 0x1006b390
mov eax, ecx
mov ecx, eax
jmp 0x1006b17c