Function at 0x435e33
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x330
mov eax, 0x5b40a8
call fcn.00581c9c
mov esi, ecx
mov dword [ebp - 0x304], esi
xor edi, edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x300], edi
mov edx, dword [esi + 4]
add edx, 8
mov eax, dword [edx + 0xc]
push dword [eax + 0xe4]
push edx
call fcn.004d8350
call fcn.0043a50c
push eax
lea ecx, [ebp - 0x2c]
call fcn.004035a1
lea eax, [ebp - 0x2c]
mov ebx, 0x100
push eax
mov ecx, str.ytdlp
mov dword [ebp - 0x300], ebx
call fcn.0041f9fc
lea ecx, [ebp - 0x2c]
call fcn.004039ad
mov ecx, dword [esi + 8]
call fcn.0048c480
mov dword [0x67c944], eax
mov ecx, dword [esi + 0xc]
call fcn.0048c480
mov dword [0x67c948], eax
mov ecx, dword [esi + 0x10]
call fcn.0048c480
mov dword [0x67c94c], eax
mov ecx, dword [esi + 0x14]
call fcn.0048c480
mov dword [0x67c964], eax
mov ecx, dword [esi + 0x18]
call fcn.0048c480
mov dword [0x67c968], eax
lea edx, [ebp - 0x2c]
mov eax, dword [esi + 0x1c]
push edx
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x10], edi
setne byte [0x67c981]
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x2c]
push eax
call fcn.0041f925
lea ecx, [ebp - 0x2c]
call fcn.00410c77
mov ecx, dword [esi + 0x28]
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
lea eax, [ebp - 0x2c]
mov ecx, 0x67c890
push eax
call fcn.0041f925
lea ecx, [ebp - 0x2c]
call fcn.00410c77
mov ecx, dword [esi + 0x2c]
call fcn.004f6e10
mov dword [0x67c95c], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x10], edi
setne byte [0x67c982]
mov eax, dword [esi + 0x34]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x10], edi
setne byte [0x67c984]
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x10], edi
setne byte [0x67c985]
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x10], edi
setne byte [0x67c989]
mov eax, dword [esi + 0x40]
lea edx, [ebp - 0x6c]
push edx
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x10], edi
setne byte [0x67c988]
mov eax, dword [esi + 0x44]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x10], edi
setne byte [0x67c987]
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x10], edi
setne byte [0x67c995]
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x10], edi
setne byte [0x67c996]
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x10], edi
setne byte [0x67c997]
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0x18]
lea eax, [ebp - 0x6c]
mov ecx, 0x67c8c0
push eax
call fcn.0041f925
lea ecx, [ebp - 0x6c]
call fcn.00410c77
mov eax, dword [esi]
mov eax, dword [eax + 0x820]
cmp dword [eax + 0x10], edi
setne byte [0x67c99a]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x10], edi
setne byte [0x67c99b]
mov eax, dword [esi + 0x5c]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x10], edi
setne byte [0x67c99d]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x10], edi
setne byte [0x67c99f]
mov eax, dword [esi + 0x64]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x10], edi
setne byte [0x67c9a0]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x10], edi
mov eax, dword [0x67c9b8]
setne byte [0x67c9a1]
cmp eax, dword [0x67c9bc]
je 0x43605f
mov dword [0x67c9bc], eax
mov ecx, dword [esi + 0x6c]
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.004c0190
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004bf400
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
call fcn.004bf490
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004beda0
test al, al
je 0x4360eb
lea esi, [ebp - 0x4c]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004be550
test al, al
je 0x4360d0
mov eax, dword [ebp - 0x40]
mov ecx, 0x67c9b8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042acaa
lea ecx, [ebp - 0x4c]
call fcn.004bed40
lea eax, [ebp - 0x24]
push eax
call fcn.004beda0
test al, al
jne 0x4360a6
mov esi, dword [ebp - 0x304]
mov eax, dword [0x67c9c4]
cmp eax, dword [0x67c9c8]
je 0x4360fd
mov dword [0x67c9c8], eax
mov ecx, dword [esi + 0x70]
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.004c0190
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004bf400
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
call fcn.004bf490
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004beda0
test al, al
je 0x43618a
lea esi, [ebp - 0x4c]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004be550
test al, al
je 0x43616f
mov eax, dword [ebp - 0x40]
mov ecx, 0x67c9c4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042acaa
lea ecx, [ebp - 0x4c]
call fcn.004bed40
lea eax, [ebp - 0x24]
push eax
call fcn.004beda0
test al, al
jne 0x436145
mov esi, dword [ebp - 0x304]
mov eax, dword [esi + 0x74]
mov cl, byte [0x67c983]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x10], 0
setne al
cmp cl, al
jne 0x436399
test cl, cl
sete al
mov byte [0x67c983], al
test al, al
je 0x436203
mov esi, dword [esi]
sub esp, 0x18
push esp
lea ecx, [esi + 0x424]
call fcn.00459c6f
lea ecx, [esi + 0x424]
call fcn.0041a801
mov edi, dword [ebp - 0x304]
mov esi, eax
push esi
mov ecx, dword [edi]
add ecx, 0x424
call fcn.0045a10d
mov ecx, dword [edi]
add ecx, 0x424
push esi
call fcn.0045a258
mov ecx, dword [edi]
add ecx, 0x424
push esi
call fcn.0045a33e
mov esi, edi
push str.Download_options
lea ecx, [ebp - 0x2c]
call fcn.00403568
and dword [ebp - 4], 0
mov eax, dword [esi]
mov edi, dword [eax + 0x42c]
mov dword [ebp - 0x30c], edi
mov esi, dword [edi]
mov dword [ebp - 0x14], esi
jmp 0x43637f
mov eax, dword [esi + 0x28]
mov edx, dword [eax + 0x1a4]
test edx, edx
je 0x436374
add eax, 0x1ac
cmp byte [0x67c983], 0
mov dword [ebp - 0x308], eax
je 0x436266
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x54]
call fcn.004035a1
mov byte [ebp - 4], 1
or ebx, 1
jmp 0x4362ce
lea ecx, [ebp - 0x324]
call fcn.0040162e
mov edi, eax
push 2
pop eax
or ebx, eax
mov dword [ebp - 4], eax
push str._for_queue_item_
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x300], ebx
lea ecx, [ebp - 0x33c]
call fcn.004041ef
pop ecx
push edi
push eax
push dword [ebp - 0x308]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x6c]
or ebx, 4
mov dword [ebp - 0x300], ebx
call fcn.00421bd9
or ebx, 0x80
mov edi, dword [ebp - 0x30c]
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 4
or ebx, 8
sub esp, 0x18
mov dword [ebp - 0x300], ebx
mov ecx, esp
push eax
call fcn.00403505
mov ecx, dword [ebp - 0x308]
call fcn.0047207f
test bl, 8
je 0x436300
and ebx, 0xfffffff7
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x300], ebx
call fcn.004039ad
test bl, 4
je 0x436319
and ebx, 0xfffffffb
lea ecx, [ebp - 0x33c]
mov dword [ebp - 0x300], ebx
call fcn.004039ad
test bl, 2
je 0x436332
and ebx, 0xfffffffd
lea ecx, [ebp - 0x324]
mov dword [ebp - 0x300], ebx
call fcn.004039ad
and dword [ebp - 4], 0
test bl, 1
je 0x43634c
and ebx, 0xfffffffe
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x300], ebx
call fcn.004039ad
cmp byte [0x67c983], 0
mov ecx, dword [esi + 0x28]
sete al
push eax
call fcn.00454602
mov ecx, dword [esi + 0x28]
add ecx, 0x1ac
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
call fcn.004aaa20
lea ecx, [ebp - 0x14]
call fcn.00403d9b
mov esi, dword [ebp - 0x14]
cmp esi, edi
jne 0x43622c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004039ad
mov esi, dword [ebp - 0x304]
mov eax, dword [esi]
xor ebx, ebx
mov byte [eax + 0xb7c], bl
mov eax, dword [esi]
mov eax, dword [eax + 0x7fc]
cmp dword [eax + 0x10], ebx
setne byte [0x67c98b]
mov eax, dword [esi]
mov eax, dword [eax + 0x88c]
cmp dword [eax + 0x10], ebx
setne byte [0x67c99e]
mov ecx, dword [esi]
cmp dword [ecx + 0x2a0], ebx
je 0x4363dc
add ecx, 0x29c
call fcn.0042f432
mov ecx, dword [esi]
cmp dword [ecx + 0x2a8], ebx
je 0x4363f1
add ecx, 0x2a4
call fcn.00419d53
mov ecx, dword [esi]
cmp dword [ecx + 0x2d0], ebx
je 0x436406
add ecx, 0x2cc
call fcn.00419d53
mov ecx, dword [esi]
cmp dword [ecx + 0x2d8], ebx
je 0x43641b
add ecx, 0x2d4
call fcn.00419d53
mov ecx, dword [esi]
cmp dword [ecx + 0x2b0], ebx
je 0x436430
add ecx, 0x2ac
call fcn.00419d53
mov ecx, dword [esi]
cmp dword [ecx + 0x2b8], ebx
je 0x436445
add ecx, 0x2b4
call fcn.00419d53
mov eax, dword [esi]
mov ecx, dword [eax + 0x10c]
test ecx, ecx
je 0x43659c
mov eax, dword [ecx]
call dword [eax + 8]
test al, al
jne 0x436596
call fcn.0058ce52
cmp dword [eax], ebx
je 0x436596
call fcn.0058ce52
push dword [eax]
call fcn.00590fde
pop ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.00403568
push 0x290
lea eax, [ebp - 0x2fc]
mov dword [ebp - 4], 5
push ebx
push eax
call fcn.00583340
add esp, 0xc
lea ecx, [ebp - 0x2c]
push str.ytdlp_interface___error_writing_settings_file
call fcn.00403568
mov byte [ebp - 4], 6
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x2fc]
call fcn.0041a05a
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.004039ad
push 0x10
lea ecx, [ebp - 0x2fc]
call fcn.00419ea0
mov ecx, dword [esi]
lea eax, [ebp - 0x324]
add ecx, 0xcc
push ecx
push eax
call fcn.0043a31c
lea ecx, [ebp - 0x324]
mov byte [ebp - 4], 9
call fcn.004e4b30
lea edx, [ebp - 0x324]
lea ecx, [ebp - 0x224]
call fcn.004220a4
mov esi, str._n_nAn_error_occured_when_trying_to_save_the_settings_file:_n_n
lea ecx, [ebp - 0x33c]
push esi
call fcn.00403568
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 0xa
call fcn.004e4850
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 9
call fcn.004039ad
lea eax, [ebp - 0x224]
push esi
push eax
call fcn.0042b358
pop ecx
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.004e4b30
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x224]
call fcn.004220a4
lea ecx, [ebp - 0x2fc]
call fcn.0041a572
lea ecx, [ebp - 0x324]
call fcn.004039ad
lea ecx, [ebp - 0x2fc]
call fcn.0041a6ed
lea ecx, [ebp - 0x6c]
call fcn.004039ad
call fcn.00581c4b
ret
call fcn.0056cf9f
int3