Function at 0x1000a600
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 [0x10167324]
mov dword [esp + 0x20], edi
mov eax, dword [edi + 0x5ecc]
sub eax, 1
mov dword [esp + 0x28], eax
js 0x1000a690
lea ebx, [eax + eax*4]
shl ebx, 2
nop dword [eax + eax]
mov ecx, dword [edi + 0x5ed4]
cmp dword [ecx + ebx + 4], 7
jne 0x1000a684
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 + 0x5ecc]
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 + 0x34]
add esp, 0xc
dec dword [edi + 0x5ecc]
dec eax
sub ebx, 0x14
mov dword [esp + 0x28], eax
test eax, eax
jns 0x1000a630
mov eax, dword [edi + 0x5ecc]
mov esi, dword [edi + 0x5ed4]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x1000a6bd
cmp dword [esi + 4], 0
jne 0x1000a6b6
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x1000a6a6
mov ecx, dword [0x10167324]
mov eax, dword [edi + 0x3dc0]
mov dword [edi + 0x3dc4], eax
cmp byte [ecx + 0x52], 0
je 0x1000a6df
test byte [ecx + 0xc], 2
jne 0x1000a6df
mov byte [ecx + 0x52], 0
mov edx, dword [ecx + 8]
test edx, 0x400
je 0x1000a702
mov eax, dword [ecx + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x1000a702
and edx, 0xfffffbff
mov dword [ecx + 8], edx
mov eax, dword [edi + 8]
mov esi, ecx
mov dword [edi + 0x3dc0], eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x24], 6
cmp byte [esi + 0x5e94], 0
mov dword [esp + 0x28], eax
jne 0x1000a7da
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1000a7d3
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
push ecx
mov ecx, eax
call fcn.10004110
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1000a7cd
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x1000a765
mov ecx, eax
call fcn.1001e910
mov ecx, dword [0x10167324]
test ecx, ecx
je 0x1000a7c2
movsx eax, word [ecx + 0x5fa4]
mov edx, dword [ecx + 0x3fe0]
add eax, 0xbf5
mov dword [esp + 0x30], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x1000a7b8
movsx eax, word [ecx + 0x5fa4]
inc eax
cdq
idiv dword [esp + 0x24]
movzx eax, dx
mov edx, dword [esp + 0x30]
mov word [ecx + 0x5fa4], ax
cwde
add eax, 0xbf5
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5fa0]
push dword [esp + 0x2c]
call dword [esp + 0x2c]
add esp, 4
mov ecx, dword [0x10167324]
mov byte [esi + 0x5e94], 1
movss xmm0, dword [esi + 0x5e98]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1000a862
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5e98], xmm0
jb 0x1000a862
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x1000a851
mov dword [ecx + 0x5e98], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.1001eba0
mov edx, 0x10126bfc
mov dword [esp + 0x30], eax
mov ecx, ebx
call fcn.10004070
mov ebx, eax
test ebx, ebx
je 0x1000a858
push ebx
push dword [esp + 0x20]
push 1
push dword [esp + 0x3c]
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 0x1000a858
mov byte [esi + 0x9a], 1
mov dword [esi + 0x5e98], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3fe0]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x3ff0], 1
mov word [edi + 0x5dc8], ax
mov dword [edi + 0x4058], eax
addsd xmm0, qword [edi + 0x3fd8]
movsd qword [edi + 0x3fd8], xmm0
mov ecx, dword [edi + 0x5ddc]
test ecx, ecx
jns 0x1000a8bc
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 + 0x5dd8]
call fcn.100359f0
mov dword [edi + 0x5dd8], 0
mov ecx, 0x3c
mov eax, dword [edi + 0x60cc]
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x1015ca30]
subss xmm0, dword [edi + eax*4 + 0x5fdc]
addss xmm0, dword [edi + 0x60d4]
movss dword [edi + 0x60d4], xmm0
movss dword [edi + eax*4 + 0x5fdc], xmm1
mov eax, dword [edi + 0x60cc]
inc eax
movss xmm1, dword [edi + 0x60d4]
cdq
idiv ecx
mov eax, dword [edi + 0x60d0]
movss xmm0, dword [0x1015cc20]
inc eax
cmp eax, ecx
mov dword [edi + 0x60cc], edx
movss dword [esp + 0x1c], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x1015c950]
mov dword [edi + 0x60d0], ecx
jbe 0x1000a956
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [edi + 0xa0], xmm0
mov ecx, dword [edi + 0x400c]
test ecx, ecx
jns 0x1000a984
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 + 0x4008]
call fcn.100361d0
mov dword [edi + 0x4008], 0
mov cl, byte [edi + 0x4e]
call fcn.10016870
call fcn.1001f900
mov eax, dword [edi + 0x2c]
mov ebx, dword [0x10167324]
mov dword [esp + 0x30], ebx
mov byte [eax + 0x10], 1
mov esi, dword [ebx + 0x38]
test esi, esi
jne 0x1000a9bb
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0x44]
mov esi, dword [eax]
movss xmm1, dword [ebx + 0x30]
movss xmm2, dword [0x1015ca30]
mov ecx, dword [ebx + 0x4064]
movaps xmm0, xmm2
mov dword [ebx + 0x3dc8], esi
mulss xmm1, dword [esi + 0x10]
mulss xmm1, dword [esi + 0x4c]
maxss xmm0, xmm1
movss dword [ebx + 0x3dd0], xmm0
test ecx, ecx
je 0x1000aa1f
mov eax, dword [ecx]
movss xmm0, dword [eax + 0x3dd0]
mulss xmm0, dword [ecx + 0x298]
mov eax, dword [ecx + 0x338]
mulss xmm0, dword [ecx + 0x29c]
test eax, eax
je 0x1000aa22
mulss xmm0, dword [eax + 0x298]
jmp 0x1000aa22
xorps xmm0, xmm0
movss xmm7, dword [esp + 0x1c]
movss xmm5, dword [0x1015cc94]
movaps xmm6, xmm7
movss dword [ebx + 0x3dcc], xmm0
movaps xmm4, xmm5
mov edx, dword [esi + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [ebx + 0x3dd4], eax
lea eax, [edx + 0x60]
mov dword [ebx + 0x3dd8], ecx
mov dword [ebx + 0x3fd0], eax
mov dword [ebx + 0x3ddc], esi
movss dword [ebx + 0x3de0], xmm0
mov ecx, dword [edi + 0x4ae8]
mov eax, dword [edi + 0x4ae0]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1000aacb
nop dword [eax]
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 0x1000aaa4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x1000aaac
movaps xmm6, xmm2
comiss xmm0, xmm5
jbe 0x1000aab4
movaps xmm5, xmm0
comiss xmm1, xmm4
jbe 0x1000aabc
movaps xmm4, xmm1
add ecx, 4
cmp ecx, edx
jne 0x1000aa80
movss xmm2, dword [0x1015ca30]
movss dword [edi + 0x3dec], xmm7
movss dword [edi + 0x3df0], xmm6
movss dword [edi + 0x3df4], xmm5
movss dword [edi + 0x3df8], xmm4
mov eax, dword [edi + 0x3a34]
movss xmm1, dword [edi + 0x3a38]
mov dword [edi + 0x3de4], eax
movss xmm0, dword [edi + 0x3de8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1000abfa
movss dword [edi + 0x3de8], xmm1
xor esi, esi
mov ebx, 0x200
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1000aba7
movss xmm1, dword [edi + 0x3de8]
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 [0x1015cad4]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x40]
movsd xmm0, qword [esp + 0x40]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x1000ab9d
mov eax, 4
jmp 0x1000abac
cmp eax, 0x200
cmovg eax, ebx
jmp 0x1000abac
mov eax, 0x30
movss xmm2, dword [0x1015ca30]
mov byte [edi + esi + 0x3f90], al
inc esi
cmp esi, 0x40
jl 0x1000ab23
movsd xmm0, qword [0x1015ca60]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x1015ca30]
cvtsd2ss xmm0, xmm0
mov ebx, dword [esp + 0x30]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3de8]
divss xmm0, xmm1
movss dword [edi + 0x3f8c], xmm0
xor edx, edx
mov dword [edi + 0x3dfc], 0
cmp byte [edi + 0x3a30], dl
je 0x1000ac1d
mov dword [edi + 0x3dfc], 1
mov edx, 1
cmp byte [edi + 0x3a31], 0
mov ecx, edx
je 0x1000ac3f
mov eax, dword [edi + 0x3dc8]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1000ac3f
or ecx, 2
mov dword [edi + 0x3dfc], ecx
cmp byte [edi + 0x3a32], 0
je 0x1000ac51
or ecx, 4
mov dword [edi + 0x3dfc], ecx
test byte [edi + 0xc], 8
je 0x1000ac60
or ecx, 8
mov dword [edi + 0x3dfc], ecx
mov ecx, dword [edi + 0x4ae8]
mov eax, dword [edi + 0x4ae0]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1000ac8a
mov eax, dword [ecx]
add ecx, 4
mov dword [eax + 0x30], 0
mov byte [eax + 0x80], 0
cmp ecx, edx
jne 0x1000ac73
cmp byte [edi + 0x4d14], 0
je 0x1000acbe
mov eax, dword [edi + 0x4d2c]
cmp eax, dword [edi + 0x40b0]
jne 0x1000acbe
cmp dword [ebx + 0x40b0], eax
jne 0x1000acaf
mov dword [ebx + 0x40b4], eax
cmp dword [ebx + 0x40d8], eax
jne 0x1000acbe
mov byte [ebx + 0x40dc], 1
cmp dword [edi + 0x40a0], 0
lea eax, [edi + 0x409c]
mov ecx, dword [eax]
jne 0x1000acdb
mov dword [edi + 0x40a8], 0
jmp 0x1000aceb
mov edx, ecx
mov esi, eax
test ecx, ecx
je 0x1000acf9
cmp dword [edi + 0x40b0], ecx
jne 0x1000acf9
mov dword [edi + 0x40ac], 0
mov edx, ecx
mov esi, eax
movss xmm1, dword [edi + 0x18]
test edx, edx
je 0x1000ad30
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x40a8]
movss dword [edi + 0x40a8], xmm0
cmp dword [edi + 0x40b0], edx
je 0x1000ad30
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x40ac]
movss dword [edi + 0x40ac], xmm0
mov eax, dword [edi + 0x40b0]
movaps xmm2, xmm1
mov dword [edi + 0x40a0], edx
mov dword [esi], 0
mov word [edi + 0x40a4], 0
test eax, eax
je 0x1000ad8c
cmp dword [edi + 0x40b4], eax
je 0x1000ad8c
cmp dword [edi + 0x40d8], eax
jne 0x1000ad8c
test byte [edi + 0x5f3c], 1
je 0x1000ad78
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.100331f0
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.10009200
movss xmm2, dword [edi + 0x18]
mov ebx, dword [0x10167324]
mov esi, dword [edi + 0x40b0]
test esi, esi
je 0x1000ada9
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x40b8]
movss dword [edi + 0x40b8], xmm0
mov eax, dword [edi + 0x40cc]
addss xmm2, dword [edi + 0x40e8]
mov dword [edi + 0x40e0], eax
mov al, byte [edi + 0x40c0]
mov byte [edi + 0x40dd], al
mov eax, dword [edi + 0x5d4c]
movss dword [edi + 0x40e8], xmm2
mov dword [edi + 0x40d8], esi
mov dword [edi + 0x40b4], 0
mov byte [edi + 0x40c1], 0
mov byte [edi + 0x40dc], 0
mov byte [edi + 0x40bc], 0
test eax, eax
je 0x1000ae0e
cmp esi, eax
je 0x1000ae0e
mov dword [edi + 0x5d4c], 0
test esi, esi
jne 0x1000ae2d
mov dword [edi + 0x4978], esi
mov dword [edi + 0x4970], esi
mov byte [edi + 0x4974], 0
mov dword [edi + 0x4978], esi
jmp 0x1000ae52
mov eax, dword [edi + 0x4978]
test eax, eax
je 0x1000ae52
test al, 2
je 0x1000ae52
mov edx, 0x20e
mov ecx, ebx
call fcn.10002ff0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov ecx, dword [edi + 0x4e3c]
mov eax, edi
mov edx, 0x4e58
mov esi, edi
mov ebx, 0x3dac
test ecx, ecx
je 0x1000ae83
movss xmm0, dword [edi + 0x4e58]
comiss xmm0, dword [edi + 0x3dac]
jb 0x1000ae8d
mov dword [edi + 0x4e4c], ecx
jmp 0x1000ae8d
mov dword [edi + 0x4e4c], 0
cmp dword [edi + 0x4068], 0
je 0x1000aeb2
movss xmm0, dword [eax + edx]
comiss xmm0, dword [ebx + esi]
jb 0x1000aebc
mov eax, dword [edi + 0x4068]
mov eax, dword [eax + 8]
mov dword [edi + 0x4e50], eax
jmp 0x1000aebc
mov dword [edi + 0x4e50], 0
movss xmm0, dword [edi + 0x4e44]
mov dword [edi + 0x4e40], ecx
test ecx, ecx
je 0x1000aee7
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4e3c], 0
movss dword [edi + 0x4e44], xmm0
jmp 0x1000af27
comiss xmm0, dword [0x1015c950]
jbe 0x1000af31
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x1015c9c4]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4e48]
addss xmm1, xmm1
movss dword [edi + 0x4e48], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1000af31
mov dword [edi + 0x4e44], 0
mov dword [edi + 0x4e48], 0
mov eax, dword [edi + 0x4d78]
mov dword [edi + 0x4d7c], eax
mov dword [edi + 0x4d78], 0
mov dword [edi + 0x4d74], 0x7f7fffff
mov word [edi + 0x4d15], 0
mov dword [edi + 0x4d84], 0
call fcn.10015520
call fcn.1001abf0
call fcn.100159a0
test byte [edi + 8], 0x40
jne 0x1000afa2
cmp dword [edi + 0x5e68], 0
jg 0x1000af8f
cmp dword [edi + 0x5e74], 0
jle 0x1000b07f
mov dl, 1
call fcn.10028210
xor ecx, ecx
call fcn.10027e90
jmp 0x1000b07f
cmp byte [edi + 0x44], 0
je 0x1000afdc
xor esi, esi
cmp dword [edi + 0x5e68], esi
jle 0x1000afdc
mov eax, dword [edi + 0x5e70]
mov ecx, dword [eax + esi*8 + 4]
test ecx, ecx
je 0x1000afd3
cmp dword [ecx + 0x18], 0
jne 0x1000afd3
cmp dword [ecx + 0x1c], 0
je 0x1000afd3
mov ecx, dword [ecx]
call fcn.10027e90
inc esi
cmp esi, dword [edi + 0x5e68]
jl 0x1000afb2
cmp byte [edi + 0x5e8c], 0
je 0x1000b034
test byte [edi + 0x5f3c], 0x80
je 0x1000affb
push str._docking__DockContextRebuildNodes_n
call fcn.100331f0
add esp, 4
xor ecx, ecx
call fcn.1001eba0
xor dl, dl
call fcn.10028210
xor ecx, ecx
call fcn.10027e90
push dword [edi + 0x5e80]
mov edx, dword [edi + 0x5e88]
mov ecx, edi
call fcn.10021a80
add esp, 4
mov ecx, edi
call fcn.10021bf0
mov byte [edi + 0x5e8c], 0
mov eax, dword [edi + 0x5e74]
mov esi, dword [edi + 0x5e7c]
lea eax, [eax + eax*8]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x1000b07f
nop word [eax + eax]
cmp dword [esi], 2
jne 0x1000b078
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x1000b06a
push 1
mov ecx, edi
call fcn.10021fb0
add esp, 4
jmp 0x1000b078
mov edx, dword [esi + 0x20]
test edx, edx
je 0x1000b078
mov ecx, edi
call fcn.10022110
add esi, 0x24
cmp esi, ebx
jne 0x1000b050
call fcn.1000a390
call fcn.10009e30
mov eax, dword [0x10167324]
mov edx, dword [eax + 0x4ab8]
sub edx, 1
js 0x1000b0bf
mov eax, dword [eax + 0x4ac0]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1000b0b7
test dword [ecx + 0xc], 0x8000000
jne 0x1000b0d9
sub eax, 0x28
sub edx, 1
jns 0x1000b0a8
cmp dword [edi + 0x4ce8], 0
je 0x1000b0f8
movss xmm0, dword [edi + 0x4cf8]
comiss xmm0, dword [0x1015c950]
jbe 0x1000b0f8
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x1015cafc]
addss xmm1, dword [edi + 0x4d10]
minss xmm1, dword [0x1015ca30]
jmp 0x1000b119
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x1015cb18]
movss xmm1, dword [edi + 0x4d10]
subss xmm1, xmm0
maxss xmm1, dword [0x1015c950]
movss dword [edi + 0x4d10], xmm1
movups xmm0, xmmword [edi + 0x5e44]
mov dword [edi + 0x4e54], 0
mov dword [edi + 0x60e0], 0xffffffff
mov dword [edi + 0x60dc], 0xffffffff
mov dword [edi + 0x60d8], 0xffffffff
movups xmmword [edi + 0x5e54], xmm0
mov byte [edi + 0x5e44], 0
call fcn.10015e00
cmp byte [edi + 0x3ff3], 0
jne 0x1000b191
movss xmm0, dword [edi + 0x54]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1000b191
movsd xmm1, qword [edi + 0x3fd8]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
jmp 0x1000b197
movss xmm1, dword [esp + 0x1c]
mov ebx, dword [edi + 0x4024]
mov eax, dword [edi + 0x401c]
lea eax, [ebx + eax*4]
cmp ebx, eax
je 0x1000b263
mov edi, eax
mov esi, dword [ebx]
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 0x1000b24e
cmp byte [esi + 0x39c], al
jne 0x1000b24e
comiss xmm1, dword [esi + 0x278]
jbe 0x1000b24e
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]
lea ecx, [esi + 0x11c]
mov dword [esi + 0x398], eax
call fcn.10001070
mov ecx, dword [esi + 0x2a4]
call fcn.1006a930
lea ecx, [esi + 0x1b8]
call fcn.10001070
lea ecx, [esi + 0x1e0]
call fcn.10001070
lea ecx, [esi + 0x1ec]
call fcn.10001070
movss xmm1, dword [esp + 0x1c]
add ebx, 4
cmp ebx, edi
jne 0x1000b1b0
mov edi, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [edi + 0x4de8], ecx
jle 0x1000b3c5
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x30], edx
nop
mov eax, dword [edi + 0x4df0]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1000b3aa
movss xmm1, dword [esp + 0x1c]
comiss xmm1, xmm0
jbe 0x1000b3a7
mov esi, dword [edi + 0x4dd0]
mov ebx, dword [0x10167324]
add esi, edx
mov dword [esp + 0x38], ebx
mov dword [esi + 0x1a8], 0
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x1000b34a
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x19c], 0
test ebx, ebx
je 0x1000b338
movsx eax, word [ebx + 0x5fa4]
mov edx, dword [ebx + 0x3fe0]
add eax, 0xbf5
mov dword [esp + 0x34], edx
cmp dword [ebx + eax*8], edx
lea eax, [ebx + eax*8]
je 0x1000b32e
movsx eax, word [ebx + 0x5fa4]
inc eax
cdq
idiv dword [esp + 0x24]
movzx eax, dx
mov edx, dword [esp + 0x34]
mov word [ebx + 0x5fa4], ax
cwde
add eax, 0xbf5
lea eax, [ebx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ebx + 0x5fa0]
push ecx
call dword [esp + 0x2c]
add esp, 4
mov dword [esi + 0x1a4], 0
lea ecx, [esi + 0x15c]
mov byte [esi + 0x1ed], 1
call fcn.10001070
xor edx, edx
mov byte [esi + 0x1fb], 1
cmp dword [esi + 0x40], edx
jle 0x1000b389
xor ecx, ecx
or ebx, 0xffffffff
nop
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov word [eax + ecx - 0x20], bx
cmp edx, dword [esi + 0x40]
jl 0x1000b370
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
sub esi, dword [ebx + 0x4dd0]
mov eax, dword [ebx + 0x4df0]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
sar esi, 9
mov dword [eax + esi*4], 0xbf800000
xorps xmm1, xmm1
inc ecx
add edx, 0x200
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
cmp ecx, dword [edi + 0x4de8]
jl 0x1000b280
imul ebx, dword [edi + 0x4dbc], 0x6c
mov esi, dword [edi + 0x4dc4]
add ebx, esi
cmp esi, ebx
je 0x1000b40e
xorps xmm1, xmm1
nop dword [eax + eax]
movss xmm0, dword [esi + 4]
comiss xmm0, xmm1
jb 0x1000b407
movss xmm1, dword [esp + 0x1c]
comiss xmm1, xmm0
jbe 0x1000b404
lea ecx, [esi + 0x14]
call fcn.1006e2a0
mov dword [esi + 4], 0xbf800000
xorps xmm1, xmm1
add esi, 0x6c
cmp esi, ebx
jne 0x1000b3e0
cmp byte [edi + 0x3ff3], 0
je 0x1000b4c2
mov esi, dword [0x10167324]
lea ecx, [esi + 0x4aa0]
call fcn.10001070
mov ebx, dword [esi + 0x4ab4]
test ebx, ebx
je 0x1000b4bd
mov ecx, dword [0x10167324]
mov dword [esi + 0x4ab0], 0
mov dword [esi + 0x4aac], 0
test ecx, ecx
je 0x1000b4ab
movsx eax, word [ecx + 0x5fa4]
mov edx, dword [ecx + 0x3fe0]
add eax, 0xbf5
mov dword [esp + 0x38], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x1000b4a1
movsx eax, word [ecx + 0x5fa4]
inc eax
cdq
idiv dword [esp + 0x24]
movzx eax, dx
mov edx, dword [esp + 0x38]
mov word [ecx + 0x5fa4], ax
cwde
add eax, 0xbf5
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5fa0]
push ebx
call dword [esp + 0x2c]
add esp, 4
mov dword [esi + 0x4ab4], 0
call fcn.10080be0
mov eax, dword [edi + 0x4b34]
mov byte [edi + 0x3ff3], 0
test eax, eax
je 0x1000b527
cmp byte [eax + 0xe0], 0
jne 0x1000b527
mov eax, dword [0x10167324]
mov edx, dword [eax + 0x4028]
sub edx, 1
js 0x1000b51b
mov eax, dword [eax + 0x4030]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x1000b513
cmp byte [ecx + 0xe0], 0
je 0x1000b513
mov eax, dword [ecx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1000b51d
sub esi, 4
sub edx, 1
jns 0x1000b4f5
xor ecx, ecx
mov edx, 1
call fcn.10013b80
mov ecx, dword [edi + 0x4044]
test ecx, ecx
jns 0x1000b54d
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 + 0x4040]
call fcn.10036110
mov dword [edi + 0x4040], 0
mov ecx, dword [edi + 0x4ac8]
test ecx, ecx
jns 0x1000b57d
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 + 0x4ac4]
call fcn.10036040
lea esi, [edi + 0x4aa0]
mov dword [edi + 0x4ac4], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1000b5ac
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.100359f0
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1000b5c1
push 8
mov ecx, esi
call fcn.100359f0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x4aac]
inc dword [esi]
call fcn.100355e0
mov ecx, edi
call fcn.10021060
call fcn.10034160
mov esi, dword [0x10167324]
mov dword [esp + 0x34], esi
mov dword [esi + 0x4098], 0
mov eax, dword [esi + 0x5f7c]
inc eax
cmp dword [esi + 0x3fe0], eax
jne 0x1000b6ec
mov ebx, dword [esi + 0x40a0]
test ebx, ebx
jne 0x1000b61f
mov ebx, dword [esi + 0x40b0]
lea edx, [esi + 0x5f88]
cmp dword [esi + 0x5f84], ebx
je 0x1000b66c
mov dword [esi + 0x5f84], ebx
mov dword [esi + 0x5f80], 0xffffffff
mov ecx, dword [edx + 4]
test ecx, ecx
jns 0x1000b666
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 + 0x5f88]
call fcn.100362b0
lea edx, [esi + 0x5f88]
mov dword [edx], 0
test ebx, ebx
je 0x1000b6ec
mov eax, dword [esi + 0x5f80]
test eax, eax
js 0x1000b6b9
mov ecx, eax
cmp eax, dword [edx]
jge 0x1000b6cc
mov edi, dword [esi + 0x5f90]
lea ecx, [eax + eax*8]
cmp byte [edi + ecx*8 + 5], 0
mov edi, dword [esp + 0x20]
jne 0x1000b6b2
mov esi, dword [esi + 0x5f90]
lea edi, [eax + eax*8]
mov ecx, eax
cmp byte [esi + edi*8 + 4], 2
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
jle 0x1000b6cc
inc eax
mov dword [esi + 0x5f80], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x1000b6c8
mov dword [esi + 0x4098], ebx
jmp 0x1000b6ec
test ecx, ecx
js 0x1000b6ec
cmp ecx, dword [edx]
jge 0x1000b6ec
mov eax, dword [esi + 0x5f90]
lea ecx, [ecx + ecx*8]
mov eax, dword [eax + ecx*8]
mov dword [esi + 0x4098], eax
mov eax, dword [esi + 0x5f90]
inc byte [eax + ecx*8 + 4]
mov al, byte [edi + 0x5f5d]
test al, al
je 0x1000b70a
sub al, 1
mov byte [edi + 0x5f5d], al
jne 0x1000b70a
mov dword [edi + 0x4984], 0
mov al, byte [edi + 0x5f5c]
test al, al
je 0x1000b732
sub al, 1
mov byte [edi + 0x5f5c], al
jne 0x1000b732
push str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.100331f0
add esp, 4
and dword [edi + 0x5f3c], 0xffffffef
mov eax, dword [0x10167324]
xor edx, edx
mov byte [edi + 0x3ff1], 1
mov ecx, str.DebugDefault
push 0
or dword [eax + 0x49e4], 2
mov dword [eax + 0x4a08], 0x43c80000
mov dword [eax + 0x4a0c], 0x43c80000
mov dword [eax + 0x49ec], 4
call fcn.10010630
add esp, 4
cmp byte [edi + 0x6d], 0
je 0x1000b7af
mov cl, byte [edi + 0x5f5e]
cmp cl, 0xff
jne 0x1000b789
xor edx, edx
jmp 0x1000b7b2
mov eax, dword [edi + 0x3fe0]
and eax, reloc.WS2_32.dll_closesocket
jns 0x1000b79b
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 0x1000b7b2
or dl, 0xff
mov byte [edi + 0x5f5e], dl
mov eax, dword [edi + 0x5ecc]
mov esi, dword [edi + 0x5ed4]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x1000b7e7
nop
cmp dword [esi + 4], 1
jne 0x1000b7e0
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x1000b7d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret