Function at 0x45c56b
Capabilities:
Manipulate console buffer
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov esi, esp
mov dword [esi + 0xd0], ebp
lea eax, [esi + 0xd8]
mov ebx, ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x502160
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
xor ecx, ecx
mov edi, dword [edx + 8]
inc ecx
lea eax, [edi - 0x3b9aca00]
cmp eax, 3
cmovae eax, ecx
test eax, eax
je 0x45c604
cmp eax, 1
jne 0x45c65f
mov al, byte [edx + 0x14]
mov dword [esi + 0xb0], edi
mov edi, dword [edx + 0x10]
mov dword [esi + 0x7c], 0x80000000
mov byte [esi + 0x5c], al
mov al, byte [edx + 0x1c]
mov byte [esi + 0x60], al
mov eax, dword [edx]
mov dword [esi + 0x70], eax
mov eax, dword [edx + 4]
mov dword [esi + 0x4c], eax
call fcn.0043bbba
test al, al
mov dword [esi], edi
je 0x45c68b
mov byte [ebx], 4
jmp 0x45cab4
mov eax, dword [edx + 0xc]
mov dword [esi + 0x14], ebx
mov edi, dword [edx + 0x10]
mov ebx, dword [edx + 0x14]
mov dword [esi], eax
call fcn.0043bbba
test al, al
jne 0x45c680
mov eax, dword [ebx + 8]
mov dword [esi + 0x4c], edi
mov dword [esi + 0x70], ebx
test eax, eax
mov dword [esi + 0x48], eax
je 0x45c810
cmp byte [ebx + 0x10], 0
je 0x45c810
mov eax, dword [esi]
mov ebx, dword [edi]
lea edi, [esi + 0x28]
mov ecx, edi
mov edx, dword [eax]
push ebx
push dword [eax + 4]
call fcn.00426e6f
pop eax
pop ecx
cmp byte [edi], 4
jne 0x45cd11
mov edi, dword [esi]
jmp 0x45cd52
mov eax, dword [edx + 0xc]
mov dword [esi + 0x14], ebx
mov edi, dword [edx + 0x14]
mov ebx, dword [edx + 0x18]
mov dword [esi], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 4], eax
call fcn.0043bbba
test al, al
je 0x45c760
mov eax, dword [esi + 0x14]
mov byte [eax], 4
jmp 0x45d031
lea ecx, [edi + 0x10]
mov dword [esi + 0x14], ebx
mov dword [esi + 0xe0], 6
mov dword [esi + 0x24], ecx
call fcn.0045c1a4
mov edx, dword [esi]
movzx eax, ax
mov dword [esi + 0x48], 0
cvtsi2sd xmm0, eax
lea eax, [esi + 0x64]
and dword [eax], 0
mov dword [eax + 4], 4
and dword [eax + 8], 0
movsd qword [esi + 0x50], xmm0
mov ecx, dword [edx + 0x6c]
mov eax, dword [edx + 0x70]
lea eax, [ecx + eax*4]
mov dword [esi + 0x20], eax
cmp ecx, dword [esi + 0x20]
mov dword [esi + 0xe0], 7
je 0x45c7a6
mov eax, dword [ecx]
mov dword [esi + 0xc], ecx
mov ecx, dword [edx + 0x54]
mov edx, dword [edx + 0x58]
mov byte [esi + 0xb], 1
push 0x5746cc
mov dword [esi + 4], eax
push eax
call fcn.0045d685
pop ecx
pop edx
cmp byte [eax + 0x14], 0
mov edx, dword [esi]
je 0x45c7a6
xor ecx, ecx
cmp dword [eax], 0x80000000
je 0x45c735
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
movsd xmm0, qword [esi + 0x50]
mov byte [esi + 0xb], 1
call fcn.0045d6a0
mov edx, dword [esi]
mov ecx, eax
add dword [edx + 0x80], ecx
mov edx, dword [esi + 4]
mov dword [esi + 0x18], ecx
lea ecx, [esi + 0x64]
mov byte [esi + 0xb], 1
call fcn.0045a424
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0xc]
add dword [esi + 0x48], eax
mov edx, dword [esi]
add ecx, 4
jmp 0x45c6d5
mov eax, dword [ebx + 8]
mov dword [esi + 0x60], edi
mov dword [esi + 0x4c], ebx
test eax, eax
mov dword [esi + 0x50], eax
je 0x45c849
cmp byte [ebx + 0x10], 0
je 0x45c849
mov eax, dword [edi]
lea ecx, [esi + 0x28]
mov edi, eax
push eax
push dword [esi]
push ecx
mov eax, dword [esi + 4]
call dword [eax + 0x20]
add esp, 0xc
lea eax, [esi + 0x28]
cmp byte [eax], 4
je 0x45cfec
mov eax, dword [esi + 0x28]
jmp 0x45cfe8
mov ecx, dword [edx + 0x78]
mov edx, dword [edx + 0x7c]
movsd xmm0, qword [esi + 0x50]
mov byte [esi + 0xb], 1
call fcn.0045d6a0
cmp byte [esi + 0x60], 0
mov dword [esi + 4], eax
mov byte [esi + 0xb], 1
setne dl
test eax, eax
setne cl
or cl, dl
mov edx, dword [esi + 0x24]
movzx eax, cl
lea ecx, [esi + 0x28]
push dword [esi + 0xb0]
push dword [esi + 0x4c]
push dword [esi + 0x70]
push eax
call fcn.0045c2c8
add esp, 0x10
cmp dword [esi + 0x30], 0x3b9aca03
jne 0x45c8db
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x68]
mov byte [eax], 4
call fcn.00423e07
jmp 0x45cab4
mov edi, dword [edi]
xor eax, eax
lea ecx, [esi + 0x28]
mov ebx, edi
sub ebx, 1
cmovb ebx, eax
mov eax, dword [esi]
mov dword [esi + 0x50], ebx
mov edx, dword [eax]
push ebx
push dword [eax + 4]
call fcn.00426e6f
pop eax
pop ecx
lea eax, [esi + 0x28]
mov dword [esi + 0x20], edi
cmp byte [eax], 4
jne 0x45cadd
mov ebx, edi
mov edi, dword [esi]
jmp 0x45caec
mov edi, dword [edi]
xor eax, eax
lea ebx, [esi + 0x28]
mov ecx, edi
sub ecx, 1
cmovb ecx, eax
mov eax, dword [esi + 4]
mov dword [esi + 0x18], ecx
mov eax, dword [eax + 0x20]
push ecx
push dword [esi]
push ebx
mov dword [esi + 0x24], eax
call eax
add esp, 0xc
cmp byte [ebx], 4
mov dword [esi + 0xc], edi
je 0x45c880
mov eax, dword [esi + 0x28]
cmp al, 4
jne 0x45d026
mov ebx, edi
sub ebx, 1
jb 0x45cd1b
push dword [esi]
lea eax, [esi + 0x28]
push eax
mov eax, dword [esi + 4]
call dword [eax + 0x38]
add esp, 8
cmp byte [esi + 0x28], 4
je 0x45c8ab
mov eax, dword [esi + 0x28]
cmp al, 4
jne 0x45d026
cmp edi, 1
mov edi, ebx
je 0x45c880
push 1
push dword [esi]
lea eax, [esi + 0x28]
push eax
mov eax, dword [esi + 4]
call dword [eax + 0x24]
add esp, 0xc
cmp byte [esi + 0x28], 4
jne 0x45c8cd
mov edi, ebx
jmp 0x45c880
mov eax, dword [esi + 0x28]
mov edi, ebx
cmp al, 4
je 0x45c880
jmp 0x45d026
movsd xmm1, qword [esi + 0x38]
lea ecx, [esi + 0x90]
movsd xmm0, qword [esi + 0x40]
movsd xmm2, qword [esi + 0x28]
mov al, 1
mov dword [esi + 0xe0], 8
mov byte [esi + 0x1e], al
mov byte [esi + 0x1f], al
movsd qword [ecx + 0x10], xmm1
movsd xmm1, qword [esi + 0x30]
movsd qword [ecx + 0x18], xmm0
movsd qword [ecx], xmm2
movsd qword [ecx + 8], xmm1
call fcn.0045c448
mov dword [esi + 0x20], edx
mov ecx, dword [esi + 4]
mov dword [esi + 0x18], eax
mov dword [eax + 0xc], ecx
mov ecx, dword [esi]
mov dl, byte [ecx + 0x85]
mov byte [eax + 0x11], dl
mov edx, dword [ecx + 0x78]
mov dword [esi + 0xc], edx
mov edx, dword [ecx + 0x7c]
mov cl, 1
mov dword [esi + 0xe0], 9
mov byte [esi + 0x11], cl
mov byte [esi + 0x12], cl
mov byte [esi + 0x13], cl
mov ecx, eax
mov dword [esi + 4], edx
call fcn.00458f62
mov ebx, dword [esi + 0x18]
imul ecx, dword [esi + 4], 0xc
mov edi, dword [ebx + 8]
imul eax, edi, 0xc
add eax, dword [ebx + 4]
push ecx
push dword [esi + 0xc]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add edi, dword [esi + 4]
mov eax, dword [esi]
mov dword [ebx + 8], edi
and dword [eax + 0x7c], 0
mov ecx, dword [eax + 0x6c]
mov eax, dword [eax + 0x70]
lea eax, [ecx + eax*4]
mov dword [esi + 0xc], eax
cmp ecx, dword [esi + 0xc]
je 0x45c9f1
mov edx, dword [esi]
mov eax, dword [ecx]
mov dword [esi + 4], ecx
mov bl, 1
mov ecx, dword [edx + 0x54]
mov edx, dword [edx + 0x58]
mov byte [esi + 0x11], bl
mov byte [esi + 0x12], bl
mov byte [esi + 0x13], bl
push 0x5746dc
push eax
call fcn.0045d685
mov ecx, dword [esi + 4]
add esp, 8
add ecx, 4
cmp dword [eax], 0x80000000
je 0x45c993
mov edx, dword [eax + 4]
mov dword [esi + 4], ecx
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x18]
mov bl, 1
mov byte [esi + 0x11], bl
mov byte [esi + 0x12], bl
mov byte [esi + 0x13], bl
push eax
call fcn.0045d736
mov ecx, dword [esi + 4]
add esp, 4
jmp 0x45c993
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov al, 1
mov byte [esi + 0x11], 0
mov byte [esi + 0x12], al
mov byte [esi + 0x13], al
call fcn.0045c565
xor eax, eax
lea ecx, [esi + 0x88]
lea edx, [esi + 0x90]
mov byte [esi + 0x13], 1
mov byte [esi + 0x11], al
mov byte [esi + 0x12], al
call fcn.0045c56b
mov ecx, dword [esi + 0x68]
mov edi, dword [esi + 0x6c]
mov eax, dword [esi + 0x64]
lea edx, [ecx + edi*4]
shl edi, 2
mov dword [esi + 0x28], ecx
mov dword [esi + 0x30], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x50], edx
mov dword [esi + 0x34], edx
test edi, edi
je 0x45ca6f
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x24]
add edi, 0xfffffffc
mov dword [esi + 0xc], edi
mov edx, dword [eax]
add eax, 4
mov dword [esi + 0xe0], 0xa
mov dword [esi + 4], eax
call fcn.0045a25e
mov edi, dword [esi + 0xc]
jmp 0x45ca43
mov eax, dword [esi + 0x50]
lea ecx, [esi + 0x28]
mov dword [ecx + 4], eax
call fcn.0045d7f6
mov eax, dword [esi + 0x24]
mov eax, dword [eax]
cmp eax, 3
je 0x45ca8b
test eax, eax
jne 0x45ca9b
mov edx, dword [esi]
xor ecx, ecx
mov eax, dword [edx + 0x14]
sub eax, dword [esi + 0x48]
cmovb eax, ecx
mov dword [edx + 0x14], eax
movsd xmm0, qword [esi + 0x88]
mov eax, dword [esi + 0x14]
mov dword [esi + 0xe0], 5
movsd qword [eax], xmm0
lea ecx, [esi + 0x7c]
mov dword [esi + 0xe0], 5
call fcn.00459f28
movzx edx, byte [esi + 0x5c]
mov ecx, dword [esi]
or dword [esi + 0xe0], 0xffffffff
call fcn.0045a231
jmp 0x45d031
mov eax, dword [esi + 0x28]
mov ebx, edi
mov edi, dword [esi]
cmp al, 4
jne 0x45d026
mov eax, ebx
sub eax, 1
mov dword [esi + 4], eax
jb 0x45cce9
mov al, byte [edi + 4]
or dword [esi + 0xe0], 0xffffffff
test al, al
je 0x45cb3c
mov edx, dword [edi]
lea edi, [esi + 0x90]
mov ecx, edi
push 5
push str._re_2KC:Users_atkn1.cargo_registry_srcindex.crates.io_6f17d22bba15001fconsole_0.15.7_src_term.rs
call fcn.00426687
pop eax
pop ecx
cmp byte [edi], 4
je 0x45cbe7
mov eax, dword [esi + 0x90]
cmp al, 4
je 0x45cbe7
jmp 0x45d27e
mov ecx, dword [edi]
call fcn.0042654a
lea edi, [esi + 0x28]
mov edx, eax
mov ecx, edi
call fcn.00426e18
cmp dword [edi], 0
je 0x45cbe7
movzx eax, word [esi + 0x3e]
lea edx, [esi + 0xb8]
movzx edi, word [esi + 0x36]
and word [esi + 0x88], 0
mov ecx, dword [esi + 0x2c]
and dword [edx], 0
sub ax, word [esi + 0x3a]
mov word [esi + 0xc], di
mov word [esi + 0x8a], di
lea edi, [esi + 0xb8]
movsx edx, ax
movzx eax, word [esi + 0x38]
mov dword [esi + 0x24], edx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x88]
push edi
push eax
push edx
push 0x20
push ecx
mov edi, ecx
call dword [sym.imp.kernel32.dll_FillConsoleOutputCharacterA]
movzx eax, word [esi + 0xc]
and word [esi + 0x7c], 0
lea ecx, [esi + 0xb8]
mov word [esi + 0x7e], ax
mov eax, dword [esi + 0x7c]
push ecx
push eax
push dword [esi + 0x24]
push dword [esi + 0x18]
push edi
call dword [sym.imp.kernel32.dll_FillConsoleOutputAttribute]
movzx eax, word [esi + 0xc]
and word [esi + 0x64], 0
mov word [esi + 0x66], ax
mov eax, dword [esi + 0x64]
push eax
push edi
call dword [sym.imp.kernel32.dll_SetConsoleCursorPosition]
cmp ebx, 1
mov ebx, dword [esi + 4]
mov edi, dword [esi]
je 0x45caec
cmp byte [edi + 4], 0
je 0x45cc89
lea edx, [esi + 0x28]
xor eax, eax
mov ebx, edi
lea ecx, [esi + 0x88]
lea edi, [esi + 0x64]
mov dword [edx], 0x52db28
mov dword [edx + 4], 2
and dword [edx + 0x10], 0
inc eax
mov dword [edi], ecx
mov dword [edx + 8], edi
mov dword [edi + 4], fcn.00428320
lea edi, [esi + 0x90]
mov dword [ecx], eax
mov ecx, edi
mov dword [edx + 0xc], eax
call fcn.0045fd28
mov eax, dword [edi + 4]
mov edi, dword [edi + 8]
mov edx, dword [ebx]
mov dword [esi + 0xe0], 3
lea ecx, [esi + 0x7c]
push edi
mov dword [esi + 0xc], eax
push eax
call fcn.00426687
pop eax
pop ecx
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0xc]
call fcn.00463f4e
cmp byte [esi + 0x7c], 4
mov edi, dword [esi]
je 0x45ccce
mov eax, dword [esi + 0x7c]
mov ebx, dword [esi + 4]
cmp al, 4
je 0x45caec
jmp 0x45d296
mov ecx, dword [edi]
call fcn.0042654a
lea edi, [esi + 0x28]
mov edx, eax
mov ecx, edi
call fcn.00426e18
cmp dword [edi], 0
je 0x45cccc
mov ebx, dword [esi]
movsx eax, word [esi + 0x36]
lea edi, [esi + 0x90]
mov ecx, edi
mov edx, dword [ebx]
inc eax
push eax
push dword [ebx + 4]
call fcn.00426f7f
pop eax
pop ecx
cmp byte [edi], 4
je 0x45cccc
mov eax, dword [esi + 0x90]
cmp al, 4
jne 0x45ccd6
mov edi, dword [esi]
mov ebx, dword [esi + 4]
jmp 0x45caec
mov ecx, dword [esi + 0x94]
mov edi, dword [esi]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], ecx
jmp 0x45cc76
mov edx, dword [edi]
mov eax, dword [edi + 4]
or dword [esi + 0xe0], 0xffffffff
lea edi, [esi + 0x28]
mov ecx, edi
push dword [esi + 0x50]
push eax
call fcn.00426e6f
pop eax
pop ecx
cmp byte [edi], 4
jne 0x45cd3f
mov edi, dword [esi]
mov ebx, dword [esi + 0x20]
jmp 0x45cd52
mov eax, dword [esi + 0x28]
mov edi, dword [esi]
mov edx, dword [esi + 0x14]
jmp 0x45cd4a
push dword [esi + 0x18]
push dword [esi]
lea eax, [esi + 0x28]
push eax
call dword [esi + 0x24]
add esp, 0xc
cmp byte [esi + 0x28], 4
mov ebx, dword [esi + 0x4c]
jne 0x45cfe2
mov edi, dword [esi + 0xc]
jmp 0x45cfec
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x14]
mov edi, dword [esi]
mov ebx, dword [esi + 0x20]
cmp al, 4
jne 0x45cf37
sub ebx, dword [esi + 0x48]
mov eax, 0
jbe 0x45cd97
mov eax, dword [esi + 0x70]
cmp byte [eax + 0x11], 0
mov eax, 0
je 0x45cd97
lea edi, [esi + 0x28]
mov dword [esi + 0x20], ebx
sub ebx, 1
jb 0x45cd92
mov eax, dword [esi]
mov ecx, edi
mov edx, dword [eax]
call fcn.00426c9a
cmp byte [esi + 0x28], 4
je 0x45cd70
mov eax, dword [esi + 0x28]
cmp al, 4
je 0x45cd70
jmp 0x45d026
mov eax, dword [esi + 0x20]
mov edi, dword [esi]
mov ecx, dword [edi]
mov dword [esi + 0x60], eax
call fcn.0045d632
mov ecx, dword [edi]
movzx eax, ax
mov dword [esi + 0x50], eax
call fcn.0045d632
mov eax, dword [esi + 0x70]
movzx ecx, dx
mov edx, dword [esi + 0x48]
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
cvtsi2sd xmm0, ecx
mov dword [esi + 0x5c], ecx
movsd qword [esi + 0xb0], xmm0
mov edi, dword [eax + 4]
imul ecx, edx, 0xc
dec edx
mov dword [esi + 0x48], edx
test ecx, ecx
mov dword [esi + 0x24], ecx
je 0x45cef3
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
call fcn.00427080
cmp dword [edi + 8], 0
mov ebx, 1
mov dword [esi + 0x20], eax
je 0x45ce71
movd xmm0, eax
por xmm0, xmmword [0x52a530]
subsd xmm0, qword [0x52a4c0]
divsd xmm0, qword [esi + 0xb0]
sub esp, 8
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
pop eax
pop ecx
fstp qword [esi + 0xc0]
xorpd xmm1, xmm1
movsd xmm0, qword [esi + 0xc0]
maxsd xmm0, xmm1
minsd xmm0, qword [0x52a540]
cvttsd2si eax, xmm0
subsd xmm0, qword [0x52a548]
mov ecx, eax
sar ecx, 0x1f
cvttsd2si ebx, xmm0
and ebx, ecx
or ebx, eax
cmp ebx, 1
adc ebx, 0
add ebx, dword [esi + 0xc]
cmp ebx, dword [esi + 0x50]
ja 0x45cef3
cmp dword [esi + 4], 0
je 0x45ce9c
mov eax, dword [esi]
lea ecx, [esi + 0x28]
mov edx, dword [eax]
call fcn.00426c9a
cmp byte [esi + 0x28], 4
je 0x45ce9c
mov eax, dword [esi + 0x28]
cmp al, 4
jne 0x45d026
mov eax, dword [esi]
lea ecx, [esi + 0x28]
mov edx, dword [eax]
push dword [edi + 8]
push dword [edi + 4]
call fcn.00426687
pop eax
pop ecx
cmp byte [esi + 0x28], 4
je 0x45cec1
mov eax, dword [esi + 0x28]
cmp al, 4
jne 0x45d026
mov eax, dword [esi + 0x5c]
add edi, 0xc
mov edx, dword [esi + 4]
mov ecx, 0
mov dword [esi + 0xc], ebx
sub eax, dword [esi + 0x20]
cmovb eax, ecx
cmp dword [esi + 0x48], edx
mov ecx, dword [esi + 0x18]
cmove ecx, eax
inc edx
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 0x24]
mov dword [esi + 4], edx
add ecx, 0xfffffff4
jmp 0x45cde5
lea edi, [esi + 0x28]
push 0x20
pop edx
mov ecx, edi
push dword [esi + 0x18]
call fcn.00420ac0
pop eax
mov ecx, dword [esi]
mov eax, dword [edi + 8]
mov ebx, dword [edi + 4]
mov edx, dword [ecx]
and dword [esi + 0xe0], 0
lea ecx, [esi + 0x90]
push eax
mov dword [esi + 4], ebx
push ebx
call fcn.00426687
pop eax
pop ecx
cmp byte [esi + 0x90], 4
mov edx, dword [esi + 0x14]
jne 0x45cf3f
mov edi, dword [esi]
jmp 0x45cf4f
mov ecx, dword [esi + 0x2c]
jmp 0x45d02c
mov eax, dword [esi + 0x90]
mov edi, dword [esi]
cmp al, 4
jne 0x45d250
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 4]
call fcn.00463f4e
mov edx, dword [edi]
cmp dword [edx + 8], 0
je 0x45cfcc
lea edi, [esi + 0x28]
add edx, 0xc
mov ecx, edi
call fcn.0042575d
cmp dword [edi], 0
jne 0x45d2c6
mov ecx, dword [esi + 0x2c]
mov dl, byte [esi + 0x30]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x45cfc4
mov dword [esi + 4], ecx
mov edi, dword [ecx + 8]
mov ecx, dword [esi]
mov byte [esi + 0x18], dl
mov edx, dword [ecx]
mov dword [esi + 0xe0], 2
lea ecx, [esi + 0x28]
push eax
push edi
call fcn.0042677e
pop eax
pop ecx
cmp byte [esi + 0x28], 4
je 0x45cfba
mov ebx, dword [esi + 0x28]
cmp bl, 4
jne 0x45d2a1
mov ecx, dword [esi + 4]
mov dl, byte [esi + 0x18]
and dword [ecx + 0xc], 0
movzx edx, dl
call fcn.00426c67
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x70]
mov edx, dword [esi + 0x4c]
add ecx, dword [esi + 0x60]
sub ecx, dword [eax + 0xc]
mov dword [edx], ecx
jmp 0x45c680
mov eax, dword [esi + 0x28]
mov edi, dword [esi + 0xc]
cmp al, 4
jne 0x45d026
sub edi, dword [esi + 0x50]
mov eax, 0
jbe 0x45d04b
cmp byte [ebx + 0x11], 0
je 0x45d04b
mov ebx, edi
lea edi, [esi + 0x28]
mov dword [esi + 0xc], ebx
sub ebx, 1
jb 0x45d045
push 0
push 1
push dword [esi]
push edi
mov eax, dword [esi + 4]
call dword [eax + 0x30]
add esp, 0x10
cmp byte [esi + 0x28], 4
je 0x45d004
mov eax, dword [esi + 0x28]
cmp al, 4
je 0x45d004
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x14]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [esi + 0xd8]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 0x4c]
mov dword [esi + 0xbc], eax
push dword [esi]
mov edi, dword [esi + 4]
call dword [edi + 0x1c]
add esp, 4
movzx eax, ax
mov dword [esi + 0x5c], eax
push dword [esi]
call dword [edi + 0x18]
add esp, 4
mov edx, dword [esi + 0x50]
mov ebx, dword [ebx + 4]
movzx eax, ax
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x24], 0
cvtsi2sd xmm0, eax
mov dword [esi + 0xb0], eax
movsd qword [esi + 0x70], xmm0
imul ecx, edx, 0xc
dec edx
mov dword [esi + 0x50], edx
test ecx, ecx
mov dword [esi + 0x20], ecx
je 0x45d1b8
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
call fcn.00427080
cmp dword [ebx + 8], 0
mov edi, 1
mov dword [esi + 0x48], eax
je 0x45d127
movd xmm0, eax
por xmm0, xmmword [0x52a530]
subsd xmm0, qword [0x52a4c0]
divsd xmm0, qword [esi + 0x70]
sub esp, 8
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
pop eax
pop ecx
fstp qword [esi + 0xc8]
xorpd xmm1, xmm1
movsd xmm0, qword [esi + 0xc8]
maxsd xmm0, xmm1
minsd xmm0, qword [0x52a540]
cvttsd2si eax, xmm0
subsd xmm0, qword [0x52a548]
mov ecx, eax
sar ecx, 0x1f
cvttsd2si edi, xmm0
and edi, ecx
or edi, eax
cmp edi, 1
adc edi, 0
add edi, dword [esi + 0x18]
cmp edi, dword [esi + 0x5c]
ja 0x45d1b8
cmp dword [esi + 0xc], 0
je 0x45d15d
push 0
push 1
push dword [esi]
lea eax, [esi + 0x28]
push eax
mov eax, dword [esi + 4]
call dword [eax + 0x30]
add esp, 0x10
cmp byte [esi + 0x28], 4
je 0x45d15d
mov eax, dword [esi + 0x28]
cmp al, 4
jne 0x45d026
push dword [ebx + 8]
push dword [ebx + 4]
push dword [esi]
lea eax, [esi + 0x28]
push eax
mov eax, dword [esi + 4]
call dword [eax + 0x34]
add esp, 0x10
cmp byte [esi + 0x28], 4
je 0x45d183
mov eax, dword [esi + 0x28]
cmp al, 4
jne 0x45d026
mov eax, dword [esi + 0xb0]
add ebx, 0xc
mov edx, dword [esi + 0xc]
mov ecx, 0
mov dword [esi + 0x18], edi
sub eax, dword [esi + 0x48]
cmovb eax, ecx
cmp dword [esi + 0x50], edx
mov ecx, dword [esi + 0x24]
cmove ecx, eax
inc edx
mov dword [esi + 0x24], ecx
mov ecx, dword [esi + 0x20]
mov dword [esi + 0xc], edx
add ecx, 0xfffffff4
jmp 0x45d09e
lea edi, [esi + 0x28]
push 0x20
pop edx
mov ecx, edi
push dword [esi + 0x24]
call fcn.00420ac0
pop eax
mov eax, dword [edi + 8]
mov edx, dword [edi + 4]
mov dword [esi + 0xe0], 4
lea ecx, [esi + 0x90]
push eax
mov dword [esi + 0xc], edx
push edx
push dword [esi]
push ecx
mov eax, dword [esi + 4]
call dword [eax + 0x34]
add esp, 0x10
cmp byte [esi + 0x90], 4
mov edi, dword [esi + 0x14]
mov ebx, dword [esi + 0x4c]
je 0x45d209
mov eax, dword [esi + 0x90]
cmp al, 4
jne 0x45d263
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0xc]
call fcn.00463f4e
or dword [esi + 0xe0], 0xffffffff
push dword [esi]
lea eax, [esi + 0x28]
push eax
mov eax, dword [esi + 4]
call dword [eax + 0x3c]
add esp, 8
cmp byte [esi + 0x28], 4
je 0x45d237
mov eax, dword [esi + 0x28]
cmp al, 4
jne 0x45d289
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x60]
add ecx, dword [esi + 0xbc]
sub ecx, dword [ebx + 0xc]
mov dword [eax], ecx
mov byte [edi], 4
jmp 0x45d031
mov ecx, dword [esi + 0x94]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 4]
jmp 0x45d274
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0xc]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [esi + 0x28]
call fcn.00463f4e
jmp 0x45d031
mov ecx, dword [esi + 0x94]
jmp 0x45d029
mov ecx, dword [esi + 0x2c]
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp 0x45d031
mov ecx, dword [esi + 0x80]
jmp 0x45d029
movzx edx, byte [esi + 0x18]
mov ecx, dword [esi + 4]
mov edi, dword [esi + 0x2c]
call fcn.00426c67
cmp bl, 4
je 0x45cfcc
mov eax, dword [esi + 0x14]
mov dword [eax], ebx
mov dword [eax + 4], edi
jmp 0x45d031
mov eax, dword [esi + 0x2c]
mov cl, byte [esi + 0x30]
mov dword [esi + 0xe0], 1
mov dword [esi + 0x90], eax
mov byte [esi + 0x94], cl
push 0x2b
pop edx
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x52dbfc
push 0x52dac8
lea eax, [esi + 0x90]
push eax
call fcn.00526c20
add esp, 0xc
ud2