Function at 0x5735a8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28340]
mov dword [ebp - 4], edx
push 0x64
call sub.KERNEL32.DLL_Sleep
push 1
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov al, byte [ecx + 0x214]
mov byte [ebp - 0xd], al
mov edx, dword [ebp - 4]
mov eax, dword [sym.UltraISO.exe__frmUSBWrite]
call fcn.00570a04
mov edx, dword [ebp - 4]
mov cl, byte [edx + 0x214]
mov al, byte [ebp - 0xd]
cmp cl, al
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x28228]
cmp ecx, 0xd
je 0x573623
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28228]
cmp edx, 4
je 0x573623
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x28228]
cmp eax, 0xe
jne 0x5739ae
mov edx, dword [0x80b160]
test edx, edx
je 0x57387e
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x28228]
cmp eax, 0xd
jne 0x573648
mov dword [ebp - 8], 0x81fc99
jmp 0x573650
call fcn.00517468
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
test edx, edx
je 0x573dd4
push dword [ebp - 8]
mov ecx, dword [ebp - 4]
movsx eax, byte [ecx + 0x214]
push eax
push 0x81fca0
lea edx, [ebp - 0x120]
push edx
call fcn.006712b0
add esp, 0x10
mov ecx, dword [ebp - 4]
movsx eax, byte [ecx + 0x214]
push eax
push 0x81fcb4
lea edx, [ebp - 0x224]
push edx
call fcn.006712b0
add esp, 0xc
push 0
lea ecx, [ebp - 0x120]
push ecx
call fcn.0066ebe8
add esp, 8
test eax, eax
jne 0x57371a
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.0066ebe8
add esp, 8
test eax, eax
je 0x57371a
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x120]
push ecx
push 0x5aad
call fcn.00402b9c
pop ecx
push eax
mov eax, dword [ebp + 8]
add eax, 0x2823c
push eax
call fcn.006712b0
add esp, 0x10
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x2823c
push edx
call fcn.005731ac
add esp, 8
push 1
lea ecx, [ebp - 0x224]
push ecx
lea eax, [ebp - 0x120]
push eax
call sub.KERNEL32.DLL_CopyFileA
push 0
lea edx, [ebp - 0x224]
push edx
call fcn.0066ebe8
add esp, 8
test eax, eax
je 0x573768
lea ecx, [ebp - 0x224]
push ecx
lea eax, [ebp - 0x120]
push eax
push 0x81fcc5
mov edx, dword [ebp + 8]
add edx, 0x2823c
push edx
call fcn.006712b0
add esp, 0x10
push 1
mov ecx, dword [ebp + 8]
add ecx, 0x2823c
push ecx
call fcn.005731ac
add esp, 8
push dword [ebp - 8]
mov eax, dword [ebp - 4]
movsx edx, byte [eax + 0x214]
push edx
push 0x81fce6
lea ecx, [ebp - 0x120]
push ecx
call fcn.006712b0
add esp, 0x10
mov eax, dword [ebp - 4]
movsx edx, byte [eax + 0x214]
push edx
push 0x81fcfa
lea ecx, [ebp - 0x224]
push ecx
call fcn.006712b0
add esp, 0xc
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.0066ebe8
add esp, 8
test eax, eax
jne 0x573828
push 0
lea edx, [ebp - 0x224]
push edx
call fcn.0066ebe8
add esp, 8
test eax, eax
je 0x573828
lea ecx, [ebp - 0x224]
push ecx
lea eax, [ebp - 0x120]
push eax
push 0x5aad
call fcn.00402b9c
pop ecx
push eax
mov edx, dword [ebp + 8]
add edx, 0x2823c
push edx
call fcn.006712b0
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x2823c
push ecx
call fcn.005731ac
add esp, 8
push 1
lea eax, [ebp - 0x224]
push eax
lea edx, [ebp - 0x120]
push edx
call sub.KERNEL32.DLL_CopyFileA
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.0066ebe8
add esp, 8
test eax, eax
je 0x573dd4
lea eax, [ebp - 0x224]
push eax
lea edx, [ebp - 0x120]
push edx
push 0x81fd04
mov ecx, dword [ebp + 8]
add ecx, 0x2823c
push ecx
call fcn.006712b0
add esp, 0x10
push 1
mov eax, dword [ebp + 8]
add eax, 0x2823c
push eax
call fcn.005731ac
add esp, 8
jmp 0x573dd4
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x28228]
cmp ecx, 0xd
jne 0x573895
mov dword [ebp - 8], str.MININT
jmp 0x57389d
call fcn.00517468
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x573dd4
push dword [ebp - 8]
mov edx, dword [ebp - 4]
movsx ecx, byte [edx + 0x214]
push ecx
push 0x81fd2c
lea eax, [ebp - 0x120]
push eax
call fcn.006712b0
add esp, 0x10
mov edx, dword [ebp - 4]
movsx ecx, byte [edx + 0x214]
push ecx
push 0x81fd40
lea eax, [ebp - 0x224]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x120]
push ecx
push 0x5aad
call fcn.00402b9c
pop ecx
push eax
mov eax, dword [ebp + 8]
add eax, 0x2823c
push eax
call fcn.006712b0
add esp, 0x10
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
add edx, 0x2823c
push edx
call fcn.005731ac
add esp, 8
push dword [ebp - 8]
mov ecx, dword [ebp - 4]
movsx eax, byte [ecx + 0x214]
push eax
push 0x81fd51
lea edx, [ebp - 0x120]
push edx
call fcn.006712b0
add esp, 0x10
mov ecx, dword [ebp - 4]
movsx eax, byte [ecx + 0x214]
push eax
push 0x81fd65
lea edx, [ebp - 0x224]
push edx
call fcn.006712b0
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
lea eax, [ebp - 0x120]
push eax
push 0x5aad
call fcn.00402b9c
pop ecx
push eax
mov edx, dword [ebp + 8]
add edx, 0x2823c
push edx
call fcn.006712b0
add esp, 0x10
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x2823c
push ecx
call fcn.005731ac
add esp, 8
jmp 0x573dd4
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28228]
cmp edx, 6
jne 0x573b8e
mov ecx, dword [0x80b160]
test ecx, ecx
je 0x573af6
call fcn.00517468
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x573dd4
push dword [ebp - 8]
mov edx, dword [ebp - 4]
movsx ecx, byte [edx + 0x214]
push ecx
push 0x81fd6f
lea eax, [ebp - 0x120]
push eax
call fcn.006712b0
add esp, 0x10
mov edx, dword [ebp - 4]
movsx ecx, byte [edx + 0x214]
push ecx
push 0x81fd7c
lea eax, [ebp - 0x224]
push eax
call fcn.006712b0
add esp, 0xc
push 0
lea edx, [ebp - 0x120]
push edx
call fcn.0066ebe8
add esp, 8
test eax, eax
jne 0x573aa0
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.0066ebe8
add esp, 8
test eax, eax
je 0x573aa0
lea eax, [ebp - 0x224]
push eax
lea edx, [ebp - 0x120]
push edx
push 0x5aad
call fcn.00402b9c
pop ecx
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x2823c
push ecx
call fcn.006712b0
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0x2823c
push eax
call fcn.005731ac
add esp, 8
push 1
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x120]
push ecx
call sub.KERNEL32.DLL_CopyFileA
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.0066ebe8
add esp, 8
test eax, eax
je 0x573dd4
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x120]
push ecx
push str.Error_copying_file__s_to__s.
mov eax, dword [ebp + 8]
add eax, 0x2823c
push eax
call fcn.006712b0
add esp, 0x10
push 1
mov edx, dword [ebp + 8]
add edx, 0x2823c
push edx
call fcn.005731ac
add esp, 8
jmp 0x573dd4
call fcn.00517468
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x573dd4
push dword [ebp - 8]
mov eax, dword [ebp - 4]
movsx edx, byte [eax + 0x214]
push edx
push str._c:_sEZLDR
lea ecx, [ebp - 0x120]
push ecx
call fcn.006712b0
add esp, 0x10
mov eax, dword [ebp - 4]
movsx edx, byte [eax + 0x214]
push edx
push str._c:EZLDR
lea ecx, [ebp - 0x224]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea edx, [ebp - 0x120]
push edx
push 0x5aad
call fcn.00402b9c
pop ecx
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x2823c
push ecx
call fcn.006712b0
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0x2823c
push eax
call fcn.005731ac
add esp, 8
jmp 0x573dd4
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x28228]
cmp ecx, 0xc
jne 0x573dd4
mov eax, dword [0x80b160]
test eax, eax
je 0x573c63
mov edx, dword [ebp - 4]
movsx ecx, byte [edx + 0x214]
push ecx
push 0x81fdbe
lea eax, [ebp - 0x224]
push eax
call fcn.006712b0
add esp, 0xc
push 0
lea edx, [ebp - 0x224]
push edx
call fcn.0066ebe8
add esp, 8
test eax, eax
je 0x573dd4
mov ecx, dword [ebp - 4]
movsx eax, byte [ecx + 0x214]
push eax
push 0x81fdcf
lea edx, [ebp - 0x224]
push edx
call fcn.006712b0
add esp, 0xc
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.0066ebe8
add esp, 8
test eax, eax
je 0x573dd4
mov eax, dword [ebp - 4]
movsx edx, byte [eax + 0x214]
push edx
push 0x81fde9
lea ecx, [ebp - 0x224]
push ecx
call fcn.006712b0
add esp, 0xc
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.0066ebe8
add esp, 8
test eax, eax
je 0x573dd4
push dword [ebp + 8]
call fcn.00527940
pop ecx
jmp 0x573dd4
call fcn.0051747c
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
test edx, edx
jne 0x573c7a
call fcn.00517468
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x573dd4
push dword [ebp - 8]
lea eax, [ebp - 0x120]
push eax
call fcn.0066ce08
add esp, 8
push 0x2f
lea edx, [ebp - 0x120]
push edx
call fcn.0066cf51
add esp, 8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x573cbb
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x120]
push edx
call fcn.0066ce38
pop ecx
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jge 0x573d02
mov ecx, dword [ebp - 0x18]
movsx eax, byte [ebp + ecx - 0x120]
cmp eax, 0x2f
jne 0x573cf5
mov edx, dword [ebp - 0x18]
mov byte [ebp + edx - 0x120], 0x5c
inc dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
jl 0x573cda
movsx edx, byte [ebp - 0x120]
cmp edx, 0x5c
je 0x573d68
mov cl, byte [ebp - 0x120]
test cl, cl
jne 0x573d40
lea eax, [ebp - 0x120]
push eax
mov edx, dword [ebp - 4]
movsx ecx, byte [edx + 0x214]
push ecx
push 0x81fe08
lea eax, [ebp - 0x224]
push eax
call fcn.006712b0
add esp, 0x10
jmp 0x573d8e
lea edx, [ebp - 0x120]
push edx
mov ecx, dword [ebp - 4]
movsx eax, byte [ecx + 0x214]
push eax
push 0x81fe19
lea edx, [ebp - 0x224]
push edx
call fcn.006712b0
add esp, 0x10
jmp 0x573d8e
lea ecx, [ebp - 0x120]
push ecx
mov eax, dword [ebp - 4]
movsx edx, byte [eax + 0x214]
push edx
push str._c:_s_syslinux.cfg
lea ecx, [ebp - 0x224]
push ecx
call fcn.006712b0
add esp, 0x10
lea eax, [ebp - 0x224]
push eax
push 0x5aab
call fcn.00402b9c
pop ecx
push eax
mov edx, dword [ebp + 8]
add edx, 0x2823c
push edx
call fcn.006712b0
add esp, 0xc
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x2823c
push ecx
call fcn.005731ac
add esp, 8
lea eax, [ebp - 0x224]
push eax
call fcn.00573230
pop ecx
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_SetErrorMode
mov esp, ebp
pop ebp
ret