Function at 0x45c130
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x57e046
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5ecfcc]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [esp + 0x26c]
mov ebp, dword [esp + 0x268]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], eax
call fcn.005322b0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45c19b
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x260], 0
call fcn.005322b0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45c1d0
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
mov ebx, 0x104
sub eax, ebx
or eax, ecx
mov byte [esp + 0x260], 1
jge 0x45c20c
push ebx
lea ecx, [esp + 0x18]
call fcn.00402a00
mov edi, dword [esp + 0x14]
cmp dword [edi - 8], ebx
jge 0x45c21b
push 0x80070057
call fcn.00401090
push edi
push ebp
mov ebp, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov dword [edi - 0xc], ebx
mov byte [edi + 0x104], 0
call ebp
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x45c24e
push ebx
lea ecx, [esp + 0x1c]
call fcn.00402a00
mov esi, dword [esp + 0x18]
cmp dword [esi - 8], ebx
jge 0x45c25d
push 0x80070057
call fcn.00401090
mov ecx, dword [esp + 0x40]
push esi
mov dword [esi - 0xc], ebx
push ecx
mov byte [esi + 0x104], 0
call ebp
push 0x105
lea edx, [esp + 0x48]
push 0
push edx
call fcn.00559e10
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0xc
push edi
lea eax, [esp + 0x48]
push eax
call ebp
push 0x105
lea ecx, [esp + 0x150]
push 0
push ecx
call fcn.00559e10
add esp, 0xc
push esi
lea edx, [esp + 0x150]
push edx
call ebp
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov word [esp + 0x3c], ax
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x45c2e4
mov dword [esp + 0x20], eax
jmp 0x45c2eb
mov eax, dword [eax + 0x20]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x44]
lea edx, [esp + 0x14c]
push eax
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
or edx, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x260], 0
lea ecx, [eax + 0xc]
je 0x45c364
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c339
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x260], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c360
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x45c3a7
cmp dword [esp + 0x32], 0
jne 0x45c326
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c37e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x260], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c3a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0055953b
add esp, 0x250
ret 8