Function at 0x51db00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, dword [0x6bb530]
mov dword [esp + 0x2c], edi
mov ebp, dword [edi + 0x5a78]
sub ebp, 1
js 0x51db88
lea ebx, [ebp*4]
add ebx, ebp
shl ebx, 2
nop
mov ecx, dword [edi + 0x5a80]
cmp dword [ecx + ebx + 4], 7
jne 0x51db80
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 + 0x5a78]
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
add esp, 0xc
dec dword [edi + 0x5a78]
sub ebx, 0x14
sub ebp, 1
jns 0x51db30
xor edx, edx
mov ecx, edi
call fcn.0051c5b0
mov esi, dword [0x6bb530]
cmp byte [esi + 0x66], 0
je 0x51dba7
test byte [esi + 0xc], 2
jne 0x51dba7
mov byte [esi + 0x66], 0
cmp byte [esi + 0x5a41], 0
jne 0x51dc07
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x51dc00
push ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
mov edx, 0x56ec48
call fcn.005189f0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x51dc00
mov edx, dword [esp + 0x24]
test edx, edx
je 0x51dbe7
mov ecx, ebp
call fcn.0052e620
mov eax, dword [0x6bb530]
test eax, eax
je 0x51dbf6
dec dword [eax + 0xb4]
push ebp
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov byte [esi + 0x5a41], 1
movss xmm0, dword [esi + 0x5a44]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x51dc8f
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5a44], xmm0
jb 0x51dc8f
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x51dc7e
mov eax, dword [0x6bb530]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [eax + 0x5a44], 0
call fcn.0052e8a0
mov edx, 0x56ec44
mov ecx, ebx
mov ebp, eax
call fcn.00518900
mov ebx, eax
test ebx, ebx
je 0x51dc85
push ebx
push dword [esp + 0x28]
push 1
push ebp
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 0x51dc85
mov byte [esi + 0x9c], 1
mov dword [esi + 0x5a44], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3dc8]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x3dd4], 1
mov word [edi + 0x5a06], ax
mov dword [edi + 0x3e3c], eax
addsd xmm0, qword [edi + 0x3dc0]
movsd qword [edi + 0x3dc0], xmm0
mov ecx, dword [edi + 0x5a18]
test ecx, ecx
jns 0x51dce9
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 + 0x5a14]
call fcn.0052fcb0
mov dword [edi + 0x5a14], 0
mov ecx, 0x3c
mov eax, dword [edi + 0x5c24]
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x58a87c]
subss xmm0, dword [edi + eax*4 + 0x5b34]
addss xmm0, dword [edi + 0x5c2c]
movss dword [edi + 0x5c2c], xmm0
movss dword [edi + eax*4 + 0x5b34], xmm1
mov eax, dword [edi + 0x5c24]
inc eax
movss xmm1, dword [edi + 0x5c2c]
cdq
idiv ecx
mov eax, dword [edi + 0x5c28]
movss xmm0, dword [0x58a9c0]
inc eax
cmp eax, ecx
mov dword [edi + 0x5c24], edx
movss dword [esp + 0x24], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x58a7bc]
mov dword [edi + 0x5c28], ecx
jbe 0x51dd83
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [edi + 0xa0], xmm0
mov ecx, dword [edi + 0x3df0]
test ecx, ecx
jns 0x51ddb1
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 + 0x3dec]
call fcn.005304e0
mov dword [edi + 0x3dec], 0
mov cl, byte [edi + 0x62]
call fcn.00527b20
mov ebx, dword [0x6bb530]
xor esi, esi
xorps xmm3, xmm3
mov eax, dword [ebx + 0x47c4]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
cmp dword [ebx + 0x47bc], esi
jle 0x51decd
mov eax, dword [ebx + 0x47c4]
movaps xmm2, xmm3
mov edx, dword [eax + esi*4]
inc esi
mov eax, dword [edx + 0x8c]
mov ecx, dword [edx + 0x90]
mov dword [edx + 0x7c], eax
mov eax, dword [edx + 0x94]
mov dword [edx + 0x80], ecx
mov ecx, dword [edx + 0x98]
mov dword [edx + 0x84], eax
mov dword [edx + 0x88], ecx
mov dword [edx + 0x94], 0
mov dword [edx + 0x98], 0
mov dword [edx + 0x8c], 0
mov dword [edx + 0x90], 0
movss xmm0, dword [edx + 0x80]
addss xmm0, dword [edx + 8]
movss xmm1, dword [edx + 0x7c]
addss xmm1, dword [edx + 4]
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
movss dword [edx + 0x14], xmm1
movaps xmm1, xmm3
subss xmm0, dword [edx + 0x7c]
addss xmm0, dword [edx + 0x84]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x80]
addss xmm0, dword [edx + 0x88]
movss dword [edx + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x20], xmm1
cmp esi, dword [ebx + 0x47bc]
jl 0x51de02
mov eax, dword [edi + 0x48]
mov byte [eax + 0x10], 1
mov esi, dword [ebx + 0x54]
test esi, esi
jne 0x51dee3
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x44]
mov esi, dword [eax]
movss xmm1, dword [ebx + 0x4c]
movss xmm2, dword [0x58a87c]
mov ecx, dword [ebx + 0x3e48]
movaps xmm0, xmm2
mov dword [ebx + 0x3bb4], esi
mulss xmm1, dword [esi + 0x10]
mulss xmm1, dword [esi + 0x4c]
maxss xmm0, xmm1
movss dword [ebx + 0x3bbc], xmm0
test ecx, ecx
je 0x51df3f
mov eax, dword [ecx]
movss xmm0, dword [ecx + 0x25c]
mulss xmm0, dword [eax + 0x3bbc]
mov eax, dword [ecx + 0x2f8]
test eax, eax
je 0x51df42
mulss xmm0, dword [eax + 0x25c]
jmp 0x51df42
movaps xmm0, xmm3
movss xmm7, dword [esp + 0x24]
movss xmm4, dword [0x58aa10]
movaps xmm6, xmm7
movss dword [ebx + 0x3bb8], xmm0
movaps xmm5, xmm4
mov edx, dword [esi + 0x30]
mov eax, dword [edx + 0x34]
mov ecx, dword [edx + 0x38]
mov dword [ebx + 0x3bc0], eax
lea eax, [edx + 0x60]
mov dword [ebx + 0x3bc4], ecx
mov dword [ebx + 0x3dbc], eax
mov dword [ebx + 0x3bc8], esi
movss dword [ebx + 0x3bcc], xmm0
mov edx, dword [edi + 0x47bc]
test edx, edx
jle 0x51dfec
mov ecx, dword [edi + 0x47c4]
nop word [eax + eax]
mov eax, dword [ecx]
movss xmm3, dword [eax + 4]
comiss xmm7, xmm3
movss xmm2, dword [eax + 8]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x10]
jbe 0x51dfc4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x51dfcc
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x51dfd4
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x51dfdc
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x51dfa0
movss xmm2, dword [0x58a87c]
movss dword [edi + 0x3bd8], xmm7
movss dword [edi + 0x3bdc], xmm6
movss dword [edi + 0x3be0], xmm4
movss dword [edi + 0x3be4], xmm5
mov eax, dword [edi + 0x385c]
movss xmm1, dword [edi + 0x3860]
mov dword [edi + 0x3bd0], eax
movss xmm0, dword [edi + 0x3bd4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x51e117
movss dword [edi + 0x3bd4], xmm1
xor esi, esi
mov ebp, 0x200
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x51e0c8
movss xmm1, dword [edi + 0x3bd4]
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 [0x58a8d0]
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 0x51e0be
mov eax, 4
jmp 0x51e0cd
cmp eax, 0x200
cmovg eax, ebp
jmp 0x51e0cd
mov eax, 0x30
movss xmm2, dword [0x58a87c]
mov byte [edi + esi + 0x3d7c], al
inc esi
cmp esi, 0x40
jl 0x51e044
movsd xmm0, qword [0x58a888]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x58a87c]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3bd4]
divss xmm0, xmm1
movss dword [edi + 0x3d78], xmm0
xor edx, edx
mov dword [edi + 0x3be8], 0
cmp byte [edi + 0x3858], dl
je 0x51e13a
mov dword [edi + 0x3be8], 1
mov edx, 1
cmp byte [edi + 0x3859], 0
mov ecx, edx
je 0x51e15c
mov eax, dword [edi + 0x3bb4]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x51e15c
or ecx, 2
mov dword [edi + 0x3be8], ecx
cmp byte [edi + 0x385a], 0
je 0x51e16e
or ecx, 4
mov dword [edi + 0x3be8], ecx
test byte [edi + 0xc], 8
je 0x51e17d
or ecx, 8
mov dword [edi + 0x3be8], ecx
xor esi, esi
cmp dword [edi + 0x47bc], esi
jle 0x51e1b2
nop word [eax + eax]
mov eax, dword [edi + 0x47c4]
push 0x2c
push 0
mov eax, dword [eax + esi*4]
add eax, 0x38
push eax
call sub.VCRUNTIME140.dll_memset
inc esi
add esp, 0xc
cmp esi, dword [edi + 0x47bc]
jl 0x51e190
cmp byte [edi + 0x4964], 0
je 0x51e1e6
mov eax, dword [edi + 0x497c]
cmp eax, dword [edi + 0x3e94]
jne 0x51e1e6
cmp dword [ebx + 0x3e94], eax
jne 0x51e1d7
mov dword [ebx + 0x3e98], eax
cmp dword [ebx + 0x3ebc], eax
jne 0x51e1e6
mov byte [ebx + 0x3ec0], 1
cmp dword [edi + 0x3e84], 0
jne 0x51e1fb
mov dword [edi + 0x3e8c], 0
jmp 0x51e20d
mov eax, dword [edi + 0x3e80]
test eax, eax
je 0x51e217
cmp dword [edi + 0x3e94], eax
jne 0x51e217
mov dword [edi + 0x3e90], 0
mov eax, dword [edi + 0x3e80]
test eax, eax
je 0x51e251
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e8c]
movss dword [edi + 0x3e8c], xmm0
cmp dword [edi + 0x3e94], eax
je 0x51e251
addss xmm1, dword [edi + 0x3e90]
movss dword [edi + 0x3e90], xmm1
mov dword [edi + 0x3e84], eax
mov eax, dword [edi + 0x3e94]
mov dword [edi + 0x3e80], 0
mov word [edi + 0x3e88], 0
test eax, eax
je 0x51e2a9
cmp dword [edi + 0x3e98], eax
je 0x51e2a9
cmp dword [edi + 0x3ebc], eax
jne 0x51e2a9
test byte [edi + 0x5ad8], 1
je 0x51e29a
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.0052f110
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.0051ce10
mov ebx, dword [0x6bb530]
mov ecx, dword [edi + 0x3e94]
test ecx, ecx
je 0x51e2c8
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3e9c]
movss dword [edi + 0x3e9c], xmm0
mov eax, dword [edi + 0x3eb0]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3ecc]
mov dword [edi + 0x3ec4], eax
mov al, byte [edi + 0x3ea4]
mov byte [edi + 0x3ec1], al
mov eax, dword [edi + 0x598c]
movss dword [edi + 0x3ecc], xmm0
mov dword [edi + 0x3ebc], ecx
mov dword [edi + 0x3e98], 0
mov byte [edi + 0x3ea5], 0
mov byte [edi + 0x3ec0], 0
mov byte [edi + 0x3ea0], 0
test eax, eax
je 0x51e332
cmp ecx, eax
je 0x51e332
mov dword [edi + 0x598c], 0
test ecx, ecx
jne 0x51e350
mov dword [edi + 0x4698], ecx
mov dword [edi + 0x4690], ecx
mov byte [edi + 0x4694], cl
mov dword [edi + 0x4698], ecx
jmp 0x51e373
mov eax, dword [edi + 0x4698]
test eax, eax
je 0x51e373
test al, 2
je 0x51e373
mov dword [ebx + 0x3f7c], ecx
mov dword [ebx + 0x3f78], ecx
mov word [ebx + 0x3f80], 0
mov eax, dword [edi + 0x4a8c]
movss xmm0, dword [edi + 0x4a94]
mov dword [edi + 0x4a90], eax
test eax, eax
je 0x51e3a4
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4a8c], 0
movss dword [edi + 0x4a94], xmm0
jmp 0x51e3e4
comiss xmm0, dword [0x58a7bc]
jbe 0x51e3ee
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x58a810]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4a98]
addss xmm1, xmm1
movss dword [edi + 0x4a98], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x51e3ee
mov dword [edi + 0x4a94], 0
mov dword [edi + 0x4a98], 0
mov eax, dword [edi + 0x49c8]
mov dword [edi + 0x49cc], eax
mov dword [edi + 0x49c8], 0
mov dword [edi + 0x49c4], 0x7f7fffff
mov word [edi + 0x4965], 0
mov dword [edi + 0x49d4], 0
call fcn.00526830
call fcn.0052b260
call fcn.00526d90
call fcn.0051d870
mov esi, dword [0x6bb530]
mov ecx, dword [esi + 0x3e54]
test ecx, ecx
je 0x51e4f0
mov eax, dword [esi + 0x3e94]
mov dword [esi + 0x3e98], eax
cmp dword [esi + 0x3ebc], eax
jne 0x51e464
mov byte [esi + 0x3ec0], 1
cmp byte [esi + 0xdc8], 0
mov ebx, dword [ecx + 0x300]
je 0x51e4e4
lea eax, [esi + 0xdc0]
mov ecx, eax
test eax, eax
jne 0x51e485
lea ecx, [esi + 0xdc0]
movss xmm0, dword [ecx]
movss xmm1, dword [0x58aa08]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x51e4e4
comiss xmm2, xmm1
jb 0x51e4e4
movss xmm0, dword [eax]
lea edx, [esp + 0x30]
subss xmm0, dword [esi + 0x3ea8]
push 1
mov ecx, ebx
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x3eac]
movss dword [esp + 0x38], xmm0
call fcn.00525c30
mov ecx, dword [esi + 0x3e54]
add esp, 4
xor edx, edx
call fcn.00525460
jmp 0x51e52c
mov dword [esi + 0x3e54], 0
jmp 0x51e523
mov ecx, dword [esi + 0x3eb0]
test ecx, ecx
je 0x51e52c
mov eax, dword [esi + 0x3e94]
cmp dword [ecx + 0x70], eax
jne 0x51e52c
mov dword [esi + 0x3e98], eax
cmp dword [esi + 0x3ebc], eax
jne 0x51e51a
mov byte [esi + 0x3ec0], 1
cmp byte [esi + 0xdc8], 0
jne 0x51e52c
xor edx, edx
xor ecx, ecx
call fcn.0051ce10
mov eax, dword [0x6bb530]
mov edx, dword [eax + 0x47a0]
sub edx, 1
js 0x51e567
mov eax, dword [eax + 0x47a8]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
nop dword [eax + eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x51e55f
test dword [ecx + 0xc], 0x8000000
jne 0x51e581
sub eax, 0x28
sub edx, 1
jns 0x51e550
cmp dword [edi + 0x4934], 0
je 0x51e5a0
movss xmm0, dword [edi + 0x4944]
comiss xmm0, dword [0x58a7bc]
jbe 0x51e5a0
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x58a8f0]
addss xmm1, dword [edi + 0x495c]
minss xmm1, dword [0x58a87c]
jmp 0x51e5c1
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x58a900]
movss xmm1, dword [edi + 0x495c]
subss xmm1, xmm0
maxss xmm1, dword [0x58a7bc]
movss dword [edi + 0x495c], xmm1
movups xmm0, xmmword [edi + 0x5a20]
mov dword [edi + 0x4960], 0
mov dword [edi + 0x5c38], 0xffffffff
mov dword [edi + 0x5c34], 0xffffffff
mov dword [edi + 0x5c30], 0xffffffff
movups xmmword [edi + 0x5a30], xmm0
mov byte [edi + 0x5a20], 0
call fcn.00527100
cmp byte [edi + 0x3dd7], 0
jne 0x51e639
movss xmm0, dword [edi + 0x68]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x51e639
movsd xmm1, qword [edi + 0x3dc0]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
jmp 0x51e63f
movss xmm1, dword [esp + 0x24]
xor ebx, ebx
cmp dword [edi + 0x3e00], ebx
je 0x51e7ec
nop dword [eax]
mov eax, dword [edi + 0x3e08]
mov esi, dword [eax + ebx*4]
mov ax, word [esi + 0xb6]
mov cl, byte [esi + 0xaa]
mov word [esi + 0xb8], ax
xor eax, eax
mov byte [esi + 0xab], cl
mov byte [esi + 0xaa], 0
mov byte [esi + 0xac], 0
mov word [esi + 0xb6], ax
test cl, cl
jne 0x51e7d9
cmp byte [esi + 0x358], al
jne 0x51e7d9
comiss xmm1, dword [esi + 0x23c]
jbe 0x51e7d9
mov ecx, dword [esi + 0x264]
mov byte [esi + 0x358], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x350], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x354], eax
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x51e70b
mov eax, dword [0x6bb530]
mov dword [esi + 0xe8], 0
mov dword [esi + 0xe4], 0
test eax, eax
je 0x51e6f7
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0xec], 0
mov ecx, dword [esi + 0x264]
call fcn.005390c0
mov ecx, dword [esi + 0x188]
test ecx, ecx
je 0x51e757
mov eax, dword [0x6bb530]
mov dword [esi + 0x184], 0
mov dword [esi + 0x180], 0
test eax, eax
je 0x51e743
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x188], 0
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x51e798
mov eax, dword [0x6bb530]
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1a8], 0
test eax, eax
je 0x51e784
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x1b0], 0
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
je 0x51e7d9
mov eax, dword [0x6bb530]
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1b4], 0
test eax, eax
je 0x51e7c5
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x1bc], 0
movss xmm1, dword [esp + 0x24]
inc ebx
cmp ebx, dword [edi + 0x3e00]
jne 0x51e650
xor ebp, ebp
cmp dword [edi + 0x4a38], ebp
jle 0x51e941
xor ecx, ecx
xorps xmm1, xmm1
mov dword [esp + 0x28], ecx
nop dword [eax]
nop word [eax + eax]
mov eax, dword [edi + 0x4a40]
movss xmm0, dword [eax + ebp*4]
comiss xmm0, xmm1
jb 0x51e92a
movss xmm1, dword [esp + 0x24]
comiss xmm1, xmm0
jbe 0x51e927
mov esi, dword [edi + 0x4a20]
mov ebx, dword [0x6bb530]
add esi, ecx
mov dword [esp + 0x30], ebx
mov dword [esi + 0x198], 0
mov eax, dword [esi + 0x194]
test eax, eax
je 0x51e88b
mov dword [esi + 0x190], 0
mov dword [esi + 0x18c], 0
test ebx, ebx
je 0x51e877
dec dword [ebx + 0xb4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x194], 0
mov byte [esi + 0x1d9], 1
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x51e8d3
mov eax, dword [0x6bb530]
mov dword [esi + 0x158], 0
mov dword [esi + 0x154], 0
test eax, eax
je 0x51e8bf
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x15c], 0
xor edx, edx
mov byte [esi + 0x1e5], 1
cmp dword [esi + 0x40], edx
jle 0x51e8ff
xor ecx, ecx
or ebx, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov word [ecx + eax - 0x20], bx
cmp edx, dword [esi + 0x40]
jl 0x51e8e6
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
sub esi, dword [ebx + 0x4a20]
mov eax, 0x4325c53f
imul esi
mov eax, dword [ebx + 0x4a40]
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x28]
xorps xmm1, xmm1
inc ebp
add ecx, 0x1e8
mov dword [esp + 0x28], ecx
cmp ebp, dword [edi + 0x4a38]
jl 0x51e810
xor ebp, ebp
cmp dword [edi + 0x4a0c], ebp
jle 0x51e98d
xor esi, esi
xorps xmm1, xmm1
mov ebx, dword [edi + 0x4a14]
movss xmm0, dword [esi + ebx + 4]
comiss xmm0, xmm1
jb 0x51e981
movss xmm1, dword [esp + 0x24]
comiss xmm1, xmm0
jbe 0x51e97e
lea ecx, [ebx + 0x10]
add ecx, esi
call fcn.0053c090
mov dword [esi + ebx + 4], 0xbf800000
xorps xmm1, xmm1
inc ebp
add esi, 0x68
cmp ebp, dword [edi + 0x4a0c]
jl 0x51e950
cmp byte [edi + 0x3dd7], 0
je 0x51ea22
mov esi, dword [0x6bb530]
mov eax, dword [esi + 0x4790]
test eax, eax
je 0x51e9dc
mov dword [esi + 0x478c], 0
mov dword [esi + 0x4788], 0
test esi, esi
je 0x51e9c8
dec dword [esi + 0xb4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x4790], 0
mov ecx, dword [esi + 0x479c]
test ecx, ecx
je 0x51ea1d
mov eax, dword [0x6bb530]
mov dword [esi + 0x4798], 0
mov dword [esi + 0x4794], 0
test eax, eax
je 0x51ea09
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x479c], 0
call fcn.00544f00
mov eax, dword [edi + 0x47c8]
mov byte [edi + 0x3dd7], 0
test eax, eax
je 0x51ea87
cmp byte [eax + 0xab], 0
jne 0x51ea87
mov eax, dword [0x6bb530]
mov edx, dword [eax + 0x3e0c]
sub edx, 1
js 0x51ea7b
mov eax, dword [eax + 0x3e14]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x51ea73
cmp byte [ecx + 0xab], 0
je 0x51ea73
mov eax, dword [ecx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x51ea7d
sub esi, 4
sub edx, 1
jns 0x51ea55
xor ecx, ecx
mov edx, 1
call fcn.00525460
mov ecx, dword [edi + 0x3e28]
test ecx, ecx
jns 0x51eaad
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 + 0x3e24]
call fcn.00530470
mov dword [edi + 0x3e24], 0
mov ecx, dword [edi + 0x47b0]
test ecx, ecx
jns 0x51eadd
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 + 0x47ac]
call fcn.005303f0
lea esi, [edi + 0x4788]
mov dword [edi + 0x47ac], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x51eb0c
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.0052fcb0
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x51eb21
push 8
mov ecx, esi
call fcn.0052fcb0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x4794]
inc dword [esi]
call fcn.0052fa80
mov esi, dword [0x6bb530]
cmp byte [esi + 0x5afb], 0
mov dword [esi + 0x5b00], 0
je 0x51ec8d
mov ebx, dword [esi + 0x3e84]
xor edx, edx
push 1
mov ecx, 0x20e
mov dword [esp + 0x34], ebx
mov dword [esi + 0x4960], 7
call fcn.00526560
add esp, 4
test al, al
je 0x51eb89
mov byte [esi + 0x5afb], 0
mov ebp, dword [esi + 0xde0]
cmp ebp, 0x3000
je 0x51ebbf
movzx ecx, byte [esi + 0x5afc]
xor edx, edx
push 0
call fcn.00526650
add esp, 4
test al, al
je 0x51ebbf
test ebx, ebx
je 0x51ebbf
mov dword [esi + 0x5b00], ebx
mov byte [esi + 0x5afb], 0
xor ebx, ebx
cmp ebp, 0x3000
jne 0x51ebe1
push 0
xor edx, edx
mov ecx, ebx
call fcn.00526650
add esp, 4
test al, al
je 0x51ebe1
mov byte [esi + 0x5afc], bl
inc ebx
cmp ebx, 3
jl 0x51ebc1
mov eax, dword [0x6bb530]
xor ecx, ecx
or dword [eax + 0x46f8], 0x40
mov dword [eax + 0x474c], 0x3f333333
call fcn.00529110
test al, al
je 0x51ec8d
mov ebx, dword [esp + 0x30]
push ebx
push str.HoveredId:_0x_08X
call fcn.00545d90
push str.Press_ESC_to_abort_picking.
call fcn.00545d90
add esp, 0xc
mov dword [esp + 0x30], 0x570828
mov dword [esp + 0x34], 0x570854
mov dword [esp + 0x38], str.Middle
cmp ebp, 0x3000
jne 0x51ec57
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.00545d90
add esp, 4
jmp 0x51ec88
movzx eax, byte [esi + 0x5afc]
xor ecx, ecx
test ebx, ebx
push dword [esp + eax*4 + 0x30]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x6bb530]
add eax, 0x3864
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.00545e50
add esp, 0xc
call fcn.00525260
mov esi, dword [0x6bb530]
mov dword [esi + 0x3e7c], 0
mov eax, dword [esi + 0x5b14]
inc eax
cmp dword [esi + 0x3dc8], eax
jne 0x51ed75
mov ebx, dword [esi + 0x3e84]
test ebx, ebx
jne 0x51ecc0
mov ebx, dword [esi + 0x3e94]
cmp dword [esi + 0x5b1c], ebx
je 0x51ed08
mov dword [esi + 0x5b1c], ebx
mov dword [esi + 0x5b18], 0xffffffff
mov ecx, dword [esi + 0x5b24]
test ecx, ecx
jns 0x51ecfe
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 + 0x5b20]
call fcn.00530570
mov dword [esi + 0x5b20], 0
test ebx, ebx
je 0x51ed75
mov eax, dword [esi + 0x5b18]
test eax, eax
js 0x51ed3e
mov ecx, eax
cmp eax, dword [esi + 0x5b20]
jge 0x51ed51
mov ebp, dword [esi + 0x5b28]
lea edx, [eax + eax*8]
cmp byte [ebp + edx*8 + 5], 0
jne 0x51ed37
cmp byte [ebp + edx*8 + 4], 2
jle 0x51ed51
inc eax
mov dword [esi + 0x5b18], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x51ed4d
mov dword [esi + 0x3e7c], ebx
jmp 0x51ed75
test ecx, ecx
js 0x51ed75
cmp ecx, dword [esi + 0x5b20]
jge 0x51ed75
mov eax, dword [esi + 0x5b28]
lea ecx, [ecx + ecx*8]
mov eax, dword [eax + ecx*8]
mov dword [esi + 0x3e7c], eax
mov eax, dword [esi + 0x5b28]
inc byte [eax + ecx*8 + 4]
mov al, byte [edi + 0x5af9]
test al, al
je 0x51ed93
sub al, 1
mov byte [edi + 0x5af9], al
jne 0x51ed93
mov dword [edi + 0x46a4], 0
mov al, byte [edi + 0x5af8]
test al, al
je 0x51edbb
sub al, 1
mov byte [edi + 0x5af8], al
jne 0x51edbb
push str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.0052f110
add esp, 4
and dword [edi + 0x5ad8], 0xffffffef
mov eax, dword [0x6bb530]
xor edx, edx
mov byte [edi + 0x3dd5], 1
mov ecx, str.ErrorDefault
push 0
or dword [eax + 0x46f8], 2
mov dword [eax + 0x4718], 0x43fa0000
mov dword [eax + 0x471c], 0x42a00000
mov dword [eax + 0x4700], 4
call fcn.00522d90
add esp, 4
cmp byte [edi + 0x6d], 0
je 0x51ee38
mov cl, byte [edi + 0x5afa]
cmp cl, 0xff
jne 0x51ee12
xor edx, edx
jmp 0x51ee3b
mov eax, dword [edi + 0x3dc8]
and eax, 0x80000003
jns 0x51ee24
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 0x51ee3b
or dl, 0xff
mov byte [edi + 0x5afa], dl
mov ecx, edi
mov edx, 1
call fcn.0051c5b0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret