Function at 0x48c1a6
Capabilities:
Copy file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fce3d
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x5550ec]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
push esi
push edi
mov eax, dword [0x5550ec]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x18]
mov ecx, dword [eax]
mov ecx, dword [ecx - 0xc]
xor ebx, ebx
cmp ecx, ebx
je 0x48c240
lea edi, [esi + 0x1c]
mov ecx, dword [edi]
cmp dword [ecx - 0xc], ebx
je 0x48c240
push dword [esi + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004c7c7c
add esp, 0xc
mov dword [esp + 0x470], ebx
push dword [esp + 0x10]
call fcn.0043d8eb
test eax, eax
pop ecx
jne 0x48c266
push dword [esp + 0x10]
call fcn.00441f8f
test eax, eax
pop ecx
jne 0x48c266
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004012f9
xor eax, eax
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x450]
xor ecx, esp
call fcn.004d6e66
mov esp, ebp
pop ebp
ret
push dword [esi + 0xc]
lea eax, [esp + 0x18]
push edi
push eax
call fcn.004c7c7c
add esp, 0xc
mov byte [esp + 0x470], 1
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
call fcn.00402cc5
mov byte [esp + 0x470], 2
mov eax, dword [esp + 0x18]
push dword [eax - 0xc]
lea esi, [esp + 0x1c]
call fcn.00401918
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [esp + 0x18], ebx
jne 0x48c2b6
xor eax, eax
jmp 0x48c2c1
push dword [esp + 0x18]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [esp + 0x18]
call fcn.00401385
push dword [esp + 0x18]
call fcn.00441f8f
test eax, eax
pop ecx
jne 0x48c2e2
push dword [esp + 0x18]
call fcn.004909a6
pop ecx
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x48c427
lea eax, [esp + 0x10]
push eax
call fcn.0049085e
lea eax, [esp + 0x14]
mov dword [esp], 0x51f438
push eax
call fcn.004029d7
lea ecx, [esp + 0x14]
call fcn.004908e8
mov edi, dword [esp + 0x10]
mov eax, 0x104
cmp dword [edi - 0xc], eax
jg 0x48c3fa
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], eax
jg 0x48c3fa
mov esi, 0x20a
push esi
lea eax, [esp + 0x42]
push ebx
push eax
mov word [esp + 0x48], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
lea eax, [esp + 0x252]
push ebx
push eax
mov word [esp + 0x258], bx
call sub.MSVCR80.dll_memset
mov esi, dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
push edi
mov edi, 0x106
lea eax, [esp + 0x40]
push edi
push eax
call esi
add esp, 0xc
push dword [esp + 0x14]
lea eax, [esp + 0x250]
push edi
push eax
call esi
add esp, 0xc
push dword [esp + 0x14]
call fcn.00441f8f
test eax, eax
pop ecx
jne 0x48c3ab
push dword [esp + 0x14]
call fcn.004909a6
pop ecx
push 6
xor eax, eax
pop ecx
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x3c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 2
mov word [esp + 0x30], 0x614
mov dword [esp + 0x36], ebx
mov dword [esp + 0x3a], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
jmp 0x48c3fc
xor esi, esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, esi
jmp 0x48c242
push ebx
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
jmp 0x48c3fc