Function at 0x1000fa70
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x104
push 0
push 0x10023d90
mov dword [0x1001ff0c], 0
call sub.MSVCRT.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x1000faa0
mov cl, byte [eax + 0x1001fdd0]
mov byte [eax + 0x10023d90], cl
inc eax
test cl, cl
jne 0x1000faa0
push 0x100221f8
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x100221f8
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000fac3
push ebx
push esi
push edi
mov edi, 0x10023d90
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1000fad7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, 0x10023d90
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000faf3
mov ecx, dword [str.keys]
mov dl, byte [0x1001c8b8]
push 0
mov dword [eax], ecx
push 0x10023d90
mov byte [eax + 4], dl
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x104
push 0
mov ebx, 0x10023c88
push ebx
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 8]
mov esi, ebx
add esp, 0xc
sub esi, eax
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x1000fb35
lea eax, [ebx - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000fb42
mov ecx, dword [str..key]
mov dx, word [0x1001c908]
mov edi, dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov dword [eax], ecx
mov cl, byte [0x1001c90a]
mov word [eax + 4], dx
mov byte [eax + 6], cl
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 - 0x20]
mov edx, 0x414
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x10023d90
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x10], dx
call edi
test eax, eax
jne 0x1000fe82
push 0x104
push eax
push ebx
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 0x1000fbc1
lea eax, [ebx - 1]
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000fbd0
mov ecx, dword [str._self.cer]
mov edx, dword [0x1001c910]
mov dword [eax], ecx
mov cx, word [0x1001c914]
mov dword [eax + 4], edx
mov word [eax + 8], cx
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 - 0x20]
mov edx, 0x414
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x10023d90
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x10], dx
call edi
test eax, eax
jne 0x1000fe82
push 0x104
push eax
push ebx
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 0x1000fc50
lea eax, [ebx - 1]
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000fc60
mov ecx, dword [str._rand]
mov dx, word [0x1001c91c]
mov dword [eax], ecx
mov cl, byte [0x1001c91e]
mov word [eax + 4], dx
mov byte [eax + 6], cl
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 - 0x20]
mov edx, 0x414
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x10023d90
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x10], dx
call edi
test eax, eax
jne 0x1000fe82
push 0x104
push eax
push ebx
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 0x1000fce0
lea eax, [ebx - 1]
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000fcf0
mov ecx, dword [str.CRL]
mov dx, word [0x1001c924]
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 ecx, [ebp - 0x20]
mov eax, 0x414
push ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x10023d90
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x10], ax
call edi
test eax, eax
jne 0x1000fe82
push 0x104
push eax
push ebx
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 0x1000fd60
lea eax, [ebx - 1]
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000fd70
mov edx, dword [str.CA]
mov cl, byte [0x1001c92c]
mov dword [eax], edx
mov byte [eax + 4], cl
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 - 0x20]
mov edx, 0x414
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x10023d90
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x10], dx
call edi
test eax, eax
jne 0x1000fe82
push 0x104
push eax
push ebx
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
mov edi, edi
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x1000fde0
lea eax, [ebx - 1]
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000fdf0
mov ecx, dword [str.ABONENTS]
mov edx, dword [0x1001c934]
mov dword [eax], ecx
mov cx, word [0x1001c938]
mov dword [eax + 4], edx
mov dl, byte [0x1001c93a]
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 ecx, [ebp - 0x20]
mov eax, 0x414
push ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x10023d90
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x10], ax
call edi
test eax, eax
jne 0x1000fe82
mov edx, dword [ebp + 0xc]
push 0x10023d90
push edx
call fcn.1001aaf0
test eax, eax
je 0x1000fe82
push 0x10023d90
call fcn.10004120
mov dword [0x1001ff0c], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8