Function at 0x10019c40
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.MSVCRT.dll_memset
push 0x103
lea ecx, [ebp - 0x22b]
push 0
push ecx
mov byte [ebp - 0x22c], 0
call sub.MSVCRT.dll_memset
add esp, 0x18
xor eax, eax
mov cl, byte [eax + 0x1005ae00]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x10019c82
push esi
push edi
push 0x1005d350
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005d350
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10019ca8
lea edi, [ebp - 0x128]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10019cb8
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 0x10019d07
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x10019d00
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 0x10019d10
mov ecx, dword [str.keys]
mov dl, byte [0x1004a424]
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 0x10019d64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x10019d5d
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x1005b0fc], 0
je 0x10019f1a
lea eax, [ebp - 0x128]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10019d78
mov edx, dword [str.private_]
mov ecx, dword [0x1004a42c]
mov dword [eax], edx
mov dx, word [0x1004a430]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
push 0
lea eax, [ebp - 0x128]
push eax
call edi
test eax, eax
je 0x10019dd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x10019dca
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 0x1005b118
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov esi, eax
test esi, esi
je 0x1001a30f
mov byte [esi + 9], 0
xor eax, eax
mov cl, byte [eax + 0x1005b118]
mov byte [ebp + eax - 0x22c], cl
inc eax
test cl, cl
jne 0x10019df1
lea eax, [ebp - 0x22c]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10019e10
mov dx, word [0x1004a434]
mov cl, byte [0x1004a436]
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 0x1001a30f
mov byte [esi + 9], 0x5c
mov edi, edi
mov cl, byte [eax + 0x1005ae00]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x10019e80
push 0x1005d350
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005d350
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10019ea4
lea edi, [ebp - 0x128]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10019eb6
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 0x10019ed3
mov ecx, dword [str.private.txt]
mov edx, dword [0x1004a43c]
mov dword [eax], ecx
mov ecx, dword [0x1004a440]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, 0x1005b118
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10019f00
sub eax, edx
push eax
push 0x1005b118
lea eax, [ebp - 0x128]
call fcn.10005550
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x1005ae00]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x10019f20
push 0x1005d350
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005d350
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10019f44
lea edi, [ebp - 0x128]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10019f56
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 0x10019f73
cmp dword [0x1005b104], 0
mov edx, dword [str.keys]
mov cl, byte [0x1004a424]
mov dword [eax], edx
mov byte [eax + 4], cl
je 0x1001a15b
lea eax, [ebp - 0x128]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10019fa0
mov edx, dword [str.public_]
mov ecx, dword [0x1004a448]
mov dword [eax], edx
mov dl, byte [0x1004a44c]
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 0x10019ffb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x10019ff4
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 0x1005b220
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov esi, eax
test esi, esi
je 0x1001a30f
mov byte [esi + 8], 0
xor eax, eax
jmp 0x1001a020
mov cl, byte [eax + 0x1005b220]
mov byte [ebp + eax - 0x22c], cl
inc eax
test cl, cl
jne 0x1001a020
lea eax, [ebp - 0x22c]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001a040
mov dx, word [0x1004a434]
mov cl, byte [0x1004a436]
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 0x1001a30f
mov byte [esi + 8], 0x5c
mov edi, edi
mov cl, byte [eax + 0x1005ae00]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x1001a0b0
push 0x1005d350
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005d350
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001a0d4
lea edi, [ebp - 0x128]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001a0e6
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 0x1001a103
mov ecx, dword [str.public.txt]
mov edx, dword [0x1004a454]
mov dword [eax], ecx
mov cx, word [0x1004a458]
mov dword [eax + 4], edx
mov dl, byte [0x1004a45a]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
mov eax, 0x1005b220
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001a138
sub eax, edx
push eax
push 0x1005b220
lea eax, [ebp - 0x128]
call fcn.10005550
cmp dword [0x1005b104], 0
jne 0x1001a168
cmp dword [0x1005b0fc], 0
je 0x1001a30f
xor eax, eax
lea ebx, [ebx]
mov cl, byte [eax + 0x1005ae00]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x1001a170
push 0x1005d350
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005d350
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001a194
lea edi, [ebp - 0x128]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001a1a6
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 0x1001a1f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001a1ee
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 0x1001a200
mov edx, dword [str.keys.zip]
mov ecx, dword [0x1004a38c]
mov dword [eax], edx
mov dl, byte [0x1004a390]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
xor eax, eax
jmp 0x1001a230
mov cl, byte [eax + 0x1005ae00]
mov byte [ebp + eax - 0x22c], cl
inc eax
test cl, cl
jne 0x1001a230
push 0x1005d350
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005d350
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001a254
lea edi, [ebp - 0x22c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001a266
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 0x1001a283
mov ecx, dword [str.keys]
mov dl, byte [0x1004a424]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x128]
push ecx
call fcn.10028fe0
test eax, eax
je 0x1001a30f
lea edx, [ebp - 0x22c]
push edx
call fcn.10005810
cmp dword [0x1005b0fc], 0
mov eax, 0x1005b118
jne 0x1001a2d2
mov eax, 0x1005b220
push 0
push 0
push eax
push 0x1001aab0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001a30f
lea eax, [ebp - 0x24]
push eax
push esi
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1001a30f
test byte [ebp - 0x24], 2
jne 0x1001a30f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov esp, ebp
pop ebp
ret