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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x1003b4d8]
push esi
push edi
mov dword [ebp - 8], ebx
mov eax, dword [ebx + 0x5e14]
sub eax, 1
mov dword [ebp - 0x10], eax
js 0x10007100
lea edi, [eax + eax*4]
shl edi, 2
nop word [eax + eax]
mov edx, dword [ebx + 0x5e1c]
cmp dword [edi + edx + 4], 7
jne 0x100070f5
mov esi, edx
mov ecx, edi
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 [ebx + 0x5e14]
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 [ebp - 0x10]
add esp, 0xc
dec dword [ebx + 0x5e14]
dec eax
sub edi, 0x14
mov dword [ebp - 0x10], eax
test eax, eax
jns 0x100070a0
mov eax, dword [ebx + 0x5e14]
mov esi, dword [ebx + 0x5e1c]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1000712d
cmp dword [esi + 4], 0
jne 0x10007126
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x10007116
mov esi, dword [0x1003b4d8]
cmp byte [esi + 0x4a], 0
je 0x10007143
test byte [esi + 0xc], 2
jne 0x10007143
mov byte [esi + 0x4a], 0
cmp byte [esi + 0x5ddc], 0
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 0xc], 6
mov dword [ebp - 0x10], eax
jne 0x100071fa
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x100071f3
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.10003c60
mov edi, eax
add esp, 8
test edi, edi
je 0x100071f3
mov edx, dword [ebp - 4]
test edx, edx
je 0x10007192
mov ecx, edi
call fcn.10017fc0
mov ecx, dword [0x1003b4d8]
test ecx, ecx
je 0x100071ec
movsx eax, word [ecx + 0x5f04]
mov edx, dword [ecx + 0x3f10]
add eax, 0xbe1
mov dword [ebp - 0x18], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x100071e2
movsx eax, word [ecx + 0x5f04]
inc eax
cdq
idiv dword [ebp - 0xc]
movzx eax, dx
mov edx, dword [ebp - 0x18]
mov word [ecx + 0x5f04], ax
cwde
add eax, 0xbe1
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5f00]
push edi
call dword [ebp - 0x10]
add esp, 4
mov byte [esi + 0x5ddc], 1
movss xmm1, dword [esi + 0x5de0]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10007282
subss xmm1, dword [esi + 0x18]
comiss xmm0, xmm1
movss dword [esi + 0x5de0], xmm1
jb 0x10007282
mov edi, dword [esi + 0x20]
test edi, edi
je 0x10007271
mov eax, dword [0x1003b4d8]
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [eax + 0x5de0], 0
call fcn.100181e0
mov edx, 0x100341dc
mov dword [ebp - 0x18], eax
mov ecx, edi
call fcn.10003b20
mov edi, eax
test edi, edi
je 0x10007278
push edi
push dword [ebp - 4]
push 1
push dword [ebp - 0x18]
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 0x10007278
mov byte [esi + 0x96], 1
mov dword [esi + 0x5de0], 0
movss xmm0, dword [ebx + 0x18]
xor eax, eax
inc dword [ebx + 0x3f10]
cvtps2pd xmm0, xmm0
mov byte [ebx + 0x3f1c], 1
mov word [ebx + 0x5d40], ax
mov dword [ebx + 0x3f84], eax
addsd xmm0, qword [ebx + 0x3f08]
movsd qword [ebx + 0x3f08], xmm0
mov ecx, dword [ebx + 0x5d54]
test ecx, ecx
jns 0x100072dc
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 + 0x5d50]
call fcn.10019600
mov dword [ebx + 0x5d50], 0
mov ecx, 0x3c
mov eax, dword [ebx + 0x6028]
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [ebx + eax*4 + 0x5f38]
addss xmm0, dword [ebx + 0x6030]
movss dword [ebx + 0x6030], xmm0
movss dword [ebx + eax*4 + 0x5f38], xmm1
mov eax, dword [ebx + 0x6028]
inc eax
movss xmm1, dword [ebx + 0x6030]
cdq
idiv ecx
mov eax, dword [ebx + 0x602c]
movss xmm0, dword [0x10038d88]
inc eax
cmp eax, ecx
mov dword [ebx + 0x6028], edx
movss dword [ebp - 4], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x10038c70]
mov dword [ebx + 0x602c], ecx
jbe 0x10007372
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10038cfc]
divss xmm0, xmm1
movss dword [ebx + 0x9c], xmm0
mov ecx, dword [ebx + 0x3f38]
test ecx, ecx
jns 0x100073a0
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.10019ed0
mov dword [ebx + 0x3f34], 0
mov cl, byte [ebx + 0x46]
call fcn.10011d90
mov esi, dword [0x1003b4d8]
mov eax, dword [esi + 0x4a4c]
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 + 0x4a4c]
mov eax, dword [esi + 0x4a44]
lea eax, [edi + eax*4]
cmp edi, eax
je 0x100074cd
mov ebx, eax
nop word [eax + 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 0x10007400
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x2c]
mov byte [eax + 0x10], 1
call fcn.10006e40
mov edi, dword [esi + 0x38]
test edi, edi
jne 0x100074e8
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x44]
mov edi, dword [eax]
movss xmm0, dword [0x10038cfc]
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 0x10007541
mov eax, dword [ecx]
movss xmm0, dword [eax + 0x3d00]
mov eax, dword [ecx + 0x30c]
mulss xmm0, dword [ecx + 0x270]
test eax, eax
je 0x10007544
mulss xmm0, dword [eax + 0x270]
jmp 0x10007544
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 + 0x3d08], eax
lea eax, [edx + 0x60]
mov dword [esi + 0x3d0c], ecx
mov dword [esi + 0x3f04], eax
mov dword [esi + 0x3d10], edi
movss dword [esi + 0x3d14], xmm0
mov ecx, dword [ebx + 0x4a4c]
mov eax, dword [ebx + 0x4a44]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1000759d
nop dword [eax + eax]
mov eax, dword [ecx]
add ecx, 4
mov byte [eax + 0x3c], 0
cmp ecx, edx
jne 0x10007590
cmp byte [ebx + 0x4c48], 0
je 0x100075d1
mov eax, dword [ebx + 0x4c60]
cmp eax, dword [ebx + 0x3fe4]
jne 0x100075d1
cmp dword [esi + 0x3fe4], eax
jne 0x100075c2
mov dword [esi + 0x3fe8], eax
cmp dword [esi + 0x400c], eax
jne 0x100075d1
mov byte [esi + 0x4010], 1
cmp dword [ebx + 0x3fd4], 0
jne 0x100075e6
mov dword [ebx + 0x3fd8], 0
jmp 0x100075f8
mov eax, dword [ebx + 0x3fd0]
test eax, eax
je 0x10007602
cmp dword [ebx + 0x3fe4], eax
jne 0x10007602
mov dword [ebx + 0x3fdc], 0
mov eax, dword [ebx + 0x3fd0]
test eax, eax
je 0x1000763c
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x3fd8]
movss dword [ebx + 0x3fd8], xmm0
cmp dword [ebx + 0x3fe4], eax
je 0x1000763c
addss xmm1, dword [ebx + 0x3fdc]
movss dword [ebx + 0x3fdc], xmm1
mov dword [ebx + 0x3fd4], eax
mov eax, dword [ebx + 0x3fe4]
mov dword [ebx + 0x3fd0], 0
mov word [ebx + 0x3fe0], 0
test eax, eax
je 0x10007694
cmp dword [ebx + 0x3fe8], eax
je 0x10007694
cmp dword [ebx + 0x400c], eax
jne 0x10007694
test byte [ebx + 0x5e78], 1
je 0x10007685
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.10018b40
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.10005fd0
mov esi, dword [0x1003b4d8]
mov ecx, dword [ebx + 0x3fe4]
test ecx, ecx
je 0x100076b3
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 + 0x5ca0]
movss dword [ebx + 0x401c], xmm0
mov dword [ebx + 0x400c], ecx
mov dword [ebx + 0x3fe8], 0
mov byte [ebx + 0x3ff5], 0
mov byte [ebx + 0x4010], 0
mov byte [ebx + 0x3ff0], 0
test eax, eax
je 0x1000771d
cmp ecx, eax
je 0x1000771d
mov dword [ebx + 0x5ca0], 0
test ecx, ecx
jne 0x1000773b
mov dword [ebx + 0x48dc], ecx
mov dword [ebx + 0x48d0], ecx
mov byte [ebx + 0x48d4], cl
mov dword [ebx + 0x48dc], ecx
jmp 0x10007764
mov eax, dword [ebx + 0x48dc]
test eax, eax
je 0x10007764
test al, 2
je 0x10007764
mov eax, dword [ebx + 0x3fe4]
mov dword [esi + 0x40f8], eax
mov dword [esi + 0x40f4], eax
mov word [esi + 0x40fc], 0
mov ecx, dword [ebx + 0x4d84]
test ecx, ecx
je 0x10007787
movss xmm0, dword [ebx + 0x4da0]
comiss xmm0, dword [ebx + 0x3ce4]
jb 0x10007791
mov dword [ebx + 0x4d94], ecx
jmp 0x10007791
mov dword [ebx + 0x4d94], 0
mov eax, dword [ebx + 0x3f98]
test eax, eax
je 0x100077b7
movss xmm0, dword [ebx + 0x4da0]
comiss xmm0, dword [ebx + 0x3ce4]
jb 0x100077c1
mov eax, dword [eax + 8]
mov dword [ebx + 0x4d98], eax
jmp 0x100077c1
mov dword [ebx + 0x4d98], 0
movss xmm0, dword [ebx + 0x4d8c]
mov dword [ebx + 0x4d88], ecx
test ecx, ecx
je 0x100077ec
addss xmm0, dword [ebx + 0x18]
mov dword [ebx + 0x4d84], 0
movss dword [ebx + 0x4d8c], xmm0
jmp 0x1000782c
comiss xmm0, dword [0x10038c70]
jbe 0x10007836
movss xmm1, dword [ebx + 0x18]
movss xmm0, dword [0x10038ca8]
movaps xmm2, xmm1
addss xmm2, dword [ebx + 0x4d90]
addss xmm1, xmm1
movss dword [ebx + 0x4d90], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x10007836
mov dword [ebx + 0x4d8c], 0
mov dword [ebx + 0x4d90], 0
mov eax, dword [ebx + 0x4cbc]
mov dword [ebx + 0x4cc0], eax
mov dword [ebx + 0x4cbc], 0
mov dword [ebx + 0x4cb8], 0x7f7fffff
mov word [ebx + 0x4c49], 0
mov dword [ebx + 0x4cc8], 0
call fcn.10010ac0
call fcn.10014bb0
call fcn.10011000
call fcn.10006bc0
mov esi, dword [0x1003b4d8]
mov ecx, dword [esi + 0x3fa0]
test ecx, ecx
je 0x10007935
mov eax, dword [esi + 0x3fe4]
mov dword [esi + 0x3fe8], eax
cmp dword [esi + 0x400c], eax
jne 0x100078ac
mov byte [esi + 0x4010], 1
cmp byte [esi + 0xc4], 0
mov edi, dword [ecx + 0x314]
je 0x10007929
lea eax, [esi + 0xbc]
mov ecx, eax
test eax, eax
jne 0x100078cd
lea ecx, [esi + 0xbc]
movss xmm0, dword [ecx]
movss xmm1, dword [0x10038da0]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x10007929
comiss xmm2, xmm1
jb 0x10007929
movss xmm0, dword [eax]
lea edx, [ebp - 0x24]
subss xmm0, dword [esi + 0x3ffc]
push 1
mov ecx, edi
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x4000]
movss dword [ebp - 0x20], xmm0
call fcn.1000faa0
mov ecx, dword [esi + 0x3fa0]
add esp, 4
xor edx, edx
call fcn.1000f620
jmp 0x10007971
mov dword [esi + 0x3fa0], 0
jmp 0x10007968
mov ecx, dword [esi + 0x4004]
test ecx, ecx
je 0x10007971
mov eax, dword [esi + 0x3fe4]
cmp dword [ecx + 0x7c], eax
jne 0x10007971
mov dword [esi + 0x3fe8], eax
cmp dword [esi + 0x400c], eax
jne 0x1000795f
mov byte [esi + 0x4010], 1
cmp byte [esi + 0xc4], 0
jne 0x10007971
xor edx, edx
xor ecx, ecx
call fcn.10005fd0
mov eax, dword [0x1003b4d8]
movss xmm2, dword [0x10038d30]
mov edx, dword [eax + 0x4a20]
sub edx, 1
js 0x100079af
mov eax, dword [eax + 0x4a28]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x100079a7
test dword [ecx + 0xc], 0x8000000
jne 0x100079c9
sub eax, 0x28
sub edx, 1
jns 0x10007998
cmp dword [ebx + 0x4c18], 0
je 0x100079e4
movss xmm0, dword [ebx + 0x4c28]
comiss xmm0, dword [0x10038c70]
jbe 0x100079e4
movss xmm1, dword [ebx + 0x18]
mulss xmm1, xmm2
addss xmm1, dword [ebx + 0x4c44]
minss xmm1, dword [0x10038cfc]
jmp 0x10007a05
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x10038d3c]
movss xmm1, dword [ebx + 0x4c44]
subss xmm1, xmm0
maxss xmm1, dword [0x10038c70]
movss dword [ebx + 0x4c44], xmm1
movups xmm0, xmmword [ebx + 0x5dbc]
mov dword [ebx + 0x4d9c], 0
mov dword [ebx + 0x603c], 0xffffffff
mov dword [ebx + 0x6038], 0xffffffff
mov dword [ebx + 0x6034], 0xffffffff
movups xmmword [ebx + 0x5dcc], xmm0
mov byte [ebx + 0x5dbc], 0
call fcn.10011390
cmp byte [ebx + 0x3f1f], 0
jne 0x10007a7c
movss xmm1, dword [ebx + 0x4c]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x10007a7c
movsd xmm0, qword [ebx + 0x3f08]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [ebp - 4], xmm0
jmp 0x10007a81
movss xmm0, dword [ebp - 4]
mov edi, dword [ebx + 0x3f50]
mov eax, dword [ebx + 0x3f48]
lea eax, [edi + eax*4]
mov dword [ebp - 0x18], eax
cmp edi, eax
je 0x10007b51
mov ebx, eax
nop dword [eax]
mov esi, dword [edi]
mov ax, word [esi + 0xc8]
mov cl, byte [esi + 0xba]
mov word [esi + 0xca], ax
xor eax, eax
mov byte [esi + 0xbb], cl
mov byte [esi + 0xba], 0
mov byte [esi + 0xbc], 0
mov word [esi + 0xc8], ax
test cl, cl
jne 0x10007b3e
cmp byte [esi + 0x370], al
jne 0x10007b3e
comiss xmm0, dword [esi + 0x250]
jbe 0x10007b3e
mov ecx, dword [esi + 0x278]
mov byte [esi + 0x370], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x368], eax
mov eax, dword [ecx + 0x1c]
lea ecx, [esi + 0xf4]
mov dword [esi + 0x36c], eax
call fcn.100196d0
mov ecx, dword [esi + 0x278]
call fcn.10021f70
lea ecx, [esi + 0x190]
call fcn.100196d0
lea ecx, [esi + 0x1bc]
call fcn.100196d0
lea ecx, [esi + 0x1c8]
call fcn.100196d0
movss xmm0, dword [ebp - 4]
add edi, 4
cmp edi, ebx
jne 0x10007aa0
mov ebx, dword [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
cmp dword [ebx + 0x4d30], ecx
jle 0x10007ca4
xor edx, edx
xorps xmm1, xmm1
mov dword [ebp - 0x18], edx
nop word [eax + eax]
mov eax, dword [ebx + 0x4d38]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x10007c8b
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x10007c8b
mov esi, dword [ebx + 0x4d18]
mov edi, dword [0x1003b4d8]
add esi, edx
mov dword [ebp - 0x20], edi
mov dword [esi + 0x1a8], 0
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x10007c30
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x19c], 0
test edi, edi
je 0x10007c1f
movsx eax, word [edi + 0x5f04]
mov edx, dword [edi + 0x3f10]
add eax, 0xbe1
mov dword [ebp - 0x1c], edx
cmp dword [edi + eax*8], edx
lea eax, [edi + eax*8]
je 0x10007c15
movsx eax, word [edi + 0x5f04]
inc eax
cdq
idiv dword [ebp - 0xc]
movzx eax, dx
mov edx, dword [ebp - 0x1c]
mov word [edi + 0x5f04], ax
cwde
add eax, 0xbe1
lea eax, [edi + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [edi + 0x5f00]
push ecx
call dword [ebp - 0x10]
add esp, 4
mov dword [esi + 0x1a4], 0
lea ecx, [esi + 0x15c]
mov byte [esi + 0x1ed], 1
call fcn.100196d0
xor edx, edx
mov byte [esi + 0x1fc], 1
cmp dword [esi + 0x40], edx
jle 0x10007c6c
xor ecx, ecx
or edi, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov word [eax + ecx - 0x20], di
cmp edx, dword [esi + 0x40]
jl 0x10007c55
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0x20]
sub esi, dword [edi + 0x4d18]
xorps xmm1, xmm1
mov eax, dword [edi + 0x4d38]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sar esi, 9
mov dword [eax + esi*4], 0xbf800000
inc ecx
add edx, 0x200
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
cmp ecx, dword [ebx + 0x4d30]
jl 0x10007b70
mov eax, dword [ebx + 0x4d04]
mov ecx, eax
mov esi, dword [ebx + 0x4d0c]
shl ecx, 4
sub ecx, eax
lea edi, [esi + ecx*8]
cmp esi, edi
je 0x10007cee
xorps xmm1, xmm1
movss xmm0, dword [esi + 4]
comiss xmm0, xmm1
jb 0x10007ce7
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x10007ce7
lea ecx, [esi + 0x20]
call fcn.10024750
mov dword [esi + 4], 0xbf800000
xorps xmm1, xmm1
add esi, 0x78
cmp esi, edi
jne 0x10007cc1
cmp byte [ebx + 0x3f1f], 0
je 0x10007d9e
mov esi, dword [0x1003b4d8]
lea ecx, [esi + 0x4a08]
call fcn.100196d0
mov edi, dword [esi + 0x4a1c]
test edi, edi
je 0x10007d99
mov ecx, dword [0x1003b4d8]
mov dword [esi + 0x4a18], 0
mov dword [esi + 0x4a14], 0
test ecx, ecx
je 0x10007d88
movsx eax, word [ecx + 0x5f04]
mov edx, dword [ecx + 0x3f10]
add eax, 0xbe1
mov dword [ebp - 0x20], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x10007d7e
movsx eax, word [ecx + 0x5f04]
inc eax
cdq
idiv dword [ebp - 0xc]
movzx eax, dx
mov edx, dword [ebp - 0x20]
mov word [ecx + 0x5f04], ax
cwde
add eax, 0xbe1
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5f00]
push edi
call dword [ebp - 0x10]
add esp, 4
mov dword [esi + 0x4a1c], 0
call fcn.1002c150
mov eax, dword [ebx + 0x4a50]
mov byte [ebx + 0x3f1f], 0
test eax, eax
je 0x10007e03
cmp byte [eax + 0xbb], 0
jne 0x10007e03
mov eax, dword [0x1003b4d8]
mov edx, dword [eax + 0x3f54]
sub edx, 1
js 0x10007df7
mov eax, dword [eax + 0x3f5c]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x10007def
cmp byte [ecx + 0xbb], 0
je 0x10007def
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x10007df9
sub esi, 4
sub edx, 1
jns 0x10007dd1
xor ecx, ecx
mov edx, 1
call fcn.1000f620
mov ecx, dword [ebx + 0x3f70]
test ecx, ecx
jns 0x10007e29
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.10019e10
mov dword [ebx + 0x3f6c], 0
mov ecx, dword [ebx + 0x4a30]
test ecx, ecx
jns 0x10007e59
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 + 0x4a2c]
call fcn.10019c70
lea esi, [ebx + 0x4a08]
mov dword [ebx + 0x4a2c], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10007e88
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.10019600
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x10007e9d
push 8
mov ecx, esi
call fcn.10019600
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push ecx
mov dword [eax + ecx*4], 0
lea ecx, [ebx + 0x4a14]
inc dword [esi]
call fcn.100192d0
call fcn.10018ed0
mov edx, dword [0x1003b4d8]
mov esi, edx
mov dword [esi + 0x3fcc], 0
mov eax, dword [esi + 0x5edc]
inc eax
cmp dword [esi + 0x3f10], eax
jne 0x10007fcc
mov edi, dword [esi + 0x3fd4]
test edi, edi
jne 0x10007ef1
mov edi, dword [esi + 0x3fe4]
cmp dword [esi + 0x5ee4], edi
je 0x10007f44
lea eax, [esi + 0x5ee8]
mov dword [esi + 0x5ee4], edi
mov dword [esi + 0x5ee0], 0xffffffff
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10007f3e
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 + 0x5ee8]
call fcn.10019fb0
mov edx, dword [0x1003b4d8]
lea eax, [esi + 0x5ee8]
mov dword [eax], 0
test edi, edi
je 0x10007fcc
mov eax, dword [esi + 0x5ee0]
test eax, eax
js 0x10007f95
mov ecx, eax
cmp eax, dword [esi + 0x5ee8]
jge 0x10007fa8
mov ebx, dword [esi + 0x5ef0]
lea ecx, [eax + eax*8]
cmp byte [ebx + ecx*8 + 5], 0
mov ebx, dword [ebp - 8]
jne 0x10007f8e
mov edx, dword [esi + 0x5ef0]
lea ebx, [eax + eax*8]
mov ecx, eax
cmp byte [edx + ebx*8 + 4], 2
mov ebx, dword [ebp - 8]
mov edx, dword [0x1003b4d8]
jle 0x10007fa8
inc eax
mov dword [esi + 0x5ee0], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x10007fa4
mov dword [esi + 0x3fcc], edi
jmp 0x10007fcc
test ecx, ecx
js 0x10007fcc
cmp ecx, dword [esi + 0x5ee8]
jge 0x10007fcc
mov eax, dword [esi + 0x5ef0]
lea ecx, [ecx + ecx*8]
mov eax, dword [eax + ecx*8]
mov dword [esi + 0x3fcc], eax
mov eax, dword [esi + 0x5ef0]
inc byte [eax + ecx*8 + 4]
movss xmm1, dword [edx + 0x5eac]
xorps xmm0, xmm0
comiss xmm0, xmm1
jae 0x10008090
mov ecx, dword [edx + 0x49d4]
mulss xmm1, dword [0x10038d30]
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 [0x10038cc4]
lea edx, [esi + 0x3998]
cvtsd2ss xmm0, xmm0
lea ecx, [edi + 0x3994]
movaps xmm2, xmm1
mulss xmm0, xmm1
addss xmm0, xmm1
call fcn.10003f00
mov edx, dword [0x1003b4d8]
xorps xmm1, xmm1
add esp, 4
mov eax, dword [edx + 0x49d4]
add eax, 0x39a
add eax, eax
mov dword [edx + eax*8], 0x3f800000
movss xmm0, dword [edx + 0x5eac]
subss xmm0, dword [edx + 0x18]
comiss xmm1, xmm0
movss dword [edx + 0x5eac], xmm0
jb 0x10008090
mov eax, dword [edx + 0x49d4]
cmp eax, 0x35
je 0x10008086
movups xmm0, xmmword [edx + 0x5eb0]
add eax, eax
movups xmmword [edx + eax*8 + 0x3994], xmm0
mov dword [edx + 0x49d4], 0x35
mov al, byte [ebx + 0x5e9d]
test al, al
je 0x100080b5
sub al, 1
mov byte [ebx + 0x5e9d], al
jne 0x100080b5
mov dword [ebx + 0x48e8], 0
mov byte [ebx + 0x5e9e], 0
mov al, byte [ebx + 0x5e9c]
test al, al
je 0x100080ee
sub al, 1
mov byte [ebx + 0x5e9c], al
jne 0x100080ee
push str._Debug_Log:_Auto_disabled_some_ImGuiDebugLogFlags_after_2_frames__n
call fcn.10018b40
mov eax, dword [ebx + 0x5e98]
add esp, 4
not eax
mov dword [ebx + 0x5e98], 0
and dword [ebx + 0x5e78], eax
mov eax, dword [0x1003b4d8]
xor edx, edx
mov byte [ebx + 0x3f1d], 1
mov ecx, str.DebugDefault
push 0
or dword [eax + 0x4968], 2
mov dword [eax + 0x4988], 0x43c80000
mov dword [eax + 0x498c], 0x43c80000
mov dword [eax + 0x4970], 4
call fcn.1000c9f0
add esp, 4
cmp byte [ebx + 0x66], 0
je 0x1000816b
mov cl, byte [ebx + 0x5ea4]
cmp cl, 0xff
jne 0x10008145
xor edx, edx
jmp 0x1000816e
mov eax, dword [ebx + 0x3f10]
and eax, 0x80000003
jns 0x10008157
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 0x1000816e
or dl, 0xff
mov byte [ebx + 0x5ea4], dl
mov eax, dword [ebx + 0x5e14]
mov esi, dword [ebx + 0x5e1c]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x100081a7
nop word [eax + eax]
cmp dword [esi + 4], 1
jne 0x100081a0
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x10008190
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret