Function at 0x40f9f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [0x67dc18]
mov ebx, edi
mov dword [ebp - 0xc], ebx
mov eax, dword [ebx + 0x5290]
sub eax, 1
mov dword [ebp - 8], eax
js 0x40fa82
lea edi, [eax + eax*4]
shl edi, 2
nop dword [eax + eax]
mov edx, dword [ebx + 0x5298]
cmp dword [edi + edx + 4], 7
jne 0x40fa75
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 + 0x5290]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax*4 - 0x14]
push eax
lea eax, [edx + 0x14]
push eax
push edx
call fcn.005bb650
mov eax, dword [ebp - 8]
add esp, 0xc
dec dword [ebx + 0x5290]
dec eax
sub edi, 0x14
mov dword [ebp - 8], eax
test eax, eax
jns 0x40fa20
mov edi, ebx
mov eax, dword [ebx + 0x5290]
mov esi, dword [ebx + 0x5298]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [ebp - 0x10], eax
cmp esi, eax
je 0x40fac0
nop dword [eax + eax]
cmp dword [esi + 4], 0
jne 0x40fab3
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
mov eax, dword [ebp - 0x10]
add esp, 8
add esi, 0x14
cmp esi, eax
jne 0x40faa0
mov edi, dword [0x67dc18]
mov eax, dword [ebx + 0x3e18]
mov dword [ebx + 0x3e1c], eax
cmp dword [edi + 0x38c8], 0
je 0x40faf0
mov eax, dword [edi + 0x38d8]
test eax, eax
je 0x40fae6
cmp eax, 0x42ca70
jne 0x40faf0
mov dword [edi + 0x38d8], 0x41bea0
cmp dword [edi + 0x38cc], 0
je 0x40fb14
mov eax, dword [edi + 0x38dc]
test eax, eax
je 0x40fb0a
cmp eax, 0x42cb40
jne 0x40fb14
mov dword [edi + 0x38dc], 0x41bec0
mov ecx, dword [edi + 8]
test ecx, 0x400
je 0x40fb37
mov eax, dword [edi + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x40fb37
and ecx, 0xfffffbff
mov dword [edi + 8], ecx
mov eax, dword [ebx + 8]
mov dword [ebx + 0x3e18], eax
cmp byte [edi + 0x5258], 0
jne 0x40fc17
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x40fc10
mov edx, 0x64deb0
call fcn.0040b0b0
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x40fc10
push esi
call fcn.005c446c
add esp, 4
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x40fc07
push 2
push 0
push esi
call fcn.005c49df
add esp, 0xc
test eax, eax
jne 0x40fc07
push esi
call fcn.005c446c
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x40fc07
push 0
push dword [ebp - 0x10]
push esi
call fcn.005c49df
add esp, 0xc
test eax, eax
jne 0x40fc07
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
je 0x40fc07
mov ecx, eax
call fcn.0040ed70
mov dword [ebp - 8], eax
test eax, eax
je 0x40fc07
push esi
push dword [ebp - 4]
push 1
push eax
call fcn.005c7045
push dword [ebp - 0x14]
mov esi, eax
call fcn.005c467f
mov eax, dword [ebp - 4]
add esp, 0x14
cmp esi, eax
mov esi, dword [ebp - 8]
jne 0x40fbfe
test eax, eax
je 0x40fbfe
mov edx, eax
mov ecx, esi
call fcn.00422380
mov ecx, esi
call fcn.0040ee10
jmp 0x40fc10
push esi
call fcn.005c467f
add esp, 4
mov byte [edi + 0x5258], 1
movss xmm0, dword [edi + 0x525c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x40fc58
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x525c], xmm0
jb 0x40fc58
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x40fc47
call fcn.00422560
jmp 0x40fc4e
mov byte [edi + 0x90], 1
mov dword [edi + 0x525c], 0
movss xmm0, dword [ebx + 0x18]
xor eax, eax
inc dword [ebx + 0x4040]
cvtps2pd xmm0, xmm0
mov byte [ebx + 0x4050], 1
mov word [ebx + 0x518c], ax
mov dword [ebx + 0x40c8], eax
addsd xmm0, qword [ebx + 0x4038]
movsd qword [ebx + 0x4038], xmm0
mov ecx, dword [ebx + 0x51a0]
test ecx, ecx
jns 0x40fced
mov eax, ecx
xor esi, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x40fced
lea ecx, [esi*4]
call fcn.0040ed70
mov edi, eax
mov eax, dword [ebx + 0x51a4]
test eax, eax
je 0x40fce1
mov ecx, dword [ebx + 0x519c]
shl ecx, 2
push ecx
push eax
push edi
call fcn.004867d0
mov ecx, dword [ebx + 0x51a4]
add esp, 0xc
call fcn.0040ee10
mov dword [ebx + 0x51a4], edi
mov dword [ebx + 0x51a0], esi
mov dword [ebx + 0x519c], 0
mov ecx, 0x3c
mov eax, dword [ebx + 0x54bc]
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [ebx + eax*4 + 0x53cc]
addss xmm0, dword [ebx + 0x54c4]
movss dword [ebx + 0x54c4], xmm0
movss dword [ebx + eax*4 + 0x53cc], xmm1
mov eax, dword [ebx + 0x54bc]
inc eax
movss xmm1, dword [ebx + 0x54c4]
cdq
idiv ecx
mov eax, dword [ebx + 0x54c0]
movss xmm0, dword [0x657ba8]
inc eax
cmp eax, ecx
mov dword [ebx + 0x54bc], edx
movss dword [ebp - 4], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x657a58]
mov dword [ebx + 0x54c0], ecx
jbe 0x40fd83
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x657af8]
divss xmm0, xmm1
movss dword [ebx + 0x94], xmm0
mov ecx, dword [ebx + 0x407c]
test ecx, ecx
jns 0x40fdb1
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 + 0x4078]
call fcn.0042e2d0
mov dword [ebx + 0x4078], 0
mov cl, byte [ebx + 0x4f]
call fcn.0041b530
call fcn.004236c0
mov eax, dword [ebx + 0x2c]
mov byte [eax + 0x10], 1
call fcn.0040f7b0
mov esi, dword [0x67dc18]
mov edx, dword [esi + 0x38]
test edx, edx
jne 0x40fde9
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
movss xmm1, dword [esi + 0x30]
movss xmm0, dword [0x657af8]
mov ecx, dword [esi + 0x40d8]
mov dword [esi + 0x3e20], edx
mulss xmm1, dword [edx + 0x10]
mulss xmm1, dword [edx + 0x4c]
maxss xmm0, xmm1
movss dword [esi + 0x3e28], xmm0
test ecx, ecx
je 0x40fe4a
mov eax, dword [ecx]
movss xmm1, dword [ecx + 0x2ac]
mulss xmm1, dword [eax + 0x3e28]
mov eax, dword [ecx + 0x34c]
mulss xmm1, dword [ecx + 0x2b0]
test eax, eax
je 0x40fe4d
mulss xmm1, dword [eax + 0x2ac]
jmp 0x40fe4d
xorps xmm1, xmm1
movss dword [esi + 0x3e24], xmm1
movaps xmm0, xmm1
divss xmm0, dword [edx + 0x10]
movss dword [esi + 0x3e2c], xmm0
mov ecx, dword [edx + 0x30]
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x3e34], eax
mov eax, dword [ecx + 0x38]
mov dword [esi + 0x3e38], eax
lea eax, [ecx + 0x60]
mov dword [esi + 0x4034], eax
mov dword [esi + 0x3e3c], edx
xor edx, edx
movss dword [esi + 0x3e40], xmm1
movss dword [esi + 0x3e44], xmm0
mov edi, dword [ebx + 0x4bc8]
mov ecx, dword [ebx + 0x4bd0]
shl edi, 2
lea eax, [edi + ecx]
shr edi, 2
cmp ecx, eax
cmova edi, edx
test edi, edi
je 0x40fed8
nop dword [eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
inc edx
mov dword [eax + 0x30], 0
mov byte [eax + 0x80], 0
cmp edx, edi
jne 0x40fec0
cmp byte [ebx + 0x4e24], 0
je 0x40ff0c
mov eax, dword [ebx + 0x4e3c]
cmp eax, dword [ebx + 0x4134]
jne 0x40ff0c
cmp dword [esi + 0x4134], eax
jne 0x40fefd
mov dword [esi + 0x4138], eax
cmp dword [esi + 0x415c], eax
jne 0x40ff0c
mov byte [esi + 0x4160], 1
cmp byte [ebx + 0x71], 0
mov dword [ebx + 0x4114], 0
je 0x40ff31
cmp dword [ebx + 0x4124], 1
jle 0x40ff31
mov eax, dword [ebx + 0x4120]
mov dword [ebx + 0x4114], eax
cmp dword [ebx + 0x4120], 0
mov eax, dword [ebx + 0x411c]
jne 0x40ff4c
mov dword [ebx + 0x4128], 0
jmp 0x40ff5a
mov ecx, eax
test eax, eax
je 0x40ff66
cmp dword [ebx + 0x4134], eax
jne 0x40ff66
mov dword [ebx + 0x412c], 0
mov ecx, eax
mov eax, dword [ebx + 0x4134]
test ecx, ecx
je 0x40ff9c
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x4128]
movss dword [ebx + 0x4128], xmm0
cmp eax, ecx
je 0x40ff9c
addss xmm1, dword [ebx + 0x412c]
movss dword [ebx + 0x412c], xmm1
mov dword [ebx + 0x4120], ecx
mov dword [ebx + 0x4124], 0
mov dword [ebx + 0x411c], 0
mov word [ebx + 0x4130], 0
test eax, eax
je 0x40fff2
cmp dword [ebx + 0x4138], eax
je 0x40fff2
cmp dword [ebx + 0x415c], eax
jne 0x40fff2
test byte [ebx + 0x5308], 1
je 0x40ffe9
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.0042cd00
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.0040e550
mov ecx, dword [ebx + 0x4134]
test ecx, ecx
je 0x410011
movss xmm0, dword [ebx + 0x413c]
addss xmm0, dword [ebx + 0x18]
movss dword [ebx + 0x413c], xmm0
movss xmm2, dword [ebx + 0x18]
mov eax, dword [ebx + 0x4154]
movaps xmm0, xmm2
addss xmm0, dword [ebx + 0x416c]
mov dword [ebx + 0x4164], eax
mov al, byte [ebx + 0x4144]
mov byte [ebx + 0x4161], al
mov eax, dword [ebx + 0x50ec]
movss dword [ebx + 0x416c], xmm0
mov dword [ebx + 0x415c], ecx
mov dword [ebx + 0x4138], 0
mov byte [ebx + 0x4145], 0
mov byte [ebx + 0x4160], 0
mov byte [ebx + 0x4140], 0
test eax, eax
je 0x41007e
cmp ecx, eax
je 0x41007e
mov dword [ebx + 0x50ec], 0
test ecx, ecx
jne 0x41008e
mov dword [ebx + 0x4a20], ecx
mov byte [ebx + 0x4a24], cl
mov ecx, dword [ebx + 0x4ff4]
test ecx, ecx
je 0x4100b1
movss xmm0, dword [ebx + 0x5010]
comiss xmm0, dword [ebx + 0x3e04]
jb 0x4100bb
mov dword [ebx + 0x5004], ecx
jmp 0x4100bb
mov dword [ebx + 0x5004], 0
mov eax, dword [ebx + 0x40dc]
test eax, eax
je 0x4100e1
movss xmm0, dword [ebx + 0x5010]
comiss xmm0, dword [ebx + 0x3e04]
jb 0x4100eb
mov eax, dword [eax + 8]
mov dword [ebx + 0x5008], eax
jmp 0x4100eb
mov dword [ebx + 0x5008], 0
movss xmm0, dword [ebx + 0x4ffc]
mov dword [ebx + 0x4ff8], ecx
test ecx, ecx
je 0x410115
addss xmm0, xmm2
mov dword [ebx + 0x4ff4], 0
movss dword [ebx + 0x4ffc], xmm0
jmp 0x410151
comiss xmm0, dword [0x657a58]
jbe 0x41015b
movss xmm1, dword [ebx + 0x5000]
movss xmm0, dword [0x657a98]
addss xmm1, xmm2
addss xmm2, xmm2
movss dword [ebx + 0x5000], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x41015b
mov dword [ebx + 0x4ffc], 0
mov dword [ebx + 0x5000], 0
mov eax, dword [ebx + 0x4e98]
mov dword [ebx + 0x4e9c], eax
mov dword [ebx + 0x4e98], 0
mov dword [ebx + 0x4e94], 0x7f7fffff
mov word [ebx + 0x4e25], 0
mov dword [ebx + 0x4ea4], 0
call fcn.0041a200
call fcn.0041ee60
call fcn.0041a740
test byte [ebx + 8], 0x80
jne 0x4101cc
cmp dword [ebx + 0x522c], 0
jg 0x4101b9
cmp dword [ebx + 0x5238], 0
jle 0x4102af
mov dl, 1
call fcn.0042b460
xor ecx, ecx
call fcn.0042b190
jmp 0x4102af
cmp byte [ebx + 0x44], 0
je 0x41020a
xor esi, esi
cmp dword [ebx + 0x522c], esi
jle 0x41020a
nop dword [eax]
mov eax, dword [ebx + 0x5234]
mov ecx, dword [eax + esi*8 + 4]
test ecx, ecx
je 0x410201
cmp dword [ecx + 0x18], 0
jne 0x410201
cmp dword [ecx + 0x1c], 0
je 0x410201
mov ecx, dword [ecx]
call fcn.0042b190
inc esi
cmp esi, dword [ebx + 0x522c]
jl 0x4101e0
cmp byte [ebx + 0x5250], 0
je 0x410265
test dword [ebx + 0x5308], 0x100
je 0x41022c
push str._docking__DockContextRebuildNodes_n
call fcn.0042cd00
add esp, 4
xor ecx, ecx
call fcn.004225c0
xor dl, dl
call fcn.0042b460
xor ecx, ecx
call fcn.0042b190
push dword [ebx + 0x5244]
mov edx, dword [ebx + 0x524c]
mov ecx, ebx
call fcn.00425770
add esp, 4
mov ecx, ebx
call fcn.004258e0
mov byte [ebx + 0x5250], 0
mov eax, dword [ebx + 0x5238]
mov esi, dword [ebx + 0x5240]
lea eax, [eax + eax*8]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x4102af
nop dword [eax + eax]
cmp dword [esi], 2
jne 0x4102a8
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x41029a
push 1
mov ecx, ebx
call fcn.00425d80
add esp, 4
jmp 0x4102a8
mov edx, dword [esi + 0x20]
test edx, edx
je 0x4102a8
mov ecx, ebx
call fcn.00425e40
add esi, 0x24
cmp esi, edi
jne 0x410280
call fcn.0040f540
call fcn.0040f1b0
mov eax, dword [0x67dc18]
mov edx, dword [eax + 0x4ba4]
sub edx, 1
js 0x4102ef
mov eax, dword [eax + 0x4bac]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x4102e7
test dword [ecx + 0xc], 0x8000000
jne 0x410309
sub eax, 0x28
sub edx, 1
jns 0x4102d8
cmp dword [ebx + 0x4df4], 0
je 0x410328
movss xmm0, dword [ebx + 0x4e04]
comiss xmm0, dword [0x657a58]
jbe 0x410328
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x657b3c]
addss xmm1, dword [ebx + 0x4e20]
minss xmm1, dword [0x657af8]
jmp 0x410349
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x657b48]
movss xmm1, dword [ebx + 0x4e20]
subss xmm1, xmm0
maxss xmm1, dword [0x657a58]
movups xmm0, xmmword [ebx + 0x5208]
mov dword [ebx + 0x500c], 0
movss dword [ebx + 0x4e20], xmm1
mov dword [ebx + 0x54d0], 0xffffffff
mov dword [ebx + 0x54cc], 0xffffffff
mov dword [ebx + 0x54c8], 0xffffffff
movups xmmword [ebx + 0x5218], xmm0
mov byte [ebx + 0x5208], 0
call fcn.0041ac70
cmp byte [ebx + 0x4053], 0
jne 0x4103c0
movss xmm0, dword [ebx + 0x58]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x4103c0
movsd xmm1, qword [ebx + 0x4038]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 4], xmm1
jmp 0x4103c8
movss xmm1, dword [0x657ba8]
mov ecx, dword [ebx + 0x408c]
xor edx, edx
mov edi, dword [ebx + 0x4094]
shl ecx, 2
lea eax, [ecx + edi]
shr ecx, 2
cmp edi, eax
cmova ecx, edx
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x410538
xor ebx, ebx
mov esi, dword [edi]
mov ax, word [esi + 0x102]
mov cl, byte [esi + 0xf3]
mov word [esi + 0x104], ax
xor eax, eax
mov byte [esi + 0xf4], cl
mov byte [esi + 0xf3], 0
mov byte [esi + 0xf5], 0
mov word [esi + 0x102], ax
test cl, cl
jne 0x410523
cmp byte [esi + 0x3b4], al
jne 0x410523
comiss xmm1, dword [esi + 0x28c]
jbe 0x410523
mov ecx, dword [esi + 0x2b8]
mov byte [esi + 0x3b4], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x3ac], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x3b0], eax
mov ecx, dword [esi + 0x134]
test ecx, ecx
je 0x410491
mov dword [esi + 0x130], 0
mov dword [esi + 0x12c], 0
call fcn.0040ee10
mov dword [esi + 0x134], 0
mov ecx, dword [esi + 0x2b8]
call fcn.00436080
mov ecx, dword [esi + 0x1d0]
test ecx, ecx
je 0x4104c9
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1c8], 0
call fcn.0040ee10
mov dword [esi + 0x1d0], 0
mov ecx, dword [esi + 0x1fc]
test ecx, ecx
je 0x4104f6
mov dword [esi + 0x1f8], 0
mov dword [esi + 0x1f4], 0
call fcn.0040ee10
mov dword [esi + 0x1fc], 0
mov ecx, dword [esi + 0x208]
test ecx, ecx
je 0x410523
mov dword [esi + 0x204], 0
mov dword [esi + 0x200], 0
call fcn.0040ee10
mov dword [esi + 0x208], 0
movss xmm1, dword [ebp - 4]
inc ebx
add edi, 4
cmp ebx, dword [ebp - 0x14]
jne 0x4103f1
mov ebx, dword [ebp - 0xc]
xor edi, edi
mov dword [ebp - 8], edi
cmp dword [ebx + 0x4f0c], edi
jle 0x410650
xor ecx, ecx
xorps xmm1, xmm1
mov dword [ebp - 0x10], ecx
mov eax, dword [ebx + 0x4f14]
movss xmm0, dword [eax + edi*4]
comiss xmm0, xmm1
jb 0x410637
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x410637
mov esi, dword [ebx + 0x4ef4]
mov eax, dword [0x67dc18]
add esi, ecx
mov dword [ebp - 0x14], eax
mov dword [esi + 0x1a8], 0
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x4105ba
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x19c], 0
call fcn.0040ee10
mov dword [esi + 0x1a4], 0
mov byte [esi + 0x1ed], 1
mov ecx, dword [esi + 0x164]
test ecx, ecx
je 0x4105ee
mov dword [esi + 0x160], 0
mov dword [esi + 0x15c], 0
call fcn.0040ee10
mov dword [esi + 0x164], 0
xor edx, edx
mov byte [esi + 0x1fc], 1
cmp dword [esi + 0x40], edx
jle 0x410618
xor ecx, ecx
or edi, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x74]
inc edx
mov word [ecx + eax - 0x20], di
cmp edx, dword [esi + 0x40]
jl 0x410601
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
xorps xmm1, xmm1
mov ecx, dword [ebp - 0x10]
sub esi, dword [eax + 0x4ef4]
mov eax, dword [eax + 0x4f14]
sar esi, 9
mov dword [eax + esi*4], 0xbf800000
inc edi
add ecx, 0x200
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ecx
cmp edi, dword [ebx + 0x4f0c]
jl 0x410551
mov eax, dword [ebx + 0x4ee0]
mov ecx, eax
mov esi, dword [ebx + 0x4ee8]
shl ecx, 4
sub ecx, eax
lea edi, [esi + ecx*8]
cmp esi, edi
je 0x41069d
xorps xmm1, xmm1
nop dword [eax]
movss xmm0, dword [esi + 4]
comiss xmm0, xmm1
jb 0x410696
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x410696
lea ecx, [esi + 0x20]
call fcn.00438510
mov dword [esi + 4], 0xbf800000
xorps xmm1, xmm1
add esi, 0x78
cmp esi, edi
jne 0x410670
cmp byte [ebx + 0x4053], 0
je 0x4106ab
call fcn.0040e2a0
mov eax, dword [ebx + 0x4c28]
mov byte [ebx + 0x4053], 0
test eax, eax
je 0x410712
cmp byte [eax + 0xf4], 0
jne 0x410712
mov eax, dword [0x67dc18]
mov edx, dword [eax + 0x4098]
sub edx, 1
js 0x410706
mov eax, dword [eax + 0x40a0]
lea esi, [eax + edx*4]
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x4106fe
cmp byte [ecx + 0xf4], 0
je 0x4106fe
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x410708
sub esi, 4
sub edx, 1
jns 0x4106e0
xor ecx, ecx
mov edx, 1
call fcn.004187f0
mov ecx, dword [ebx + 0x40b4]
test ecx, ecx
jns 0x41076d
mov eax, ecx
xor esi, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x41076d
imul ecx, esi, 0x68
call fcn.0040ed70
mov edi, eax
mov eax, dword [ebx + 0x40b8]
test eax, eax
je 0x410761
imul ecx, dword [ebx + 0x40b0], 0x68
push ecx
push eax
push edi
call fcn.004867d0
mov ecx, dword [ebx + 0x40b8]
add esp, 0xc
call fcn.0040ee10
mov dword [ebx + 0x40b8], edi
mov dword [ebx + 0x40b4], esi
mov dword [ebx + 0x40b0], 0
mov ecx, dword [ebx + 0x4bb4]
test ecx, ecx
jns 0x4107da
mov eax, ecx
xor esi, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x4107da
lea ecx, [esi + esi*4]
shl ecx, 3
call fcn.0040ed70
mov edi, eax
mov eax, dword [ebx + 0x4bb8]
test eax, eax
je 0x4107ce
mov ecx, dword [ebx + 0x4bb0]
lea ecx, [ecx + ecx*4]
shl ecx, 3
push ecx
push eax
push edi
call fcn.004867d0
mov ecx, dword [ebx + 0x4bb8]
add esp, 0xc
call fcn.0040ee10
mov dword [ebx + 0x4bb8], edi
mov dword [ebx + 0x4bb4], esi
mov dword [ebx + 0x4bb0], 0
mov ecx, dword [ebx + 0x4b90]
mov eax, ecx
mov edi, ecx
test ecx, ecx
jns 0x41084d
cdq
xor esi, esi
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
mov eax, ecx
cmp esi, ecx
jle 0x41084d
lea ecx, [esi*4]
call fcn.0040ed70
mov edi, eax
mov eax, dword [ebx + 0x4b94]
test eax, eax
je 0x41083d
mov ecx, dword [ebx + 0x4b8c]
shl ecx, 2
push ecx
push eax
push edi
call fcn.004867d0
mov ecx, dword [ebx + 0x4b94]
add esp, 0xc
call fcn.0040ee10
mov dword [ebx + 0x4b94], edi
mov eax, esi
mov dword [ebx + 0x4b90], esi
mov edi, esi
xor ecx, ecx
mov dword [ebx + 0x4b8c], 0
test eax, eax
jne 0x4108ca
test edi, edi
je 0x41086c
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x410871
mov eax, 8
mov esi, 1
cmp eax, esi
cmovg esi, eax
xor ecx, ecx
cmp esi, edi
jle 0x4108ca
lea ecx, [esi*4]
call fcn.0040ed70
mov edi, eax
mov eax, dword [ebx + 0x4b94]
test eax, eax
je 0x4108b8
mov ecx, dword [ebx + 0x4b8c]
shl ecx, 2
push ecx
push eax
push edi
call fcn.004867d0
mov ecx, dword [ebx + 0x4b94]
add esp, 0xc
call fcn.0040ee10
mov ecx, dword [ebx + 0x4b8c]
mov dword [ebx + 0x4b94], edi
mov dword [ebx + 0x4b90], esi
mov eax, dword [ebx + 0x4b94]
mov dword [eax + ecx*4], 0x10
inc dword [ebx + 0x4b8c]
mov ecx, dword [ebx + 0x4b8c]
mov eax, dword [ebx + 0x4b94]
push ecx
mov eax, dword [eax + ecx*4 - 4]
lea ecx, [ebx + 0x4b98]
mov dword [ebx + 0x4a30], eax
call fcn.0042dc60
test byte [ebx + 8], 0x80
je 0x410a2b
mov eax, dword [ebx + 0x40e0]
mov dword [ebx + 0x53c8], 0
test eax, eax
je 0x410953
mov ecx, dword [eax + 0x3dc]
test ecx, ecx
je 0x41093d
push dword [ebx + 0xb8]
push dword [ebx + 0xb4]
call fcn.0042b050
add esp, 8
jmp 0x41094d
mov eax, dword [eax + 0x354]
mov eax, dword [eax + 0x3d8]
test eax, eax
je 0x410953
mov dword [ebx + 0x53c8], eax
mov eax, dword [ebx + 0x5238]
mov esi, dword [ebx + 0x5240]
lea eax, [eax + eax*8]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x410985
nop dword [eax]
cmp dword [esi], 1
jne 0x41097e
mov edx, esi
mov ecx, ebx
call fcn.00425970
add esi, 0x24
cmp esi, edi
jne 0x410970
mov ecx, dword [ebx + 0x523c]
test ecx, ecx
jns 0x4109e8
mov eax, ecx
xor esi, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x4109e8
lea ecx, [esi + esi*8]
shl ecx, 2
call fcn.0040ed70
mov edi, eax
mov eax, dword [ebx + 0x5240]
test eax, eax
je 0x4109dc
mov ecx, dword [ebx + 0x5238]
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
push eax
push edi
call fcn.004867d0
mov ecx, dword [ebx + 0x5240]
add esp, 0xc
call fcn.0040ee10
mov dword [ebx + 0x5240], edi
mov dword [ebx + 0x523c], esi
xor esi, esi
mov dword [ebx + 0x5238], 0
cmp dword [ebx + 0x522c], esi
jle 0x410a2b
nop dword [eax]
mov eax, dword [ebx + 0x5234]
mov ecx, dword [eax + esi*8 + 4]
test ecx, ecx
je 0x410a22
cmp dword [ecx + 0x18], 0
jne 0x410a22
test dword [ecx + 0x10], 0x400
jne 0x410a22
call fcn.00426cb0
inc esi
cmp esi, dword [ebx + 0x522c]
jl 0x410a00
mov esi, dword [0x67dc18]
cmp byte [esi + 0x5335], 0
mov dword [esi + 0x5338], 0
je 0x410bd4
mov edi, dword [esi + 0x4120]
mov edx, 1
push 0
mov ecx, 0x20e
mov dword [ebp - 0x14], edi
mov dword [esi + 0x500c], 7
call fcn.00419da0
add esp, 4
test al, al
je 0x410a7a
mov byte [esi + 0x5335], 0
mov eax, dword [esi + 0xd8]
xorps xmm1, xmm1
mov dword [ebp - 4], eax
cmp eax, 0x3000
je 0x410adf
movzx ecx, byte [esi + 0x5336]
cmp byte [ecx + esi + 0xbc], 0
je 0x410adf
movss xmm0, dword [esi + ecx*4 + 0x2b08]
comiss xmm1, xmm0
ja 0x410adf
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x410adc
add ecx, 0x28f
xor edx, edx
call fcn.0041bc30
test al, al
mov eax, dword [ebp - 4]
je 0x410adf
test edi, edi
je 0x410adf
mov dword [esi + 0x5338], edi
mov byte [esi + 0x5335], 0
jmp 0x410adf
mov eax, dword [ebp - 4]
xor ebx, ebx
mov edi, 0x2b08
cmp eax, 0x3000
jne 0x410b29
cmp byte [esi + ebx + 0xbc], 0
je 0x410b29
movss xmm0, dword [esi + edi]
comiss xmm1, xmm0
ja 0x410b29
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x410b26
lea ecx, [ebx + 0x28f]
xor edx, edx
call fcn.0041bc30
test al, al
mov eax, dword [ebp - 4]
je 0x410b29
mov byte [esi + 0x5336], bl
jmp 0x410b29
mov eax, dword [ebp - 4]
add edi, 4
inc ebx
cmp edi, 0x2b14
jl 0x410ae6
or dword [esi + 0x4ac0], 0x40
xor edx, edx
xor ecx, ecx
mov dword [esi + 0x4b1c], 0x3f333333
call fcn.0041caf0
mov ebx, dword [ebp - 0xc]
test al, al
je 0x410bd4
mov edi, dword [ebp - 0x14]
push edi
push str.HoveredId:_0x_08X
call fcn.0043eae0
push str.Press_ESC_to_abort_picking.
call fcn.0043eae0
add esp, 0xc
mov dword [ebp - 0x20], str.Left
cmp dword [ebp - 4], 0x3000
mov dword [ebp - 0x1c], str.Right
mov dword [ebp - 0x18], str.Middle
jne 0x410b9e
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.0043eae0
add esp, 4
jmp 0x410bcf
movzx eax, byte [esi + 0x5336]
xor ecx, ecx
test edi, edi
push dword [ebp + eax*4 - 0x20]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x67dc18]
add eax, 0x3a64
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.0043eb30
add esp, 0xc
call fcn.004184d0
call fcn.0042d090
mov edx, dword [0x67dc18]
xorps xmm1, xmm1
movss xmm0, dword [edx + 0x533c]
comiss xmm1, xmm0
jae 0x410ca5
mulss xmm0, dword [0x657b3c]
lea eax, [edx + 0x3a6c]
mov ecx, dword [edx + 0x4b58]
shl ecx, 4
add eax, ecx
cvtps2pd xmm0, xmm0
push eax
lea esi, [ecx + edx]
lea edi, [ecx + edx]
call fcn.005f8460
movss xmm1, dword [0x657ab4]
lea edx, [esi + 0x3a68]
cvtsd2ss xmm0, xmm0
lea ecx, [edi + 0x3a64]
movaps xmm2, xmm1
mulss xmm0, xmm1
addss xmm0, xmm1
call fcn.0040b400
mov edx, dword [0x67dc18]
xorps xmm1, xmm1
add esp, 4
mov eax, dword [edx + 0x4b58]
add eax, 0x3a7
shl eax, 4
mov dword [eax + edx], 0x3f800000
movss xmm0, dword [edx + 0x533c]
subss xmm0, dword [edx + 0x18]
comiss xmm1, xmm0
movss dword [edx + 0x533c], xmm0
jb 0x410ca5
mov eax, dword [edx + 0x4b58]
cmp eax, 0x3a
je 0x410c9b
movups xmm0, xmmword [edx + 0x5340]
shl eax, 4
movups xmmword [eax + edx + 0x3a64], xmm0
mov dword [edx + 0x4b58], 0x3a
mov al, byte [ebx + 0x532d]
test al, al
je 0x410cca
sub al, 1
mov byte [ebx + 0x532d], al
jne 0x410cca
mov dword [ebx + 0x4a34], 0
mov byte [ebx + 0x532e], 0
mov al, byte [ebx + 0x532c]
test al, al
je 0x410d03
sub al, 1
mov byte [ebx + 0x532c], al
jne 0x410d03
push str._Debug_Log:_Auto_disabled_some_ImGuiDebugLogFlags_after_2_frames__n
call fcn.0042cd00
mov eax, dword [ebx + 0x5328]
add esp, 4
not eax
mov dword [ebx + 0x5328], 0
and dword [ebx + 0x5308], eax
mov eax, dword [0x67dc18]
mov ecx, str.DebugDefault
mov byte [ebx + 0x4051], 1
push 0
or dword [eax + 0x4ac0], 2
mov dword [eax + 0x4ae4], 0x43c80000
mov dword [eax + 0x4ae8], 0x43c80000
mov dword [eax + 0x4ac8], 4
call fcn.00415900
add esp, 4
cmp byte [ebx + 0x73], 0
je 0x410d7e
mov cl, byte [ebx + 0x5334]
cmp cl, 0xff
jne 0x410d58
xor edx, edx
jmp 0x410d81
mov eax, dword [ebx + 0x4040]
and eax, 0x80000003
jns 0x410d6a
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 0x410d81
or dl, 0xff
mov byte [ebx + 0x5334], dl
mov eax, dword [ebx + 0x5290]
mov esi, dword [ebx + 0x5298]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x410db7
nop dword [eax]
cmp dword [esi + 4], 1
jne 0x410db0
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x410da0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret