Function at 0x10016d30
Capabilities:
Copy file
Create directory
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push 0x103
lea eax, [ebp - 0x127]
push 0
push eax
mov byte [ebp - 0x128], 0
call sub.ntdll.dll_memset
push 0x103
lea ecx, [ebp - 0x22b]
push 0
push ecx
mov byte [ebp - 0x22c], 0
call sub.ntdll.dll_memset
add esp, 0x18
xor eax, eax
mov cl, byte [eax + 0x10055868]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x10016d72
push esi
push edi
push 0x10058858
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x10058858
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10016d98
lea edi, [ebp - 0x128]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10016da8
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea edx, [ebp - 0x128]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x10016df7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x10016df0
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x128]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10016e00
mov ecx, dword [str.keys]
mov dl, byte [0x10048aa8]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [eax], ecx
mov byte [eax + 4], dl
push 0
lea eax, [ebp - 0x128]
push eax
call edi
test eax, eax
je 0x10016e54
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x10016e4d
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x1005627c], 0
je 0x1001700a
lea eax, [ebp - 0x128]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10016e68
mov edx, dword [str.private_]
mov ecx, dword [0x10048ab0]
mov dword [eax], edx
mov dx, word [0x10048ab4]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
push 0
lea eax, [ebp - 0x128]
push eax
call edi
test eax, eax
je 0x10016ec1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x10016eba
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.private_
push 0x10056298
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov esi, eax
test esi, esi
je 0x100173ff
mov byte [esi + 9], 0
xor eax, eax
mov cl, byte [eax + 0x10056298]
mov byte [ebp + eax - 0x22c], cl
inc eax
test cl, cl
jne 0x10016ee1
lea eax, [ebp - 0x22c]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10016f00
mov dx, word [0x10048ab8]
mov cl, byte [0x10048aba]
mov word [eax], dx
mov byte [eax + 2], cl
xor eax, eax
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x22c]
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 - 0x128]
mov ecx, 0x41c
push edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x10], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
jne 0x100173ff
mov byte [esi + 9], 0x5c
mov edi, edi
mov cl, byte [eax + 0x10055868]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x10016f70
push 0x10058858
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x10058858
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10016f94
lea edi, [ebp - 0x128]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10016fa6
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x128]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10016fc3
mov ecx, dword [str.private.txt]
mov edx, dword [0x10048ac0]
mov dword [eax], ecx
mov ecx, dword [0x10048ac4]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, 0x10056298
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10016ff0
sub eax, edx
push eax
push 0x10056298
lea eax, [ebp - 0x128]
call fcn.10006ff0
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x10055868]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x10017010
push 0x10058858
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x10058858
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10017034
lea edi, [ebp - 0x128]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10017046
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x128]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10017063
cmp dword [0x10056284], 0
mov edx, dword [str.keys]
mov cl, byte [0x10048aa8]
mov dword [eax], edx
mov byte [eax + 4], cl
je 0x1001724b
lea eax, [ebp - 0x128]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10017090
mov edx, dword [str.public_]
mov ecx, dword [0x10048acc]
mov dword [eax], edx
mov dl, byte [0x10048ad0]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
push 0
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x100170eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x100170e4
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.public_
push 0x100563a0
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov esi, eax
test esi, esi
je 0x100173ff
mov byte [esi + 8], 0
xor eax, eax
jmp 0x10017110
mov cl, byte [eax + 0x100563a0]
mov byte [ebp + eax - 0x22c], cl
inc eax
test cl, cl
jne 0x10017110
lea eax, [ebp - 0x22c]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10017130
mov dx, word [0x10048ab8]
mov cl, byte [0x10048aba]
mov word [eax], dx
mov byte [eax + 2], cl
xor eax, eax
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x22c]
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 - 0x128]
mov ecx, 0x41c
push edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x10], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
jne 0x100173ff
mov byte [esi + 8], 0x5c
mov edi, edi
mov cl, byte [eax + 0x10055868]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x100171a0
push 0x10058858
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x10058858
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100171c4
lea edi, [ebp - 0x128]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100171d6
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x128]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x100171f3
mov ecx, dword [str.public.txt]
mov edx, dword [0x10048ad8]
mov dword [eax], ecx
mov cx, word [0x10048adc]
mov dword [eax + 4], edx
mov dl, byte [0x10048ade]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
mov eax, 0x100563a0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10017228
sub eax, edx
push eax
push 0x100563a0
lea eax, [ebp - 0x128]
call fcn.10006ff0
cmp dword [0x10056284], 0
jne 0x10017258
cmp dword [0x1005627c], 0
je 0x100173ff
xor eax, eax
lea ebx, [ebx]
mov cl, byte [eax + 0x10055868]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x10017260
push 0x10058858
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x10058858
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10017284
lea edi, [ebp - 0x128]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10017296
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea eax, [ebp - 0x128]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x100172e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x100172de
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x128]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x100172f0
mov edx, dword [str.keys.zip]
mov ecx, dword [0x100489c4]
mov dword [eax], edx
mov dl, byte [0x100489c8]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
xor eax, eax
jmp 0x10017320
mov cl, byte [eax + 0x10055868]
mov byte [ebp + eax - 0x22c], cl
inc eax
test cl, cl
jne 0x10017320
push 0x10058858
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x10058858
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10017344
lea edi, [ebp - 0x22c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10017356
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x22c]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10017373
mov ecx, dword [str.keys]
mov dl, byte [0x10048aa8]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x128]
push ecx
call fcn.10024550
test eax, eax
je 0x100173ff
lea edx, [ebp - 0x22c]
push edx
call fcn.100072b0
cmp dword [0x1005627c], 0
mov eax, 0x10056298
jne 0x100173c2
mov eax, 0x100563a0
push 0
push 0
push eax
push 0x10017b80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x100173ff
lea eax, [ebp - 0x24]
push eax
push esi
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x100173ff
test byte [ebp - 0x24], 2
jne 0x100173ff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov esp, ebp
pop ebp
ret