Function at 0x10014d90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [0x10050da8]
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 0x5234]
lea ecx, [edi + 0x523c]
sub eax, 1
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
js 0x10014e2c
lea ebx, [eax + eax*4]
shl ebx, 2
nop
mov ecx, dword [ecx]
cmp dword [ecx + ebx + 4], 7
jne 0x10014e13
mov esi, dword [edi + 0x523c]
mov eax, 0x66666667
sub ecx, esi
add ecx, ebx
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 [edi + 0x5234]
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 - 4]
add esp, 0xc
dec dword [edi + 0x5234]
dec eax
lea ecx, [edi + 0x523c]
sub ebx, 0x14
mov dword [ebp - 4], eax
test eax, eax
jns 0x10014dc0
lea ecx, [edi + 0x523c]
jmp 0x10014e2f
mov dword [ebp - 8], ecx
xor esi, esi
cmp dword [edi + 0x5234], esi
jle 0x10014e63
xor ebx, ebx
nop dword [eax + eax]
mov eax, dword [ecx]
add eax, ebx
cmp dword [eax + 4], 0
jne 0x10014e57
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
mov ecx, dword [ebp - 8]
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5234]
jl 0x10014e40
mov esi, dword [0x10050da8]
cmp byte [esi + 0x5d], 0
je 0x10014e79
test byte [esi + 0xc], 2
jne 0x10014e79
mov byte [esi + 0x5d], 0
cmp byte [esi + 0x51fd], 0
jne 0x10014ed6
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10014ecf
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.10011600
add esp, 8
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10014ecf
mov edx, dword [ebp - 4]
mov ecx, eax
call fcn.10022bc0
mov ecx, dword [0x10050da8]
test ecx, ecx
je 0x10014ebe
dec dword [ecx + 0xa8]
push dword [0x10050da0]
push dword [ebp - 0x10]
call fcn.10010ce0
add esp, 8
mov byte [esi + 0x51fd], 1
movss xmm0, dword [esi + 0x5200]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10014f5e
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5200], xmm0
jb 0x10014f5e
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x10014f4d
mov eax, dword [0x10050da8]
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [eax + 0x5200], 0
call fcn.10022de0
mov edx, 0x1004bbd8
mov dword [ebp - 0x10], eax
mov ecx, ebx
call fcn.10011500
mov ebx, eax
test ebx, ebx
je 0x10014f54
push ebx
push dword [ebp - 4]
push 1
push dword [ebp - 0x10]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x10014f54
mov byte [esi + 0x90], 1
mov dword [esi + 0x5200], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3dd0]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x3ddc], 1
mov word [edi + 0x51be], ax
mov dword [edi + 0x3e24], eax
addsd xmm0, qword [edi + 0x3dc8]
movsd qword [edi + 0x3dc8], xmm0
mov ecx, dword [edi + 0x51d4]
test ecx, ecx
jns 0x10014fb8
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, [edi + 0x51d0]
call fcn.10023dd0
mov dword [edi + 0x51d0], 0
mov ecx, 0x78
mov eax, dword [edi + 0x5490]
xorps xmm3, xmm3
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x1004c1ac]
movss xmm4, dword [0x1004c080]
subss xmm0, dword [edi + eax*4 + 0x52b0]
movss dword [ebp - 4], xmm2
addss xmm0, dword [edi + 0x5498]
movss dword [edi + 0x5498], xmm0
movss dword [edi + eax*4 + 0x52b0], xmm1
mov eax, dword [edi + 0x5490]
inc eax
movss xmm1, dword [edi + 0x5498]
cdq
idiv ecx
mov eax, dword [edi + 0x5494]
inc eax
mov dword [edi + 0x5490], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [edi + 0x5494], ecx
jbe 0x10015052
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x10015055
movaps xmm0, xmm2
mov esi, dword [0x10050da8]
xor ebx, ebx
movss dword [edi + 0x94], xmm0
mov eax, dword [esi + 0x3fe0]
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 + 0x3fd8], ebx
jle 0x10015170
nop dword [eax]
mov eax, dword [esi + 0x3fe0]
movaps xmm2, xmm3
mov edx, dword [eax + ebx*4]
inc ebx
mov eax, dword [edx + 0x8c]
mov ecx, dword [edx + 0x90]
mov dword [edx + 0x7c], eax
mov eax, dword [edx + 0x94]
mov dword [edx + 0x80], ecx
mov ecx, dword [edx + 0x98]
mov dword [edx + 0x84], eax
mov dword [edx + 0x88], ecx
mov dword [edx + 0x94], 0
mov dword [edx + 0x98], 0
mov dword [edx + 0x8c], 0
mov dword [edx + 0x90], 0
movss xmm0, dword [edx + 0x80]
addss xmm0, dword [edx + 8]
movss xmm1, dword [edx + 0x7c]
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 + 0x7c]
addss xmm0, dword [edx + 0x84]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x80]
addss xmm0, dword [edx + 0x88]
movss dword [edx + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x20], xmm1
cmp ebx, dword [esi + 0x3fd8]
jl 0x100150a0
movss xmm2, dword [ebp - 4]
mov eax, dword [edi + 0x40]
mov esi, dword [0x10050da8]
mov byte [eax + 0x10], 1
mov ebx, dword [esi + 0x4c]
test ebx, ebx
jne 0x1001518c
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
mov eax, dword [esi + 0x3e30]
movaps xmm0, xmm4
mov dword [esi + 0x3bc8], ebx
movss xmm1, dword [ebx + 0x10]
mulss xmm1, dword [esi + 0x44]
mulss xmm1, dword [ebx + 0x44]
maxss xmm0, xmm1
movss dword [esi + 0x3bd0], xmm0
test eax, eax
je 0x100151d6
mulss xmm0, dword [eax + 0x240]
mov eax, dword [eax + 0x2dc]
test eax, eax
je 0x100151d9
mulss xmm0, dword [eax + 0x240]
jmp 0x100151d9
movaps xmm0, xmm3
movss xmm4, dword [0x1004c1c8]
movaps xmm7, xmm2
movss dword [esi + 0x3bcc], xmm0
movaps xmm6, xmm2
mov edx, dword [ebx + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [esi + 0x3bd4], eax
lea eax, [edx + 0x58]
mov dword [esi + 0x3bd8], ecx
mov dword [esi + 0x3dc4], eax
mov dword [esi + 0x3bdc], ebx
movss dword [esi + 0x3be0], xmm0
mov edx, dword [edi + 0x3fd8]
test edx, edx
jle 0x10015274
mov ecx, dword [edi + 0x3fe0]
nop
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 0x10015254
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1001525c
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x10015264
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1001526c
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x10015230
mov eax, dword [edi + 0x3870]
movss xmm1, dword [edi + 0x3874]
movss dword [ebp - 0x28], xmm7
movss dword [ebp - 0x24], xmm6
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm5
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x3be4], eax
movups xmmword [edi + 0x3bec], xmm0
movss xmm0, dword [edi + 0x3be8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10015399
movss dword [edi + 0x3be8], xmm1
xor esi, esi
mov ebx, 0x200
nop dword [eax + eax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x10015355
movss xmm1, dword [edi + 0x3be8]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1004c080]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x1004c100]
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 0x1001534b
mov eax, 4
jmp 0x10015357
cmp eax, 0x200
cmovg eax, ebx
jmp 0x10015357
xor eax, eax
mov byte [esi + edi + 0x3d84], al
inc esi
cmp esi, 0x40
jl 0x100152d0
movsd xmm0, qword [0x1004c098]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x1004c080]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3be8]
divss xmm0, xmm1
movss dword [edi + 0x3d80], xmm0
xor edx, edx
mov dword [edi + 0x3bfc], 0
cmp byte [edi + 0x386c], dl
je 0x100153bc
mov dword [edi + 0x3bfc], 1
mov edx, 1
cmp byte [edi + 0x386d], 0
mov ecx, edx
je 0x100153de
mov eax, dword [edi + 0x3bc8]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x100153de
or ecx, 2
mov dword [edi + 0x3bfc], ecx
cmp byte [edi + 0x386e], 0
je 0x100153f0
or ecx, 4
mov dword [edi + 0x3bfc], ecx
test byte [edi + 0xc], 8
je 0x100153ff
or ecx, 8
mov dword [edi + 0x3bfc], ecx
xor esi, esi
cmp dword [edi + 0x3fd8], esi
jle 0x10015432
nop dword [eax]
mov eax, dword [edi + 0x3fe0]
push 0x2c
push 0
mov eax, dword [eax + esi*4]
add eax, 0x38
push eax
call sub.VCRUNTIME140.dll_memset
inc esi
add esp, 0xc
cmp esi, dword [edi + 0x3fd8]
jl 0x10015410
cmp byte [edi + 0x4154], 0
je 0x1001546c
mov eax, dword [edi + 0x416c]
cmp eax, dword [edi + 0x3e68]
jne 0x1001546c
mov ecx, dword [0x10050da8]
cmp dword [ecx + 0x3e68], eax
jne 0x1001545d
mov dword [ecx + 0x3e6c], eax
cmp dword [ecx + 0x3eac], eax
jne 0x1001546c
mov byte [ecx + 0x3eb0], 1
cmp dword [edi + 0x3e58], 0
lea eax, [edi + 0x3e54]
mov ecx, dword [eax]
jne 0x10015489
mov dword [edi + 0x3e60], 0
jmp 0x10015499
mov edx, ecx
mov esi, eax
test ecx, ecx
je 0x100154a7
cmp dword [edi + 0x3e68], ecx
jne 0x100154a7
mov dword [edi + 0x3e64], 0
mov edx, ecx
mov esi, eax
movss xmm1, dword [edi + 0x18]
test edx, edx
je 0x100154de
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e60]
movss dword [edi + 0x3e60], xmm0
cmp dword [edi + 0x3e68], edx
je 0x100154de
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e64]
movss dword [edi + 0x3e64], xmm0
mov al, byte [edi + 0x3e5d]
movaps xmm2, xmm1
mov byte [edi + 0x3e5e], al
mov eax, dword [edi + 0x3e68]
mov dword [edi + 0x3e58], edx
mov dword [esi], 0
mov word [edi + 0x3e5c], 0
mov byte [edi + 0x3e5f], 0
cmp dword [edi + 0x3e6c], eax
je 0x1001552d
cmp dword [edi + 0x3eac], eax
jne 0x1001552d
test eax, eax
je 0x1001552d
call fcn.10013850
movss xmm2, dword [edi + 0x18]
mov ecx, dword [edi + 0x3e68]
test ecx, ecx
je 0x1001554a
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x3e70]
movss dword [edi + 0x3e70], xmm0
mov eax, dword [edi + 0x3ea0]
addss xmm2, dword [edi + 0x3ebc]
mov dword [edi + 0x3eb4], eax
mov al, byte [edi + 0x3e78]
mov byte [edi + 0x3eb1], al
mov eax, dword [edi + 0x5150]
movss dword [edi + 0x3ebc], xmm2
mov dword [edi + 0x3eac], ecx
mov dword [edi + 0x3e6c], 0
mov byte [edi + 0x3e79], 0
mov byte [edi + 0x3eb0], 0
mov byte [edi + 0x3e74], 0
test eax, eax
je 0x100155af
cmp ecx, eax
je 0x100155af
mov dword [edi + 0x5150], 0
test ecx, ecx
jne 0x100155cf
mov dword [edi + 0x3e7c], ecx
xorps xmm0, xmm0
mov dword [edi + 0x3e80], ecx
movups xmmword [edi + 0x3e84], xmm0
mov dword [edi + 0x3e94], ecx
mov eax, dword [edi + 0x41b8]
mov dword [edi + 0x41bc], eax
mov dword [edi + 0x41b8], 0
mov dword [edi + 0x41b4], 0x7f7fffff
mov word [edi + 0x4155], 0
mov dword [edi + 0x41c4], 0
mov ecx, dword [edi + 0x37a8]
test ecx, ecx
jns 0x10015628
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, [edi + 0x37a4]
call fcn.10024500
mov dword [edi + 0x37a4], 0
mov cl, byte [edi + 0x5a]
call fcn.1001cb50
call fcn.10014190
call fcn.10020080
call fcn.10014320
call fcn.10014b20
mov esi, dword [0x10050da8]
mov ecx, dword [esi + 0x3e3c]
test ecx, ecx
je 0x1001574a
mov eax, dword [esi + 0x3e68]
mov dword [esi + 0x3e6c], eax
cmp dword [esi + 0x3eac], eax
jne 0x1001567d
mov byte [esi + 0x3eb0], 1
cmp byte [esi + 0xd58], 0
mov ecx, dword [ecx + 0x2e4]
je 0x1001573e
lea eax, [esi + 0xd50]
mov edx, eax
test eax, eax
jne 0x100156a2
lea edx, [esi + 0xd50]
movss xmm0, dword [edx]
movss xmm1, dword [0x1004c1c4]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x1001573e
comiss xmm2, xmm1
jb 0x1001573e
movss xmm1, dword [eax]
subss xmm1, dword [esi + 0x3e98]
movss xmm0, dword [ecx + 0x10]
movss xmm2, dword [eax + 4]
subss xmm2, dword [esi + 0x3e9c]
ucomiss xmm0, xmm1
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x1c], xmm2
lahf
test ah, 0x44
jp 0x10015700
movss xmm0, dword [ecx + 0x14]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1001572b
test dword [ecx + 8], 0x100
jne 0x1001571e
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x5200]
jb 0x1001571e
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x5200], eax
push 1
lea edx, [ebp - 0x20]
call fcn.1001c630
add esp, 4
mov ecx, dword [esi + 0x3e3c]
call fcn.1001c1a0
mov esi, dword [0x10050da8]
jmp 0x10015782
mov dword [esi + 0x3e3c], 0
jmp 0x1001577d
mov ecx, dword [esi + 0x3ea0]
test ecx, ecx
je 0x10015782
mov eax, dword [esi + 0x3e68]
cmp dword [ecx + 0x54], eax
jne 0x10015782
mov dword [esi + 0x3e6c], eax
cmp dword [esi + 0x3eac], eax
jne 0x10015774
mov byte [esi + 0x3eb0], 1
cmp byte [esi + 0xd58], 0
jne 0x10015782
call fcn.10013850
mov edx, dword [esi + 0x3fbc]
sub edx, 1
js 0x100157bb
mov eax, dword [esi + 0x3fc4]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x100157b3
test dword [ecx + 8], 0x8000000
jne 0x10015869
sub eax, 0x24
sub edx, 1
jns 0x100157a0
cmp dword [edi + 0x4134], 0
xorps xmm6, xmm6
je 0x100157d8
movss xmm0, dword [edi + 0x4144]
comiss xmm0, xmm6
ja 0x1001586c
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x1004c158]
movss xmm1, dword [edi + 0x414c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [edi + 0x414c], xmm1
movups xmm0, xmmword [edi + 0x51dc]
mov dword [edi + 0x4150], 0
mov dword [edi + 0x54a4], 0xffffffff
mov dword [edi + 0x54a0], 0xffffffff
mov dword [edi + 0x549c], 0xffffffff
movups xmmword [edi + 0x51ec], xmm0
mov byte [edi + 0x51dc], 0
call fcn.10014680
cmp byte [edi + 0x3ddf], 0
jne 0x1001588e
movss xmm0, dword [edi + 0x60]
comiss xmm6, xmm0
ja 0x1001588e
movsd xmm1, qword [edi + 0x3dc8]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 4], xmm1
jmp 0x10015893
xorps xmm6, xmm6
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x1004c148]
addss xmm1, dword [edi + 0x414c]
minss xmm1, dword [0x1004c080]
jmp 0x100157f5
movss xmm1, dword [ebp - 4]
xor ebx, ebx
cmp dword [edi + 0x3de8], ebx
je 0x10015a40
mov eax, dword [edi + 0x3df0]
xor ecx, ecx
mov esi, dword [eax + ebx*4]
mov al, byte [esi + 0x8e]
mov byte [esi + 0x8f], al
mov word [esi + 0x9a], cx
mov byte [esi + 0x8e], cl
mov byte [esi + 0x90], cl
test al, al
jne 0x10015a2e
cmp byte [esi + 0x328], cl
jne 0x10015a2e
comiss xmm1, dword [esi + 0x220]
jbe 0x10015a2e
mov ecx, dword [esi + 0x248]
mov byte [esi + 0x328], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x320], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x324], eax
mov ecx, dword [esi + 0xd0]
test ecx, ecx
je 0x10015951
mov eax, dword [0x10050da8]
mov dword [esi + 0xcc], 0
mov dword [esi + 0xc8], 0
test eax, eax
je 0x10015938
dec dword [eax + 0xa8]
push dword [0x10050da0]
push ecx
call fcn.10010ce0
add esp, 8
mov dword [esi + 0xd0], 0
mov ecx, dword [esi + 0x248]
call fcn.1002bc30
mov ecx, dword [esi + 0x16c]
test ecx, ecx
je 0x100159a2
mov eax, dword [0x10050da8]
mov dword [esi + 0x168], 0
mov dword [esi + 0x164], 0
test eax, eax
je 0x10015989
dec dword [eax + 0xa8]
push dword [0x10050da0]
push ecx
call fcn.10010ce0
add esp, 8
mov dword [esi + 0x16c], 0
mov ecx, dword [esi + 0x194]
test ecx, ecx
je 0x100159e8
mov eax, dword [0x10050da8]
mov dword [esi + 0x190], 0
mov dword [esi + 0x18c], 0
test eax, eax
je 0x100159cf
dec dword [eax + 0xa8]
push dword [0x10050da0]
push ecx
call fcn.10010ce0
add esp, 8
mov dword [esi + 0x194], 0
mov ecx, dword [esi + 0x1a0]
test ecx, ecx
je 0x10015a2e
mov eax, dword [0x10050da8]
mov dword [esi + 0x19c], 0
mov dword [esi + 0x198], 0
test eax, eax
je 0x10015a15
dec dword [eax + 0xa8]
push dword [0x10050da0]
push ecx
call fcn.10010ce0
add esp, 8
mov dword [esi + 0x1a0], 0
movss xmm1, dword [ebp - 4]
inc ebx
cmp ebx, dword [edi + 0x3de8]
jne 0x100158a1
xor ecx, ecx
mov dword [ebp - 0xc], ecx
cmp dword [edi + 0x4228], ecx
jle 0x10015b9d
xor edx, edx
xorps xmm1, xmm1
mov dword [ebp - 0x10], edx
nop dword [eax]
mov eax, dword [edi + 0x4230]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x10015b84
movss xmm1, dword [ebp - 4]
comiss xmm1, xmm0
jbe 0x10015b81
mov esi, dword [edi + 0x4210]
mov ebx, dword [0x10050da8]
add esi, edx
mov dword [ebp - 0x1c], ebx
mov dword [esi + 0x1a0], 0
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x10015ade
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
test ebx, ebx
je 0x10015ac5
dec dword [ebx + 0xa8]
push dword [0x10050da0]
push eax
call fcn.10010ce0
add esp, 8
mov dword [esi + 0x19c], 0
mov byte [esi + 0x1c8], 1
mov ecx, dword [esi + 0x16c]
test ecx, ecx
je 0x10015b2b
mov eax, dword [0x10050da8]
mov dword [esi + 0x168], 0
mov dword [esi + 0x164], 0
test eax, eax
je 0x10015b12
dec dword [eax + 0xa8]
push dword [0x10050da0]
push ecx
call fcn.10010ce0
add esp, 8
mov dword [esi + 0x16c], 0
xor edx, edx
mov byte [esi + 0x1d2], 1
cmp dword [esi + 0x54], edx
jle 0x10015b57
xor ecx, ecx
or ebx, 0xffffffff
nop
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x68]
inc edx
mov word [ecx + eax - 0x18], bx
cmp edx, dword [esi + 0x54]
jl 0x10015b40
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
sub esi, dword [ebx + 0x4210]
mov eax, 0x22b63cbf
imul esi
mov eax, dword [ebx + 0x4230]
sar edx, 6
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]
xorps xmm1, xmm1
inc ecx
add edx, 0x1d8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
cmp ecx, dword [edi + 0x4228]
jl 0x10015a60
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x41fc], eax
jle 0x10015bf2
xor esi, esi
xorps xmm1, xmm1
nop
mov ebx, dword [edi + 0x4204]
movss xmm0, dword [esi + ebx + 4]
comiss xmm0, xmm1
jb 0x10015be3
movss xmm1, dword [ebp - 4]
comiss xmm1, xmm0
jbe 0x10015be0
lea ecx, [ebx + 0x10]
add ecx, esi
call fcn.1002e690
mov eax, dword [ebp - 0x10]
mov dword [esi + ebx + 4], 0xbf800000
xorps xmm1, xmm1
inc eax
add esi, 0x68
mov dword [ebp - 0x10], eax
cmp eax, dword [edi + 0x41fc]
jl 0x10015bb0
cmp byte [edi + 0x3ddf], 0
je 0x10015c91
mov esi, dword [0x10050da8]
mov eax, dword [esi + 0x3fac]
test eax, eax
je 0x10015c46
mov dword [esi + 0x3fa8], 0
mov dword [esi + 0x3fa4], 0
test esi, esi
je 0x10015c2d
dec dword [esi + 0xa8]
push dword [0x10050da0]
push eax
call fcn.10010ce0
add esp, 8
mov dword [esi + 0x3fac], 0
mov ecx, dword [esi + 0x3fb8]
test ecx, ecx
je 0x10015c8c
mov eax, dword [0x10050da8]
mov dword [esi + 0x3fb4], 0
mov dword [esi + 0x3fb0], 0
test eax, eax
je 0x10015c73
dec dword [eax + 0xa8]
push dword [0x10050da0]
push ecx
call fcn.10010ce0
add esp, 8
mov dword [esi + 0x3fb8], 0
call fcn.10039230
mov eax, dword [edi + 0x3fe4]
mov byte [edi + 0x3ddf], 0
test eax, eax
je 0x10015cf5
cmp byte [eax + 0x8f], 0
jne 0x10015cf5
mov eax, dword [0x10050da8]
mov edx, dword [eax + 0x3df4]
sub edx, 1
js 0x10015cee
mov eax, dword [eax + 0x3dfc]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x10015ce6
cmp byte [ecx + 0x8f], 0
je 0x10015ce6
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x10015f41
sub esi, 4
sub edx, 1
jns 0x10015cc4
xor ecx, ecx
call fcn.1001c1a0
mov ecx, dword [edi + 0x3e10]
test ecx, ecx
jns 0x10015d1b
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, [edi + 0x3e0c]
call fcn.10024480
mov dword [edi + 0x3e0c], 0
mov ecx, dword [edi + 0x3fcc]
test ecx, ecx
jns 0x10015d4b
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, [edi + 0x3fc8]
call fcn.100243f0
lea esi, [edi + 0x3fa4]
mov dword [edi + 0x3fc8], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10015d7a
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.10023dd0
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x10015d8f
push 8
mov ecx, esi
call fcn.10023dd0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x3fb0]
inc dword [esi]
call fcn.10023b70
mov esi, dword [0x10050da8]
cmp byte [esi + 0x5278], 0
mov dword [esi + 0x527c], 0
je 0x10015e73
mov ebx, dword [esi + 0x3e58]
mov ecx, 0x20e
mov dword [esi + 0x4150], 7
call fcn.1001ca50
test al, al
je 0x10015dec
mov byte [esi + 0x5278], 0
movss xmm0, dword [esi + 0x36a0]
ucomiss xmm0, dword [0x1004bff0]
lahf
test ah, 0x44
jp 0x10015e12
test ebx, ebx
je 0x10015e12
mov dword [esi + 0x527c], ebx
mov byte [esi + 0x5278], 0
or dword [esi + 0x3f14], 0x40
xor ecx, ecx
mov dword [esi + 0x3f68], 0x3f19999a
call fcn.1001df20
push ebx
push str.HoveredId:_0x_08X
call fcn.1003a470
push str.Press_ESC_to_abort_picking.
call fcn.1003a470
add esp, 0xc
xor ecx, ecx
mov eax, 0x10
test ebx, ebx
cmove ecx, eax
mov eax, dword [0x10050da8]
add eax, 0x3878
add eax, ecx
push str.Click_to_break_in_debugger_
push eax
call fcn.1003a4f0
add esp, 8
call fcn.1001c0b0
mov esi, dword [0x10050da8]
lea eax, [esi + 0x3e50]
lea ebx, [esi + 0x5290]
mov dword [eax], 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
inc eax
cmp dword [esi + 0x3dd0], eax
jne 0x10015f7b
mov edx, dword [esi + 0x3e58]
mov dword [ebp - 4], edx
test edx, edx
jne 0x10015ead
mov edx, dword [esi + 0x3e68]
mov dword [ebp - 4], edx
cmp dword [ebx + 8], edx
je 0x10015ef1
lea eax, [ebx + 0xc]
mov dword [ebx + 8], edx
mov dword [ebx + 4], 0xffffffff
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10015eeb
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 + 0xc]
call fcn.10024590
mov esi, dword [0x10050da8]
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 4]
mov dword [eax], 0
test edx, edx
je 0x10015f7b
mov eax, dword [ebx + 4]
test eax, eax
js 0x10015f33
mov ecx, eax
cmp eax, dword [ebx + 0xc]
jge 0x10015f61
mov edx, dword [ebx + 0x14]
lea ecx, [eax + eax*8]
cmp byte [edx + ecx*8 + 5], 0
mov edx, dword [ebp - 4]
jne 0x10015f2f
mov edx, dword [ebx + 0x14]
lea esi, [eax + eax*8]
mov ecx, eax
cmp byte [edx + esi*8 + 4], 2
mov esi, dword [0x10050da8]
mov edx, dword [ebp - 4]
jle 0x10015f61
inc eax
mov dword [ebx + 4], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x10015f5d
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
jmp 0x10015f7b
mov eax, dword [ecx + 0x2f4]
test eax, eax
je 0x10015f54
cmp byte [eax + 0x8f], 0
jne 0x10015f56
mov eax, ecx
mov ecx, eax
jmp 0x10015cf0
test ecx, ecx
js 0x10015f7b
cmp ecx, dword [ebx + 0xc]
jge 0x10015f7b
mov eax, dword [ebx + 0x14]
lea ecx, [ecx + ecx*8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + ecx*8]
mov dword [edx], eax
mov eax, dword [ebx + 0x14]
inc byte [eax + ecx*8 + 4]
mov byte [edi + 0x3ddd], 1
xor edx, edx
or dword [esi + 0x3f14], 2
mov ecx, str.DebugDefault
push 0
mov dword [esi + 0x3f34], 0x43c80000
mov dword [esi + 0x3f38], 0x43c80000
mov dword [esi + 0x3f1c], 4
call fcn.10019d40
xor esi, esi
add esp, 4
cmp dword [edi + 0x5234], esi
jle 0x10015fe7
xor ebx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, ebx
cmp dword [eax + 4], 1
jne 0x10015fdb
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5234]
jl 0x10015fc4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret