Function at 0x1001b4e0
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 0x1001b522
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 0x1001b548
lea edi, [ebp - 0x128]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001b558
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 0x1001b5a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001b5a0
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 0x1001b5b0
mov ecx, dword [str.keys]
mov dl, byte [0x10049fac]
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 0x1001b604
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001b5fd
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 0x1001b7ba
lea eax, [ebp - 0x128]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001b618
mov edx, dword [str.private_]
mov ecx, dword [0x10049fb4]
mov dword [eax], edx
mov dx, word [0x10049fb8]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
push 0
lea eax, [ebp - 0x128]
push eax
call edi
test eax, eax
je 0x1001b671
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001b66a
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 0x1001bbaf
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 0x1001b691
lea eax, [ebp - 0x22c]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001b6b0
mov dx, word [0x10049fbc]
mov cl, byte [0x10049fbe]
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 0x1001bbaf
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 0x1001b720
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 0x1001b744
lea edi, [ebp - 0x128]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001b756
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 0x1001b773
mov ecx, dword [str.private.txt]
mov edx, dword [0x10049fc4]
mov dword [eax], ecx
mov ecx, dword [0x10049fc8]
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 0x1001b7a0
sub eax, edx
push eax
push 0x1005a080
lea eax, [ebp - 0x128]
call fcn.10007140
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x10059d68]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x1001b7c0
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 0x1001b7e4
lea edi, [ebp - 0x128]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001b7f6
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 0x1001b813
cmp dword [0x1005a06c], 0
mov edx, dword [str.keys]
mov cl, byte [0x10049fac]
mov dword [eax], edx
mov byte [eax + 4], cl
je 0x1001b9fb
lea eax, [ebp - 0x128]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001b840
mov edx, dword [str.public_]
mov ecx, dword [0x10049fd0]
mov dword [eax], edx
mov dl, byte [0x10049fd4]
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 0x1001b89b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001b894
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 0x1001bbaf
mov byte [esi + 8], 0
xor eax, eax
jmp 0x1001b8c0
mov cl, byte [eax + 0x1005a188]
mov byte [ebp + eax - 0x22c], cl
inc eax
test cl, cl
jne 0x1001b8c0
lea eax, [ebp - 0x22c]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001b8e0
mov dx, word [0x10049fbc]
mov cl, byte [0x10049fbe]
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 0x1001bbaf
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 0x1001b950
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 0x1001b974
lea edi, [ebp - 0x128]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001b986
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 0x1001b9a3
mov ecx, dword [str.public.txt]
mov edx, dword [0x10049fdc]
mov dword [eax], ecx
mov cx, word [0x10049fe0]
mov dword [eax + 4], edx
mov dl, byte [0x10049fe2]
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 0x1001b9d8
sub eax, edx
push eax
push 0x1005a188
lea eax, [ebp - 0x128]
call fcn.10007140
cmp dword [0x1005a06c], 0
jne 0x1001ba08
cmp dword [0x1005a064], 0
je 0x1001bbaf
xor eax, eax
lea ebx, [ebx]
mov cl, byte [eax + 0x10059d68]
mov byte [ebp + eax - 0x128], cl
inc eax
test cl, cl
jne 0x1001ba10
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 0x1001ba34
lea edi, [ebp - 0x128]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001ba46
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 0x1001ba95
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001ba8e
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 0x1001baa0
mov edx, dword [str.keys.zip]
mov ecx, dword [0x10049f14]
mov dword [eax], edx
mov dl, byte [0x10049f18]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
xor eax, eax
jmp 0x1001bad0
mov cl, byte [eax + 0x10059d68]
mov byte [ebp + eax - 0x22c], cl
inc eax
test cl, cl
jne 0x1001bad0
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 0x1001baf4
lea edi, [ebp - 0x22c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001bb06
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 0x1001bb23
mov ecx, dword [str.keys]
mov dl, byte [0x10049fac]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x128]
push ecx
call fcn.10029680
test eax, eax
je 0x1001bbaf
lea edx, [ebp - 0x22c]
push edx
call fcn.10007400
cmp dword [0x1005a064], 0
mov eax, 0x1005a080
jne 0x1001bb72
mov eax, 0x1005a188
push 0
push 0
push eax
push 0x1001c350
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001bbaf
lea eax, [ebp - 0x24]
push eax
push esi
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1001bbaf
test byte [ebp - 0x24], 2
jne 0x1001bbaf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov esp, ebp
pop ebp
ret