Function at 0x1001bdc3
Capabilities:
Copy file

Disassembly:
push 0x4c
mov eax, 0x1005048b
call fcn.1004f931
mov edi, ecx
mov dword [ebp - 0x48], edi
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x28], eax
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
and dword [ebp - 0x24], 0
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xa
cmp byte [edi + 0x54], al
jne 0x1001c51c
mov ecx, dword [edi + 0x40]
mov eax, dword [ecx]
mov esi, dword [eax + 0x24]
lea eax, [edi + 0x58]
push eax
push ecx
mov ecx, esi
call dword [0x10060380]
call esi
mov ebx, eax
test ebx, ebx
jns 0x1001bea4
mov edx, dword [0x1005b1e8]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xc
push 0x10007878
lea eax, [ebp - 0x2c]
push eax
call fcn.10028a40
pop ecx
pop ecx
jmp 0x1001c172
mov ecx, dword [edi + 0x40]
mov eax, dword [ecx]
mov esi, dword [eax + 0x28]
lea eax, [ebp - 0x34]
push eax
push ecx
mov ecx, esi
call dword [0x10060380]
call esi
mov ebx, eax
test ebx, ebx
jns 0x1001bee9
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xe
push 0x10007948
jmp 0x1001be94
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
lea ecx, [ebp - 0x24]
push ecx
push eax
mov ecx, esi
call dword [0x10060380]
call esi
mov ebx, eax
test ebx, ebx
jns 0x1001bf31
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x10
push 0x100079c0
jmp 0x1001be94
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
mov edx, str.ProgramDataMicrosoftWindows
call fcn.1002f639
mov ebx, eax
test ebx, ebx
jns 0x1001bf73
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x12
push 0x10007a38
jmp 0x1001be94
mov ecx, dword [ebp - 0x20]
call fcn.1001a3d7
push eax
push dword [ebp - 0x20]
lea ecx, [edi + 0x5c]
call fcn.1002b2a7
mov ebx, eax
mov dword [ebp - 4], 0xa
test ebx, ebx
jns 0x1001bfbf
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x16
push 0x10007a98
jmp 0x1001be94
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
mov edx, str.Program_FilesWindowsApps
call fcn.1002f639
mov ebx, eax
test ebx, ebx
jns 0x1001c001
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x18
push 0x10007ae8
jmp 0x1001be94
mov ecx, dword [ebp - 0x1c]
call fcn.1001a3d7
push eax
push dword [ebp - 0x1c]
lea ecx, [edi + 0x60]
call fcn.1002b2a7
mov ebx, eax
mov dword [ebp - 4], 0xa
test ebx, ebx
jns 0x1001c048
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x1c
jmp 0x1001bfb5
mov ecx, dword [edi + 0x40]
mov eax, dword [ecx]
mov esi, dword [eax + 0x30]
lea eax, [edi + 0x64]
push eax
push ecx
mov ecx, esi
call dword [0x10060380]
call esi
mov ebx, eax
test ebx, ebx
jns 0x1001c090
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x1e
push 0x10007b30
jmp 0x1001be94
mov ecx, dword [edi + 0x40]
mov eax, dword [ecx]
mov esi, dword [eax]
lea eax, [ebp - 0x30]
push eax
push 0x1000d324
push ecx
mov ecx, esi
call dword [0x10060380]
call esi
mov ebx, eax
test ebx, ebx
jns 0x1001c0dc
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x20
push 0x10007bb8
jmp 0x1001be94
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x4c]
lea ecx, [edi + 0x68]
push ecx
mov dword [ebp - 0x40], ecx
mov ecx, esi
push eax
call dword [0x10060380]
call esi
mov ebx, eax
test ebx, ebx
jns 0x1001c127
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x22
push 0x10007c30
jmp 0x1001be94
mov eax, dword [edi + 0x44]
sub eax, 0
je 0x1001c1f2
sub eax, 1
je 0x1001c1a8
mov ebx, 0x80004005
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x39
lea eax, [ebp - 0x2c]
push dword [edi + 0x44]
push 0x10007e00
push eax
call fcn.10028a40
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, dword [ebp - 0x2c]
push ebx
push 0x10007900
push esi
push edi
push eax
push 0x100071b0
push 1
call fcn.1001b4b3
add esp, 0x1c
lea ecx, [esi - 0x10]
call fcn.1002a468
jmp 0x1001c514
push 0x1000d310
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x34
call fcn.1002b523
push 0xa
pop ebx
lea esi, [edi + 0x6c]
mov dword [ebp - 4], ebx
push 0x10007df0
mov ecx, esi
mov byte [ebp - 4], 0x36
call fcn.1002b523
mov dword [ebp - 4], ebx
jmp 0x1001c444
mov ecx, dword [edi + 0x40]
mov eax, dword [ecx]
mov esi, dword [eax + 0x48]
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, esi
call dword [0x10060380]
call esi
mov ebx, eax
test ebx, ebx
jns 0x1001c23a
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x24
push 0x10007cb4
jmp 0x1001be94
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
mov ecx, esi
call dword [0x10060380]
call esi
mov ebx, eax
test ebx, ebx
jns 0x1001c284
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x26
push 0x10007ce8
jmp 0x1001be94
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
lea ecx, [edi + 0x6c]
push ecx
push 2
push eax
mov ecx, esi
call dword [0x10060380]
call esi
mov ebx, eax
test ebx, ebx
jns 0x1001c2ce
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x28
push 0x10007d2c
jmp 0x1001be94
lea ecx, [ebp - 0x28]
call fcn.1002f755
mov ebx, eax
test ebx, ebx
jns 0x1001c307
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x2a
push 0x10007d70
jmp 0x1001be94
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x3c]
call fcn.10027074
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x38]
push dword [edi + 0x68]
mov esi, dword [eax]
call fcn.1002721b
push ecx
mov edx, eax
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x2c]
call fcn.10027074
push 0
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x2c]
mov esi, eax
add ecx, 0xfffffff0
call fcn.1002a468
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.1002a468
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.1002a468
mov dword [ebp - 4], 0xa
test esi, esi
jne 0x1001c441
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1001c388
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x1001c3ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x1001c39f
movzx ebx, bx
or ebx, 0x80070000
lea esi, [edi + 0x6c]
test ebx, ebx
js 0x1001c3b0
jmp 0x1001c444
mov ebx, 0x80004005
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x44]
call fcn.10027074
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x38]
mov esi, dword [eax]
mov eax, dword [ebp - 0x40]
push dword [eax]
call fcn.1002721b
push ecx
mov edx, eax
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x3c]
call fcn.10027074
push esi
mov byte [ebp - 4], 0x33
push dword [eax]
lea eax, [ebp - 0x2c]
push 0x10007dc0
push eax
call fcn.10028a40
mov ecx, dword [ebp - 0x3c]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.1002a468
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.1002a468
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.1002a468
jmp 0x1001c172
lea esi, [edi + 0x6c]
xor ecx, ecx
lea eax, [edi + 0x70]
push ecx
push eax
push ecx
push 0xf003f
push ecx
push ecx
push ecx
push dword [ebp - 0x14]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test ebx, ebx
jle 0x1001c473
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
jns 0x1001c4a0
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x3b
push 0x10007e80
jmp 0x1001be94
xor ecx, ecx
lea eax, [edi + 0x74]
push ecx
push eax
push ecx
push 0xf003f
push ecx
push ecx
push ecx
push dword [esi]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test ebx, ebx
jle 0x1001c4ce
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
jns 0x1001c4fb
mov eax, dword [0x1005b1e8]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x10060380]
mov ecx, 0x1005b1e8
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x3d
push 0x10007ed0
jmp 0x1001be94
mov byte [edi + 0x54], 1
jmp 0x1001c51c
mov ecx, dword [ebp - 0x48]
call fcn.1001c575
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x30]
call fcn.1001a5e0
lea ecx, [ebp - 0x34]
call fcn.1001a5e0
lea ecx, [ebp - 0x18]
call fcn.1001a5e0
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.1002a468
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1002a468
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.1002a468
mov eax, ebx
call fcn.1004f878
ret