Function at 0x10007730
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
push edi
mov edi, dword [0x100508f0]
mov dword [esp + 0x24], edi
mov edx, dword [edi + 0x523c]
sub edx, 1
mov dword [esp + 0x1c], edx
js 0x100077c8
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x18], eax
nop
mov ecx, dword [edi + 0x5244]
cmp dword [ecx + eax + 4], 7
jne 0x100077b8
mov esi, ecx
sub ecx, esi
add ecx, eax
mov eax, 0x66666667
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 + 0x523c]
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 + 0x24]
add esp, 0xc
dec dword [edi + 0x523c]
mov edx, dword [esp + 0x1c]
dec edx
sub eax, 0x14
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
test edx, edx
jns 0x10007760
xor esi, esi
cmp dword [edi + 0x523c], esi
jle 0x1000780c
xor ecx, ecx
mov dword [esp + 0x1c], ecx
nop dword [eax + eax]
mov eax, dword [edi + 0x5244]
add eax, ecx
cmp dword [eax + 4], 0
jne 0x100077fc
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
mov ecx, dword [esp + 0x24]
add esp, 8
inc esi
add ecx, 0x14
mov dword [esp + 0x1c], ecx
cmp esi, dword [edi + 0x523c]
jl 0x100077e0
mov esi, dword [0x100508f0]
cmp byte [esi + 0x66], 0
je 0x10007822
test byte [esi + 0xc], 2
jne 0x10007822
mov byte [esi + 0x66], 0
cmp byte [esi + 0x5205], 0
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x14], eax
jne 0x1000788a
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10007883
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
call fcn.10003a70
mov ecx, eax
add esp, 8
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x10007883
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x1000786c
call fcn.100169d0
mov ecx, dword [esp + 0x30]
mov eax, dword [0x100508f0]
test eax, eax
je 0x1000787b
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov byte [esi + 0x5205], 1
movss xmm0, dword [esi + 0x5208]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10007926
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5208], xmm0
jb 0x10007926
mov eax, dword [esi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
je 0x10007915
mov eax, dword [0x100508f0]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [eax + 0x5208], 0
call fcn.10016c00
mov ecx, dword [esp + 0x30]
mov edx, 0x10047ef8
mov dword [esp + 0x28], eax
call fcn.10003970
mov dword [esp + 0x30], eax
test eax, eax
je 0x1000791c
push eax
push dword [esp + 0x20]
push 1
push dword [esp + 0x34]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [esp + 0x40]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x1000791c
mov byte [esi + 0x98], 1
mov dword [esi + 0x5208], 0
movss xmm0, dword [edi + 0x18]
lea ecx, [edi + 0x51d8]
inc dword [edi + 0x3db8]
xor eax, eax
cvtps2pd xmm0, xmm0
push eax
mov byte [edi + 0x3dc4], 1
mov word [edi + 0x51ca], ax
mov dword [edi + 0x3e0c], eax
addsd xmm0, qword [edi + 0x3db0]
movsd qword [edi + 0x3db0], xmm0
call fcn.100180d0
mov eax, dword [edi + 0x53b8]
mov ecx, 0x3c
movss xmm1, dword [edi + 0x18]
xorps xmm3, xmm3
movaps xmm0, xmm1
movss xmm2, dword [0x1004d9a4]
movss xmm4, dword [0x1004d8f0]
subss xmm0, dword [edi + eax*4 + 0x52c8]
movss dword [esp + 0x18], xmm2
addss xmm0, dword [edi + 0x53c0]
movss dword [edi + 0x53c0], xmm0
movss dword [edi + eax*4 + 0x52c8], xmm1
mov eax, dword [edi + 0x53b8]
inc eax
movss xmm1, dword [edi + 0x53c0]
cdq
idiv ecx
mov eax, dword [edi + 0x53bc]
inc eax
mov dword [edi + 0x53b8], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [edi + 0x53bc], ecx
jbe 0x100079f7
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x100079fa
movaps xmm0, xmm2
mov esi, dword [0x100508f0]
movss dword [edi + 0x9c], xmm0
mov dword [esp + 0x1c], 0
mov eax, dword [esi + 0x3fc8]
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 + 0x3fc0], 0
jle 0x10007b30
xor edi, edi
nop word [eax + eax]
mov eax, dword [esi + 0x3fc8]
movaps xmm2, xmm3
mov edx, dword [edi + eax]
add edi, 4
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]
mov eax, dword [esp + 0x1c]
inc eax
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
movss dword [edx + 0x14], xmm1
movaps xmm1, xmm3
subss xmm0, dword [edx + 0x7c]
mov dword [esp + 0x1c], eax
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 eax, dword [esi + 0x3fc0]
jl 0x10007a50
movss xmm2, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x48]
mov byte [eax + 0x10], 1
mov eax, dword [esi + 0x54]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x10007b4e
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
movss xmm0, dword [esi + 0x4c]
movaps xmm1, xmm4
mov ecx, dword [esi + 0x3e18]
mov dword [esi + 0x3bb0], eax
mulss xmm0, dword [eax + 0x10]
mulss xmm0, dword [eax + 0x44]
maxss xmm1, xmm0
movss dword [esi + 0x3bb8], xmm1
test ecx, ecx
je 0x10007b98
mulss xmm1, dword [ecx + 0x244]
mov ecx, dword [ecx + 0x2e0]
test ecx, ecx
je 0x10007b9b
mulss xmm1, dword [ecx + 0x244]
jmp 0x10007b9b
movaps xmm1, xmm3
movss xmm4, dword [0x1004d9cc]
movaps xmm7, xmm2
movss dword [esi + 0x3bb4], xmm1
movaps xmm6, xmm2
mov edx, dword [eax + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [esi + 0x3bbc], eax
lea eax, [edx + 0x58]
mov dword [esi + 0x3dac], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x3bc0], ecx
mov dword [esi + 0x3bc4], eax
movss dword [esi + 0x3bc8], xmm1
mov edx, dword [edi + 0x3fc0]
test edx, edx
jle 0x10007c38
mov ecx, dword [edi + 0x3fc8]
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 0x10007c18
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x10007c20
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x10007c28
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x10007c30
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x10007bf4
mov eax, dword [edi + 0x3858]
movss xmm1, dword [edi + 0x385c]
movss dword [esp + 0x30], xmm7
movss dword [esp + 0x34], xmm6
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x3c], xmm5
movups xmm0, xmmword [esp + 0x30]
mov dword [edi + 0x3bcc], eax
movups xmmword [edi + 0x3bd4], xmm0
movss xmm0, dword [edi + 0x3bd0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10007d6f
movss dword [edi + 0x3bd0], xmm1
xor esi, esi
nop
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x10007d22
movss xmm1, dword [edi + 0x3bd0]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1004d8f0]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x1004d940]
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 0x10007d13
mov eax, 4
jmp 0x10007d27
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x10007d27
mov eax, 0x30
mov byte [edi + esi + 0x3d6c], al
inc esi
cmp esi, 0x40
jl 0x10007c90
movsd xmm0, qword [0x1004d900]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x1004d8f0]
cvtsd2ss xmm0, xmm0
mov esi, dword [0x100508f0]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3bd0]
divss xmm0, xmm1
movss dword [edi + 0x3d68], xmm0
xor edx, edx
mov dword [edi + 0x3be4], 0
cmp byte [edi + 0x3854], dl
je 0x10007d92
mov dword [edi + 0x3be4], 1
mov edx, 1
cmp byte [edi + 0x3855], 0
mov ecx, edx
je 0x10007db4
mov eax, dword [edi + 0x3bb0]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x10007db4
or ecx, 2
mov dword [edi + 0x3be4], ecx
cmp byte [edi + 0x3856], 0
je 0x10007dc6
or ecx, 4
mov dword [edi + 0x3be4], ecx
test byte [edi + 0xc], 8
je 0x10007dd5
or ecx, 8
mov dword [edi + 0x3be4], ecx
cmp dword [edi + 0x3fc0], 0
jle 0x10007e19
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x1c], ecx
mov eax, dword [edi + 0x3fc8]
push 0x2c
push 0
mov eax, dword [ecx + eax]
add eax, 0x38
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x28]
inc esi
add ecx, 4
add esp, 0xc
mov dword [esp + 0x1c], ecx
cmp esi, dword [edi + 0x3fc0]
jl 0x10007de6
mov esi, dword [0x100508f0]
cmp byte [edi + 0x414c], 0
je 0x10007e4d
mov eax, dword [edi + 0x4164]
cmp eax, dword [edi + 0x3e50]
jne 0x10007e4d
cmp dword [esi + 0x3e50], eax
jne 0x10007e3e
mov dword [esi + 0x3e54], eax
cmp dword [esi + 0x3e78], eax
jne 0x10007e4d
mov byte [esi + 0x3e7c], 1
cmp dword [edi + 0x3e40], 0
jne 0x10007e62
mov dword [edi + 0x3e48], 0
jmp 0x10007e74
mov eax, dword [edi + 0x3e3c]
test eax, eax
je 0x10007e7e
cmp dword [edi + 0x3e50], eax
jne 0x10007e7e
mov dword [edi + 0x3e4c], 0
mov eax, dword [edi + 0x3e3c]
test eax, eax
je 0x10007eb8
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e48]
movss dword [edi + 0x3e48], xmm0
cmp dword [edi + 0x3e50], eax
je 0x10007eb8
addss xmm1, dword [edi + 0x3e4c]
movss dword [edi + 0x3e4c], xmm1
mov dword [edi + 0x3e40], eax
mov al, byte [edi + 0x3e45]
mov byte [edi + 0x3e46], al
mov eax, dword [edi + 0x3e50]
mov dword [edi + 0x3e3c], 0
mov word [edi + 0x3e44], 0
mov byte [edi + 0x3e47], 0
test eax, eax
je 0x10007f19
cmp dword [edi + 0x3e54], eax
je 0x10007f19
cmp dword [edi + 0x3e78], eax
jne 0x10007f19
test byte [edi + 0x5280], 1
je 0x10007f14
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.10017480
add esp, 4
call fcn.10005f20
mov ecx, dword [edi + 0x3e50]
test ecx, ecx
je 0x10007f38
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3e58]
movss dword [edi + 0x3e58], xmm0
mov eax, dword [edi + 0x3e6c]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3e88]
mov dword [edi + 0x3e80], eax
mov al, byte [edi + 0x3e60]
mov byte [edi + 0x3e7d], al
mov eax, dword [edi + 0x5158]
movss dword [edi + 0x3e88], xmm0
mov dword [edi + 0x3e78], ecx
mov dword [edi + 0x3e54], 0
mov byte [edi + 0x3e61], 0
mov byte [edi + 0x3e7c], 0
mov byte [edi + 0x3e5c], 0
test eax, eax
je 0x10007fa2
cmp ecx, eax
je 0x10007fa2
mov dword [edi + 0x5158], 0
test ecx, ecx
jne 0x10007fbc
mov dword [edi + 0x3e8c], ecx
xorps xmm0, xmm0
movups xmmword [edi + 0x3e90], xmm0
mov dword [edi + 0x3ea0], ecx
cmp dword [edi + 0x3e50], 0
jne 0x10007fd1
mov dword [edi + 0x3ea4], 0
jmp 0x10007ff5
mov eax, dword [edi + 0x3ea4]
test eax, eax
je 0x10007ff5
test al, 2
je 0x10007ff5
mov ecx, dword [0x100508f0]
mov eax, dword [ecx + 0x3e90]
bts eax, 0xe
mov dword [ecx + 0x3e90], eax
mov eax, dword [edi + 0x4274]
movss xmm0, dword [edi + 0x427c]
mov dword [edi + 0x4278], eax
test eax, eax
je 0x10008026
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4274], 0
movss dword [edi + 0x427c], xmm0
jmp 0x10008066
comiss xmm0, dword [0x1004d874]
jbe 0x10008070
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x1004d8a0]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4280]
addss xmm1, xmm1
movss dword [edi + 0x4280], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x10008070
mov dword [edi + 0x427c], 0
mov dword [edi + 0x4280], 0
mov eax, dword [edi + 0x41b0]
push ecx
lea ecx, [edi + 0x378c]
mov dword [edi + 0x41b4], eax
mov dword [edi + 0x41b0], 0
mov dword [edi + 0x41ac], 0x7f7fffff
mov word [edi + 0x414d], 0
mov dword [edi + 0x41bc], 0
call fcn.10018020
mov cl, byte [edi + 0x62]
call fcn.10010a60
call fcn.10006860
call fcn.10013ee0
call fcn.10006ce0
call fcn.100074c0
mov esi, dword [0x100508f0]
mov ecx, dword [esi + 0x3e24]
test ecx, ecx
je 0x1000818a
mov eax, dword [esi + 0x3e50]
mov dword [esi + 0x3e54], eax
cmp dword [esi + 0x3e78], eax
jne 0x100080fa
mov byte [esi + 0x3e7c], 1
cmp byte [esi + 0xdc0], 0
mov eax, dword [ecx + 0x2e8]
mov dword [esp + 0x30], eax
je 0x1000817e
lea eax, [esi + 0xdb8]
mov ecx, eax
test eax, eax
jne 0x1000811f
lea ecx, [esi + 0xdb8]
movss xmm0, dword [ecx]
movss xmm1, dword [0x1004d9c8]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x1000817e
comiss xmm2, xmm1
jb 0x1000817e
movss xmm0, dword [eax]
lea edx, [esp + 0x28]
subss xmm0, dword [esi + 0x3e64]
mov ecx, dword [esp + 0x30]
push 1
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x3e68]
movss dword [esp + 0x30], xmm0
call fcn.10010340
mov ecx, dword [esi + 0x3e24]
add esp, 4
call fcn.1000fe70
jmp 0x100081c2
mov dword [esi + 0x3e24], 0
jmp 0x100081bd
mov ecx, dword [esi + 0x3e6c]
test ecx, ecx
je 0x100081c2
mov eax, dword [esi + 0x3e50]
cmp dword [ecx + 0x54], eax
jne 0x100081c2
mov dword [esi + 0x3e54], eax
cmp dword [esi + 0x3e78], eax
jne 0x100081b4
mov byte [esi + 0x3e7c], 1
cmp byte [esi + 0xdc0], 0
jne 0x100081c2
call fcn.10005f20
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3fa4]
sub edx, 1
js 0x100081fc
mov eax, dword [eax + 0x3fac]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x100081f4
test dword [ecx + 8], 0x8000000
jne 0x100082ab
sub eax, 0x28
sub edx, 1
jns 0x100081e1
cmp dword [edi + 0x411c], 0
xorps xmm6, xmm6
je 0x10008219
movss xmm0, dword [edi + 0x412c]
comiss xmm0, xmm6
ja 0x100082ae
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x1004d95c]
movss xmm1, dword [edi + 0x4144]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [edi + 0x4144], xmm1
movups xmm0, xmmword [edi + 0x51e4]
mov dword [edi + 0x4148], 0
mov dword [edi + 0x53cc], 0xffffffff
mov dword [edi + 0x53c8], 0xffffffff
mov dword [edi + 0x53c4], 0xffffffff
movups xmmword [edi + 0x51f4], xmm0
mov byte [edi + 0x51e4], 0
call fcn.10007010
cmp byte [edi + 0x3dc7], 0
jne 0x100082d0
movss xmm0, dword [edi + 0x68]
comiss xmm6, xmm0
ja 0x100082d0
movsd xmm1, qword [edi + 0x3db0]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x18], xmm1
jmp 0x100082d6
xorps xmm6, xmm6
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x1004d950]
addss xmm1, dword [edi + 0x4144]
minss xmm1, dword [0x1004d8f0]
jmp 0x10008236
movss xmm1, dword [esp + 0x18]
cmp dword [edi + 0x3dd0], 0
mov dword [esp + 0x1c], 0
je 0x10008488
xor esi, esi
mov dword [esp + 0x20], esi
mov eax, dword [edi + 0x3dd8]
xor ecx, ecx
mov esi, dword [esi + eax]
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 0x10008462
cmp byte [esi + 0x32c], cl
jne 0x10008462
comiss xmm1, dword [esi + 0x224]
jbe 0x10008462
mov ecx, dword [esi + 0x24c]
mov byte [esi + 0x32c], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x324], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x328], eax
mov ecx, dword [esi + 0xd0]
test ecx, ecx
je 0x1000839a
mov eax, dword [0x100508f0]
mov dword [esi + 0xcc], 0
mov dword [esi + 0xc8], 0
test eax, eax
je 0x10008388
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0xd0], 0
mov ecx, dword [esi + 0x24c]
call fcn.10020070
mov ecx, dword [esi + 0x170]
test ecx, ecx
je 0x100083e4
mov eax, dword [0x100508f0]
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
test eax, eax
je 0x100083d2
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x170], 0
mov ecx, dword [esi + 0x198]
test ecx, ecx
je 0x10008423
mov eax, dword [0x100508f0]
mov dword [esi + 0x194], 0
mov dword [esi + 0x190], 0
test eax, eax
je 0x10008411
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x198], 0
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x10008462
mov eax, dword [0x100508f0]
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x19c], 0
test eax, eax
je 0x10008450
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x1a4], 0
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
inc eax
movss xmm1, dword [esp + 0x18]
add esi, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
cmp eax, dword [edi + 0x3dd0]
jne 0x100082f1
xor ecx, ecx
mov dword [esp + 0x28], ecx
cmp dword [edi + 0x4220], ecx
jle 0x100085f5
xor esi, esi
xorps xmm1, xmm1
xor edx, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], edx
nop dword [eax]
mov eax, dword [edi + 0x4228]
movss xmm0, dword [edx + eax]
comiss xmm0, xmm1
jb 0x100085d3
movss xmm2, dword [esp + 0x18]
comiss xmm2, xmm0
jbe 0x100085d3
mov esi, dword [edi + 0x4208]
add esi, dword [esp + 0x1c]
mov eax, dword [0x100508f0]
mov dword [esp + 0x20], eax
mov dword [esi + 0x1a4], 0
mov ecx, dword [esi + 0x1a0]
test ecx, ecx
je 0x1000852a
mov dword [esi + 0x19c], 0
mov dword [esi + 0x198], 0
test eax, eax
je 0x10008518
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x1a0], 0
mov byte [esi + 0x1cc], 1
mov ecx, dword [esi + 0x170]
test ecx, ecx
je 0x10008570
mov eax, dword [0x100508f0]
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
test eax, eax
je 0x1000855e
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x170], 0
xor edx, edx
mov byte [esi + 0x1d6], 1
cmp dword [esi + 0x54], edx
jle 0x10008598
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 0x10008583
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
xorps xmm1, xmm1
sub esi, dword [eax + 0x4208]
mov eax, 0x22b63cbf
imul esi
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
sar edx, 6
mov ecx, edx
mov eax, dword [eax + 0x4228]
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x28]
inc ecx
add esi, 0x1d8
add edx, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], edx
cmp ecx, dword [edi + 0x4220]
jl 0x100084b0
xor ecx, ecx
mov dword [esp + 0x30], ecx
cmp dword [edi + 0x41f4], ecx
jle 0x1000865d
xor esi, esi
xorps xmm1, xmm1
nop dword [eax + eax]
mov eax, dword [edi + 0x41fc]
mov dword [esp + 0x28], eax
movss xmm0, dword [eax + esi + 4]
comiss xmm0, xmm1
jb 0x1000864d
movss xmm2, dword [esp + 0x18]
comiss xmm2, xmm0
jbe 0x1000864d
lea ecx, [eax + 0x10]
add ecx, esi
call fcn.100228b0
mov eax, dword [esp + 0x28]
xorps xmm1, xmm1
mov ecx, dword [esp + 0x30]
mov dword [eax + esi + 4], 0xbf800000
inc ecx
add esi, 0x68
mov dword [esp + 0x30], ecx
cmp ecx, dword [edi + 0x41f4]
jl 0x10008610
cmp byte [edi + 0x3dc7], 0
je 0x100086ee
mov esi, dword [0x100508f0]
mov eax, dword [esi + 0x3f94]
test eax, eax
je 0x100086aa
mov dword [esi + 0x3f90], 0
mov dword [esi + 0x3f8c], 0
test esi, esi
je 0x10008698
dec dword [esi + 0xb0]
push eax
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x3f94], 0
mov ecx, dword [esi + 0x3fa0]
test ecx, ecx
je 0x100086e9
mov eax, dword [0x100508f0]
mov dword [esi + 0x3f9c], 0
mov dword [esi + 0x3f98], 0
test eax, eax
je 0x100086d7
dec dword [eax + 0xb0]
push ecx
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x3fa0], 0
call fcn.10029f70
mov eax, dword [edi + 0x3fcc]
mov byte [edi + 0x3dc7], 0
test eax, eax
je 0x10008752
cmp byte [eax + 0x8f], 0
jne 0x10008752
mov eax, dword [0x100508f0]
mov edx, dword [eax + 0x3ddc]
sub edx, 1
js 0x1000874b
mov eax, dword [eax + 0x3de4]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x10008743
cmp byte [ecx + 0x8f], 0
je 0x10008743
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1000893b
sub esi, 4
sub edx, 1
jns 0x10008721
xor ecx, ecx
call fcn.1000fe70
mov ecx, dword [edi + 0x3df8]
test ecx, ecx
jns 0x10008778
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 + 0x3df4]
call fcn.10018600
mov dword [edi + 0x3df4], 0
mov ecx, dword [edi + 0x3fb4]
test ecx, ecx
jns 0x100087a8
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 + 0x3fb0]
call fcn.10018580
mov dword [edi + 0x3fb0], 0
mov ecx, dword [edi + 0x3f90]
test ecx, ecx
jns 0x100087d8
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea ecx, [edi + 0x3f8c]
test eax, eax
cmovg edx, eax
push edx
call fcn.10017ee0
lea eax, [esp + 0x30]
mov dword [edi + 0x3f8c], 0
push eax
lea ecx, [edi + 0x3f8c]
mov dword [esp + 0x34], 0
call fcn.10017cb0
push 0
lea ecx, [edi + 0x3f98]
call fcn.10017c00
mov esi, dword [0x100508f0]
cmp byte [esi + 0x5290], 0
mov dword [esi + 0x5294], 0
je 0x1000898d
mov eax, dword [esi + 0x3e40]
mov edx, 1
mov ecx, 0x20e
mov dword [esp + 0x1c], eax
mov dword [esi + 0x4148], 7
call fcn.10010760
test al, al
je 0x10008852
mov byte [esi + 0x5290], 0
mov eax, dword [esi + 0xdd4]
xorps xmm1, xmm1
mov dword [esp + 0x18], eax
cmp eax, 3
je 0x100088a0
movzx ecx, byte [esi + 0x5291]
cmp byte [ecx + esi + 0xdc0], 0
je 0x100088a0
movss xmm0, dword [esi + ecx*4 + 0x3728]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1000889c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1000889c
mov dword [esi + 0x5294], eax
mov byte [esi + 0x5290], 0
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, 0x3728
cmp eax, 3
jne 0x100088ce
cmp byte [esi + ecx + 0xdc0], 0
je 0x100088ce
movss xmm0, dword [esi + edx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
mov eax, dword [esp + 0x18]
jp 0x100088ce
mov byte [esi + 0x5291], cl
add edx, 4
inc ecx
cmp edx, 0x3734
jl 0x100088a7
or dword [esi + 0x3efc], 0x40
xor ecx, ecx
mov dword [esi + 0x3f50], 0x3f333333
call fcn.10011ea0
push dword [esp + 0x1c]
push str.HoveredId:_0x_08X
call fcn.1002add0
push str.Press_ESC_to_abort_picking.
call fcn.1002add0
add esp, 0xc
mov dword [esp + 0x30], str.Left
cmp dword [esp + 0x18], 3
mov dword [esp + 0x34], str.Right
mov dword [esp + 0x38], str.Middle
jne 0x10008957
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.1002add0
add esp, 4
jmp 0x10008988
mov eax, dword [ecx + 0x2f8]
test eax, eax
je 0x1000894e
cmp byte [eax + 0x8f], 0
jne 0x10008950
mov eax, ecx
mov ecx, eax
jmp 0x1000874d
movzx eax, byte [esi + 0x5291]
mov ecx, 0x3870
cmp dword [esp + 0x1c], 0
push dword [esp + eax*4 + 0x30]
mov eax, 0x3860
cmove eax, ecx
add eax, dword [0x100508f0]
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.1002ae60
add esp, 0xc
call fcn.1000fc40
call fcn.10017510
mov eax, dword [0x100508f0]
xor edx, edx
mov byte [edi + 0x3dc5], 1
mov ecx, str.DebugDefault
push 0
or dword [eax + 0x3efc], 2
mov dword [eax + 0x3f1c], 0x43c80000
mov dword [eax + 0x3f20], 0x43c80000
mov dword [eax + 0x3f04], 4
call fcn.1000d560
xor esi, esi
add esp, 4
cmp dword [edi + 0x523c], esi
jle 0x10008a10
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov eax, dword [edi + 0x5244]
add eax, ecx
cmp dword [eax + 4], 1
jne 0x10008a00
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
mov ecx, dword [esp + 0x38]
add esp, 8
inc esi
add ecx, 0x14
mov dword [esp + 0x30], ecx
cmp esi, dword [edi + 0x523c]
jl 0x100089e4
pop edi
pop esi
mov esp, ebp
pop ebp
ret