Function at 0x416670
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [0x450100]
mov dword [ebp - 0xc], edi
mov eax, dword [edi + 0x5dfc]
sub eax, 1
mov dword [ebp - 8], eax
js 0x4166fe
lea ebx, [eax + eax*4]
shl ebx, 2
nop word [eax + eax]
mov ecx, dword [edi + 0x5e04]
cmp dword [ecx + ebx + 4], 7
jne 0x4166f3
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 + 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 [ebp - 8]
add esp, 0xc
dec dword [edi + 0x5dfc]
dec eax
sub ebx, 0x14
mov dword [ebp - 8], eax
test eax, eax
jns 0x4166a0
mov eax, dword [edi + 0x5dfc]
mov esi, dword [edi + 0x5e04]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x41672b
cmp dword [esi + 4], 0
jne 0x416724
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x416714
mov eax, dword [0x450100]
cmp byte [eax + 0x4a], 0
je 0x416740
test byte [eax + 0xc], 2
jne 0x416740
mov byte [eax + 0x4a], 0
mov esi, dword [0x450100]
cmp byte [esi + 0x5dc4], 0
jne 0x416839
mov eax, dword [esi + 0x20]
test eax, eax
je 0x416832
push 0x438fc4
push eax
call fcn.00410940
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x416832
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x416828
push 2
push 0
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x416828
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x416828
push 0
push dword [ebp - 8]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x416828
push dword [ebp - 4]
call fcn.00412af0
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x416828
push ebx
push dword [ebp - 4]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push ebx
cmp eax, dword [ebp - 4]
je 0x416803
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ebx, dword [ebp - 8]
push ebx
call fcn.00412b80
add esp, 8
jmp 0x416832
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [ebp - 4]
add esp, 4
mov ebx, dword [ebp - 8]
test eax, eax
je 0x416820
push eax
push ebx
call fcn.004125d0
add esp, 8
push ebx
call fcn.00412b80
jmp 0x41682f
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov byte [esi + 0x5dc4], 1
movss xmm1, dword [esi + 0x5dc8]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x41687e
subss xmm1, dword [esi + 0x18]
comiss xmm0, xmm1
movss dword [esi + 0x5dc8], xmm1
jb 0x41687e
mov eax, dword [esi + 0x20]
test eax, eax
je 0x41686d
push eax
call fcn.00419f90
add esp, 4
jmp 0x416874
mov byte [esi + 0x96], 1
mov dword [esi + 0x5dc8], 0
movss xmm0, dword [edi + 0x18]
lea ecx, [edi + 0x5d38]
inc dword [edi + 0x3f10]
xor eax, eax
cvtps2pd xmm0, xmm0
push eax
mov byte [edi + 0x3f1c], 1
mov word [edi + 0x5d28], ax
mov dword [edi + 0x3f84], eax
addsd xmm0, qword [edi + 0x3f08]
movsd qword [edi + 0x3f08], xmm0
call fcn.0041fca0
mov eax, dword [edi + 0x6010]
mov ecx, 0x3c
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [edi + eax*4 + 0x5f20]
addss xmm0, dword [edi + 0x6018]
movss dword [edi + 0x6018], xmm0
movss dword [edi + eax*4 + 0x5f20], xmm1
mov eax, dword [edi + 0x6010]
inc eax
movss xmm1, dword [edi + 0x6018]
cdq
idiv ecx
mov eax, dword [edi + 0x6014]
movss xmm0, dword [0x4391f4]
inc eax
cmp eax, ecx
mov dword [edi + 0x6010], edx
movss dword [ebp - 4], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x43913c]
mov dword [edi + 0x6014], ecx
jbe 0x41694a
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x4391a0]
divss xmm0, xmm1
movss dword [edi + 0x9c], xmm0
mov ecx, dword [edi + 0x3f38]
test ecx, ecx
jns 0x416978
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 + 0x3f34]
call fcn.0041fb40
mov dword [edi + 0x3f34], 0
movzx eax, byte [edi + 0x46]
push eax
call fcn.0041c490
mov esi, dword [0x450100]
add esp, 4
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 ebx, dword [esi + 0x4a40]
mov eax, dword [esi + 0x4a38]
lea esi, [ebx + eax*4]
cmp ebx, esi
je 0x416a9f
mov edx, dword [ebx]
add ebx, 4
mov eax, dword [edx + 0x98]
mov ecx, dword [edx + 0x9c]
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 xmm0, dword [edx + 0x8c]
movss xmm2, dword [edx + 0x88]
movaps xmm1, xmm2
addss xmm0, dword [edx + 0xc]
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 ebx, esi
jne 0x4169d5
mov eax, dword [edi + 0x2c]
movss xmm7, dword [ebp - 4]
movss xmm4, dword [0x439200]
movaps xmm6, xmm7
movaps xmm5, xmm4
mov byte [eax + 0x10], 1
mov esi, dword [0x450100]
mov ecx, dword [esi + 0x4a40]
mov eax, dword [esi + 0x4a38]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x416b15
mov eax, dword [ecx]
movss xmm3, dword [eax + 8]
comiss xmm7, xmm3
movss xmm2, dword [eax + 0xc]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x14]
jbe 0x416af6
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x416afe
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x416b06
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x416b0e
movaps xmm5, xmm1
add ecx, 4
cmp ecx, edx
jne 0x416ad2
mov eax, dword [esi + 0x398c]
movss dword [ebp - 0x1c], xmm7
movss dword [ebp - 0x18], xmm6
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0x10], xmm5
movups xmm0, xmmword [ebp - 0x1c]
push ecx
lea ecx, [esi + 0x3d04]
mov dword [esi + 0x3d14], eax
movups xmmword [esi + 0x3d1c], xmm0
movss xmm0, dword [esi + 0x3990]
movss dword [esp], xmm0
call fcn.00426900
xor edx, edx
mov dword [esi + 0x3d2c], 0
cmp byte [esi + 0x3988], dl
je 0x416b7c
mov dword [esi + 0x3d2c], 1
mov edx, 1
cmp byte [esi + 0x3989], 0
mov ecx, edx
je 0x416b98
mov eax, dword [esi + 0x2c]
test byte [eax], 4
jne 0x416b98
or ecx, 2
mov dword [esi + 0x3d2c], ecx
cmp byte [esi + 0x398a], 0
je 0x416baa
or ecx, 4
mov dword [esi + 0x3d2c], ecx
test byte [esi + 0xc], 8
je 0x416bb9
or ecx, 8
mov dword [esi + 0x3d2c], ecx
mov esi, dword [0x450100]
mov ebx, dword [esi + 0x38]
test ebx, ebx
jne 0x416bce
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
movss xmm1, dword [esi + 0x30]
movss xmm0, dword [0x4391a0]
mov ecx, dword [esi + 0x3f94]
mov dword [esi + 0x3cf8], ebx
mulss xmm1, dword [ebx + 0x10]
mulss xmm1, dword [ebx + 0x4c]
maxss xmm0, xmm1
movss dword [esi + 0x3d00], xmm0
test ecx, ecx
je 0x416c27
mov eax, dword [ecx]
movss xmm0, dword [ecx + 0x268]
mulss xmm0, dword [eax + 0x3d00]
mov eax, dword [ecx + 0x304]
test eax, eax
je 0x416c2a
mulss xmm0, dword [eax + 0x268]
jmp 0x416c2a
xorps xmm0, xmm0
movss dword [esi + 0x3cfc], xmm0
mov edx, dword [ebx + 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], ebx
movss dword [esi + 0x3d10], xmm0
mov ecx, dword [edi + 0x4a40]
mov eax, dword [edi + 0x4a38]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x416c7e
mov eax, dword [ecx]
add ecx, 4
mov byte [eax + 0x3c], 0
cmp ecx, edx
jne 0x416c71
cmp byte [edi + 0x4c38], 0
je 0x416cb8
mov eax, dword [edi + 0x4c50]
cmp eax, dword [edi + 0x3fe4]
jne 0x416cb8
mov ecx, dword [0x450100]
cmp dword [ecx + 0x3fe4], eax
jne 0x416ca9
mov dword [ecx + 0x3fe8], eax
cmp dword [ecx + 0x400c], eax
jne 0x416cb8
mov byte [ecx + 0x4010], 1
cmp dword [edi + 0x3fd4], 0
jne 0x416ccd
mov dword [edi + 0x3fdc], 0
jmp 0x416cdf
mov eax, dword [edi + 0x3fd0]
test eax, eax
je 0x416ce9
cmp dword [edi + 0x3fe4], eax
jne 0x416ce9
mov dword [edi + 0x3fe0], 0
mov eax, dword [edi + 0x3fd0]
test eax, eax
je 0x416d23
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3fdc]
movss dword [edi + 0x3fdc], xmm0
cmp dword [edi + 0x3fe4], eax
je 0x416d23
addss xmm1, dword [edi + 0x3fe0]
movss dword [edi + 0x3fe0], xmm1
mov dword [edi + 0x3fd4], eax
mov eax, dword [edi + 0x3fe4]
mov dword [edi + 0x3fd0], 0
mov word [edi + 0x3fd8], 0
test eax, eax
je 0x416d78
cmp dword [edi + 0x3fe8], eax
je 0x416d78
cmp dword [edi + 0x400c], eax
jne 0x416d78
test byte [edi + 0x5e60], 1
je 0x416d6c
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.0040e430
add esp, 4
push 0
push 0
call fcn.0041a480
add esp, 8
mov ecx, dword [edi + 0x3fe4]
test ecx, ecx
je 0x416d97
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3fec]
movss dword [edi + 0x3fec], xmm0
mov eax, dword [edi + 0x4004]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x401c]
mov dword [edi + 0x4014], eax
mov al, byte [edi + 0x3ff4]
mov byte [edi + 0x4011], al
mov eax, dword [edi + 0x5c90]
movss dword [edi + 0x401c], xmm0
mov dword [edi + 0x400c], ecx
mov dword [edi + 0x3fe8], 0
mov byte [edi + 0x3ff5], 0
mov byte [edi + 0x4010], 0
mov byte [edi + 0x3ff0], 0
test eax, eax
je 0x416e01
cmp ecx, eax
je 0x416e01
mov dword [edi + 0x5c90], 0
test ecx, ecx
jne 0x416e1f
mov dword [edi + 0x48dc], ecx
mov dword [edi + 0x48d0], ecx
mov byte [edi + 0x48d4], cl
mov dword [edi + 0x48dc], ecx
jmp 0x416e4e
mov eax, dword [edi + 0x48dc]
test eax, eax
je 0x416e4e
test al, 2
je 0x416e4e
mov ecx, dword [0x450100]
mov eax, dword [edi + 0x3fe4]
mov dword [ecx + 0x40f8], eax
mov dword [ecx + 0x40f4], eax
mov word [ecx + 0x40fc], 0
mov ecx, dword [edi + 0x4d74]
test ecx, ecx
je 0x416e71
movss xmm0, dword [edi + 0x4d90]
comiss xmm0, dword [edi + 0x3ce4]
jb 0x416e7b
mov dword [edi + 0x4d84], ecx
jmp 0x416e7b
mov dword [edi + 0x4d84], 0
mov eax, dword [edi + 0x3f98]
test eax, eax
je 0x416ea1
movss xmm0, dword [edi + 0x4d90]
comiss xmm0, dword [edi + 0x3ce4]
jb 0x416eab
mov eax, dword [eax + 8]
mov dword [edi + 0x4d88], eax
jmp 0x416eab
mov dword [edi + 0x4d88], 0
movss xmm0, dword [edi + 0x4d7c]
mov dword [edi + 0x4d78], ecx
test ecx, ecx
je 0x416ed6
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4d74], 0
movss dword [edi + 0x4d7c], xmm0
jmp 0x416f16
comiss xmm0, dword [0x43913c]
jbe 0x416f20
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x439168]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4d80]
addss xmm1, xmm1
movss dword [edi + 0x4d80], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x416f20
mov dword [edi + 0x4d7c], 0
mov dword [edi + 0x4d80], 0
mov eax, dword [edi + 0x4cac]
mov dword [edi + 0x4cb0], eax
mov dword [edi + 0x4cac], 0
mov dword [edi + 0x4ca8], 0x7f7fffff
mov word [edi + 0x4c39], 0
mov dword [edi + 0x4cb8], 0
call fcn.0041cce0
call fcn.00413fb0
call fcn.0041d290
call fcn.0041c220
mov esi, dword [0x450100]
mov ecx, dword [esi + 0x3fa0]
test ecx, ecx
je 0x417025
mov eax, dword [esi + 0x3fe4]
mov dword [esi + 0x3fe8], eax
cmp dword [esi + 0x400c], eax
jne 0x416f96
mov byte [esi + 0x4010], 1
cmp byte [esi + 0xc4], 0
mov edx, dword [ecx + 0x30c]
je 0x417019
lea ecx, [esi + 0xbc]
test ecx, ecx
je 0x416fb3
mov eax, ecx
jmp 0x416fbd
mov eax, dword [0x450100]
add eax, 0xbc
movss xmm0, dword [eax]
movss xmm1, dword [0x4391fc]
comiss xmm0, xmm1
movss xmm2, dword [eax + 4]
jb 0x417019
comiss xmm2, xmm1
jb 0x417019
movss xmm0, dword [ecx]
lea eax, [ebp - 0x14]
subss xmm0, dword [esi + 0x3ffc]
push 1
push eax
push edx
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ecx + 4]
subss xmm0, dword [esi + 0x4000]
movss dword [ebp - 0x10], xmm0
call fcn.0041b300
push 0
push dword [esi + 0x3fa0]
call fcn.0040fb40
add esp, 0x14
jmp 0x417064
mov dword [esi + 0x3fa0], 0
jmp 0x417058
mov ecx, dword [esi + 0x4004]
test ecx, ecx
je 0x417064
mov eax, dword [esi + 0x3fe4]
cmp dword [ecx + 0x74], eax
jne 0x417064
mov dword [esi + 0x3fe8], eax
cmp dword [esi + 0x400c], eax
jne 0x41704f
mov byte [esi + 0x4010], 1
cmp byte [esi + 0xc4], 0
jne 0x417064
push 0
push 0
call fcn.0041a480
add esp, 8
mov eax, dword [0x450100]
movss xmm2, dword [0x4391c0]
mov edx, dword [eax + 0x4a14]
sub edx, 1
js 0x4170a7
mov eax, dword [eax + 0x4a1c]
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 0x41709f
test dword [ecx + 0xc], 0x8000000
jne 0x4170c0
sub eax, 0x28
sub edx, 1
jns 0x417090
cmp dword [edi + 0x4c08], 0
je 0x4170db
movss xmm0, dword [edi + 0x4c18]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x4170db
movss xmm1, dword [edi + 0x18]
mulss xmm1, xmm2
addss xmm1, dword [edi + 0x4c34]
minss xmm1, dword [0x4391a0]
jmp 0x4170fc
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x4391c8]
movss xmm1, dword [edi + 0x4c34]
subss xmm1, xmm0
maxss xmm1, dword [0x43913c]
movss dword [edi + 0x4c34], xmm1
movups xmm0, xmmword [edi + 0x5da4]
mov dword [edi + 0x4d8c], 0
mov dword [edi + 0x6024], 0xffffffff
mov dword [edi + 0x6020], 0xffffffff
mov dword [edi + 0x601c], 0xffffffff
movups xmmword [edi + 0x5db4], xmm0
mov byte [edi + 0x5da4], 0
call fcn.0041d880
cmp byte [edi + 0x3f1f], 0
jne 0x417173
movss xmm1, dword [edi + 0x4c]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x417173
movsd xmm0, qword [edi + 0x3f08]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [ebp - 4], xmm0
jmp 0x417178
movss xmm0, dword [ebp - 4]
mov ebx, dword [edi + 0x3f50]
mov eax, dword [edi + 0x3f48]
lea eax, [ebx + eax*4]
cmp ebx, eax
je 0x4172e6
mov edi, eax
mov esi, dword [ebx]
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 0x4172d3
cmp byte [esi + 0x368], al
jne 0x4172d3
comiss xmm0, dword [esi + 0x248]
jbe 0x4172d3
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]
mov dword [esi + 0x364], eax
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x417235
push eax
mov dword [esi + 0xf0], 0
mov dword [esi + 0xec], 0
call fcn.00412b80
add esp, 4
mov dword [esi + 0xf4], 0
mov ecx, dword [esi + 0x270]
call fcn.00427100
mov eax, dword [esi + 0x190]
test eax, eax
je 0x417271
push eax
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
call fcn.00412b80
add esp, 4
mov dword [esi + 0x190], 0
mov eax, dword [esi + 0x1bc]
test eax, eax
je 0x4172a2
push eax
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1b4], 0
call fcn.00412b80
add esp, 4
mov dword [esi + 0x1bc], 0
mov eax, dword [esi + 0x1c8]
test eax, eax
je 0x4172d3
push eax
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c0], 0
call fcn.00412b80
add esp, 4
mov dword [esi + 0x1c8], 0
movss xmm0, dword [ebp - 4]
add ebx, 4
cmp ebx, edi
jne 0x417191
mov edi, dword [ebp - 0xc]
xor esi, esi
cmp dword [edi + 0x4d20], esi
jle 0x41733d
xor ebx, ebx
xorps xmm0, xmm0
nop word [eax + eax]
mov eax, dword [edi + 0x4d28]
movss xmm1, dword [eax + esi*4]
comiss xmm1, xmm0
jb 0x41732e
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm1
jbe 0x41732e
mov eax, dword [edi + 0x4d08]
add eax, ebx
push eax
call fcn.0042f6a0
add esp, 4
xorps xmm0, xmm0
inc esi
add ebx, 0x200
cmp esi, dword [edi + 0x4d20]
jl 0x417300
mov eax, dword [edi + 0x4cf4]
mov ecx, eax
mov esi, dword [edi + 0x4cfc]
shl ecx, 4
sub ecx, eax
lea ebx, [esi + ecx*8]
cmp esi, ebx
je 0x417387
xorps xmm0, xmm0
nop word [eax + eax]
movss xmm1, dword [esi + 4]
comiss xmm1, xmm0
jb 0x417380
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm1
jbe 0x417380
push esi
call fcn.0042f770
add esp, 4
xorps xmm0, xmm0
add esi, 0x78
cmp esi, ebx
jne 0x417360
cmp byte [edi + 0x3f1f], 0
je 0x417401
mov esi, dword [0x450100]
mov eax, dword [esi + 0x4a04]
test eax, eax
je 0x4173cb
push eax
mov dword [esi + 0x4a00], 0
mov dword [esi + 0x49fc], 0
call fcn.00412b80
add esp, 4
mov dword [esi + 0x4a04], 0
mov eax, dword [esi + 0x4a10]
test eax, eax
je 0x4173fc
push eax
mov dword [esi + 0x4a0c], 0
mov dword [esi + 0x4a08], 0
call fcn.00412b80
add esp, 4
mov dword [esi + 0x4a10], 0
call fcn.0042f4c0
mov eax, dword [edi + 0x4a44]
mov byte [edi + 0x3f1f], 0
test eax, eax
je 0x41746a
cmp byte [eax + 0xaf], 0
jne 0x41746a
mov eax, dword [0x450100]
mov edx, dword [eax + 0x3f54]
sub edx, 1
js 0x41745e
mov eax, dword [eax + 0x3f5c]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x417456
cmp byte [ecx + 0xaf], 0
je 0x417456
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x417627
sub esi, 4
sub edx, 1
jns 0x417434
push 1
push 0
call fcn.0040fb40
add esp, 8
mov ecx, dword [edi + 0x3f70]
test ecx, ecx
jns 0x4174c9
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 0x4174c9
imul eax, esi, 0x64
push eax
call fcn.00412af0
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0x3f74]
test eax, eax
je 0x4174bd
imul ecx, dword [edi + 0x3f6c], 0x64
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
push dword [edi + 0x3f74]
call fcn.00412b80
add esp, 0x10
mov dword [edi + 0x3f74], ebx
mov dword [edi + 0x3f70], esi
push 0
lea ecx, [edi + 0x4a20]
mov dword [edi + 0x3f6c], 0
call fcn.0041fdb0
mov ecx, dword [edi + 0x4a00]
lea esi, [edi + 0x49fc]
test ecx, ecx
jns 0x41753f
mov eax, ecx
xor ebx, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jle 0x41753f
lea eax, [ebx*4]
push eax
call fcn.00412af0
mov edx, dword [esi + 8]
add esp, 4
mov dword [ebp - 8], eax
test edx, edx
je 0x417539
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 8]
call fcn.00412b80
mov eax, dword [ebp - 8]
add esp, 0x10
mov dword [esi + 8], eax
mov dword [esi + 4], ebx
lea eax, [ebp - 8]
mov dword [esi], 0
push eax
mov ecx, esi
mov dword [ebp - 8], 0
call fcn.0041f660
push 0
lea ecx, [edi + 0x4a08]
call fcn.0041fd20
mov ebx, dword [0x450100]
mov dword [ebp - 8], ebx
cmp byte [ebx + 0x5e8d], 0
mov dword [ebx + 0x5e90], 0
je 0x417749
mov eax, dword [0x450100]
mov esi, dword [ebx + 0x3fd4]
push 1
push 0
push 0x20e
mov dword [ebp - 0x10], esi
mov dword [eax + 0x4d8c], 7
call fcn.00411a60
add esp, 0xc
test al, al
je 0x4175b8
mov byte [ebx + 0x5e8d], 0
mov eax, dword [ebx + 0xdc]
xorps xmm0, xmm0
mov dword [ebp - 4], eax
cmp eax, 0x3000
je 0x417632
movzx ecx, byte [ebx + 0x5e8e]
mov edx, dword [0x450100]
cmp byte [edx + ecx + 0xc4], 0
je 0x417632
movss xmm1, dword [edx + ecx*4 + 0x2b10]
comiss xmm0, xmm1
ja 0x417632
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x41762f
lea eax, [ecx + 0x28f]
push 0
push eax
call fcn.0041bf40
add esp, 8
xorps xmm0, xmm0
test al, al
je 0x41762f
mov eax, dword [ebp - 4]
test esi, esi
je 0x417632
mov dword [ebx + 0x5e90], esi
mov byte [ebx + 0x5e8d], 0
jmp 0x417632
push 1
push ecx
jmp 0x417462
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
xor ebx, ebx
mov esi, 0x2b10
nop dword [eax]
cmp eax, 0x3000
jne 0x41768c
mov eax, dword [0x450100]
cmp byte [eax + ebx + 0xc4], 0
je 0x417689
movss xmm1, dword [eax + esi]
comiss xmm0, xmm1
ja 0x417689
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x417689
lea eax, [ebx + 0x28f]
push 0
push eax
call fcn.0041bf40
add esp, 8
test al, al
mov eax, dword [ebp - 4]
je 0x41768c
mov byte [edi + 0x5e8e], bl
jmp 0x41768c
mov eax, dword [ebp - 4]
add esi, 4
inc ebx
xorps xmm0, xmm0
cmp esi, 0x2b1c
jl 0x417640
mov eax, dword [0x450100]
push 0
push 0
or dword [eax + 0x495c], 0x40
mov dword [eax + 0x49b4], 0x3f333333
call fcn.0040c7d0
mov edi, dword [ebp - 0xc]
add esp, 8
test al, al
je 0x417749
mov esi, dword [ebp - 0x10]
push esi
push str.HoveredId:_0x_08X
call fcn.00431b90
push str.Press_ESC_to_abort_picking.
call fcn.00431b90
add esp, 0xc
mov dword [ebp - 0x18], str.Left
cmp dword [ebp - 4], 0x3000
mov dword [ebp - 0x14], str.Right
mov dword [ebp - 0x10], str.Middle
jne 0x417710
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.00431b90
add esp, 4
jmp 0x417744
mov eax, dword [ebp - 8]
xor ecx, ecx
test esi, esi
movzx eax, byte [eax + 0x5e8e]
push dword [ebp + eax*4 - 0x18]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x450100]
add eax, 0x3994
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.00431bf0
add esp, 0xc
call fcn.0040e860
call fcn.0041c0d0
mov esi, dword [0x450100]
xorps xmm0, xmm0
movss xmm1, dword [esi + 0x5e94]
comiss xmm0, xmm1
jae 0x41782c
mov ecx, dword [esi + 0x49c8]
lea eax, [esi + 0x399c]
mulss xmm1, dword [0x4391c0]
shl ecx, 4
add eax, ecx
push eax
lea eax, [esi + 0x3998]
add eax, ecx
push eax
lea eax, [esi + 0x3994]
add eax, ecx
push eax
sub esp, 8
cvtps2pd xmm0, xmm1
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0x3f000000
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
push ecx
mulss xmm0, dword [0x439178]
addss xmm0, dword [0x439178]
movss dword [esp], xmm0
call fcn.0040daa0
mov eax, dword [esi + 0x49c8]
xorps xmm1, xmm1
add eax, 0x39a
add esp, 0x18
add eax, eax
mov dword [esi + eax*8], 0x3f800000
movss xmm0, dword [esi + 0x5e94]
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5e94], xmm0
jb 0x41782c
mov eax, dword [0x450100]
mov ecx, dword [eax + 0x49c8]
cmp ecx, 0x35
je 0x417822
movups xmm0, xmmword [eax + 0x5e98]
add ecx, ecx
movups xmmword [eax + ecx*8 + 0x3994], xmm0
mov dword [eax + 0x49c8], 0x35
mov al, byte [edi + 0x5e85]
test al, al
je 0x417851
sub al, 1
mov byte [edi + 0x5e85], al
jne 0x417851
mov dword [edi + 0x48e8], 0
mov byte [edi + 0x5e86], 0
mov al, byte [edi + 0x5e84]
test al, al
je 0x41788a
sub al, 1
mov byte [edi + 0x5e84], al
jne 0x41788a
push str._Debug_Log:_Auto_disabled_some_ImGuiDebugLogFlags_after_2_frames__n
call fcn.0040e430
mov eax, dword [edi + 0x5e80]
add esp, 4
not eax
mov dword [edi + 0x5e80], 0
and dword [edi + 0x5e60], eax
mov byte [edi + 0x3f1d], 1
mov eax, dword [0x450100]
push 0
push 0
push str.DebugDefault
or dword [eax + 0x495c], 2
mov dword [eax + 0x497c], 0x43c80000
mov dword [eax + 0x4980], 0x43c80000
mov dword [eax + 0x4964], 4
call fcn.00409ec0
add esp, 0xc
cmp byte [edi + 0x66], 0
je 0x417907
mov cl, byte [edi + 0x5e8c]
cmp cl, 0xff
jne 0x4178e1
xor edx, edx
jmp 0x41790a
mov eax, dword [edi + 0x3f10]
and eax, 0x80000003
jns 0x4178f3
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 0x41790a
or dl, 0xff
mov byte [edi + 0x5e8c], dl
mov eax, dword [edi + 0x5dfc]
mov esi, dword [edi + 0x5e04]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x41793d
cmp dword [esi + 4], 1
jne 0x417936
mov eax, dword [esi + 0xc]
push esi
push edi
call eax
add esp, 8
add esi, 0x14
cmp esi, ebx
jne 0x417926
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret