Function at 0x4232c0
Capabilities:
Copy file
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x204
mov eax, dword [0x454004]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
push esi
mov eax, 0x458af0
mov dword [esp + 0x18], edx
mov esi, 0x45c2d0
mov dword [esp + 0x1c], ecx
push edi
mov dword [esp + 0x54], str.listening_ports
mov edi, 0x4570ec
mov dword [esp + 0x5c], str.document_root
xor ebx, ebx
mov dword [esp + 0x60], 0x4519b0
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], 0x4519c0
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], 0x455b70
mov dword [esp + 0x10], 0x459010
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
push 0x294
lea eax, [edi - 0x44]
push 0
push eax
call fcn.004252d0
add esp, 0xc
mov dword [edi + 4], 1
lea eax, [edi + 0x210]
mov dword [edi], 1
mov dword [edi - 0x3c], 1
mov dword [edi - 0x34], 0xffffffff
push str.QWERTY_USA
push 0x20
push eax
mov dword [edi - 0x14], 1
mov dword [edi - 0x10], 1
call fcn.0042939d
add esp, 0xc
lea eax, [edi + 0x230]
push str.en_US
push 0x20
push eax
call fcn.0042939d
add esp, 0xc
lea eax, [esi - 0x30]
push 0x194
push 0
push eax
call fcn.004252d0
add esp, 0xc
lea eax, [esi - 0x20]
push str.1024x768
push 0x20
push eax
call fcn.0042939d
add esp, 0xc
push 0x451178
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 0x44c068
push 0x20
push eax
call fcn.00401100
mov esi, dword [esp + 0x1c]
push 0x64
push 0
push esi
mov dword [ebx + 0x4582d0], 0
mov dword [ebx + 0x4582b4], 0
call fcn.004252d0
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 0x44c068
push 0x20
push esi
call fcn.00401100
mov dword [ebx + 0x45c12c], 0
mov dword [ebx + 0x458ff0], 0
mov dword [ebx + 0x458dac], 0
push 0x704
push 0
push dword [esp + 0x28]
mov dword [ebx + 0x458fd4], 0
call fcn.004252d0
mov ecx, dword [esp + 0x34]
lea ebx, [ebx + 4]
mov esi, dword [esp + 0x30]
xorps xmm0, xmm0
add dword [esp + 0x28], 0x64
add edi, 0x294
add dword [esp + 0x2c], 0x704
add esi, 0x194
movq qword [ecx], xmm0
add esp, 0x1c
add ecx, 8
mov dword [ebx + 0x45c27c], 0
mov dword [ebx + 0x45cda8], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
cmp edi, 0x458064
jle 0x423374
movsx eax, byte [0x45cf00]
push eax
push str._C:_ventoy_ventoy.json
lea eax, [esp + 0x90]
push 0x40
push eax
call fcn.00401100
movsx eax, byte [0x45cf00]
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 0x44c068
call fcn.004023e0
add esp, 0x28
test eax, eax
je 0x4235a8
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.00422640
test eax, eax
jne 0x4235a8
xor ecx, ecx
call fcn.0041eed0
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.004252d0
add esp, 0xc
mov dword [esp + 0x24], 0x420780
lea eax, [esp + 0x54]
mov dword [esp + 0x3c], 0x420960
lea ecx, [esp + 0x24]
push eax
call fcn.004127c0
add esp, 4
mov dword [0x4582ec], eax
mov dword [0x455c04], 0
push str.VTOYWRBK
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0x4203a0
push 0x403050
push 0
push 0
mov dword [0x455c10], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x20c]
mov dword [0x455c00], eax
xor eax, eax
cmp dword [0x4582ec], eax
pop edi
pop esi
sete al
pop ebx
xor ecx, esp
call fcn.00423c62
mov esp, ebp
pop ebp
ret