Function at 0x40fab0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421ba7
mov eax, dword fs:[0]
push eax
sub esp, 0x760
mov eax, dword [0x429740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
xor ebx, ebx
mov dword [ebp - 0x768], edi
cmp eax, ebx
je 0x40fe1b
push eax
lea eax, [ebp - 0x764]
push eax
call fcn.0040db40
add esp, 8
mov ecx, dword [ebp - 0x760]
sub ecx, dword [ebp - 0x764]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 4], ebx
je 0x40fd9b
mov esi, dword [edi + 4]
mov eax, esi
mov dword [ebp - 0x720], 0xf
mov dword [ebp - 0x724], ebx
mov byte [ebp - 0x734], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40fb50
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x734]
call fcn.004064e0
push str._BACKUP.TXT
lea edx, [ebp - 0x734]
push edx
lea eax, [ebp - 0x750]
push eax
mov byte [ebp - 4], 1
call fcn.00408940
add esp, 0xc
push eax
lea ecx, [ebp - 0x734]
mov byte [ebp - 4], 2
call fcn.00407c50
mov esi, 0x10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x73c], esi
jb 0x40fbb5
mov ecx, dword [ebp - 0x750]
push ecx
call fcn.00410e8f
add esp, 4
mov eax, dword [ebp - 0x734]
cmp dword [ebp - 0x720], esi
jae 0x40fbc9
lea eax, [ebp - 0x734]
mov edx, dword [edi + 4]
push ebx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0xff
lea ecx, [ebp - 0x317]
xor eax, eax
push ebx
push ecx
mov byte [ebp - 0x754], bl
mov word [ebp - 0x753], ax
mov byte [ebp - 0x318], bl
call fcn.00411580
push 0xff
lea edx, [ebp - 0x117]
push ebx
push edx
mov byte [ebp - 0x118], bl
call fcn.00411580
push 0xff
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call fcn.00411580
push 0x100
lea ecx, [ebp - 0x218]
push ecx
push 0x100
lea edx, [ebp - 0x118]
push edx
mov edx, dword [edi + 4]
push 0x100
lea eax, [ebp - 0x318]
push eax
push 3
lea ecx, [ebp - 0x754]
push ecx
push edx
call fcn.00412ddb
mov esi, dword [ebp - 0x764]
add esp, 0x48
cmp esi, dword [ebp - 0x760]
je 0x40fd3b
sub esp, 0x1c
mov ecx, esp
lea eax, [ebp - 0x118]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
mov dword [ebp - 0x76c], esp
mov byte [ecx], bl
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40fc97
sub eax, edi
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004064e0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push esi
mov byte [ebp - 4], 3
mov byte [ecx], bl
call fcn.004062a0
lea ecx, [ebp - 0x750]
push ecx
mov byte [ebp - 4], 1
call fcn.0040f1e0
add esp, 0x3c
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00407c50
mov edi, 0x10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x73c], edi
jb 0x40fd0d
mov edx, dword [ebp - 0x750]
push edx
call fcn.00410e8f
add esp, 4
cmp dword [esi + 0x14], edi
jb 0x40fd16
mov eax, dword [esi]
jmp 0x40fd18
mov eax, esi
push eax
push 0x4228d8
call fcn.00412d1e
add esi, 0x1c
add esp, 8
cmp esi, dword [ebp - 0x760]
jne 0x40fc77
mov edi, dword [ebp - 0x768]
sub esp, 0x10
lea eax, [ebp - 0x764]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00409cf0
mov ecx, dword [edi + 4]
push ecx
call fcn.0040a8c0
mov eax, dword [ebp - 0x734]
mov esi, 0x10
add esp, 0x14
cmp dword [ebp - 0x720], esi
jae 0x40fd74
lea eax, [ebp - 0x734]
push eax
push str._nKody_byly_ulozeny_do_souboru:__s
call fcn.00412d1e
add esp, 8
cmp dword [ebp - 0x720], esi
jb 0x40fdd8
mov edx, dword [ebp - 0x734]
push edx
call fcn.00410e8f
add esp, 4
jmp 0x40fdd8
push 0x400
lea eax, [ebp - 0x718]
push ebx
push eax
call fcn.00411580
mov edx, dword [edi + 4]
push 0x400
lea ecx, [ebp - 0x718]
push ecx
push 1
push edx
call fcn.004016f0
lea eax, [ebp - 0x718]
push eax
push 0x4228d8
call fcn.00412d1e
add esp, 0x24
mov esi, dword [ebp - 0x764]
cmp esi, ebx
je 0x41001a
mov edi, dword [ebp - 0x760]
cmp esi, edi
je 0x40fe0d
lea ecx, [ebp - 0x758]
push esi
push ecx
call fcn.004073e0
add esi, 0x1c
add esp, 8
cmp esi, edi
jne 0x40fdf0
mov esi, dword [ebp - 0x764]
push esi
call fcn.00410e8f
add esp, 4
jmp 0x41001a
mov edx, dword [edi]
push edx
push str._nUsage:__s_fileName_n
mov byte [ebp - 0x718], bl
call fcn.00412d1e
push str.Kde_fileName_je_jmeno_souboru__kde_je_seznam_jednotliv
call fcn.00412d1e
push str.NEBO:_n
call fcn.00412d1e
mov eax, dword [edi]
push eax
push str._nUsage:__s_CPU_ID_n
call fcn.00412d1e
push str.CPU_ID_je_cislo_zjistene_pomoci_prikazu_CPU_ID_z_instalace_PRO_Engineera__ntoto_cislo_nesmi_obsahovat_pomlcky._n
call fcn.00412d1e
push 0x4223d0
call fcn.00412d1e
lea ecx, [ebp - 0x718]
push ecx
call fcn.00401480
add esp, 0x24
test eax, eax
jne 0x40fe88
push str.CHYBA:_Nelze_zjistit_jmeno_sitove_karty__pomoci_klice__SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards__nK.O.N.E.C
call fcn.00412d1e
add esp, 4
jmp 0x41001a
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x718]
push eax
call fcn.00401610
add esp, 8
test eax, eax
jne 0x40feb0
lea ecx, [ebp - 0x718]
push ecx
push str.CHYBA:_K_sitove_karte__s_NENALEZENA_MAC_adresa_nK.O.N.E.C
jmp 0x410012
push str.Kod_pro_CPU_ID
call fcn.00412d1e
add esp, 4
xor esi, esi
nop
mov bl, byte [ebp + esi - 0x18]
cmp bl, 0x10
jae 0x40fed6
push 0x4223d8
call fcn.00412d1e
add esp, 4
movzx edx, bl
push edx
push 0x4223d4
call fcn.00412d1e
inc esi
add esp, 8
cmp esi, 6
jl 0x40fec0
push str._tohoto_pocitace_je_:
call fcn.00412d1e
mov bl, byte [ebp - 0x13]
mov al, bl
xor al, 0xa7
add esp, 4
cmp al, 0x10
jae 0x40ff12
push 0x4223d8
call fcn.00412d1e
add esp, 4
movzx ecx, bl
xor ecx, 0xa7
push ecx
push 0x4223d4
call fcn.00412d1e
mov bl, byte [ebp - 0x15]
mov dl, bl
xor dl, 0xa7
add esp, 8
cmp dl, 0x10
jae 0x40ff43
push 0x4223d8
call fcn.00412d1e
add esp, 4
movzx eax, bl
xor eax, 0xa7
push eax
push 0x4223d4
call fcn.00412d1e
mov bl, byte [ebp - 0x18]
mov cl, bl
xor cl, 0xa7
add esp, 8
cmp cl, 0x10
jae 0x40ff73
push 0x4223d8
call fcn.00412d1e
add esp, 4
movzx edx, bl
xor edx, 0xa7
push edx
push 0x4223d4
call fcn.00412d1e
mov bl, byte [ebp - 0x16]
mov al, bl
xor al, 0xa7
add esp, 8
cmp al, 0x10
jae 0x40ffa2
push 0x4223d8
call fcn.00412d1e
add esp, 4
movzx ecx, bl
xor ecx, 0xa7
push ecx
push 0x4223d4
call fcn.00412d1e
mov bl, byte [ebp - 0x14]
mov dl, bl
xor dl, 0xa7
add esp, 8
cmp dl, 0x10
jae 0x40ffd3
push 0x4223d8
call fcn.00412d1e
add esp, 4
movzx eax, bl
xor eax, 0xa7
push eax
push 0x4223d4
call fcn.00412d1e
mov bl, byte [ebp - 0x17]
mov cl, bl
xor cl, 0xa7
add esp, 8
cmp cl, 0x10
jae 0x410003
push 0x4223d8
call fcn.00412d1e
add esp, 4
movzx edx, bl
xor edx, 0xa7
push edx
push 0x4223d4
call fcn.00412d1e
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004119de
mov esp, ebp
pop ebp
ret