Function at 0x10051c40
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 [0x10317358]
mov dword [esp + 0x2c], edi
mov eax, dword [edi + 0x5c18]
sub eax, 1
mov dword [esp + 0x20], eax
js 0x10051cd2
lea ebx, [eax + eax*4]
shl ebx, 2
nop dword [eax + eax]
mov edx, dword [edi + 0x5c20]
cmp dword [ebx + edx + 4], 7
jne 0x10051cc6
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 + 0x5c18]
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 + 0x5c18]
dec eax
sub ebx, 0x14
mov dword [esp + 0x20], eax
test eax, eax
jns 0x10051c70
xor esi, esi
cmp dword [edi + 0x5c18], esi
jle 0x10051d04
xor ebx, ebx
nop
mov eax, dword [edi + 0x5c20]
add eax, ebx
cmp dword [eax + 4], 0
jne 0x10051cf8
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5c18]
jl 0x10051ce0
mov ecx, dword [0x10317358]
mov eax, dword [edi + 0x3c90]
mov dword [edi + 0x3c94], eax
cmp byte [ecx + 0x52], 0
je 0x10051d26
test byte [ecx + 0xc], 2
jne 0x10051d26
mov byte [ecx + 0x52], 0
mov edx, dword [ecx + 8]
test edx, 0x400
je 0x10051d49
mov eax, dword [ecx + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x10051d49
and edx, 0xfffffbff
mov dword [ecx + 8], edx
mov eax, dword [edi + 8]
mov esi, ecx
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [edi + 0x3c90], eax
mov dword [esp + 0x1c], ebx
cmp byte [esi + 0x5be0], 0
jne 0x10051dc3
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10051dbc
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
push ecx
mov ecx, eax
call fcn.1004bd20
mov ecx, eax
add esp, 8
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x10051db6
mov edx, dword [esp + 0x20]
test edx, edx
je 0x10051da1
call fcn.10065d10
mov ecx, dword [esp + 0x28]
mov eax, dword [0x10317358]
test eax, eax
je 0x10051db0
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov ecx, dword [0x10317358]
mov byte [esi + 0x5be0], 1
movss xmm0, dword [esi + 0x5be4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10051e4b
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5be4], xmm0
jb 0x10051e4b
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x10051e3a
mov dword [ecx + 0x5be4], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
call fcn.10065fe0
mov edx, 0x102db938
mov dword [esp + 0x28], eax
mov ecx, ebx
call fcn.1004bbf0
mov ebx, eax
test ebx, ebx
je 0x10051e41
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 0x10051e41
mov byte [esi + 0x9c], 1
mov dword [esi + 0x5be4], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3eb0]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x3ec0], 1
mov word [edi + 0x5b72], ax
mov dword [edi + 0x3f28], eax
addsd xmm0, qword [edi + 0x3ea8]
movsd qword [edi + 0x3ea8], xmm0
mov ecx, dword [edi + 0x5b84]
test ecx, ecx
jns 0x10051ea5
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 + 0x5b80]
call fcn.10048870
mov dword [edi + 0x5b80], 0
mov ecx, 0x3c
mov eax, dword [edi + 0x5dd4]
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x102f38f4]
subss xmm0, dword [edi + eax*4 + 0x5ce4]
addss xmm0, dword [edi + 0x5ddc]
movss dword [edi + 0x5ddc], xmm0
movss dword [edi + eax*4 + 0x5ce4], xmm1
mov eax, dword [edi + 0x5dd4]
inc eax
movss xmm1, dword [edi + 0x5ddc]
cdq
idiv ecx
mov eax, dword [edi + 0x5dd8]
movss xmm0, dword [0x102f3b2c]
inc eax
cmp eax, ecx
mov dword [edi + 0x5dd4], edx
movss dword [esp + 0x20], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x102f37f0]
mov dword [edi + 0x5dd8], ecx
jbe 0x10051f3f
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [edi + 0xa0], xmm0
mov ecx, dword [edi + 0x3edc]
test ecx, ecx
jns 0x10051f6d
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 + 0x3ed8]
call fcn.100e09d0
mov dword [edi + 0x3ed8], 0
mov cl, byte [edi + 0x4e]
call fcn.1005e360
call fcn.10066fc0
mov eax, dword [edi + 0x2c]
mov esi, dword [0x10317358]
mov dword [esp + 0x28], esi
mov byte [eax + 0x10], 1
mov ebx, dword [esi + 0x38]
test ebx, ebx
jne 0x10051fa4
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
movss xmm1, dword [esi + 0x30]
movss xmm2, dword [0x102f38f4]
mov ecx, dword [esi + 0x3f34]
movaps xmm0, xmm2
mov dword [esi + 0x3c98], ebx
mulss xmm1, dword [ebx + 0x10]
mulss xmm1, dword [ebx + 0x4c]
maxss xmm0, xmm1
movss dword [esi + 0x3ca0], xmm0
test ecx, ecx
je 0x10052008
mov eax, dword [ecx]
movss xmm0, dword [eax + 0x3ca0]
mulss xmm0, dword [ecx + 0x298]
mov eax, dword [ecx + 0x338]
mulss xmm0, dword [ecx + 0x29c]
test eax, eax
je 0x1005200b
mulss xmm0, dword [eax + 0x298]
jmp 0x1005200b
xorps xmm0, xmm0
movss xmm7, dword [esp + 0x20]
movss xmm4, dword [0x102f3bc8]
movaps xmm6, xmm7
movss dword [esi + 0x3c9c], xmm0
movaps xmm5, xmm4
mov edx, dword [ebx + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x3ca4], eax
lea eax, [edx + 0x60]
mov dword [esi + 0x3ca8], ecx
mov dword [esi + 0x3ea0], eax
mov dword [esi + 0x3cac], ebx
movss dword [esi + 0x3cb0], xmm0
mov edx, dword [edi + 0x48d4]
test edx, edx
jle 0x100520af
mov ecx, dword [edi + 0x48dc]
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 0x10052087
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1005208f
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x10052097
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x1005209f
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x10052063
movss xmm2, dword [0x102f38f4]
movss dword [edi + 0x3cbc], xmm7
movss dword [edi + 0x3cc0], xmm6
movss dword [edi + 0x3cc4], xmm4
movss dword [edi + 0x3cc8], xmm5
mov eax, dword [edi + 0x3904]
movss xmm1, dword [edi + 0x3908]
mov dword [edi + 0x3cb4], eax
movss xmm0, dword [edi + 0x3cb8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100521de
movss dword [edi + 0x3cb8], xmm1
xor esi, esi
mov ebx, 0x200
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1005218b
movss xmm1, dword [edi + 0x3cb8]
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 [0x102f39bc]
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 0x10052181
mov eax, 4
jmp 0x10052190
cmp eax, 0x200
cmovg eax, ebx
jmp 0x10052190
mov eax, 0x30
movss xmm2, dword [0x102f38f4]
mov byte [esi + edi + 0x3e60], al
inc esi
cmp esi, 0x40
jl 0x10052107
movsd xmm0, qword [0x102f3928]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x102f38f4]
cvtsd2ss xmm0, xmm0
mov esi, dword [esp + 0x28]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3cb8]
divss xmm0, xmm1
movss dword [edi + 0x3e5c], xmm0
xor edx, edx
mov dword [edi + 0x3ccc], 0
cmp byte [edi + 0x3900], dl
je 0x10052201
mov dword [edi + 0x3ccc], 1
mov edx, 1
cmp byte [edi + 0x3901], 0
mov ecx, edx
je 0x10052223
mov eax, dword [edi + 0x3c98]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x10052223
or ecx, 2
mov dword [edi + 0x3ccc], ecx
cmp byte [edi + 0x3902], 0
je 0x10052235
or ecx, 4
mov dword [edi + 0x3ccc], ecx
test byte [edi + 0xc], 8
je 0x10052244
or ecx, 8
mov dword [edi + 0x3ccc], ecx
xor ebx, ebx
cmp dword [edi + 0x48d4], ebx
jle 0x10052323
nop dword [eax]
nop word [eax + eax]
mov eax, dword [edi + 0x48dc]
mov esi, dword [eax + ebx*4]
lea eax, [esi + 0x90]
mov dword [esi + 0x30], 0
mov byte [esi + 0x80], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x84], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100522c4
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, [esi + 0x90]
call fcn.10048870
lea eax, [esi + 0x90]
mov dword [eax], 0
inc ebx
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xb4], 0
cmp ebx, dword [edi + 0x48d4]
jl 0x10052260
mov esi, dword [0x10317358]
cmp byte [edi + 0x4ac0], 0
je 0x10052357
mov eax, dword [edi + 0x4ad8]
cmp eax, dword [edi + 0x3f80]
jne 0x10052357
cmp dword [esi + 0x3f80], eax
jne 0x10052348
mov dword [esi + 0x3f84], eax
cmp dword [esi + 0x3fa8], eax
jne 0x10052357
mov byte [esi + 0x3fac], 1
cmp dword [edi + 0x3f70], 0
jne 0x1005236c
mov dword [edi + 0x3f78], 0
jmp 0x1005237e
mov eax, dword [edi + 0x3f6c]
test eax, eax
je 0x10052388
cmp dword [edi + 0x3f80], eax
jne 0x10052388
mov dword [edi + 0x3f7c], 0
mov eax, dword [edi + 0x3f6c]
test eax, eax
je 0x100523c2
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3f78]
movss dword [edi + 0x3f78], xmm0
cmp dword [edi + 0x3f80], eax
je 0x100523c2
addss xmm1, dword [edi + 0x3f7c]
movss dword [edi + 0x3f7c], xmm1
mov dword [edi + 0x3f70], eax
mov eax, dword [edi + 0x3f80]
mov dword [edi + 0x3f6c], 0
mov word [edi + 0x3f74], 0
test eax, eax
je 0x1005241a
cmp dword [edi + 0x3f84], eax
je 0x1005241a
cmp dword [edi + 0x3fa8], eax
jne 0x1005241a
test byte [edi + 0x5c80], 1
je 0x1005240b
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.100794b0
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.10050b40
mov esi, dword [0x10317358]
mov ecx, dword [edi + 0x3f80]
test ecx, ecx
je 0x10052439
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3f88]
movss dword [edi + 0x3f88], xmm0
mov eax, dword [edi + 0x3f9c]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3fb8]
mov dword [edi + 0x3fb0], eax
mov al, byte [edi + 0x3f90]
mov byte [edi + 0x3fad], al
mov eax, dword [edi + 0x5af8]
movss dword [edi + 0x3fb8], xmm0
mov dword [edi + 0x3fa8], ecx
mov dword [edi + 0x3f84], 0
mov byte [edi + 0x3f91], 0
mov byte [edi + 0x3fac], 0
mov byte [edi + 0x3f8c], 0
test eax, eax
je 0x100524a3
cmp ecx, eax
je 0x100524a3
mov dword [edi + 0x5af8], 0
test ecx, ecx
jne 0x100524c1
mov dword [edi + 0x4784], ecx
mov dword [edi + 0x477c], ecx
mov byte [edi + 0x4780], cl
mov dword [edi + 0x4784], ecx
jmp 0x100524e4
mov eax, dword [edi + 0x4784]
test eax, eax
je 0x100524e4
test al, 2
je 0x100524e4
mov dword [esi + 0x4068], ecx
mov dword [esi + 0x4064], ecx
mov word [esi + 0x406c], 0
mov ecx, dword [edi + 0x4be8]
test ecx, ecx
je 0x10052507
movss xmm0, dword [edi + 0x4c04]
comiss xmm0, dword [edi + 0x3c7c]
jb 0x10052511
mov dword [edi + 0x4bf8], ecx
jmp 0x10052511
mov dword [edi + 0x4bf8], 0
mov eax, dword [edi + 0x3f38]
test eax, eax
je 0x10052537
movss xmm0, dword [edi + 0x4c04]
comiss xmm0, dword [edi + 0x3c7c]
jb 0x10052541
mov eax, dword [eax + 8]
mov dword [edi + 0x4bfc], eax
jmp 0x10052541
mov dword [edi + 0x4bfc], 0
movss xmm0, dword [edi + 0x4bf0]
mov dword [edi + 0x4bec], ecx
test ecx, ecx
je 0x1005256c
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4be8], 0
movss dword [edi + 0x4bf0], xmm0
jmp 0x100525ac
comiss xmm0, dword [0x102f37f0]
jbe 0x100525b6
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x102f387c]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4bf4]
addss xmm1, xmm1
movss dword [edi + 0x4bf4], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x100525b6
mov dword [edi + 0x4bf0], 0
mov dword [edi + 0x4bf4], 0
mov eax, dword [edi + 0x4b24]
mov dword [edi + 0x4b28], eax
mov dword [edi + 0x4b24], 0
mov dword [edi + 0x4b20], 0x7f7fffff
mov word [edi + 0x4ac1], 0
mov dword [edi + 0x4b30], 0
call fcn.1005cf30
call fcn.10062750
call fcn.1005d4a0
test byte [edi + 8], 0x40
jne 0x10052627
cmp dword [edi + 0x5bb4], 0
jg 0x10052614
cmp dword [edi + 0x5bc0], 0
jle 0x1005270d
mov dl, 1
call fcn.1006f0a0
xor ecx, ecx
call fcn.1006ed90
jmp 0x1005270d
cmp byte [edi + 0x44], 0
je 0x1005266a
xor esi, esi
cmp dword [edi + 0x5bb4], esi
jle 0x1005266a
nop word [eax + eax]
mov eax, dword [edi + 0x5bbc]
mov ecx, dword [eax + esi*8 + 4]
test ecx, ecx
je 0x10052661
cmp dword [ecx + 0x18], 0
jne 0x10052661
cmp dword [ecx + 0x1c], 0
je 0x10052661
mov ecx, dword [ecx]
call fcn.1006ed90
inc esi
cmp esi, dword [edi + 0x5bb4]
jl 0x10052640
cmp byte [edi + 0x5bd8], 0
je 0x100526c2
test byte [edi + 0x5c80], 0x80
je 0x10052689
push str._docking__DockContextRebuildNodes_n
call fcn.100794b0
add esp, 4
xor ecx, ecx
call fcn.10065fe0
xor dl, dl
call fcn.1006f0a0
xor ecx, ecx
call fcn.1006ed90
push dword [edi + 0x5bcc]
mov edx, dword [edi + 0x5bd4]
mov ecx, edi
call fcn.10068ef0
add esp, 4
mov ecx, edi
call fcn.10069070
mov byte [edi + 0x5bd8], 0
xor esi, esi
cmp dword [edi + 0x5bc0], esi
jle 0x1005270d
xor ebx, ebx
nop
mov eax, dword [edi + 0x5bc8]
cmp dword [eax + ebx], 2
jne 0x10052701
mov edx, dword [eax + ebx + 0x1c]
test edx, edx
je 0x100526f2
push 1
mov ecx, edi
call fcn.100694a0
add esp, 4
jmp 0x10052701
mov edx, dword [eax + ebx + 0x20]
test edx, edx
je 0x10052701
mov ecx, edi
call fcn.10069600
inc esi
add ebx, 0x24
cmp esi, dword [edi + 0x5bc0]
jl 0x100526d0
call fcn.100519d0
call fcn.100515d0
mov eax, dword [0x10317358]
mov edx, dword [eax + 0x48b8]
sub edx, 1
js 0x1005274d
mov eax, dword [eax + 0x48c0]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x10052745
test dword [ecx + 0xc], 0x8000000
jne 0x10052767
sub eax, 0x28
sub edx, 1
jns 0x10052736
cmp dword [edi + 0x4a94], 0
je 0x10052786
movss xmm0, dword [edi + 0x4aa4]
comiss xmm0, dword [0x102f37f0]
jbe 0x10052786
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x102f39e4]
addss xmm1, dword [edi + 0x4abc]
minss xmm1, dword [0x102f38f4]
jmp 0x100527a7
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x102f3a00]
movss xmm1, dword [edi + 0x4abc]
subss xmm1, xmm0
maxss xmm1, dword [0x102f37f0]
movss dword [edi + 0x4abc], xmm1
movups xmm0, xmmword [edi + 0x5b8c]
mov dword [edi + 0x4c00], 0
mov dword [edi + 0x5de8], 0xffffffff
mov dword [edi + 0x5de4], 0xffffffff
mov dword [edi + 0x5de0], 0xffffffff
movups xmmword [edi + 0x5b9c], xmm0
mov byte [edi + 0x5b8c], 0
call fcn.1005d910
cmp byte [edi + 0x3ec3], 0
jne 0x1005281f
movss xmm0, dword [edi + 0x54]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1005281f
movsd xmm1, qword [edi + 0x3ea8]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x20], xmm1
jmp 0x10052825
movss xmm1, dword [esp + 0x20]
xor ebx, ebx
cmp dword [edi + 0x3eec], ebx
je 0x100529d4
nop dword [eax]
nop word [eax + eax]
mov eax, dword [edi + 0x3ef4]
mov esi, dword [eax + ebx*4]
mov ax, word [esi + 0xec]
mov cl, byte [esi + 0xdf]
mov word [esi + 0xee], ax
xor eax, eax
mov byte [esi + 0xe0], cl
mov byte [esi + 0xdf], 0
mov byte [esi + 0xe1], 0
mov word [esi + 0xec], ax
test cl, cl
jne 0x100529c1
cmp byte [esi + 0x39c], al
jne 0x100529c1
comiss xmm1, dword [esi + 0x278]
jbe 0x100529c1
mov ecx, dword [esi + 0x2a4]
mov byte [esi + 0x39c], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x394], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x398], eax
mov ecx, dword [esi + 0x124]
test ecx, ecx
je 0x100528f9
mov eax, dword [0x10317358]
mov dword [esi + 0x120], 0
mov dword [esi + 0x11c], 0
test eax, eax
je 0x100528e7
dec dword [eax + 0xb4]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x124], 0
mov ecx, dword [esi + 0x2a4]
call fcn.10084050
mov ecx, dword [esi + 0x1c0]
test ecx, ecx
je 0x10052943
mov eax, dword [0x10317358]
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1b8], 0
test eax, eax
je 0x10052931
dec dword [eax + 0xb4]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x1c0], 0
mov ecx, dword [esi + 0x1e8]
test ecx, ecx
je 0x10052982
mov eax, dword [0x10317358]
mov dword [esi + 0x1e4], 0
mov dword [esi + 0x1e0], 0
test eax, eax
je 0x10052970
dec dword [eax + 0xb4]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x1e8], 0
mov ecx, dword [esi + 0x1f4]
test ecx, ecx
je 0x100529c1
mov eax, dword [0x10317358]
mov dword [esi + 0x1f0], 0
mov dword [esi + 0x1ec], 0
test eax, eax
je 0x100529af
dec dword [eax + 0xb4]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x1f4], 0
movss xmm1, dword [esp + 0x20]
inc ebx
cmp ebx, dword [edi + 0x3eec]
jne 0x10052840
xor ecx, ecx
mov dword [esp + 0x24], ecx
cmp dword [edi + 0x4b94], ecx
jle 0x10052b27
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x28], edx
nop
mov eax, dword [edi + 0x4b9c]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x10052b0c
movss xmm1, dword [esp + 0x20]
comiss xmm1, xmm0
jbe 0x10052b09
mov esi, dword [edi + 0x4b7c]
mov ebx, dword [0x10317358]
add esi, edx
mov dword [esp + 0x30], ebx
mov dword [esi + 0x1a0], 0
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x10052a69
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
test ebx, ebx
je 0x10052a57
dec dword [ebx + 0xb4]
push eax
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x19c], 0
mov byte [esi + 0x1e1], 1
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x10052aaf
mov eax, dword [0x10317358]
mov dword [esi + 0x158], 0
mov dword [esi + 0x154], 0
test eax, eax
je 0x10052a9d
dec dword [eax + 0xb4]
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esi + 0x15c], 0
xor edx, edx
mov byte [esi + 0x1ed], 1
cmp dword [esi + 0x40], edx
jle 0x10052adb
xor ecx, ecx
or ebx, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov word [eax + ecx - 0x20], bx
cmp edx, dword [esi + 0x40]
jl 0x10052ac2
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
sub esi, dword [ebx + 0x4b7c]
mov eax, 0x84210843
imul esi
mov eax, dword [ebx + 0x4b9c]
add edx, esi
sar edx, 8
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, 0x1f0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
cmp ecx, dword [edi + 0x4b94]
jl 0x100529f0
xor eax, eax
mov dword [esp + 0x28], eax
cmp dword [edi + 0x4b68], eax
jle 0x10052b85
xor esi, esi
xorps xmm1, xmm1
nop word [eax + eax]
mov ebx, dword [edi + 0x4b70]
movss xmm0, dword [esi + ebx + 4]
comiss xmm0, xmm1
jb 0x10052b75
movss xmm1, dword [esp + 0x20]
comiss xmm1, xmm0
jbe 0x10052b72
lea ecx, [ebx + 0x10]
add ecx, esi
call fcn.100878a0
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 + 0x4b68]
jl 0x10052b40
cmp byte [edi + 0x3ec3], 0
je 0x10052c1c
mov esi, dword [0x10317358]
mov eax, dword [esi + 0x48a8]
test eax, eax
je 0x10052bd6
mov dword [esi + 0x48a4], 0
mov dword [esi + 0x48a0], 0
test esi, esi
je 0x10052bc0
dec dword [esi + 0xb4]
mov ebx, dword [esp + 0x1c]
push eax
call ebx
add esp, 4
mov dword [esi + 0x48a8], 0
jmp 0x10052bda
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x48b4]
test ecx, ecx
je 0x10052c17
mov eax, dword [0x10317358]
mov dword [esi + 0x48b0], 0
mov dword [esi + 0x48ac], 0
test eax, eax
je 0x10052c07
dec dword [eax + 0xb4]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x48b4], 0
call fcn.100bb2e0
mov eax, dword [edi + 0x4928]
mov byte [edi + 0x3ec3], 0
test eax, eax
je 0x10052c82
cmp byte [eax + 0xe0], 0
jne 0x10052c82
mov eax, dword [0x10317358]
mov edx, dword [eax + 0x3ef8]
sub edx, 1
js 0x10052c76
mov eax, dword [eax + 0x3f00]
lea esi, [eax + edx*4]
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x10052c6e
cmp byte [ecx + 0xe0], 0
je 0x10052c6e
mov eax, dword [ecx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x10052c78
sub esi, 4
sub edx, 1
jns 0x10052c50
xor ecx, ecx
mov edx, 1
call fcn.1005b2a0
mov ecx, dword [edi + 0x3f14]
test ecx, ecx
jns 0x10052ca8
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 + 0x3f10]
call fcn.100e13e0
mov dword [edi + 0x3f10], 0
mov ecx, dword [edi + 0x48c8]
test ecx, ecx
jns 0x10052cd8
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 + 0x48c4]
call fcn.100e1360
lea esi, [edi + 0x48a0]
mov dword [edi + 0x48c4], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10052d07
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.10048870
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x10052d1c
push 8
mov ecx, esi
call fcn.10048870
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x48ac]
inc dword [esi]
call fcn.100e0720
test byte [edi + 8], 0x40
je 0x10052e2b
mov eax, dword [edi + 0x3f3c]
mov dword [edi + 0x5ce0], 0
test eax, eax
je 0x10052d8b
mov ecx, dword [eax + 0x3bc]
test ecx, ecx
je 0x10052d75
push dword [edi + 0xdc4]
push dword [edi + 0xdc0]
call fcn.1006e720
add esp, 8
jmp 0x10052d85
mov eax, dword [eax + 0x340]
mov eax, dword [eax + 0x3b8]
test eax, eax
je 0x10052d8b
mov dword [edi + 0x5ce0], eax
xor esi, esi
cmp dword [edi + 0x5bc0], esi
jle 0x10052dc0
xor ebx, ebx
nop word [eax + eax]
mov edx, dword [edi + 0x5bc8]
add edx, ebx
cmp dword [edx], 1
jne 0x10052db4
mov ecx, edi
call fcn.100690e0
inc esi
add ebx, 0x24
cmp esi, dword [edi + 0x5bc0]
jl 0x10052da0
mov ecx, dword [edi + 0x5bc4]
test ecx, ecx
jns 0x10052de6
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 + 0x5bc0]
call fcn.100e0950
xor esi, esi
mov dword [edi + 0x5bc0], 0
cmp dword [edi + 0x5bb4], esi
jle 0x10052e2b
nop word [eax + eax]
mov eax, dword [edi + 0x5bbc]
mov ecx, dword [eax + esi*8 + 4]
test ecx, ecx
je 0x10052e22
cmp dword [ecx + 0x18], 0
jne 0x10052e22
test dword [ecx + 0x10], 0x400
jne 0x10052e22
call fcn.1006a5b0
inc esi
cmp esi, dword [edi + 0x5bb4]
jl 0x10052e00
mov esi, dword [0x10317358]
cmp byte [esi + 0x5ca3], 0
mov dword [esi + 0x5ca8], 0
je 0x10052f88
mov ebx, dword [esi + 0x3f70]
xor edx, edx
push 1
mov ecx, 0x20e
mov dword [esp + 0x34], ebx
mov dword [esi + 0x4c00], 7
call fcn.1005c980
add esp, 4
test al, al
je 0x10052e78
mov byte [esi + 0x5ca3], 0
mov eax, dword [esi + 0xde4]
mov dword [esp + 0x20], eax
cmp eax, 0x3000
je 0x10052eb5
movzx ecx, byte [esi + 0x5ca4]
xor edx, edx
push 0
call fcn.1005ca70
add esp, 4
test al, al
mov eax, dword [esp + 0x20]
je 0x10052eb5
test ebx, ebx
je 0x10052eb5
mov dword [esi + 0x5ca8], ebx
mov byte [esi + 0x5ca3], 0
xor ebx, ebx
cmp eax, 0x3000
jne 0x10052eda
push 0
xor edx, edx
mov ecx, ebx
call fcn.1005ca70
add esp, 4
test al, al
mov eax, dword [esp + 0x20]
je 0x10052eda
mov byte [esi + 0x5ca4], bl
inc ebx
cmp ebx, 3
jl 0x10052eb7
mov eax, dword [0x10317358]
xor ecx, ecx
or dword [eax + 0x47e8], 0x40
mov dword [eax + 0x4840], 0x3f333333
call fcn.1005feb0
test al, al
je 0x10052f88
mov ebx, dword [esp + 0x30]
push ebx
push str.HoveredId:_0x_08X
call fcn.100bda30
push str.Press_ESC_to_abort_picking.
call fcn.100bda30
add esp, 0xc
mov dword [esp + 0x30], 0x102de478
cmp dword [esp + 0x20], 0x3000
mov dword [esp + 0x34], 0x102de480
mov dword [esp + 0x38], str.Middle
jne 0x10052f52
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.100bda30
add esp, 4
jmp 0x10052f83
movzx eax, byte [esi + 0x5ca4]
xor ecx, ecx
test ebx, ebx
push dword [esp + eax*4 + 0x30]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x10317358]
add eax, 0x390c
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.100bdb00
add esp, 0xc
call fcn.1005af70
mov esi, dword [0x10317358]
mov dword [esi + 0x3f68], 0
mov eax, dword [esi + 0x5cc0]
inc eax
cmp dword [esi + 0x3eb0], eax
jne 0x10053081
mov ebx, dword [esi + 0x3f70]
test ebx, ebx
jne 0x10052fbb
mov ebx, dword [esi + 0x3f80]
cmp dword [esi + 0x5cc8], ebx
je 0x10053008
lea eax, [esi + 0x5ccc]
mov dword [esi + 0x5cc8], ebx
mov dword [esi + 0x5cc4], 0xffffffff
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10053002
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, [esi + 0x5ccc]
call fcn.100e1450
lea eax, [esi + 0x5ccc]
mov dword [eax], 0
test ebx, ebx
je 0x10053081
mov eax, dword [esi + 0x5cc4]
test eax, eax
js 0x1005304a
mov ecx, eax
cmp eax, dword [esi + 0x5ccc]
jge 0x1005305d
mov ecx, dword [esi + 0x5cd4]
lea edx, [eax + eax*8]
cmp byte [ecx + edx*8 + 5], 0
jne 0x10053043
mov edi, dword [esi + 0x5cd4]
mov ecx, eax
cmp byte [edi + edx*8 + 4], 2
mov edi, dword [esp + 0x2c]
jle 0x1005305d
inc eax
mov dword [esi + 0x5cc4], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x10053059
mov dword [esi + 0x3f68], ebx
jmp 0x10053081
test ecx, ecx
js 0x10053081
cmp ecx, dword [esi + 0x5ccc]
jge 0x10053081
mov eax, dword [esi + 0x5cd4]
lea ecx, [ecx + ecx*8]
mov eax, dword [eax + ecx*8]
mov dword [esi + 0x3f68], eax
mov eax, dword [esi + 0x5cd4]
inc byte [eax + ecx*8 + 4]
mov al, byte [edi + 0x5ca1]
test al, al
je 0x1005309f
sub al, 1
mov byte [edi + 0x5ca1], al
jne 0x1005309f
mov dword [edi + 0x4790], 0
mov al, byte [edi + 0x5ca0]
test al, al
je 0x100530c7
sub al, 1
mov byte [edi + 0x5ca0], al
jne 0x100530c7
push str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.100794b0
add esp, 4
and dword [edi + 0x5c80], 0xffffffef
mov eax, dword [0x10317358]
xor edx, edx
mov byte [edi + 0x3ec1], 1
mov ecx, str.DebugDefault
push 0
or dword [eax + 0x47e8], 2
mov dword [eax + 0x480c], 0x43c80000
mov dword [eax + 0x4810], 0x43c80000
mov dword [eax + 0x47f0], 4
call fcn.100580c0
add esp, 4
cmp byte [edi + 0x6d], 0
je 0x10053144
mov cl, byte [edi + 0x5ca2]
cmp cl, 0xff
jne 0x1005311e
xor edx, edx
jmp 0x10053147
mov eax, dword [edi + 0x3eb0]
and eax, 0x80000003
jns 0x10053130
dec eax
or eax, 0xfffffffc
inc eax
neg eax
movsx ecx, cl
sbb eax, eax
inc eax
add eax, ecx
mov ecx, 0xa
cdq
idiv ecx
jmp 0x10053147
or dl, 0xff
xor esi, esi
mov byte [edi + 0x5ca2], dl
cmp dword [edi + 0x5c18], esi
jle 0x10053184
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x5c20]
add eax, ebx
cmp dword [eax + 4], 1
jne 0x10053178
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5c18]
jl 0x10053160
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret