Function at 0x1001a4a0
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 [0x1005b0f8], 0
call sub.MSVCRT.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x1001a4d0
mov cl, byte [eax + 0x1005ae00]
mov byte [ebp + eax - 0x228], cl
inc eax
test cl, cl
jne 0x1001a4d0
push 0x1005d350
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005d350
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001a4f4
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 0x1001a507
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 0x1001a526
mov ecx, dword [str.keys]
mov dl, byte [0x1004a424]
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 0x1001a578
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001a571
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.MSVCRT.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 0x1001a5a0
lea eax, [ebp - 0x124]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001a5b1
mov ecx, dword [str..key]
mov dx, word [0x1004a460]
mov edi, dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov dword [eax], ecx
mov cl, byte [0x1004a462]
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 0x1001a93b
push 0x104
push eax
lea eax, [ebp - 0x124]
push eax
call sub.MSVCRT.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 0x1001a640
lea eax, [ebp - 0x124]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001a651
mov ecx, dword [str._self.cer]
mov edx, dword [0x1004a468]
mov dword [eax], ecx
mov cx, word [0x1004a46c]
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 0x1001a93b
push 0x104
push eax
lea eax, [ebp - 0x124]
push eax
call sub.MSVCRT.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 0x1001a6d4
lea eax, [ebp - 0x124]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001a6e5
mov ecx, dword [str._rand]
mov dx, word [0x1004a474]
mov dword [eax], ecx
mov cl, byte [0x1004a476]
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 0x1001a93b
push 0x104
push eax
lea eax, [ebp - 0x124]
push eax
call sub.MSVCRT.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 0x1001a768
lea eax, [ebp - 0x124]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001a780
mov ecx, dword [str.CRL]
mov dx, word [0x1004a47c]
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 0x1001a93b
push 0x104
push eax
lea ecx, [ebp - 0x124]
push ecx
call sub.MSVCRT.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 0x1001a800
lea eax, [ebp - 0x124]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001a811
mov edx, dword [str.CA]
mov cl, byte [0x1004a484]
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 0x1001a93b
push 0x104
push eax
lea eax, [ebp - 0x124]
push eax
call sub.MSVCRT.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 0x1001a890
lea eax, [ebp - 0x124]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001a8a1
mov ecx, dword [str.ABONENTS]
mov edx, dword [0x1004a48c]
mov dword [eax], ecx
mov cx, word [0x1004a490]
mov dword [eax + 4], edx
mov dl, byte [0x1004a492]
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 0x1001a93b
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x228]
push ecx
push edx
call fcn.10028fe0
test eax, eax
je 0x1001a93b
lea eax, [ebp - 0x228]
push eax
call fcn.10005810
mov dword [0x1005b0f8], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8