Function at 0x1000b0b0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, dword [0x10081888]
push esi
push edi
mov dword [esp + 0x10], ebx
mov eax, dword [ebx + 0x5dfc]
sub eax, 1
mov dword [esp + 0x18], eax
js 0x1000b140
lea edi, [eax + eax*4]
shl edi, 2
nop dword [eax + eax]
mov ecx, dword [ebx + 0x5e04]
cmp dword [ecx + edi + 4], 7
jne 0x1000b134
mov esi, ecx
mov eax, 0x66666667
sub ecx, esi
add ecx, edi
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 [ebx + 0x5dfc]
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 [ebx + 0x5dfc]
dec eax
sub edi, 0x14
mov dword [esp + 0x18], eax
test eax, eax
jns 0x1000b0e0
mov eax, dword [ebx + 0x5dfc]
mov esi, dword [ebx + 0x5e04]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1000b16d
cmp dword [esi + 4], 0
jne 0x1000b166
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x1000b156
mov esi, dword [0x10081888]
cmp byte [esi + 0x4a], 0
je 0x1000b183
test byte [esi + 0xc], 2
jne 0x1000b183
mov byte [esi + 0x4a], 0
cmp byte [esi + 0x5dc4], 0
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x14], 6
mov dword [esp + 0x18], eax
jne 0x1000b243
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1000b23c
push ecx
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
call fcn.10006b20
mov edi, eax
add esp, 8
test edi, edi
je 0x1000b23c
mov edx, dword [esp + 0xc]
test edx, edx
je 0x1000b1d7
mov ecx, edi
call fcn.1001d180
mov ecx, dword [0x10081888]
test ecx, ecx
je 0x1000b234
movsx eax, word [ecx + 0x5eec]
mov edx, dword [ecx + 0x3f10]
add eax, 0xbde
mov dword [esp + 0x20], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x1000b22a
movsx eax, word [ecx + 0x5eec]
inc eax
cdq
idiv dword [esp + 0x14]
movzx eax, dx
mov edx, dword [esp + 0x20]
mov word [ecx + 0x5eec], ax
cwde
add eax, 0xbde
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5ee8]
push edi
call dword [esp + 0x1c]
add esp, 4
mov byte [esi + 0x5dc4], 1
movss xmm1, dword [esi + 0x5dc8]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1000b2d0
subss xmm1, dword [esi + 0x18]
comiss xmm0, xmm1
movss dword [esi + 0x5dc8], xmm1
jb 0x1000b2d0
mov edi, dword [esi + 0x20]
test edi, edi
je 0x1000b2bf
mov eax, dword [0x10081888]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [eax + 0x5dc8], 0
call fcn.1001d410
mov edx, 0x10074358
mov dword [esp + 0x20], eax
mov ecx, edi
call fcn.100069a0
mov edi, eax
test edi, edi
je 0x1000b2c6
push edi
push dword [esp + 0x10]
push 1
push dword [esp + 0x2c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x1000b2c6
mov byte [esi + 0x96], 1
mov dword [esi + 0x5dc8], 0
movss xmm0, dword [ebx + 0x18]
xor eax, eax
inc dword [ebx + 0x3f10]
cvtps2pd xmm0, xmm0
mov byte [ebx + 0x3f1c], 1
mov word [ebx + 0x5d28], ax
mov dword [ebx + 0x3f84], eax
addsd xmm0, qword [ebx + 0x3f08]
movsd qword [ebx + 0x3f08], xmm0
mov ecx, dword [ebx + 0x5d3c]
test ecx, ecx
jns 0x1000b32a
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, [ebx + 0x5d38]
call fcn.1001ecb0
mov dword [ebx + 0x5d38], 0
mov ecx, 0x3c
mov eax, dword [ebx + 0x6010]
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [ebx + eax*4 + 0x5f20]
addss xmm0, dword [ebx + 0x6018]
movss dword [ebx + 0x6018], xmm0
movss dword [ebx + eax*4 + 0x5f20], xmm1
mov eax, dword [ebx + 0x6010]
inc eax
movss xmm1, dword [ebx + 0x6018]
cdq
idiv ecx
mov eax, dword [ebx + 0x6014]
movss xmm0, dword [0x1007cdc4]
inc eax
cmp eax, ecx
mov dword [ebx + 0x6010], edx
movss dword [esp + 0xc], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x1007cc68]
mov dword [ebx + 0x6014], ecx
jbe 0x1000b3c1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1007ccf8]
divss xmm0, xmm1
movss dword [ebx + 0x9c], xmm0
mov ecx, dword [ebx + 0x3f38]
test ecx, ecx
jns 0x1000b3ef
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, [ebx + 0x3f34]
call fcn.1001f600
mov dword [ebx + 0x3f34], 0
mov cl, byte [ebx + 0x46]
call fcn.10016800
mov esi, dword [0x10081888]
mov eax, dword [esi + 0x4a40]
mov edx, dword [eax]
mov dword [edx + 4], 5
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov edi, dword [esi + 0x4a40]
mov eax, dword [esi + 0x4a38]
lea eax, [edi + eax*4]
cmp edi, eax
je 0x1000b51e
mov ebx, eax
nop dword [eax]
mov edx, dword [edi]
add edi, 4
mov eax, dword [edx + 0x98]
mov ecx, dword [edx + 0x9c]
movss xmm0, dword [edx + 0xc]
mov dword [edx + 0x88], eax
mov eax, dword [edx + 0xa0]
mov dword [edx + 0x8c], ecx
mov ecx, dword [edx + 0xa4]
mov dword [edx + 0x90], eax
mov dword [edx + 0x94], ecx
mov dword [edx + 0xa0], 0
mov dword [edx + 0xa4], 0
mov dword [edx + 0x98], 0
mov dword [edx + 0x9c], 0
movss xmm2, dword [edx + 0x88]
movaps xmm1, xmm2
addss xmm0, dword [edx + 0x8c]
addss xmm1, dword [edx + 8]
movss dword [edx + 0x1c], xmm0
movss xmm0, dword [edx + 0x10]
movss dword [edx + 0x18], xmm1
subss xmm0, xmm2
xorps xmm2, xmm2
xorps xmm1, xmm1
addss xmm0, dword [edx + 0x90]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x8c]
addss xmm0, dword [edx + 0x94]
movss dword [edx + 0x20], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x24], xmm1
cmp edi, ebx
jne 0x1000b450
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x2c]
mov byte [eax + 0x10], 1
call fcn.1000ae80
mov edi, dword [esi + 0x38]
test edi, edi
jne 0x1000b539
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x44]
mov edi, dword [eax]
movss xmm0, dword [0x1007ccf8]
mov ecx, dword [esi + 0x3f94]
mov dword [esi + 0x3cf8], edi
movss xmm1, dword [edi + 0x10]
mulss xmm1, dword [esi + 0x30]
mulss xmm1, dword [edi + 0x4c]
maxss xmm0, xmm1
movss dword [esi + 0x3d00], xmm0
test ecx, ecx
je 0x1000b592
mov eax, dword [ecx]
movss xmm0, dword [ecx + 0x268]
mulss xmm0, dword [eax + 0x3d00]
mov eax, dword [ecx + 0x304]
test eax, eax
je 0x1000b595
mulss xmm0, dword [eax + 0x268]
jmp 0x1000b595
xorps xmm0, xmm0
movss dword [esi + 0x3cfc], xmm0
mov edx, dword [edi + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [esi + 0x3d04], eax
lea eax, [edx + 0x60]
mov dword [esi + 0x3d08], ecx
mov dword [esi + 0x3f00], eax
mov dword [esi + 0x3d0c], edi
movss dword [esi + 0x3d10], xmm0
mov ecx, dword [ebx + 0x4a40]
mov eax, dword [ebx + 0x4a38]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1000b5ed
nop dword [eax]
mov eax, dword [ecx]
add ecx, 4
mov byte [eax + 0x3c], 0
cmp ecx, edx
jne 0x1000b5e0
cmp byte [ebx + 0x4c38], 0
je 0x1000b621
mov eax, dword [ebx + 0x4c50]
cmp eax, dword [ebx + 0x3fe4]
jne 0x1000b621
cmp dword [esi + 0x3fe4], eax
jne 0x1000b612
mov dword [esi + 0x3fe8], eax
cmp dword [esi + 0x400c], eax
jne 0x1000b621
mov byte [esi + 0x4010], 1
cmp dword [ebx + 0x3fd4], 0
jne 0x1000b636
mov dword [ebx + 0x3fdc], 0
jmp 0x1000b648
mov eax, dword [ebx + 0x3fd0]
test eax, eax
je 0x1000b652
cmp dword [ebx + 0x3fe4], eax
jne 0x1000b652
mov dword [ebx + 0x3fe0], 0
mov eax, dword [ebx + 0x3fd0]
test eax, eax
je 0x1000b68c
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x3fdc]
movss dword [ebx + 0x3fdc], xmm0
cmp dword [ebx + 0x3fe4], eax
je 0x1000b68c
addss xmm1, dword [ebx + 0x3fe0]
movss dword [ebx + 0x3fe0], xmm1
mov dword [ebx + 0x3fd4], eax
mov eax, dword [ebx + 0x3fe4]
mov dword [ebx + 0x3fd0], 0
mov word [ebx + 0x3fd8], 0
test eax, eax
je 0x1000b6e4
cmp dword [ebx + 0x3fe8], eax
je 0x1000b6e4
cmp dword [ebx + 0x400c], eax
jne 0x1000b6e4
test byte [ebx + 0x5e60], 1
je 0x1000b6d5
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.1001dd60
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.10009f90
mov esi, dword [0x10081888]
mov edi, dword [ebx + 0x3fe4]
test edi, edi
je 0x1000b703
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x3fec]
movss dword [ebx + 0x3fec], xmm0
mov eax, dword [ebx + 0x4004]
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x401c]
mov dword [ebx + 0x4014], eax
mov al, byte [ebx + 0x3ff4]
mov byte [ebx + 0x4011], al
mov eax, dword [ebx + 0x5c90]
movss dword [ebx + 0x401c], xmm0
mov dword [ebx + 0x400c], edi
mov dword [ebx + 0x3fe8], 0
mov byte [ebx + 0x3ff5], 0
mov byte [ebx + 0x4010], 0
mov byte [ebx + 0x3ff0], 0
test eax, eax
je 0x1000b76d
cmp edi, eax
je 0x1000b76d
mov dword [ebx + 0x5c90], 0
test edi, edi
jne 0x1000b78c
mov dword [ebx + 0x48dc], edi
mov dword [ebx + 0x48d0], edi
mov byte [ebx + 0x48d4], 0
mov dword [ebx + 0x48dc], edi
jmp 0x1000b7b1
mov eax, dword [ebx + 0x48dc]
test eax, eax
je 0x1000b7b1
test al, 2
je 0x1000b7b1
mov edx, 0x20e
mov ecx, esi
call fcn.10005c80
mov dword [eax + 4], edi
mov dword [eax], edi
mov word [eax + 8], 0
mov ecx, dword [ebx + 0x4d74]
test ecx, ecx
je 0x1000b7d4
movss xmm0, dword [ebx + 0x4d90]
comiss xmm0, dword [ebx + 0x3ce4]
jb 0x1000b7de
mov dword [ebx + 0x4d84], ecx
jmp 0x1000b7de
mov dword [ebx + 0x4d84], 0
mov eax, dword [ebx + 0x3f98]
test eax, eax
je 0x1000b804
movss xmm0, dword [ebx + 0x4d90]
comiss xmm0, dword [ebx + 0x3ce4]
jb 0x1000b80e
mov eax, dword [eax + 8]
mov dword [ebx + 0x4d88], eax
jmp 0x1000b80e
mov dword [ebx + 0x4d88], 0
movss xmm0, dword [ebx + 0x4d7c]
mov dword [ebx + 0x4d78], ecx
test ecx, ecx
je 0x1000b839
addss xmm0, dword [ebx + 0x18]
mov dword [ebx + 0x4d74], 0
movss dword [ebx + 0x4d7c], xmm0
jmp 0x1000b879
comiss xmm0, dword [0x1007cc68]
jbe 0x1000b883
movss xmm1, dword [ebx + 0x18]
movss xmm0, dword [0x1007cca4]
movaps xmm2, xmm1
addss xmm2, dword [ebx + 0x4d80]
addss xmm1, xmm1
movss dword [ebx + 0x4d80], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1000b883
mov dword [ebx + 0x4d7c], 0
mov dword [ebx + 0x4d80], 0
mov eax, dword [ebx + 0x4cac]
mov dword [ebx + 0x4cb0], eax
mov dword [ebx + 0x4cac], 0
mov dword [ebx + 0x4ca8], 0x7f7fffff
mov word [ebx + 0x4c39], 0
mov dword [ebx + 0x4cb8], 0
call fcn.10015540
call fcn.10019c20
call fcn.10015a40
call fcn.1000ac10
mov esi, dword [0x10081888]
mov ecx, dword [esi + 0x3fa0]
test ecx, ecx
je 0x1000b985
mov eax, dword [esi + 0x3fe4]
mov dword [esi + 0x3fe8], eax
cmp dword [esi + 0x400c], eax
jne 0x1000b8f9
mov byte [esi + 0x4010], 1
cmp byte [esi + 0xc4], 0
mov edi, dword [ecx + 0x30c]
je 0x1000b979
lea eax, [esi + 0xbc]
mov ecx, eax
test eax, eax
jne 0x1000b91a
lea ecx, [esi + 0xbc]
movss xmm0, dword [ecx]
movss xmm1, dword [0x1007cde4]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x1000b979
comiss xmm2, xmm1
jb 0x1000b979
movss xmm0, dword [eax]
lea edx, [esp + 0x28]
subss xmm0, dword [esi + 0x3ffc]
push 1
mov ecx, edi
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x4000]
movss dword [esp + 0x30], xmm0
call fcn.100144b0
mov ecx, dword [esi + 0x3fa0]
add esp, 4
xor edx, edx
call fcn.10013e40
jmp 0x1000b9c1
mov dword [esi + 0x3fa0], 0
jmp 0x1000b9b8
mov ecx, dword [esi + 0x4004]
test ecx, ecx
je 0x1000b9c1
mov eax, dword [esi + 0x3fe4]
cmp dword [ecx + 0x74], eax
jne 0x1000b9c1
mov dword [esi + 0x3fe8], eax
cmp dword [esi + 0x400c], eax
jne 0x1000b9af
mov byte [esi + 0x4010], 1
cmp byte [esi + 0xc4], 0
jne 0x1000b9c1
xor edx, edx
xor ecx, ecx
call fcn.10009f90
mov eax, dword [0x10081888]
movss xmm2, dword [0x1007cd4c]
mov edx, dword [eax + 0x4a14]
sub edx, 1
js 0x1000b9ff
mov eax, dword [eax + 0x4a1c]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x1000b9f7
test dword [ecx + 0xc], 0x8000000
jne 0x1000ba19
sub eax, 0x28
sub edx, 1
jns 0x1000b9e8
cmp dword [ebx + 0x4c08], 0
je 0x1000ba34
movss xmm0, dword [ebx + 0x4c18]
comiss xmm0, dword [0x1007cc68]
jbe 0x1000ba34
movss xmm1, dword [ebx + 0x18]
mulss xmm1, xmm2
addss xmm1, dword [ebx + 0x4c34]
minss xmm1, dword [0x1007ccf8]
jmp 0x1000ba55
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x1007cd64]
movss xmm1, dword [ebx + 0x4c34]
subss xmm1, xmm0
maxss xmm1, dword [0x1007cc68]
movss dword [ebx + 0x4c34], xmm1
movups xmm0, xmmword [ebx + 0x5da4]
mov dword [ebx + 0x4d8c], 0
mov dword [ebx + 0x6024], 0xffffffff
mov dword [ebx + 0x6020], 0xffffffff
mov dword [ebx + 0x601c], 0xffffffff
movups xmmword [ebx + 0x5db4], xmm0
mov byte [ebx + 0x5da4], 0
call fcn.10015df0
cmp byte [ebx + 0x3f1f], 0
jne 0x1000bacd
movss xmm1, dword [ebx + 0x4c]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1000bacd
movsd xmm0, qword [ebx + 0x3f08]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [esp + 0xc], xmm0
jmp 0x1000bad3
movss xmm0, dword [esp + 0xc]
mov edi, dword [ebx + 0x3f50]
mov eax, dword [ebx + 0x3f48]
lea eax, [edi + eax*4]
mov dword [esp + 0x20], eax
cmp edi, eax
je 0x1000bba3
mov ebx, eax
mov esi, dword [edi]
mov ax, word [esi + 0xbc]
mov cl, byte [esi + 0xae]
mov word [esi + 0xbe], ax
xor eax, eax
mov byte [esi + 0xaf], cl
mov byte [esi + 0xae], 0
mov byte [esi + 0xb0], 0
mov word [esi + 0xbc], ax
test cl, cl
jne 0x1000bb8e
cmp byte [esi + 0x368], al
jne 0x1000bb8e
comiss xmm0, dword [esi + 0x248]
jbe 0x1000bb8e
mov ecx, dword [esi + 0x270]
mov byte [esi + 0x368], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x360], eax
mov eax, dword [ecx + 0x1c]
lea ecx, [esi + 0xec]
mov dword [esi + 0x364], eax
call fcn.10003b20
mov ecx, dword [esi + 0x270]
call fcn.100282d0
lea ecx, [esi + 0x188]
call fcn.10003b20
lea ecx, [esi + 0x1b4]
call fcn.10003b20
lea ecx, [esi + 0x1c0]
call fcn.10003b20
movss xmm0, dword [esp + 0xc]
add edi, 4
cmp edi, ebx
jne 0x1000baf0
mov ebx, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
cmp dword [ebx + 0x4d20], ecx
jle 0x1000bd05
xor edx, edx
xorps xmm1, xmm1
mov dword [esp + 0x20], edx
nop
mov eax, dword [ebx + 0x4d28]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x1000bcea
movss xmm2, dword [esp + 0xc]
comiss xmm2, xmm0
jbe 0x1000bcea
mov esi, dword [ebx + 0x4d08]
mov edi, dword [0x10081888]
add esi, edx
mov dword [esp + 0x28], edi
mov dword [esi + 0x1a8], 0
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x1000bc8a
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x19c], 0
test edi, edi
je 0x1000bc78
movsx eax, word [edi + 0x5eec]
mov edx, dword [edi + 0x3f10]
add eax, 0xbde
mov dword [esp + 0x24], edx
cmp dword [edi + eax*8], edx
lea eax, [edi + eax*8]
je 0x1000bc6e
movsx eax, word [edi + 0x5eec]
inc eax
cdq
idiv dword [esp + 0x14]
movzx eax, dx
mov edx, dword [esp + 0x24]
mov word [edi + 0x5eec], ax
cwde
add eax, 0xbde
lea eax, [edi + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [edi + 0x5ee8]
push ecx
call dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x1a4], 0
lea ecx, [esi + 0x15c]
mov byte [esi + 0x1ed], 1
call fcn.10003b20
xor edx, edx
mov byte [esi + 0x1fc], 1
cmp dword [esi + 0x40], edx
jle 0x1000bcc9
xor ecx, ecx
or edi, 0xffffffff
nop
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov word [eax + ecx - 0x20], di
cmp edx, dword [esi + 0x40]
jl 0x1000bcb0
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
sub esi, dword [edi + 0x4d08]
xorps xmm1, xmm1
mov eax, dword [edi + 0x4d28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sar esi, 9
mov dword [eax + esi*4], 0xbf800000
inc ecx
add edx, 0x200
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
cmp ecx, dword [ebx + 0x4d20]
jl 0x1000bbc0
mov eax, dword [ebx + 0x4cf4]
mov ecx, eax
mov esi, dword [ebx + 0x4cfc]
shl ecx, 4
sub ecx, eax
lea edi, [esi + ecx*8]
cmp esi, edi
je 0x1000bd50
xorps xmm1, xmm1
movss xmm0, dword [esi + 4]
comiss xmm0, xmm1
jb 0x1000bd49
movss xmm2, dword [esp + 0xc]
comiss xmm2, xmm0
jbe 0x1000bd49
lea ecx, [esi + 0x20]
call fcn.1002aa60
mov dword [esi + 4], 0xbf800000
xorps xmm1, xmm1
add esi, 0x78
cmp esi, edi
jne 0x1000bd22
cmp byte [ebx + 0x3f1f], 0
je 0x1000be04
mov esi, dword [0x10081888]
lea ecx, [esi + 0x49fc]
call fcn.10003b20
mov edi, dword [esi + 0x4a10]
test edi, edi
je 0x1000bdff
mov ecx, dword [0x10081888]
mov dword [esi + 0x4a0c], 0
mov dword [esi + 0x4a08], 0
test ecx, ecx
je 0x1000bded
movsx eax, word [ecx + 0x5eec]
mov edx, dword [ecx + 0x3f10]
add eax, 0xbde
mov dword [esp + 0x28], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x1000bde3
movsx eax, word [ecx + 0x5eec]
inc eax
cdq
idiv dword [esp + 0x14]
movzx eax, dx
mov edx, dword [esp + 0x28]
mov word [ecx + 0x5eec], ax
cwde
add eax, 0xbde
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5ee8]
push edi
call dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x4a10], 0
call fcn.1002ffe0
mov eax, dword [ebx + 0x4a44]
mov byte [ebx + 0x3f1f], 0
test eax, eax
je 0x1000be69
cmp byte [eax + 0xaf], 0
jne 0x1000be69
mov eax, dword [0x10081888]
mov edx, dword [eax + 0x3f54]
sub edx, 1
js 0x1000be5d
mov eax, dword [eax + 0x3f5c]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x1000be55
cmp byte [ecx + 0xaf], 0
je 0x1000be55
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x1000be5f
sub esi, 4
sub edx, 1
jns 0x1000be37
xor ecx, ecx
mov edx, 1
call fcn.10013e40
mov ecx, dword [ebx + 0x3f70]
test ecx, ecx
jns 0x1000be8f
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, [ebx + 0x3f6c]
call fcn.1001f540
mov dword [ebx + 0x3f6c], 0
mov ecx, dword [ebx + 0x4a24]
test ecx, ecx
jns 0x1000bebf
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, [ebx + 0x4a20]
call fcn.1001f3a0
lea esi, [ebx + 0x49fc]
mov dword [ebx + 0x4a20], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1000beee
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.1001ecb0
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1000bf03
push 8
mov ecx, esi
call fcn.1001ecb0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [ebx + 0x4a08]
inc dword [esi]
call fcn.1001e970
call fcn.1001e0e0
mov edx, dword [0x10081888]
mov esi, edx
mov dword [esi + 0x3fcc], 0
mov eax, dword [esi + 0x5ec4]
inc eax
cmp dword [esi + 0x3f10], eax
jne 0x1000c035
mov edi, dword [esi + 0x3fd4]
test edi, edi
jne 0x1000bf58
mov edi, dword [esi + 0x3fe4]
cmp dword [esi + 0x5ecc], edi
je 0x1000bfab
lea eax, [esi + 0x5ed0]
mov dword [esi + 0x5ecc], edi
mov dword [esi + 0x5ec8], 0xffffffff
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1000bfa5
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 + 0x5ed0]
call fcn.1001f6e0
mov edx, dword [0x10081888]
lea eax, [esi + 0x5ed0]
mov dword [eax], 0
test edi, edi
je 0x1000c035
mov eax, dword [esi + 0x5ec8]
test eax, eax
js 0x1000bffe
mov ecx, eax
cmp eax, dword [esi + 0x5ed0]
jge 0x1000c011
mov ebx, dword [esi + 0x5ed8]
lea ecx, [eax + eax*8]
cmp byte [ebx + ecx*8 + 5], 0
mov ebx, dword [esp + 0x10]
jne 0x1000bff7
mov edx, dword [esi + 0x5ed8]
lea ebx, [eax + eax*8]
mov ecx, eax
cmp byte [edx + ebx*8 + 4], 2
mov ebx, dword [esp + 0x10]
mov edx, dword [0x10081888]
jle 0x1000c011
inc eax
mov dword [esi + 0x5ec8], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x1000c00d
mov dword [esi + 0x3fcc], edi
jmp 0x1000c035
test ecx, ecx
js 0x1000c035
cmp ecx, dword [esi + 0x5ed0]
jge 0x1000c035
mov eax, dword [esi + 0x5ed8]
lea ecx, [ecx + ecx*8]
mov eax, dword [eax + ecx*8]
mov dword [esi + 0x3fcc], eax
mov eax, dword [esi + 0x5ed8]
inc byte [eax + ecx*8 + 4]
movss xmm1, dword [edx + 0x5e94]
xorps xmm0, xmm0
comiss xmm0, xmm1
jae 0x1000c0f9
mov ecx, dword [edx + 0x49c8]
mulss xmm1, dword [0x1007cd4c]
shl ecx, 4
cvtps2pd xmm0, xmm1
lea eax, [ecx + 0x399c]
add eax, edx
lea esi, [ecx + edx]
push eax
lea edi, [ecx + edx]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x1007ccc4]
lea edx, [esi + 0x3998]
cvtsd2ss xmm0, xmm0
lea ecx, [edi + 0x3994]
movaps xmm2, xmm1
mulss xmm0, xmm1
addss xmm0, xmm1
call fcn.10006f40
mov edx, dword [0x10081888]
xorps xmm1, xmm1
add esp, 4
mov eax, dword [edx + 0x49c8]
add eax, 0x39a
add eax, eax
mov dword [edx + eax*8], 0x3f800000
movss xmm0, dword [edx + 0x5e94]
subss xmm0, dword [edx + 0x18]
comiss xmm1, xmm0
movss dword [edx + 0x5e94], xmm0
jb 0x1000c0f9
mov eax, dword [edx + 0x49c8]
cmp eax, 0x35
je 0x1000c0ef
movups xmm0, xmmword [edx + 0x5e98]
add eax, eax
movups xmmword [edx + eax*8 + 0x3994], xmm0
mov dword [edx + 0x49c8], 0x35
mov al, byte [ebx + 0x5e85]
test al, al
je 0x1000c11e
sub al, 1
mov byte [ebx + 0x5e85], al
jne 0x1000c11e
mov dword [ebx + 0x48e8], 0
mov byte [ebx + 0x5e86], 0
mov al, byte [ebx + 0x5e84]
test al, al
je 0x1000c157
sub al, 1
mov byte [ebx + 0x5e84], al
jne 0x1000c157
push str._Debug_Log:_Auto_disabled_some_ImGuiDebugLogFlags_after_2_frames__n
call fcn.1001dd60
mov eax, dword [ebx + 0x5e80]
add esp, 4
not eax
mov dword [ebx + 0x5e80], 0
and dword [ebx + 0x5e60], eax
mov eax, dword [0x10081888]
xor edx, edx
mov byte [ebx + 0x3f1d], 1
mov ecx, str.DebugDefault
push 0
or dword [eax + 0x495c], 2
mov dword [eax + 0x497c], 0x43c80000
mov dword [eax + 0x4980], 0x43c80000
mov dword [eax + 0x4964], 4
call fcn.10010ef0
add esp, 4
cmp byte [ebx + 0x66], 0
je 0x1000c1d4
mov cl, byte [ebx + 0x5e8c]
cmp cl, 0xff
jne 0x1000c1ae
xor edx, edx
jmp 0x1000c1d7
mov eax, dword [ebx + 0x3f10]
and eax, 0x80000003
jns 0x1000c1c0
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 0x1000c1d7
or dl, 0xff
mov byte [ebx + 0x5e8c], dl
mov eax, dword [ebx + 0x5dfc]
mov esi, dword [ebx + 0x5e04]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1000c20a
cmp dword [esi + 4], 1
jne 0x1000c203
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x1000c1f3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret