Function at 0x1000f620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [0x100b99b8]
mov dword [ebp - 0x18], edi
mov eax, dword [edi + 0x53a0]
sub eax, 1
mov dword [ebp - 8], eax
js 0x1000f6b0
lea ebx, [eax + eax*4]
shl ebx, 2
nop word [eax + eax]
mov edx, dword [edi + 0x53a8]
cmp dword [ebx + edx + 4], 7
jne 0x1000f6a5
mov esi, edx
mov ecx, ebx
sub ecx, esi
mov eax, 0x66666667
add ecx, edx
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 + 0x53a0]
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 [edi + 0x53a0]
dec eax
sub ebx, 0x14
mov dword [ebp - 8], eax
test eax, eax
jns 0x1000f650
xor esi, esi
cmp dword [edi + 0x53a0], esi
jle 0x1000f6e4
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x53a8]
add eax, ebx
cmp dword [eax + 4], 0
jne 0x1000f6d8
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x53a0]
jl 0x1000f6c0
mov esi, dword [0x100b99b8]
mov eax, dword [edi + 0x3c8c]
mov dword [edi + 0x3c90], eax
cmp byte [esi + 0x65], 0
je 0x1000f706
test byte [esi + 0xc], 2
jne 0x1000f706
mov byte [esi + 0x65], 0
mov ecx, dword [esi + 8]
test ecx, 0x400
je 0x1000f729
mov eax, dword [esi + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x1000f729
and ecx, 0xfffffbff
mov dword [esi + 8], ecx
mov eax, dword [edi + 8]
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [edi + 0x3c8c], eax
cmp byte [esi + 0x5368], 0
mov dword [ebp - 4], ebx
jne 0x1000f78f
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1000f788
push ecx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call fcn.1000b730
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000f788
mov edx, dword [ebp - 8]
mov ecx, eax
call fcn.1001efa0
mov ecx, dword [0x100b99b8]
test ecx, ecx
je 0x1000f780
dec dword [ecx + 0xb0]
push dword [ebp - 0x14]
call ebx
add esp, 4
mov byte [esi + 0x5368], 1
movss xmm0, dword [esi + 0x536c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1000f817
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x536c], xmm0
jb 0x1000f817
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x1000f806
mov eax, dword [0x100b99b8]
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [eax + 0x536c], 0
call fcn.1001f1d0
mov edx, 0x100b34d0
mov dword [ebp - 0x14], eax
mov ecx, ebx
call fcn.1000b630
mov ebx, eax
test ebx, ebx
je 0x1000f80d
push ebx
push dword [ebp - 8]
push 1
push dword [ebp - 0x14]
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 0x1000f80d
mov byte [esi + 0x98], 1
mov dword [esi + 0x536c], 0
movss xmm0, dword [edi + 0x18]
lea ecx, [edi + 0x530c]
inc dword [edi + 0x3ea0]
xor eax, eax
cvtps2pd xmm0, xmm0
push eax
mov byte [edi + 0x3eb0], 1
mov word [edi + 0x52fa], ax
mov dword [edi + 0x3ef8], eax
addsd xmm0, qword [edi + 0x3e98]
movsd qword [edi + 0x3e98], xmm0
call fcn.1002acf0
mov eax, dword [edi + 0x55fc]
mov ecx, 0x78
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [edi + eax*4 + 0x541c]
addss xmm0, dword [edi + 0x5604]
movss dword [edi + 0x5604], xmm0
movss dword [edi + eax*4 + 0x541c], xmm1
mov eax, dword [edi + 0x55fc]
inc eax
movss xmm1, dword [edi + 0x5604]
cdq
idiv ecx
mov eax, dword [edi + 0x5600]
movss xmm0, dword [0x100b4380]
inc eax
cmp eax, ecx
mov dword [edi + 0x55fc], edx
movss dword [ebp - 8], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x100b422c]
mov dword [edi + 0x5600], ecx
jbe 0x1000f8e3
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x100b42c8]
divss xmm0, xmm1
movss dword [edi + 0x9c], xmm0
call fcn.1001ffc0
mov eax, dword [edi + 0x40]
mov ebx, dword [0x100b99b8]
mov byte [eax + 0x10], 1
mov esi, dword [ebx + 0x4c]
test esi, esi
jne 0x1000f90c
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 0x3c]
mov esi, dword [eax]
movss xmm0, dword [ebx + 0x44]
movss xmm2, dword [0x100b42c8]
mov eax, dword [ebx + 0x3f04]
movaps xmm1, xmm2
mov dword [ebx + 0x3c94], esi
mulss xmm0, dword [esi + 0x10]
mulss xmm0, dword [esi + 0x44]
maxss xmm1, xmm0
movss dword [ebx + 0x3c9c], xmm1
test eax, eax
je 0x1000f966
mulss xmm1, dword [eax + 0x27c]
mulss xmm1, dword [eax + 0x280]
mov eax, dword [eax + 0x31c]
test eax, eax
je 0x1000f969
mulss xmm1, dword [eax + 0x27c]
jmp 0x1000f969
xorps xmm1, xmm1
movss xmm7, dword [ebp - 8]
movss xmm4, dword [0x100b43a0]
movaps xmm6, xmm7
movss dword [ebx + 0x3c98], xmm1
movaps xmm5, xmm4
mov edx, dword [esi + 0x30]
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [ebx + 0x3ca0], eax
lea eax, [edx + 0x58]
mov dword [ebx + 0x3ca4], ecx
mov dword [ebx + 0x3e90], eax
mov dword [ebx + 0x3ca8], esi
movss dword [ebx + 0x3cac], xmm1
mov edx, dword [edi + 0x40d8]
test edx, edx
jle 0x1000fa0c
mov ecx, dword [edi + 0x40e0]
mov eax, dword [ecx]
movss xmm3, dword [eax + 8]
comiss xmm7, xmm3
movss xmm2, dword [eax + 0xc]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x14]
jbe 0x1000f9e4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1000f9ec
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x1000f9f4
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1000f9fc
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x1000f9c0
movss xmm2, dword [0x100b42c8]
mov eax, dword [edi + 0x3914]
movss xmm1, dword [edi + 0x3918]
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 + 0x3cb0], eax
movups xmmword [edi + 0x3cb8], xmm0
movss xmm0, dword [edi + 0x3cb4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000fb35
movss dword [edi + 0x3cb4], xmm1
xor esi, esi
mov ebx, 0x200
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1000fae3
movss xmm1, dword [edi + 0x3cb4]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x100b430c]
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 0x1000fad9
mov eax, 4
jmp 0x1000fae5
cmp eax, 0x200
cmovg eax, ebx
jmp 0x1000fae5
xor eax, eax
movss xmm2, dword [0x100b42c8]
mov byte [esi + edi + 0x3e50], al
inc esi
cmp esi, 0x40
jl 0x1000fa63
movsd xmm0, qword [0x100b42e0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x100b42c8]
cvtsd2ss xmm0, xmm0
mov ebx, dword [0x100b99b8]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3cb4]
divss xmm0, xmm1
movss dword [edi + 0x3e4c], xmm0
xor edx, edx
mov dword [edi + 0x3cc8], 0
cmp byte [edi + 0x3910], dl
je 0x1000fb58
mov dword [edi + 0x3cc8], 1
mov edx, 1
cmp byte [edi + 0x3911], 0
mov ecx, edx
je 0x1000fb7a
mov eax, dword [edi + 0x3c94]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1000fb7a
or ecx, 2
mov dword [edi + 0x3cc8], ecx
cmp byte [edi + 0x3912], 0
je 0x1000fb8c
or ecx, 4
mov dword [edi + 0x3cc8], ecx
test byte [edi + 0xc], 8
je 0x1000fb9b
or ecx, 8
mov dword [edi + 0x3cc8], ecx
xor esi, esi
cmp dword [edi + 0x40d8], esi
jle 0x1000fbe2
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [edi + 0x40e0]
push 0x30
push 0
mov eax, dword [ebx + eax]
mov dword [eax + 0x30], 0
sub eax, 0xffffff80
push eax
call sub.VCRUNTIME140.dll_memset
inc esi
lea ebx, [ebx + 4]
add esp, 0xc
cmp esi, dword [edi + 0x40d8]
jl 0x1000fbb0
mov ebx, dword [0x100b99b8]
cmp byte [edi + 0x4290], 0
je 0x1000fc16
mov eax, dword [edi + 0x42a8]
cmp eax, dword [edi + 0x3f40]
jne 0x1000fc16
cmp dword [ebx + 0x3f40], eax
jne 0x1000fc07
mov dword [ebx + 0x3f44], eax
cmp dword [ebx + 0x3f84], eax
jne 0x1000fc16
mov byte [ebx + 0x3f88], 1
cmp dword [edi + 0x3f30], 0
jne 0x1000fc2b
mov dword [edi + 0x3f38], 0
jmp 0x1000fc3d
mov eax, dword [edi + 0x3f2c]
test eax, eax
je 0x1000fc47
cmp dword [edi + 0x3f40], eax
jne 0x1000fc47
mov dword [edi + 0x3f3c], 0
mov eax, dword [edi + 0x3f2c]
test eax, eax
je 0x1000fc81
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3f38]
movss dword [edi + 0x3f38], xmm0
cmp dword [edi + 0x3f40], eax
je 0x1000fc81
addss xmm1, dword [edi + 0x3f3c]
movss dword [edi + 0x3f3c], xmm1
mov dword [edi + 0x3f30], eax
mov al, byte [edi + 0x3f35]
mov byte [edi + 0x3f36], al
mov eax, dword [edi + 0x3f40]
mov dword [edi + 0x3f2c], 0
mov word [edi + 0x3f34], 0
mov byte [edi + 0x3f37], 0
cmp dword [edi + 0x3f44], eax
je 0x1000fccc
cmp dword [edi + 0x3f84], eax
jne 0x1000fccc
test eax, eax
je 0x1000fccc
call fcn.1000dc40
mov ecx, dword [edi + 0x3f40]
test ecx, ecx
je 0x1000fceb
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3f48]
movss dword [edi + 0x3f48], xmm0
mov eax, dword [edi + 0x3f78]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3f94]
mov dword [edi + 0x3f8c], eax
mov al, byte [edi + 0x3f50]
mov byte [edi + 0x3f89], al
mov eax, dword [edi + 0x528c]
movss dword [edi + 0x3f94], xmm0
mov dword [edi + 0x3f84], ecx
mov dword [edi + 0x3f44], 0
mov byte [edi + 0x3f51], 0
mov byte [edi + 0x3f88], 0
mov byte [edi + 0x3f4c], 0
test eax, eax
je 0x1000fd55
cmp ecx, eax
je 0x1000fd55
mov dword [edi + 0x528c], 0
test ecx, ecx
jne 0x1000fd75
mov dword [edi + 0x3f54], ecx
xorps xmm0, xmm0
mov dword [edi + 0x3f58], ecx
movups xmmword [edi + 0x3f5c], xmm0
mov dword [edi + 0x3f6c], ecx
mov eax, dword [edi + 0x42f4]
mov dword [edi + 0x42f8], eax
mov dword [edi + 0x42f4], 0
mov dword [edi + 0x42f0], 0x7f7fffff
mov word [edi + 0x4291], 0
mov dword [edi + 0x4300], 0
mov ecx, dword [edi + 0x384c]
test ecx, ecx
jns 0x1000fdce
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 + 0x3848]
call fcn.1002b1d0
mov dword [edi + 0x3848], 0
mov cl, byte [edi + 0x62]
call fcn.10019000
call fcn.1000e970
call fcn.1001c040
call fcn.1000eb00
test byte [edi + 8], 0x40
jne 0x1000fe1e
cmp dword [edi + 0x5340], 0
jg 0x1000fe0b
cmp dword [edi + 0x534c], 0
jle 0x1000feeb
mov dl, 1
call fcn.100284e0
xor ecx, ecx
call fcn.100281c0
jmp 0x1000feeb
cmp byte [edi + 0x58], 0
je 0x1000fe5d
xor ebx, ebx
cmp dword [edi + 0x5340], ebx
jle 0x1000fe5d
xor esi, esi
mov eax, dword [edi + 0x5348]
mov ecx, dword [eax + esi + 4]
test ecx, ecx
je 0x1000fe51
cmp dword [ecx + 0x18], 0
jne 0x1000fe51
cmp dword [ecx + 0x1c], 0
je 0x1000fe51
mov ecx, dword [ecx]
call fcn.100281c0
inc ebx
add esi, 8
cmp ebx, dword [edi + 0x5340]
jl 0x1000fe30
cmp byte [edi + 0x5364], 0
je 0x1000fe9f
xor ecx, ecx
call fcn.1001f1d0
xor dl, dl
call fcn.100284e0
xor ecx, ecx
call fcn.100281c0
push dword [edi + 0x5358]
mov edx, dword [edi + 0x5360]
mov ecx, edi
call fcn.10022210
add esp, 4
mov ecx, edi
call fcn.10022380
mov byte [edi + 0x5364], 0
xor esi, esi
cmp dword [edi + 0x534c], esi
jle 0x1000feeb
xor ebx, ebx
nop dword [eax + eax]
mov eax, dword [edi + 0x5354]
cmp dword [eax + ebx], 2
jne 0x1000fedf
mov edx, dword [eax + ebx + 0x1c]
test edx, edx
je 0x1000fed0
push 1
call fcn.100227e0
add esp, 4
jmp 0x1000fedf
mov edx, dword [eax + ebx + 0x20]
test edx, edx
je 0x1000fedf
mov ecx, edi
call fcn.10022920
inc esi
add ebx, 0x24
cmp esi, dword [edi + 0x534c]
jl 0x1000feb0
call fcn.1000f380
call fcn.1000e4b0
mov eax, dword [0x100b99b8]
mov edx, dword [eax + 0x40bc]
sub edx, 1
js 0x1000ff2f
mov eax, dword [eax + 0x40c4]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1000ff27
test dword [ecx + 8], 0x8000000
jne 0x1000ffdd
sub eax, 0x24
sub edx, 1
jns 0x1000ff14
cmp dword [edi + 0x4270], 0
xorps xmm6, xmm6
je 0x1000ff4c
movss xmm0, dword [edi + 0x4280]
comiss xmm0, xmm6
ja 0x1000ffe0
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x100b4324]
movss xmm1, dword [edi + 0x4288]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [edi + 0x4288], xmm1
movups xmm0, xmmword [edi + 0x5318]
mov dword [edi + 0x428c], 0
mov dword [edi + 0x5610], 0xffffffff
mov dword [edi + 0x560c], 0xffffffff
mov dword [edi + 0x5608], 0xffffffff
movups xmmword [edi + 0x5328], xmm0
mov byte [edi + 0x5318], 0
call fcn.1000eec0
cmp byte [edi + 0x3eb3], 0
jne 0x10010002
movss xmm0, dword [edi + 0x68]
comiss xmm6, xmm0
ja 0x10010002
movsd xmm1, qword [edi + 0x3e98]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 8], xmm1
jmp 0x10010007
xorps xmm6, xmm6
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x100b4318]
addss xmm1, dword [edi + 0x4288]
minss xmm1, dword [0x100b42c8]
jmp 0x1000ff69
movss xmm1, dword [ebp - 8]
xor ebx, ebx
cmp dword [edi + 0x3ebc], ebx
je 0x100101a8
xor esi, esi
mov dword [ebp - 0xc], esi
nop word [eax + eax]
mov eax, dword [edi + 0x3ec4]
xor ecx, ecx
mov esi, dword [esi + eax]
mov al, byte [esi + 0xc3]
mov byte [esi + 0xc4], al
mov word [esi + 0xd0], cx
mov byte [esi + 0xc3], cl
mov byte [esi + 0xc5], cl
test al, al
jne 0x1001018d
cmp byte [esi + 0x36c], cl
jne 0x1001018d
comiss xmm1, dword [esi + 0x25c]
jbe 0x1001018d
mov ecx, dword [esi + 0x288]
mov byte [esi + 0x36c], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x364], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x368], eax
mov ecx, dword [esi + 0x104]
test ecx, ecx
je 0x100100c8
mov eax, dword [0x100b99b8]
mov dword [esi + 0x100], 0
mov dword [esi + 0xfc], 0
test eax, eax
je 0x100100b7
dec dword [eax + 0xb0]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x104], 0
mov ecx, dword [esi + 0x288]
call fcn.100331e0
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x10010111
mov eax, dword [0x100b99b8]
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x19c], 0
test eax, eax
je 0x10010100
dec dword [eax + 0xb0]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x1a4], 0
mov ecx, dword [esi + 0x1cc]
test ecx, ecx
je 0x1001014f
mov eax, dword [0x100b99b8]
mov dword [esi + 0x1c8], 0
mov dword [esi + 0x1c4], 0
test eax, eax
je 0x1001013e
dec dword [eax + 0xb0]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x1cc], 0
mov ecx, dword [esi + 0x1d8]
test ecx, ecx
je 0x1001018d
mov eax, dword [0x100b99b8]
mov dword [esi + 0x1d4], 0
mov dword [esi + 0x1d0], 0
test eax, eax
je 0x1001017c
dec dword [eax + 0xb0]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x1d8], 0
mov esi, dword [ebp - 0xc]
inc ebx
movss xmm1, dword [ebp - 8]
add esi, 4
mov dword [ebp - 0xc], esi
cmp ebx, dword [edi + 0x3ebc]
jne 0x10010020
xor ecx, ecx
mov dword [ebp - 0xc], ecx
cmp dword [edi + 0x4364], ecx
jle 0x10010306
xor ebx, ebx
xorps xmm1, xmm1
xor edx, edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edx
nop word [eax + eax]
mov eax, dword [edi + 0x436c]
movss xmm0, dword [edx + eax]
comiss xmm0, xmm1
jb 0x100102e7
movss xmm1, dword [ebp - 8]
comiss xmm1, xmm0
jbe 0x100102e4
mov esi, dword [edi + 0x434c]
add esi, ebx
mov ebx, dword [0x100b99b8]
mov dword [ebp - 0x1c], ebx
mov dword [esi + 0x1a0], 0
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x10010246
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
test ebx, ebx
je 0x10010235
dec dword [ebx + 0xb0]
push eax
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x19c], 0
mov byte [esi + 0x1c8], 1
mov ecx, dword [esi + 0x16c]
test ecx, ecx
je 0x1001028b
mov eax, dword [0x100b99b8]
mov dword [esi + 0x168], 0
mov dword [esi + 0x164], 0
test eax, eax
je 0x1001027a
dec dword [eax + 0xb0]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x16c], 0
xor edx, edx
mov byte [esi + 0x1d2], 1
cmp dword [esi + 0x54], edx
jle 0x100102b7
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 0x100102a0
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
sub esi, dword [ebx + 0x434c]
mov eax, 0x22b63cbf
imul esi
mov eax, dword [ebx + 0x436c]
mov ebx, dword [ebp - 0x10]
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [ebp - 0xc]
xorps xmm1, xmm1
inc ecx
add ebx, 0x1d8
add edx, 4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edx
cmp ecx, dword [edi + 0x4364]
jl 0x100101d0
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [edi + 0x4338], eax
jle 0x10010362
xor esi, esi
xorps xmm1, xmm1
nop dword [eax + eax]
mov ebx, dword [edi + 0x4340]
movss xmm0, dword [ebx + esi + 4]
comiss xmm0, xmm1
jb 0x10010353
movss xmm1, dword [ebp - 8]
comiss xmm1, xmm0
jbe 0x10010350
lea ecx, [esi + 0x10]
add ecx, ebx
call fcn.10035b20
mov eax, dword [ebp - 0x14]
mov dword [ebx + esi + 4], 0xbf800000
xorps xmm1, xmm1
inc eax
add esi, 0x68
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x4338]
jl 0x10010320
cmp byte [edi + 0x3eb3], 0
je 0x100103f7
mov esi, dword [0x100b99b8]
mov eax, dword [esi + 0x40ac]
test eax, eax
je 0x100103b2
mov dword [esi + 0x40a8], 0
mov dword [esi + 0x40a4], 0
test esi, esi
je 0x1001039d
dec dword [esi + 0xb0]
mov ebx, dword [ebp - 4]
push eax
call ebx
add esp, 4
mov dword [esi + 0x40ac], 0
jmp 0x100103b5
mov ebx, dword [ebp - 4]
mov ecx, dword [esi + 0x40b8]
test ecx, ecx
je 0x100103f2
mov eax, dword [0x100b99b8]
mov dword [esi + 0x40b4], 0
mov dword [esi + 0x40b0], 0
test eax, eax
je 0x100103e2
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x40b8], 0
call fcn.1003f1f0
mov eax, dword [edi + 0x4120]
mov byte [edi + 0x3eb3], 0
test eax, eax
je 0x10010461
cmp byte [eax + 0xc4], 0
jne 0x10010461
mov eax, dword [0x100b99b8]
mov edx, dword [eax + 0x3ec8]
sub edx, 1
js 0x1001045a
mov eax, dword [eax + 0x3ed0]
lea esi, [eax + edx*4]
nop word [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x10010452
cmp byte [ecx + 0xc4], 0
je 0x10010452
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x100106d2
sub esi, 4
sub edx, 1
jns 0x10010430
xor ecx, ecx
call fcn.10018a50
mov ecx, dword [edi + 0x3ee4]
test ecx, ecx
jns 0x10010487
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 + 0x3ee0]
call fcn.1002b160
mov dword [edi + 0x3ee0], 0
mov ecx, dword [edi + 0x40cc]
test ecx, ecx
jns 0x100104b7
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 + 0x40c8]
call fcn.1002abc0
mov dword [edi + 0x40c8], 0
mov ecx, dword [edi + 0x40a8]
test ecx, ecx
jns 0x100104e7
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea ecx, [edi + 0x40a4]
test eax, eax
cmovg edx, eax
push edx
call fcn.1002b0e0
lea eax, [ebp - 0x1c]
mov dword [edi + 0x40a4], 0
push eax
lea ecx, [edi + 0x40a4]
mov dword [ebp - 0x1c], 0
call fcn.1002a1d0
push ecx
lea ecx, [edi + 0x40b0]
call fcn.1002a990
mov ecx, edi
call fcn.100218e0
mov ebx, dword [0x100b99b8]
cmp byte [ebx + 0x53e4], 0
mov dword [ebx + 0x53e8], 0
je 0x100105e3
mov esi, dword [ebx + 0x3f30]
mov ecx, 0x20e
mov dword [ebx + 0x428c], 7
call fcn.10018ef0
test al, al
je 0x1001055c
mov byte [ebx + 0x53e4], 0
movss xmm0, dword [ebx + 0x36a8]
ucomiss xmm0, dword [0x100b422c]
lahf
test ah, 0x44
jp 0x10010582
test esi, esi
je 0x10010582
mov dword [ebx + 0x53e8], esi
mov byte [ebx + 0x53e4], 0
or dword [ebx + 0x3fec], 0x40
xor ecx, ecx
mov dword [ebx + 0x4044], 0x3f19999a
call fcn.1001a120
push esi
push str.HoveredId:_0x_08X
call fcn.1003fee0
push str.Press_ESC_to_abort_picking.
call fcn.1003fee0
add esp, 0xc
xor ecx, ecx
mov eax, 0x10
test esi, esi
cmove ecx, eax
mov eax, dword [0x100b99b8]
add eax, 0x391c
add eax, ecx
push str.Click_to_break_in_debugger_
push eax
call fcn.1003ffd0
add esp, 8
call fcn.10018790
mov ebx, dword [0x100b99b8]
mov esi, ebx
mov dword [esi + 0x3f28], 0
mov eax, dword [esi + 0x53fc]
inc eax
cmp dword [esi + 0x3ea0], eax
jne 0x10010706
mov ecx, dword [esi + 0x3f30]
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x10010618
mov ecx, dword [esi + 0x3f40]
mov dword [ebp - 8], ecx
cmp dword [esi + 0x5404], ecx
je 0x10010672
lea eax, [esi + 0x5408]
mov dword [esi + 0x5404], ecx
mov dword [esi + 0x5400], 0xffffffff
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], edx
test edx, edx
jns 0x1001066c
mov eax, edx
xor ecx, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x1c]
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x5408]
call fcn.1002b250
mov ebx, dword [0x100b99b8]
lea eax, [esi + 0x5408]
mov ecx, dword [ebp - 8]
mov dword [eax], 0
test ecx, ecx
je 0x10010706
mov eax, dword [esi + 0x5400]
test eax, eax
js 0x100106c3
mov edx, eax
cmp eax, dword [esi + 0x5408]
jge 0x100106e2
mov ecx, dword [esi + 0x5410]
lea edx, [eax + eax*8]
cmp byte [ecx + edx*8 + 5], 0
mov ecx, dword [ebp - 8]
jne 0x100106bc
mov ecx, dword [esi + 0x5410]
lea ebx, [eax + eax*8]
mov edx, eax
cmp byte [ecx + ebx*8 + 4], 2
mov ebx, dword [0x100b99b8]
mov ecx, dword [ebp - 8]
jle 0x100106e2
inc eax
mov dword [esi + 0x5400], eax
mov edx, eax
cmp eax, 0xffffffff
jne 0x100106de
mov dword [esi + 0x3f28], ecx
jmp 0x10010706
call fcn.1001bb90
mov ecx, eax
jmp 0x1001045c
test edx, edx
js 0x10010706
cmp edx, dword [esi + 0x5408]
jge 0x10010706
mov eax, dword [esi + 0x5410]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*8]
mov dword [esi + 0x3f28], eax
mov eax, dword [esi + 0x5410]
inc byte [eax + ecx*8 + 4]
mov byte [edi + 0x3eb1], 1
xor edx, edx
or dword [ebx + 0x3fec], 2
mov ecx, str.DebugDefault
push 0
mov dword [ebx + 0x4010], 0x43c80000
mov dword [ebx + 0x4014], 0x43c80000
mov dword [ebx + 0x3ff4], 4
call fcn.10015840
xor esi, esi
add esp, 4
cmp dword [edi + 0x53a0], esi
jle 0x10010774
xor ebx, ebx
nop
mov eax, dword [edi + 0x53a8]
add eax, ebx
cmp dword [eax + 4], 1
jne 0x10010768
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x53a0]
jl 0x10010750
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret