Function at 0x421d80
Capabilities:
Copy file
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x204
mov eax, dword [0x452004]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
push esi
mov eax, 0x456260
mov dword [esp + 0x18], edx
mov esi, 0x459d04
mov dword [esp + 0x1c], ecx
push edi
mov dword [esp + 0x54], str.listening_ports
mov ebx, 0x455098
mov dword [esp + 0x5c], str.document_root
xor edi, edi
mov dword [esp + 0x60], 0x44f75c
mov dword [esp + 0x64], str.index_files
mov dword [esp + 0x68], str.index.html
mov dword [esp + 0x6c], str.num_threads
mov dword [esp + 0x70], 0x44f76c
mov dword [esp + 0x74], str.error_log_file
mov dword [esp + 0x78], str.VentoyPlugson.log
mov dword [esp + 0x7c], str.request_timeout_ms
mov dword [esp + 0x80], str.10000
mov dword [esp + 0x84], 0
mov dword [esp + 0x18], 0x453b50
mov dword [esp + 0x10], 0x456b80
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
push 0x284
lea eax, [ebx - 0x10]
push 0
push eax
call fcn.00423b10
add esp, 0xc
mov dword [ebx - 8], 1
lea eax, [ebx + 0x234]
mov dword [ebx], 0xffffffff
push str.QWERTY_USA
push 0x20
push eax
call fcn.00427bdd
add esp, 0xc
lea eax, [ebx + 0x254]
push str.en_US
push 0x20
push eax
call fcn.00427bdd
add esp, 0xc
lea eax, [esi - 0x2c]
push 0x190
push 0
push eax
call fcn.00423b10
add esp, 0xc
lea eax, [esi - 0x20]
push str.1024x768
push 0x20
push eax
call fcn.00427bdd
add esp, 0xc
push 0x44ef00
push 0x20
push esi
call fcn.00401100
add esp, 0xc
lea eax, [esi + 0x20]
push str.95__
push 0x20
push eax
call fcn.00401100
add esp, 0xc
lea eax, [esi + 0x40]
push str.0000ff
push 0x44a068
push 0x20
push eax
call fcn.00401100
mov esi, dword [esp + 0x1c]
push 0x64
push 0
push esi
mov dword [edi + 0x456240], 0
mov dword [edi + 0x456224], 0
call fcn.00423b10
add esp, 0x1c
push str.10__
push 0x20
push esi
call fcn.00401100
add esp, 0xc
add esi, 0x40
push str.81__
lea eax, [esi - 0x20]
push 0x20
push eax
call fcn.00401100
add esp, 0xc
push str.blue
push 0x44a068
push 0x20
push esi
call fcn.00401100
push 0x704
push 0
push dword [esp + 0x28]
mov dword [edi + 0x459c9c], 0
mov dword [edi + 0x456b60], 0
mov dword [edi + 0x45651c], 0
mov dword [edi + 0x456b44], 0
call fcn.00423b10
mov ecx, dword [esp + 0x34]
lea edi, [edi + 4]
mov esi, dword [esp + 0x30]
xorps xmm0, xmm0
add dword [esp + 0x28], 0x64
add ebx, 0x284
add dword [esp + 0x2c], 0x704
add esi, 0x190
movq qword [ecx], xmm0
add esp, 0x1c
add ecx, 8
mov dword [edi + 0x459cb4], 0
mov dword [edi + 0x45a7c4], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
cmp ebx, 0x455fb0
jle 0x421e34
movsx eax, byte [0x45a920]
push eax
push str._C:_ventoy_ventoy.json
lea eax, [esp + 0x90]
push 0x40
push eax
call fcn.00401100
movsx eax, byte [0x45a920]
push eax
push str._C:_ventoy_ventoy_backup.json
lea eax, [esp + 0x120]
push 0x40
push eax
call fcn.00401100
lea eax, [esp + 0xa8]
push eax
push 0x44a068
call fcn.00402240
add esp, 0x28
test eax, eax
je 0x422041
push 0
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x88]
call fcn.004210f0
push dword [esp + 0x1c]
lea eax, [esp + 0x18c]
push dword [esp + 0x24]
push str._s:_s
push 0x80
push eax
call fcn.00401100
add esp, 0x14
lea eax, [esp + 0x188]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x24]
push 0x30
push 0
push eax
call fcn.00423b10
add esp, 0xc
mov dword [esp + 0x24], 0x41f200
lea eax, [esp + 0x54]
mov dword [esp + 0x3c], 0x41f580
lea ecx, [esp + 0x24]
push eax
call fcn.00412650
add esp, 4
mov dword [0x45625c], eax
mov dword [0x453be4], 0
push str.VTOYWRBK
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0x41f0e0
push 0x402ed0
push 0
push 0
mov dword [0x453bf0], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x20c]
mov dword [0x453be0], eax
xor eax, eax
cmp dword [0x45625c], eax
pop edi
pop esi
sete al
pop ebx
xor ecx, esp
call fcn.00422702
mov esp, ebp
pop ebp
ret