Function at 0x1001b9e0
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 + 0x10059d68]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x1001ba22
push esi
push edi
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001ba48
lea edi, [ebp - 0x128]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001ba58
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 0x1001baa7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001baa0
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 0x1001bab0
mov ecx, dword [str.keys]
mov dl, byte [0x10049ffc]
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 0x1001bb04
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001bafd
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x1005a064], 0
je 0x1001bcba
lea eax, [ebp - 0x128]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001bb18
mov edx, dword [str.private_]
mov ecx, dword [0x1004a004]
mov dword [eax], edx
mov dx, word [0x1004a008]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
push 0
lea eax, [ebp - 0x128]
push eax
call edi
test eax, eax
je 0x1001bb71
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001bb6a
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 0x1005a080
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov esi, eax
test esi, esi
je 0x1001c0af
mov byte [esi + 9], 0
xor eax, eax
mov cl, byte [eax + 0x1005a080]
mov byte [ebp + eax - 0x22c], cl
inc eax
test cl, cl
jne 0x1001bb91
lea eax, [ebp - 0x22c]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001bbb0
mov dx, word [0x1004a00c]
mov cl, byte [0x1004a00e]
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 0x1001c0af
mov byte [esi + 9], 0x5c
mov edi, edi
mov cl, byte [eax + 0x10059d68]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x1001bc20
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001bc44
lea edi, [ebp - 0x128]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001bc56
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 0x1001bc73
mov ecx, dword [str.private.txt]
mov edx, dword [0x1004a014]
mov dword [eax], ecx
mov ecx, dword [0x1004a018]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, 0x1005a080
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001bca0
sub eax, edx
push eax
push 0x1005a080
lea eax, [ebp - 0x128]
call fcn.10007350
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x10059d68]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x1001bcc0
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001bce4
lea edi, [ebp - 0x128]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001bcf6
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 0x1001bd13
cmp dword [0x1005a06c], 0
mov edx, dword [str.keys]
mov cl, byte [0x10049ffc]
mov dword [eax], edx
mov byte [eax + 4], cl
je 0x1001befb
lea eax, [ebp - 0x128]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001bd40
mov edx, dword [str.public_]
mov ecx, dword [0x1004a020]
mov dword [eax], edx
mov dl, byte [0x1004a024]
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 0x1001bd9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001bd94
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 0x1005a188
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov esi, eax
test esi, esi
je 0x1001c0af
mov byte [esi + 8], 0
xor eax, eax
jmp 0x1001bdc0
mov cl, byte [eax + 0x1005a188]
mov byte [ebp + eax - 0x22c], cl
inc eax
test cl, cl
jne 0x1001bdc0
lea eax, [ebp - 0x22c]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001bde0
mov dx, word [0x1004a00c]
mov cl, byte [0x1004a00e]
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 0x1001c0af
mov byte [esi + 8], 0x5c
mov edi, edi
mov cl, byte [eax + 0x10059d68]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x1001be50
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001be74
lea edi, [ebp - 0x128]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001be86
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 0x1001bea3
mov ecx, dword [str.public.txt]
mov edx, dword [0x1004a02c]
mov dword [eax], ecx
mov cx, word [0x1004a030]
mov dword [eax + 4], edx
mov dl, byte [0x1004a032]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
mov eax, 0x1005a188
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001bed8
sub eax, edx
push eax
push 0x1005a188
lea eax, [ebp - 0x128]
call fcn.10007350
cmp dword [0x1005a06c], 0
jne 0x1001bf08
cmp dword [0x1005a064], 0
je 0x1001c0af
xor eax, eax
lea ebx, [ebx]
mov cl, byte [eax + 0x10059d68]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x1001bf10
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001bf34
lea edi, [ebp - 0x128]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001bf46
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 0x1001bf95
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001bf8e
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 0x1001bfa0
mov edx, dword [str.keys.zip]
mov ecx, dword [0x10049f64]
mov dword [eax], edx
mov dl, byte [0x10049f68]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
xor eax, eax
jmp 0x1001bfd0
mov cl, byte [eax + 0x10059d68]
mov byte [ebp + eax - 0x22c], cl
inc eax
test cl, cl
jne 0x1001bfd0
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001bff4
lea edi, [ebp - 0x22c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001c006
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 0x1001c023
mov ecx, dword [str.keys]
mov dl, byte [0x10049ffc]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x128]
push ecx
call fcn.10029b30
test eax, eax
je 0x1001c0af
lea edx, [ebp - 0x22c]
push edx
call fcn.10007680
cmp dword [0x1005a064], 0
mov eax, 0x1005a080
jne 0x1001c072
mov eax, 0x1005a188
push 0
push 0
push eax
push 0x1001c850
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001c0af
lea eax, [ebp - 0x24]
push eax
push esi
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1001c0af
test byte [ebp - 0x24], 2
jne 0x1001c0af
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov esp, ebp
pop ebp
ret