Function at 0x10007650
Capabilities:
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 [0x10072700]
mov dword [esp + 0x2c], edi
mov eax, dword [edi + 0x5a2c]
sub eax, 1
mov dword [esp + 0x20], eax
js 0x100076e0
lea ebx, [eax + eax*4]
shl ebx, 2
nop dword [eax + eax]
mov ecx, dword [edi + 0x5a34]
cmp dword [ecx + ebx + 4], 7
jne 0x100076d4
mov esi, ecx
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 + 0x5a2c]
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 + 0x2c]
add esp, 0xc
dec dword [edi + 0x5a2c]
dec eax
sub ebx, 0x14
mov dword [esp + 0x20], eax
test eax, eax
jns 0x10007680
xor esi, esi
cmp dword [edi + 0x5a2c], esi
jle 0x10007714
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x5a34]
add eax, ebx
cmp dword [eax + 4], 0
jne 0x10007708
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5a2c]
jl 0x100076f0
mov esi, dword [0x10072700]
cmp byte [esi + 0x66], 0
je 0x1000772a
test byte [esi + 0xc], 2
jne 0x1000772a
mov byte [esi + 0x66], 0
cmp byte [esi + 0x59f5], 0
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x1c], ebx
jne 0x10007791
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1000778a
push ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
call fcn.10003780
mov ecx, eax
add esp, 8
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x1000778a
mov edx, dword [esp + 0x20]
test edx, edx
je 0x10007775
call fcn.100182f0
mov ecx, dword [esp + 0x28]
mov eax, dword [0x10072700]
test eax, eax
je 0x10007784
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov byte [esi + 0x59f5], 1
movss xmm0, dword [esi + 0x59f8]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1000781e
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x59f8], xmm0
jb 0x1000781e
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x1000780d
mov eax, dword [0x10072700]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [eax + 0x59f8], 0
call fcn.10018520
mov edx, 0x10069efc
mov dword [esp + 0x28], eax
mov ecx, ebx
call fcn.10003680
mov ebx, eax
test ebx, ebx
je 0x10007814
push ebx
push dword [esp + 0x24]
push 1
push dword [esp + 0x34]
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 0x10007814
mov byte [esi + 0x98], 1
mov dword [esi + 0x59f8], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3dc8]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x3dd4], 1
mov word [edi + 0x59ba], ax
mov dword [edi + 0x3e1c], eax
addsd xmm0, qword [edi + 0x3dc0]
movsd qword [edi + 0x3dc0], xmm0
mov ecx, dword [edi + 0x59cc]
test ecx, ecx
jns 0x10007878
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 + 0x59c8]
call fcn.10019920
mov dword [edi + 0x59c8], 0
mov ecx, 0x3c
mov eax, dword [edi + 0x5bd4]
xorps xmm3, xmm3
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x1006f400]
movss xmm4, dword [0x1006f328]
subss xmm0, dword [edi + eax*4 + 0x5ae4]
movss dword [esp + 0x20], xmm2
addss xmm0, dword [edi + 0x5bdc]
movss dword [edi + 0x5bdc], xmm0
movss dword [edi + eax*4 + 0x5ae4], xmm1
mov eax, dword [edi + 0x5bd4]
inc eax
movss xmm1, dword [edi + 0x5bdc]
cdq
idiv ecx
mov eax, dword [edi + 0x5bd8]
inc eax
mov dword [edi + 0x5bd4], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [edi + 0x5bd8], ecx
jbe 0x10007913
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x10007916
movaps xmm0, xmm2
mov esi, dword [0x10072700]
xor ebx, ebx
movss dword [edi + 0x9c], xmm0
mov eax, dword [esi + 0x47a4]
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 + 0x479c], ebx
jle 0x10007a31
nop word [eax + eax]
mov eax, dword [esi + 0x47a4]
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 + 0x479c]
jl 0x10007960
movss xmm2, dword [esp + 0x20]
mov eax, dword [edi + 0x48]
mov esi, dword [0x10072700]
mov byte [eax + 0x10], 1
mov ebx, dword [esi + 0x54]
test ebx, ebx
jne 0x10007a4d
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
movss xmm0, dword [esi + 0x4c]
movaps xmm1, xmm4
mov eax, dword [esi + 0x3e28]
mov dword [esi + 0x3bb0], ebx
mulss xmm0, dword [ebx + 0x10]
mulss xmm0, dword [ebx + 0x4c]
maxss xmm1, xmm0
movss dword [esi + 0x3bb8], xmm1
test eax, eax
je 0x10007a97
mulss xmm1, dword [eax + 0x258]
mov eax, dword [eax + 0x2f4]
test eax, eax
je 0x10007a9a
mulss xmm1, dword [eax + 0x258]
jmp 0x10007a9a
movaps xmm1, xmm3
movss xmm4, dword [0x1006f444]
movaps xmm7, xmm2
movss dword [esi + 0x3bb4], xmm1
movaps xmm6, xmm2
mov edx, dword [ebx + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x3bbc], eax
lea eax, [edx + 0x60]
mov dword [esi + 0x3bc0], ecx
mov dword [esi + 0x3db8], eax
mov dword [esi + 0x3bc4], ebx
movss dword [esi + 0x3bc8], xmm1
mov edx, dword [edi + 0x479c]
test edx, edx
jle 0x10007b34
mov ecx, dword [edi + 0x47a4]
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 0x10007b14
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x10007b1c
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x10007b24
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x10007b2c
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x10007af0
movss dword [edi + 0x3bd4], xmm7
movss dword [edi + 0x3bd8], xmm6
movss dword [edi + 0x3bdc], xmm4
movss dword [edi + 0x3be0], xmm5
mov eax, dword [edi + 0x3858]
movss xmm1, dword [edi + 0x385c]
mov dword [edi + 0x3bcc], eax
movss xmm0, dword [edi + 0x3bd0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10007c64
movss dword [edi + 0x3bd0], xmm1
xor esi, esi
mov ebx, 0x200
nop dword [eax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x10007c1d
movss xmm1, dword [edi + 0x3bd0]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1006f328]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x1006f370]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x10007c13
mov eax, 4
jmp 0x10007c22
cmp eax, 0x200
cmovg eax, ebx
jmp 0x10007c22
mov eax, 0x30
mov byte [esi + edi + 0x3d78], al
inc esi
cmp esi, 0x40
jl 0x10007b90
movsd xmm0, qword [0x1006f338]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x1006f328]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3bd0]
divss xmm0, xmm1
movss dword [edi + 0x3d74], xmm0
xor edx, edx
mov dword [edi + 0x3be4], 0
cmp byte [edi + 0x3854], dl
je 0x10007c87
mov dword [edi + 0x3be4], 1
mov edx, 1
cmp byte [edi + 0x3855], 0
mov ecx, edx
je 0x10007ca9
mov eax, dword [edi + 0x3bb0]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x10007ca9
or ecx, 2
mov dword [edi + 0x3be4], ecx
cmp byte [edi + 0x3856], 0
je 0x10007cbb
or ecx, 4
mov dword [edi + 0x3be4], ecx
test byte [edi + 0xc], 8
je 0x10007cca
or ecx, 8
mov dword [edi + 0x3be4], ecx
xor esi, esi
cmp dword [edi + 0x479c], esi
jle 0x10007cf6
mov eax, dword [edi + 0x47a4]
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 + 0x479c]
jl 0x10007cd4
cmp byte [edi + 0x4930], 0
je 0x10007d30
mov eax, dword [edi + 0x4948]
cmp eax, dword [edi + 0x3e74]
jne 0x10007d30
mov ecx, dword [0x10072700]
cmp dword [ecx + 0x3e74], eax
jne 0x10007d21
mov dword [ecx + 0x3e78], eax
cmp dword [ecx + 0x3e9c], eax
jne 0x10007d30
mov byte [ecx + 0x3ea0], 1
cmp dword [edi + 0x3e64], 0
jne 0x10007d45
mov dword [edi + 0x3e6c], 0
jmp 0x10007d57
mov eax, dword [edi + 0x3e60]
test eax, eax
je 0x10007d61
cmp dword [edi + 0x3e74], eax
jne 0x10007d61
mov dword [edi + 0x3e70], 0
mov eax, dword [edi + 0x3e60]
test eax, eax
je 0x10007d9b
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e6c]
movss dword [edi + 0x3e6c], xmm0
cmp dword [edi + 0x3e74], eax
je 0x10007d9b
addss xmm1, dword [edi + 0x3e70]
movss dword [edi + 0x3e70], xmm1
mov dword [edi + 0x3e64], eax
mov eax, dword [edi + 0x3e74]
mov dword [edi + 0x3e60], 0
mov word [edi + 0x3e68], 0
test eax, eax
je 0x10007ded
cmp dword [edi + 0x3e78], eax
je 0x10007ded
cmp dword [edi + 0x3e9c], eax
jne 0x10007ded
test byte [edi + 0x5a8c], 1
je 0x10007de4
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.10018d80
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.10006ba0
mov ecx, dword [edi + 0x3e74]
test ecx, ecx
je 0x10007e0c
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3e7c]
movss dword [edi + 0x3e7c], xmm0
mov eax, dword [edi + 0x3e90]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3eac]
mov dword [edi + 0x3ea4], eax
mov al, byte [edi + 0x3e84]
mov byte [edi + 0x3ea1], al
mov eax, dword [edi + 0x5948]
movss dword [edi + 0x3eac], xmm0
mov dword [edi + 0x3e9c], ecx
mov dword [edi + 0x3e78], 0
mov byte [edi + 0x3e85], 0
mov byte [edi + 0x3ea0], 0
mov byte [edi + 0x3e80], 0
test eax, eax
je 0x10007e76
cmp ecx, eax
je 0x10007e76
mov dword [edi + 0x5948], 0
test ecx, ecx
jne 0x10007e94
mov dword [edi + 0x4678], ecx
mov dword [edi + 0x4670], ecx
mov byte [edi + 0x4674], cl
mov dword [edi + 0x4678], ecx
jmp 0x10007ebc
mov eax, dword [edi + 0x4678]
test eax, eax
je 0x10007ebc
test al, 2
je 0x10007ebc
mov eax, dword [0x10072700]
mov dword [eax + 0x3f5c], ecx
mov dword [eax + 0x3f58], ecx
mov word [eax + 0x3f60], 0
mov eax, dword [edi + 0x4a58]
movss xmm0, dword [edi + 0x4a60]
mov dword [edi + 0x4a5c], eax
test eax, eax
je 0x10007eed
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4a58], 0
movss dword [edi + 0x4a60], xmm0
jmp 0x10007f2d
comiss xmm0, dword [0x1006f27c]
jbe 0x10007f37
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x1006f2d0]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4a64]
addss xmm1, xmm1
movss dword [edi + 0x4a64], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x10007f37
mov dword [edi + 0x4a60], 0
mov dword [edi + 0x4a64], 0
mov eax, dword [edi + 0x4994]
push ecx
lea ecx, [edi + 0x378c]
mov dword [edi + 0x4998], eax
mov dword [edi + 0x4994], 0
mov dword [edi + 0x4990], 0x7f7fffff
mov word [edi + 0x4931], 0
mov dword [edi + 0x49a0], 0
call fcn.10019a60
mov cl, byte [edi + 0x62]
call fcn.10011180
call fcn.1000ff00
call fcn.100148b0
call fcn.10010460
call fcn.100073e0
mov esi, dword [0x10072700]
mov ecx, dword [esi + 0x3e34]
test ecx, ecx
je 0x1000804b
mov eax, dword [esi + 0x3e74]
mov dword [esi + 0x3e78], eax
cmp dword [esi + 0x3e9c], eax
jne 0x10007fc1
mov byte [esi + 0x3ea0], 1
cmp byte [esi + 0xdc0], 0
mov ebx, dword [ecx + 0x2fc]
je 0x1000803f
lea eax, [esi + 0xdb8]
mov ecx, eax
test eax, eax
jne 0x10007fe2
lea ecx, [esi + 0xdb8]
movss xmm0, dword [ecx]
movss xmm1, dword [0x1006f440]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x1000803f
comiss xmm2, xmm1
jb 0x1000803f
movss xmm0, dword [eax]
lea edx, [esp + 0x30]
subss xmm0, dword [esi + 0x3e88]
push 1
mov ecx, ebx
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x3e8c]
movss dword [esp + 0x38], xmm0
call fcn.1000f380
mov ecx, dword [esi + 0x3e34]
add esp, 4
call fcn.1000ef10
jmp 0x10008087
mov dword [esi + 0x3e34], 0
jmp 0x1000807e
mov ecx, dword [esi + 0x3e90]
test ecx, ecx
je 0x10008087
mov eax, dword [esi + 0x3e74]
cmp dword [ecx + 0x6c], eax
jne 0x10008087
mov dword [esi + 0x3e78], eax
cmp dword [esi + 0x3e9c], eax
jne 0x10008075
mov byte [esi + 0x3ea0], 1
cmp byte [esi + 0xdc0], 0
jne 0x10008087
xor edx, edx
xor ecx, ecx
call fcn.10006ba0
mov eax, dword [0x10072700]
mov edx, dword [eax + 0x4780]
sub edx, 1
js 0x100080bd
mov eax, dword [eax + 0x4788]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x100080b5
test dword [ecx + 8], 0x8000000
jne 0x100080d7
sub eax, 0x28
sub edx, 1
jns 0x100080a6
cmp dword [edi + 0x4900], 0
je 0x100080f6
movss xmm0, dword [edi + 0x4910]
comiss xmm0, dword [0x1006f27c]
jbe 0x100080f6
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x1006f384]
addss xmm1, dword [edi + 0x4928]
minss xmm1, dword [0x1006f328]
jmp 0x10008117
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x1006f390]
movss xmm1, dword [edi + 0x4928]
subss xmm1, xmm0
maxss xmm1, dword [0x1006f27c]
movss dword [edi + 0x4928], xmm1
movups xmm0, xmmword [edi + 0x59d4]
mov dword [edi + 0x492c], 0
mov dword [edi + 0x5be8], 0xffffffff
mov dword [edi + 0x5be4], 0xffffffff
mov dword [edi + 0x5be0], 0xffffffff
movups xmmword [edi + 0x59e4], xmm0
mov byte [edi + 0x59d4], 0
call fcn.100107c0
cmp byte [edi + 0x3dd7], 0
jne 0x1000818f
movss xmm0, dword [edi + 0x68]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1000818f
movsd xmm1, qword [edi + 0x3dc0]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
jmp 0x10008195
movss xmm1, dword [esp + 0x20]
xor ebx, ebx
cmp dword [edi + 0x3de0], ebx
je 0x10008344
nop dword [eax]
nop word [eax + eax]
mov eax, dword [edi + 0x3de8]
mov esi, dword [eax + ebx*4]
mov ax, word [esi + 0xb2]
mov cl, byte [esi + 0xa6]
mov word [esi + 0xb4], ax
xor eax, eax
mov byte [esi + 0xa7], cl
mov byte [esi + 0xa6], 0
mov byte [esi + 0xa8], 0
mov word [esi + 0xb2], ax
test cl, cl
jne 0x10008331
cmp byte [esi + 0x344], al
jne 0x10008331
comiss xmm1, dword [esi + 0x238]
jbe 0x10008331
mov ecx, dword [esi + 0x260]
mov byte [esi + 0x344], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x33c], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x340], eax
mov ecx, dword [esi + 0xe8]
test ecx, ecx
je 0x10008269
mov eax, dword [0x10072700]
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe0], 0
test eax, eax
je 0x10008257
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0xe8], 0
mov ecx, dword [esi + 0x260]
call fcn.100226f0
mov ecx, dword [esi + 0x184]
test ecx, ecx
je 0x100082b3
mov eax, dword [0x10072700]
mov dword [esi + 0x180], 0
mov dword [esi + 0x17c], 0
test eax, eax
je 0x100082a1
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x184], 0
mov ecx, dword [esi + 0x1ac]
test ecx, ecx
je 0x100082f2
mov eax, dword [0x10072700]
mov dword [esi + 0x1a8], 0
mov dword [esi + 0x1a4], 0
test eax, eax
je 0x100082e0
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x1ac], 0
mov ecx, dword [esi + 0x1b8]
test ecx, ecx
je 0x10008331
mov eax, dword [0x10072700]
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b0], 0
test eax, eax
je 0x1000831f
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x1b8], 0
movss xmm1, dword [esp + 0x20]
inc ebx
cmp ebx, dword [edi + 0x3de0]
jne 0x100081b0
xor ecx, ecx
mov dword [esp + 0x24], ecx
cmp dword [edi + 0x4a04], ecx
jle 0x10008495
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x28], edx
nop
mov eax, dword [edi + 0x4a0c]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1000847a
movss xmm1, dword [esp + 0x20]
comiss xmm1, xmm0
jbe 0x10008477
mov esi, dword [edi + 0x49ec]
mov ebx, dword [0x10072700]
add esi, edx
mov dword [esp + 0x30], ebx
mov dword [esi + 0x198], 0
mov eax, dword [esi + 0x194]
test eax, eax
je 0x100083d9
mov dword [esi + 0x190], 0
mov dword [esi + 0x18c], 0
test ebx, ebx
je 0x100083c7
dec dword [ebx + 0xb0]
push eax
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x194], 0
mov byte [esi + 0x1d9], 1
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x1000841f
mov eax, dword [0x10072700]
mov dword [esi + 0x158], 0
mov dword [esi + 0x154], 0
test eax, eax
je 0x1000840d
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x15c], 0
xor edx, edx
mov byte [esi + 0x1e5], 1
cmp dword [esi + 0x40], edx
jle 0x1000844b
xor ecx, ecx
or ebx, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov word [ecx + eax - 0x20], bx
cmp edx, dword [esi + 0x40]
jl 0x10008432
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
sub esi, dword [ebx + 0x49ec]
mov eax, 0x4325c53f
imul esi
mov eax, dword [ebx + 0x4a0c]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x24]
xorps xmm1, xmm1
inc ecx
add edx, 0x1e8
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
cmp ecx, dword [edi + 0x4a04]
jl 0x10008360
xor eax, eax
mov dword [esp + 0x28], eax
cmp dword [edi + 0x49d8], eax
jle 0x100084f5
xor esi, esi
xorps xmm1, xmm1
nop dword [eax + eax]
mov ebx, dword [edi + 0x49e0]
movss xmm0, dword [esi + ebx + 4]
comiss xmm0, xmm1
jb 0x100084e5
movss xmm1, dword [esp + 0x20]
comiss xmm1, xmm0
jbe 0x100084e2
lea ecx, [ebx + 0x10]
add ecx, esi
call fcn.10025440
mov eax, dword [esp + 0x28]
mov dword [esi + ebx + 4], 0xbf800000
xorps xmm1, xmm1
inc eax
add esi, 0x68
mov dword [esp + 0x28], eax
cmp eax, dword [edi + 0x49d8]
jl 0x100084b0
cmp byte [edi + 0x3dd7], 0
je 0x1000858c
mov esi, dword [0x10072700]
mov eax, dword [esi + 0x4770]
test eax, eax
je 0x10008546
mov dword [esi + 0x476c], 0
mov dword [esi + 0x4768], 0
test esi, esi
je 0x10008530
dec dword [esi + 0xb0]
mov ebx, dword [esp + 0x1c]
push eax
call ebx
add esp, 4
mov dword [esi + 0x4770], 0
jmp 0x1000854a
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x477c]
test ecx, ecx
je 0x10008587
mov eax, dword [0x10072700]
mov dword [esi + 0x4778], 0
mov dword [esi + 0x4774], 0
test eax, eax
je 0x10008577
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x477c], 0
call fcn.1002d330
mov eax, dword [edi + 0x47a8]
mov byte [edi + 0x3dd7], 0
test eax, eax
je 0x100085f1
cmp byte [eax + 0xa7], 0
jne 0x100085f1
mov eax, dword [0x10072700]
mov edx, dword [eax + 0x3dec]
sub edx, 1
js 0x100085ea
mov eax, dword [eax + 0x3df4]
lea esi, [eax + edx*4]
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x100085e2
cmp byte [ecx + 0xa7], 0
je 0x100085e2
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x100087b7
sub esi, 4
sub edx, 1
jns 0x100085c0
xor ecx, ecx
call fcn.1000ef10
mov ecx, dword [edi + 0x3e08]
test ecx, ecx
jns 0x10008617
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 + 0x3e04]
call fcn.1001a040
mov dword [edi + 0x3e04], 0
mov ecx, dword [edi + 0x4790]
test ecx, ecx
jns 0x10008647
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 + 0x478c]
call fcn.10019fc0
lea esi, [edi + 0x4768]
mov dword [edi + 0x478c], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10008676
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.10019920
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1000868b
push 8
mov ecx, esi
call fcn.10019920
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x4774]
inc dword [esi]
call fcn.100196f0
mov esi, dword [0x10072700]
cmp byte [esi + 0x5aad], 0
mov dword [esi + 0x5ab0], 0
je 0x1000880c
mov ebx, dword [esi + 0x3e64]
xor edx, edx
push 1
mov ecx, 0x20e
mov dword [esp + 0x34], ebx
mov dword [esi + 0x492c], 7
call fcn.1000fc00
add esp, 4
test al, al
je 0x100086f3
mov byte [esi + 0x5aad], 0
mov eax, dword [esi + 0xdd4]
mov dword [esp + 0x20], eax
cmp eax, 0x3000
je 0x10008729
movzx ecx, byte [esi + 0x5aae]
call fcn.1000fd60
test al, al
mov eax, dword [esp + 0x20]
je 0x10008729
test ebx, ebx
je 0x10008729
mov dword [esi + 0x5ab0], ebx
mov byte [esi + 0x5aad], 0
xor ebx, ebx
nop dword [eax + eax]
cmp eax, 0x3000
jne 0x1000874c
mov ecx, ebx
call fcn.1000fd60
test al, al
mov eax, dword [esp + 0x20]
je 0x1000874c
mov byte [esi + 0x5aae], bl
inc ebx
cmp ebx, 3
jl 0x10008730
or dword [esi + 0x46d8], 0x40
xor ecx, ecx
mov dword [esi + 0x472c], 0x3f333333
call fcn.10012670
mov ebx, dword [esp + 0x30]
push ebx
push str.HoveredId:_0x_08X
call fcn.1002e0e0
push str.Press_ESC_to_abort_picking.
call fcn.1002e0e0
add esp, 0xc
mov dword [esp + 0x30], str.Left
cmp dword [esp + 0x20], 0x3000
mov dword [esp + 0x34], str.Right
mov dword [esp + 0x38], str.Middle
jne 0x100087d3
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.1002e0e0
add esp, 4
jmp 0x10008801
mov eax, dword [ecx + 0x30c]
test eax, eax
je 0x100087ca
cmp byte [eax + 0xa7], 0
jne 0x100087cc
mov eax, ecx
mov ecx, eax
jmp 0x100085ec
movzx eax, byte [esi + 0x5aae]
mov ecx, 0x3870
test ebx, ebx
push dword [esp + eax*4 + 0x30]
mov eax, 0x3860
cmove eax, ecx
add eax, dword [0x10072700]
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.1002e1b0
add esp, 0xc
call fcn.1000ed40
mov esi, dword [0x10072700]
mov ebx, esi
mov dword [ebx + 0x3e5c], 0
mov eax, dword [ebx + 0x5ac4]
inc eax
cmp dword [ebx + 0x3dc8], eax
jne 0x10008928
mov ecx, dword [ebx + 0x3e64]
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x10008843
mov ecx, dword [ebx + 0x3e74]
mov dword [esp + 0x20], ecx
cmp dword [ebx + 0x5acc], ecx
je 0x100088a0
lea eax, [ebx + 0x5ad0]
mov dword [ebx + 0x5acc], ecx
mov dword [ebx + 0x5ac8], 0xffffffff
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
test edx, edx
jns 0x1000889a
mov eax, edx
xor ecx, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x30]
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x5ad0]
call fcn.1001a0b0
mov esi, dword [0x10072700]
lea eax, [ebx + 0x5ad0]
mov ecx, dword [esp + 0x20]
mov dword [eax], 0
test ecx, ecx
je 0x10008928
mov eax, dword [ebx + 0x5ac8]
test eax, eax
js 0x100088f1
mov edx, eax
cmp eax, dword [ebx + 0x5ad0]
jge 0x10008904
mov ecx, dword [ebx + 0x5ad8]
lea edx, [eax + eax*8]
cmp byte [ecx + edx*8 + 5], 0
mov ecx, dword [esp + 0x20]
jne 0x100088ea
mov edi, dword [ebx + 0x5ad8]
lea ecx, [eax + eax*8]
mov edx, eax
cmp byte [edi + ecx*8 + 4], 2
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
jle 0x10008904
inc eax
mov dword [ebx + 0x5ac8], eax
mov edx, eax
cmp eax, 0xffffffff
jne 0x10008900
mov dword [ebx + 0x3e5c], ecx
jmp 0x10008928
test edx, edx
js 0x10008928
cmp edx, dword [ebx + 0x5ad0]
jge 0x10008928
mov eax, dword [ebx + 0x5ad8]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*8]
mov dword [ebx + 0x3e5c], eax
mov eax, dword [ebx + 0x5ad8]
inc byte [eax + ecx*8 + 4]
mov al, byte [edi + 0x5aac]
test al, al
je 0x10008946
sub al, 1
mov byte [edi + 0x5aac], al
jne 0x10008946
mov dword [edi + 0x4684], 0
mov byte [edi + 0x3dd5], 1
xor edx, edx
or dword [esi + 0x46d8], 2
mov ecx, str.DebugDefault
push 0
mov dword [esi + 0x46f8], 0x43c80000
mov dword [esi + 0x46fc], 0x43c80000
mov dword [esi + 0x46e0], 4
call fcn.1000c4e0
xor esi, esi
add esp, 4
cmp dword [edi + 0x5a2c], esi
jle 0x100089b4
xor ebx, ebx
nop
mov eax, dword [edi + 0x5a34]
add eax, ebx
cmp dword [eax + 4], 1
jne 0x100089a8
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5a2c]
jl 0x10008990
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret