Function at 0x45e17a
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Read pipe

Disassembly:
push 0x688
mov eax, 0x5af2e5
call fcn.005779f8
mov dword [ebp - 0x640], edx
mov esi, ecx
mov dword [ebp - 0x63c], esi
mov dword [ebp - 0x624], esi
mov dword [ebp - 0x67c], esi
mov dword [ebp - 0x618], 1
mov dword [ebp - 4], 3
lea edi, [ebp - 0x480]
xor eax, eax
lea ecx, [ebp - 0x480]
stosd dword es:[edi], eax
xor ebx, ebx
push 0x1000
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x470], ebx
mov dword [ebp - 0x46c], ebx
call fcn.0041a713
mov byte [ebp - 4], 4
lea eax, [ebp - 0x480]
cmp dword [ebp - 0x46c], 8
push dword [ebp - 0x470]
cmovae eax, dword [ebp - 0x480]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, eax
cmp ecx, dword [ebp - 0x470]
ja 0x45e231
cmp dword [ebp - 0x46c], 8
lea eax, [ebp - 0x480]
mov dword [ebp - 0x470], ecx
cmovae eax, dword [ebp - 0x480]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x45e244
sub ecx, dword [ebp - 0x470]
push ebx
push ecx
lea ecx, [ebp - 0x480]
call fcn.00414358
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
xor ecx, ecx
mov byte [ebp - 4], 5
inc ecx
mov dword [ebp - 0x5c4], 0xc
mov eax, ecx
mov dword [ebp - 0x5bc], ecx
mov dword [ebp - 0x618], eax
lea eax, [ebp - 0x5c4]
push ebx
push eax
lea eax, [ebp - 0x5a8]
mov dword [ebp - 0x5c0], ebx
push eax
lea eax, [ebp - 0x5a4]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x45e2cf
lea ecx, [ebp - 0x480]
call fcn.0040e260
lea ecx, [ebp + 0xc]
call fcn.0040e260
lea ecx, [ebp + 0x24]
call fcn.004035ff
lea ecx, [ebp + 0x4c]
call fcn.004035ff
lea ecx, [ebp + 0x74]
call fcn.0040388d
mov eax, esi
jmp 0x45f5fc
push 0x40
lea eax, [ebp - 0x60c]
mov dword [ebp - 0x610], 0x44
push ebx
push eax
call fcn.00579030
mov eax, dword [ebp - 0x5a8]
lea edi, [ebp - 0x5b8]
add esp, 0xc
mov dword [ebp - 0x5d4], eax
mov dword [ebp - 0x5d0], eax
lea ecx, [ebp - 0x5b8]
xor eax, eax
mov dword [ebp - 0x5e4], 0x101
cmp dword [ebp + 0x20], 8
push ecx
mov word [ebp - 0x5e0], ax
lea ecx, [ebp - 0x610]
stosd dword es:[edi], eax
push ecx
push ebx
push ebx
stosd dword es:[edi], eax
push 0x210
push 1
push ebx
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x45e396
push dword [ebp - 0x5a8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x5a4]
call esi
lea ecx, [ebp - 0x480]
call fcn.0040e260
lea ecx, [ebp + 0xc]
call fcn.0040e260
lea ecx, [ebp + 0x24]
call fcn.004035ff
lea ecx, [ebp + 0x4c]
call fcn.004035ff
lea ecx, [ebp + 0x74]
call fcn.0040388d
mov eax, dword [ebp - 0x63c]
jmp 0x45f5fc
lea eax, [ebp - 0x5b8]
mov dword [ebp - 0x668], eax
lea edi, [ebp - 0x4d0]
lea eax, [ebp + 8]
mov dword [ebp - 0x664], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x4c0], ebx
mov dword [ebp - 0x4bc], 0xf
mov byte [ebp - 0x4d0], bl
xorps xmm0, xmm0
mov dword [ebp - 4], 6
mov byte [ebp - 0x650], bl
mov byte [ebp - 0x648], bl
mov byte [ebp - 0x62d], bl
movlpd qword [ebp - 0x670], xmm0
call fcn.005652f1
mov edi, dword [ebp - 0x640]
mov dword [ebp - 0x660], eax
mov dword [ebp - 0x65c], edx
cmp byte [ebp - 0x650], 0
jne 0x45f546
push 0x32
push dword [ebp - 0x5b8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb al, al
inc al
mov dword [ebp - 0x650], eax
mov byte [ebp - 0x641], al
push ebx
lea eax, [ebp - 0x484]
mov dword [ebp - 0x488], ebx
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x5a4]
mov dword [ebp - 0x484], ebx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x45f501
mov eax, dword [ebp - 0x484]
test eax, eax
je 0x45f501
push ebx
lea ecx, [ebp - 0x488]
push ecx
mov ecx, 0x3ff
cmp eax, ecx
cmova eax, ecx
push eax
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x5a4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45f501
mov eax, dword [ebp - 0x488]
test eax, eax
je 0x45f501
test edi, edi
je 0x45e4c3
cmp byte [edi], 0
jne 0x45e4c3
lea ecx, [ebp - 0x668]
call fcn.0045f608
jmp 0x45f509
cmp eax, 0x400
jae 0x45f602
mov byte [ebp + eax - 0x418], bl
lea edi, [ebp - 0x500]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x4f0], ebx
mov dword [ebp - 0x4ec], 0xf
mov byte [ebp - 0x500], bl
mov byte [ebp - 4], 7
lea eax, [ebp - 0x418]
cmp dword [ebp + 0x70], 0
push eax
je 0x45f4f8
lea ecx, [ebp - 0x694]
call fcn.00403448
push ebx
push str.Writing_video_subtitles
mov ecx, eax
call fcn.0040d60a
lea ecx, [ebp - 0x694]
mov esi, eax
call fcn.0040388d
mov ecx, dword [ebp - 0x648]
lea edi, [ebp - 0x434]
push 1
cmp esi, 0xffffffff
movzx ecx, cl
pop eax
cmovne ecx, eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x648], ecx
mov byte [ebp - 0x62e], cl
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x420], 0xf
mov byte [ebp - 0x434], bl
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00403448
mov byte [ebp - 4], 9
lea eax, [ebp - 0x4b8]
cmp dword [ebp - 0x4a4], 0x10
push dword [ebp - 0x4a8]
cmovae eax, dword [ebp - 0x4b8]
push eax
call fcn.004c3910
pop ecx
pop ecx
test al, al
jne 0x45e72c
push 0x50
lea eax, [ebp - 0x5a0]
push ebx
push eax
call fcn.00579030
add esp, 0xc
lea ecx, [ebp - 0x5a0]
call fcn.00419a46
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4b8]
cmp dword [ebp - 0x4a4], 0x10
mov eax, dword [ebp - 0x4a8]
cmovae ecx, dword [ebp - 0x4b8]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0x4e8]
push eax
lea ecx, [ebp - 0x5a0]
call fcn.0041a00a
mov esi, dword [ebp - 0x618]
or esi, 8
mov dword [ebp - 0x618], esi
mov byte [ebp - 4], 0xb
lea edi, [ebp - 0x468]
push dword [ebp - 0x4d8]
xor eax, eax
lea ecx, [ebp - 0x468]
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x454], ebx
call fcn.0041a713
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x4e8]
cmp dword [ebp - 0x4d4], 8
lea ecx, [ebp - 0x468]
mov eax, dword [ebp - 0x458]
cmovae edx, dword [ebp - 0x4e8]
cmp dword [ebp - 0x454], 8
cmovae ecx, dword [ebp - 0x468]
add eax, eax
push eax
push edx
push ecx
call fcn.00578ab0
add esp, 0xc
lea eax, [ebp - 0x550]
push 0x50
push ebx
push eax
call fcn.00579030
add esp, 0xc
lea ecx, [ebp - 0x550]
call fcn.00419529
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x468]
cmp dword [ebp - 0x454], 8
mov eax, dword [ebp - 0x458]
cmovae ecx, dword [ebp - 0x468]
lea eax, [ecx + eax*2]
push eax
push ecx
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x550]
call fcn.00419e27
lea eax, [ebp - 0x450]
or esi, 0x10
push eax
lea ecx, [ebp - 0x4b8]
mov dword [ebp - 0x618], esi
call fcn.0040d664
lea ecx, [ebp - 0x450]
call fcn.0040388d
lea ecx, [ebp - 0x550]
call fcn.00419507
lea ecx, [ebp - 0x468]
call fcn.0040e260
lea ecx, [ebp - 0x4e8]
call fcn.0040e260
lea ecx, [ebp - 0x5a0]
mov byte [ebp - 4], 9
call fcn.00419a24
jmp 0x45e732
mov esi, dword [ebp - 0x618]
mov edx, ebx
mov ecx, ebx
mov dword [ebp - 0x64c], edx
or edi, 0xffffffff
mov dword [ebp - 0x62c], ecx
cmp dword [ebp - 0x420], 0x10
lea eax, [ebp - 0x434]
mov dword [ebp - 0x424], ebx
cmovae eax, dword [ebp - 0x434]
mov byte [eax], bl
cmp ecx, edi
je 0x45e820
push edx
push 0x5caa80
lea ecx, [ebp - 0x4b8]
call fcn.004032f8
mov dword [ebp - 0x62c], eax
push ecx
cmp eax, 1
je 0x45e7a9
mov ecx, eax
mov eax, dword [ebp - 0x64c]
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x4b8]
push eax
lea ecx, [ebp - 0x450]
call fcn.0040e3c4
or esi, 4
jmp 0x45e7c6
mov eax, dword [ebp - 0x64c]
lea ecx, [ebp - 0x450]
push edi
push eax
lea eax, [ebp - 0x4b8]
push eax
call fcn.0040e3c4
or esi, 2
lea eax, [ebp - 0x450]
mov dword [ebp - 0x618], esi
push eax
lea ecx, [ebp - 0x434]
call fcn.0040d664
lea ecx, [ebp - 0x450]
call fcn.0040388d
cmp dword [ebp - 0x424], 0
je 0x45e7ff
push 0xa
lea ecx, [ebp - 0x434]
call fcn.004038ce
mov ecx, dword [ebp - 0x62c]
lea eax, [ecx + 1]
cmp eax, dword [ebp - 0x4a8]
jne 0x45e81a
mov ecx, edi
mov dword [ebp - 0x62c], ecx
jmp 0x45e820
mov dword [ebp - 0x64c], eax
mov edx, dword [ebp - 0x424]
test edx, edx
je 0x45f463
cmp dword [ebp + 0x84], 0
je 0x45e855
push ebx
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp - 0x434]
call fcn.0043e5af
cmp eax, edi
jne 0x45f45d
mov edx, dword [ebp - 0x424]
cmp dword [ebp + 0x48], 0
je 0x45eb17
mov eax, dword [ebp - 0x640]
cmp byte [eax], 0
je 0x45eb17
cmp dword [ebp - 0x420], 0x10
lea eax, [ebp - 0x434]
sbb dl, dl
inc dl
cmp dword [ebp - 0x420], 0x10
mov byte [ebp - 0x611], dl
cmovae eax, dword [ebp - 0x434]
mov edx, dword [ebp - 0x424]
cmp byte [eax], 0x5b
jne 0x45eb17
cmp byte [ebp - 0x611], 0
lea ecx, [ebp - 0x434]
push 0x5d
cmovne ecx, dword [ebp - 0x434]
push ebx
call fcn.00404814
pop ecx
pop ecx
cmp eax, edi
je 0x45eb17
push ecx
inc eax
lea ecx, [ebp - 0x4a0]
push eax
push ebx
lea eax, [ebp - 0x434]
push eax
call fcn.0040e3c4
or esi, 0x40
mov dword [ebp - 0x618], esi
mov esi, str._download_
mov byte [ebp - 4], 0xe
mov edx, esi
lea ecx, [ebp - 0x4a0]
call fcn.00402a88
test al, al
jne 0x45e941
cmp dword [ebp - 0x48c], 0x10
lea eax, [ebp - 0x4a0]
cmovae eax, dword [ebp - 0x4a0]
cmp byte [eax + 1], 0x23
je 0x45e941
mov eax, dword [ebp - 0x640]
cmp byte [eax], 0
je 0x45e941
push 1
sub esp, 0x18
lea eax, [ebp - 0x4a0]
mov ecx, esp
push eax
call fcn.00403481
lea ecx, [ebp + 0x24]
call fcn.00460663
mov edx, str._Exec_
lea ecx, [ebp - 0x4a0]
call fcn.00402a88
test al, al
je 0x45e97f
push ebx
push str.ytdlp_status
lea ecx, [ebp - 0x4a0]
call fcn.0040d60a
cmp eax, 1
je 0x45e97f
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 9
call fcn.0040388d
jmp 0x45f45d
mov edx, str._ExtractAudio_
lea ecx, [ebp - 0x4a0]
call fcn.00402a88
test al, al
jne 0x45eae9
push str._Fixup
lea ecx, [ebp - 0x4a0]
call fcn.004409ad
test al, al
jne 0x45eae9
mov edx, str._Merger_
lea ecx, [ebp - 0x4a0]
call fcn.00402a88
test al, al
jne 0x45eae9
cmp dword [ebp + 0x84], 0
je 0x45eb08
mov edx, esi
lea ecx, [ebp - 0x4a0]
call fcn.00402a88
test al, al
je 0x45eb08
cmp dword [ebp - 0x420], 0x10
lea ecx, [ebp - 0x434]
sbb al, al
inc al
cmp dword [ebp - 0x420], 0x10
mov byte [ebp - 0x611], al
cmovae ecx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x61c], ecx
cmp eax, 0xc
jb 0x45ea74
add eax, 0xfffffff5
add eax, ecx
mov dword [ebp - 0x41c], eax
sub eax, ecx
push eax
push 0x44
push ecx
jmp 0x45ea53
push 0xc
push str.Destination:
push esi
call fcn.005791b2
add esp, 0xc
test eax, eax
je 0x45ea63
mov eax, dword [ebp - 0x41c]
inc esi
sub eax, esi
push eax
push 0x44
push esi
call fcn.0057a830
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x45ea32
jmp 0x45ea6e
sub esi, dword [ebp - 0x61c]
cmp esi, 0xb
je 0x45eae1
mov eax, dword [ebp - 0x424]
cmp byte [ebp - 0x611], 0
lea ecx, [ebp - 0x434]
cmovne ecx, dword [ebp - 0x434]
mov dword [ebp - 0x61c], ecx
cmp eax, 0x1b
jb 0x45eb08
add eax, 0xffffffe6
add eax, ecx
mov dword [ebp - 0x41c], eax
sub eax, ecx
push eax
push 0x68
push ecx
jmp 0x45eac7
push 0x1b
push str.has_already_been_downloaded
push esi
call fcn.005791b2
add esp, 0xc
test eax, eax
je 0x45ead7
mov eax, dword [ebp - 0x41c]
inc esi
sub eax, esi
push eax
push 0x68
push esi
call fcn.0057a830
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x45eaa6
jmp 0x45eb08
sub esi, dword [ebp - 0x61c]
cmp esi, edi
je 0x45eb08
lea eax, [ebp - 0x434]
jmp 0x45eaef
lea eax, [ebp - 0x4a0]
push ebx
push ebx
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00403481
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x4c]
call fcn.0046061d
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 9
call fcn.0040388d
push str._download_
lea ecx, [ebp - 0x434]
call fcn.004409ad
mov byte [ebp - 0x642], al
test al, al
je 0x45eb59
push ebx
push str._Downloading_item
lea ecx, [ebp - 0x434]
call fcn.0040d60a
cmp eax, 0xa
jne 0x45eb59
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.0040d63c
cmp dword [ebp - 0x420], 0x10
lea ecx, [ebp - 0x434]
mov esi, dword [ebp - 0x424]
sbb dl, dl
inc dl
cmp dword [ebp - 0x420], 0x10
mov byte [ebp - 0x611], dl
mov edx, esi
cmovae ecx, dword [ebp - 0x434]
push 0x25
push ebx
call fcn.00404814
mov dword [ebp - 0x61c], eax
pop ecx
pop ecx
cmp eax, edi
je 0x45f44b
cmp byte [ebp - 0x642], 0
je 0x45f18b
cmp byte [ebp - 0x648], 0
je 0x45ec6d
cmp byte [ebp - 0x611], 0
lea eax, [ebp - 0x434]
push esi
cmovne eax, dword [ebp - 0x434]
lea ecx, [ebp - 0x500]
push eax
call fcn.00403952
cmp dword [ebp - 0x420], 0x10
lea ecx, [ebp - 0x434]
mov eax, dword [ebp - 0x424]
cmovae ecx, dword [ebp - 0x434]
mov dword [ebp - 0x61c], ecx
cmp eax, 4
jb 0x45ec40
add eax, 0xfffffffd
add eax, ecx
mov dword [ebp - 0x41c], eax
sub eax, ecx
push eax
push 0x31
push ecx
jmp 0x45ec32
push 4
push str.100_
push esi
call fcn.005791b2
add esp, 0xc
test eax, eax
je 0x45ec65
mov eax, dword [ebp - 0x41c]
inc esi
sub eax, esi
push eax
push 0x31
push esi
call fcn.0057a830
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x45ec11
mov esi, edi
mov eax, dword [ebp - 0x648]
xor ecx, ecx
movzx eax, al
cmp esi, edi
cmove ecx, eax
mov al, cl
mov dword [ebp - 0x648], eax
mov byte [ebp - 0x62e], al
jmp 0x45f45d
sub esi, dword [ebp - 0x61c]
jmp 0x45ec42
push eax
push 0x20
lea ecx, [ebp - 0x434]
call fcn.0040d5d2
inc eax
mov dword [ebp - 0x41c], eax
cmp eax, edi
je 0x45f45d
mov esi, dword [ebp - 0x61c]
push ecx
sub esi, eax
mov byte [ebp - 4], 0xf
push esi
push eax
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x450]
call fcn.0040e3c4
or dword [ebp - 0x618], 0x80
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0x10
call fcn.0045d892
lea ecx, [ebp - 0x450]
movsd qword [ebp - 0x678], xmm0
mov byte [ebp - 4], 0xf
call fcn.0040388d
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x434]
dec ecx
cmp dword [ebp - 0x420], 0x10
mov dword [ebp - 0x424], ecx
cmovae eax, dword [ebp - 0x434]
mov byte [eax + ecx], bl
mov eax, dword [ebp - 0x640]
cmp byte [eax], 0
je 0x45f144
cmp dword [ebp - 0x4bc], 0x10
lea eax, [ebp - 0x4d0]
mov ecx, dword [ebp - 0x4c0]
cmovae eax, dword [ebp - 0x4d0]
mov dword [ebp - 0x61c], 1
mov dword [ebp - 0x654], ebx
mov dword [ebp - 0x638], eax
cmp ecx, 4
jb 0x45ed94
add ecx, 0xfffffffc
cmp ecx, 0x1c
jb 0x45ed94
lea edx, [ecx + 1]
add edx, eax
lea ecx, [eax + 0x1c]
mov dword [ebp - 0x634], edx
sub edx, ecx
push edx
push 0x20
push ecx
jmp 0x45ed86
push 4
push str._of
push esi
call fcn.005791b2
add esp, 0xc
test eax, eax
je 0x45ee46
mov eax, dword [ebp - 0x634]
inc esi
sub eax, esi
push eax
push 0x20
push esi
call fcn.0057a830
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x45ed61
mov esi, edi
cmp esi, edi
je 0x45ee51
push ecx
lea eax, [esi - 0x1c]
push eax
push 0x1c
lea eax, [ebp - 0x4d0]
push eax
lea ecx, [ebp - 0x450]
call fcn.0040e3c4
or dword [ebp - 0x618], 0x400
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0x11
call fcn.0045d892
cvttsd2si eax, xmm0
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x61c], eax
call fcn.0040388d
mov eax, dword [ebp - 0x4c0]
sub eax, esi
push ecx
dec eax
lea ecx, [ebp - 0x450]
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x4d0]
push eax
call fcn.0040e3c4
mov esi, dword [ebp - 0x618]
or esi, 0x200
mov dword [ebp - 0x618], esi
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0x12
call fcn.0045d892
cvttsd2si eax, xmm0
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x654], eax
call fcn.0040388d
jmp 0x45ee57
sub esi, dword [ebp - 0x638]
jmp 0x45ed96
mov esi, dword [ebp - 0x618]
movsd xmm0, qword [ebp - 0x678]
ucomisd xmm0, qword [0x604ea0]
lahf
test ah, 0x44
jp 0x45eef3
cmp dword [ebp - 0x420], 0x10
lea ecx, [ebp - 0x434]
mov eax, dword [ebp - 0x424]
cmovae ecx, dword [ebp - 0x434]
mov dword [ebp - 0x624], ecx
cmp eax, 4
jb 0x45f144
add eax, 0xfffffffd
add eax, ecx
mov dword [ebp - 0x638], eax
jmp 0x45eec8
push 4
push str._in
push eax
call fcn.005791b2
mov ecx, dword [ebp - 0x634]
add esp, 0xc
test eax, eax
je 0x45eee5
mov eax, dword [ebp - 0x638]
inc ecx
sub eax, ecx
push eax
push 0x20
push ecx
call fcn.0057a830
add esp, 0xc
mov dword [ebp - 0x634], eax
test eax, eax
jne 0x45eea7
jmp 0x45f144
sub ecx, dword [ebp - 0x624]
cmp ecx, edi
je 0x45f144
cmp dword [ebp - 0x654], 0
je 0x45f096
cmp byte [ebp - 0x62d], 0
je 0x45ef17
mov eax, dword [ebp - 0x670]
mov edx, dword [ebp - 0x66c]
jmp 0x45ef35
call fcn.005652f1
sub eax, dword [ebp - 0x660]
push ebx
sbb edx, dword [ebp - 0x65c]
push 0x2710
push edx
push eax
call fcn.005a0220
cmp edx, ebx
jg 0x45efcc
jl 0x45ef4a
cmp eax, 0x12c
jae 0x45efcc
cmp dword [ebp - 0x420], 0x10
lea ecx, [ebp - 0x434]
mov eax, dword [ebp - 0x424]
cmovae ecx, dword [ebp - 0x434]
mov dword [ebp - 0x638], ecx
cmp eax, 4
jb 0x45f144
add eax, 0xfffffffd
add eax, ecx
mov dword [ebp - 0x624], eax
jmp 0x45efa1
push 4
push str._in
push eax
call fcn.005791b2
mov ecx, dword [ebp - 0x634]
add esp, 0xc
test eax, eax
je 0x45efbe
mov eax, dword [ebp - 0x624]
inc ecx
sub eax, ecx
push eax
push 0x20
push ecx
call fcn.0057a830
add esp, 0xc
mov dword [ebp - 0x634], eax
test eax, eax
jne 0x45ef80
jmp 0x45f144
sub ecx, dword [ebp - 0x638]
cmp ecx, edi
je 0x45f144
xorps xmm0, xmm0
mov byte [ebp - 0x62d], bl
movlpd qword [ebp - 0x670], xmm0
call fcn.005652f1
push dword [ebp - 0x654]
mov dword [ebp - 0x660], eax
mov eax, dword [ebp - 0x61c]
dec eax
mov dword [ebp - 0x65c], edx
push eax
sub esp, 0x18
lea eax, [ebp - 0x434]
mov ecx, esp
mov dword [ebp - 0x624], ecx
push ecx
push edi
push dword [ebp - 0x41c]
push eax
call fcn.0040e3c4
movsd xmm1, qword [ebp - 0x678]
xorps xmm0, xmm0
mulsd xmm1, qword [0x604e08]
or esi, 0x1000
mov dword [ebp - 0x618], esi
movlpd qword [ebp - 0x628], xmm0
movsd xmm0, qword [0x605010]
comisd xmm1, xmm0
jb 0x45f06f
subsd xmm1, xmm0
comisd xmm0, xmm1
jbe 0x45f06f
mov esi, dword [ebp - 0x628]
mov eax, dword [ebp - 0x624]
add esi, ebx
adc eax, 0x80000000
jmp 0x45f07b
mov eax, dword [ebp - 0x624]
mov esi, dword [ebp - 0x628]
movaps xmm0, xmm1
mov dword [ebp - 0x61c], eax
call fcn.005a08e0
add eax, esi
adc edx, dword [ebp - 0x61c]
jmp 0x45f134
mov eax, dword [ebp - 0x61c]
push ebx
dec eax
push eax
sub esp, 0x18
lea eax, [ebp - 0x434]
mov ecx, esp
mov dword [ebp - 0x624], ecx
push ecx
push edi
push dword [ebp - 0x41c]
push eax
call fcn.0040e3c4
movsd xmm1, qword [ebp - 0x678]
xorps xmm0, xmm0
mulsd xmm1, qword [0x604e08]
or esi, 0x800
mov dword [ebp - 0x618], esi
movlpd qword [ebp - 0x628], xmm0
movsd xmm0, qword [0x605010]
comisd xmm1, xmm0
jb 0x45f112
subsd xmm1, xmm0
comisd xmm0, xmm1
jbe 0x45f112
mov esi, dword [ebp - 0x628]
mov eax, dword [ebp - 0x624]
add esi, ebx
adc eax, 0x80000000
jmp 0x45f11e
mov eax, dword [ebp - 0x624]
mov esi, dword [ebp - 0x628]
movaps xmm0, xmm1
mov dword [ebp - 0x41c], eax
call fcn.005a08e0
add eax, esi
adc edx, dword [ebp - 0x41c]
push ebx
push 0x3e8
push edx
push eax
lea ecx, [ebp + 0x4c]
call fcn.0046061d
mov dword [ebp - 4], 9
jmp 0x45f45d
push 0x5fec90
lea ecx, [ebp - 0x434]
call fcn.004409ad
test al, al
je 0x45f44b
cmp byte [ebp - 0x611], 0
lea eax, [ebp - 0x434]
cmovne eax, dword [ebp - 0x434]
cmp byte [eax + esi - 2], 0x5d
jne 0x45f44b
mov esi, dword [ebp - 0x61c]
lea ecx, [ebp - 0x434]
push esi
push 0x28
call fcn.0040d5d2
inc eax
push ecx
sub esi, eax
lea ecx, [ebp - 0x450]
push esi
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.0040e3c4
or dword [ebp - 0x618], 0x20
cmp dword [ebp - 0x420], 0x10
lea edx, [ebp - 0x434]
mov ecx, dword [ebp - 0x424]
cmovae edx, dword [ebp - 0x434]
mov dword [ebp - 0x638], edx
mov dword [ebp - 0x41c], ecx
cmp ecx, 4
jb 0x45f26c
lea eax, [ecx - 3]
add eax, edx
mov dword [ebp - 0x624], eax
sub eax, edx
push eax
push 0x45
push edx
jmp 0x45f258
push 4
push str.ETA:
push esi
call fcn.005791b2
add esp, 0xc
test eax, eax
je 0x45f39d
mov eax, dword [ebp - 0x624]
inc esi
sub eax, esi
push eax
push 0x45
push esi
call fcn.0057a830
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x45f233
mov ecx, dword [ebp - 0x41c]
mov esi, edi
xor eax, eax
lea edi, [ebp - 0x468]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], bl
or edi, 0xffffffff
mov byte [ebp - 4], 0x15
cmp esi, edi
je 0x45f2dc
sub ecx, esi
lea eax, [ebp - 0x434]
sub ecx, 2
push ecx
push ecx
push esi
push eax
lea ecx, [ebp - 0x694]
call fcn.0040e3c4
or dword [ebp - 0x618], 0x100
lea eax, [ebp - 0x694]
push eax
lea ecx, [ebp - 0x468]
call fcn.0040d664
lea ecx, [ebp - 0x694]
call fcn.0040388d
push 0x25
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x4e8]
call fcn.00442178
pop ecx
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x458], 0
je 0x45f334
lea eax, [ebp - 0x468]
mov edx, 0x5f78c8
push eax
lea ecx, [ebp - 0x694]
call fcn.0040f5c0
pop ecx
push eax
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 4], 0x17
call fcn.004033c9
lea ecx, [ebp - 0x694]
mov byte [ebp - 4], 0x16
call fcn.0040388d
mov eax, dword [ebp - 0x640]
cmp byte [eax], 0
je 0x45f404
lea ecx, [ebp - 0x450]
call fcn.0045d892
movaps xmm1, xmm0
xorps xmm0, xmm0
mulsd xmm1, qword [0x604e08]
movlpd qword [ebp - 0x628], xmm0
movsd xmm0, qword [0x605010]
comisd xmm1, xmm0
jb 0x45f3ae
subsd xmm1, xmm0
comisd xmm0, xmm1
jbe 0x45f3ae
mov eax, dword [ebp - 0x628]
add eax, ebx
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x624]
adc eax, 0x80000000
mov dword [ebp - 0x61c], eax
jmp 0x45f3c6
sub esi, dword [ebp - 0x638]
mov ecx, dword [ebp - 0x41c]
jmp 0x45f26e
mov eax, dword [ebp - 0x624]
mov dword [ebp - 0x61c], eax
mov eax, dword [ebp - 0x628]
mov dword [ebp - 0x41c], eax
movaps xmm0, xmm1
call fcn.005a08e0
mov edi, eax
mov esi, edx
add edi, dword [ebp - 0x41c]
lea eax, [ebp - 0x4e8]
push ebx
adc esi, dword [ebp - 0x61c]
push ebx
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00403481
push ebx
push 0x3e8
push esi
push edi
lea ecx, [ebp + 0x4c]
call fcn.0046061d
or edi, 0xffffffff
cmp dword [ebp - 0x420], 0x10
lea eax, [ebp - 0x434]
push dword [ebp - 0x424]
cmovae eax, dword [ebp - 0x434]
lea ecx, [ebp - 0x500]
push eax
call fcn.00403952
lea ecx, [ebp - 0x4e8]
call fcn.0040388d
lea ecx, [ebp - 0x468]
call fcn.0040388d
lea ecx, [ebp - 0x450]
jmp 0x45e971
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x500]
call fcn.004033c9
mov ecx, dword [ebp - 0x62c]
mov esi, dword [ebp - 0x618]
mov edx, dword [ebp - 0x64c]
cmp ecx, edi
jne 0x45e745
lea ecx, [ebp - 0x4b8]
call fcn.0040388d
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x420]
cmp eax, 0x10
jb 0x45f4a0
inc eax
push eax
push dword [ebp - 0x434]
call fcn.00404a83
pop ecx
pop ecx
mov esi, dword [ebp - 0x63c]
cmp dword [ebp + 0x48], 0
mov edi, dword [ebp - 0x640]
je 0x45f4d1
cmp byte [edi], 0
je 0x45f4d1
push ebx
sub esp, 0x18
lea eax, [ebp - 0x500]
mov ecx, esp
push eax
call fcn.00403481
lea ecx, [ebp + 0x24]
call fcn.00460663
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x4ec]
cmp eax, 0x10
jb 0x45e435
inc eax
push eax
push dword [ebp - 0x500]
call fcn.00404a83
pop ecx
pop ecx
jmp 0x45e435
mov ecx, esi
call fcn.004033a8
jmp 0x45f4a6
test edi, edi
je 0x45e408
cmp byte [edi], 0
jne 0x45e408
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x5b8]
mov dword [ebp - 0x41c], ebx
call esi
cmp dword [ebp - 0x41c], 0x103
jne 0x45f54c
lea ecx, [ebp - 0x668]
call fcn.0045f608
jmp 0x45f54c
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [ebp - 0x438]
mov dword [ebp - 0x438], ebx
push eax
push dword [ebp - 0x5b8]
call esi
mov eax, dword [ebp - 0x438]
mov edi, dword [ebp - 0x63c]
cmp eax, 1
jne 0x45f58c
cmp dword [ebp + 0x70], 0
je 0x45f59e
push 6
push str.failed
mov ecx, edi
call fcn.0040e37f
mov eax, dword [ebp - 0x438]
cmp eax, 0x103
jne 0x45f59e
lea ecx, [ebp - 0x668]
call fcn.0045f608
push dword [ebp - 0x5a8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x5a4]
call esi
push dword [ebp - 0x5b8]
call esi
push dword [ebp - 0x5b4]
call esi
lea ecx, [ebp - 0x4d0]
call fcn.0040388d
lea ecx, [ebp - 0x480]
call fcn.0040e260
lea ecx, [ebp + 0xc]
call fcn.0040e260
lea ecx, [ebp + 0x24]
call fcn.004035ff
lea ecx, [ebp + 0x4c]
call fcn.004035ff
lea ecx, [ebp + 0x74]
call fcn.0040388d
mov eax, edi
call fcn.0057794a
ret
call fcn.00577601
int3