Function at 0x41b5d0
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446c20
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1854
call fcn.00434bf0
mov eax, dword [0x460cd0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1824], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x41b97f
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b627
sub eax, edx
sar eax, 1
je 0x41b97f
test ebx, ebx
je 0x41b97f
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b650
sub eax, edx
sar eax, 1
je 0x41b97f
push ebx
push esi
call fcn.0042f75b
add esp, 8
test eax, eax
je 0x41b9d0
push 0x800
push 0
lea ecx, [ebp - 0x101c]
push ecx
call fcn.00430500
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x81c]
push edx
call fcn.00430500
add esp, 0xc
mov ecx, 0x455208
lea edx, [ebp - 0x101c]
call fcn.0041db60
mov ecx, 0x455208
lea edx, [ebp - 0x101c]
call fcn.0041dd10
mov ecx, 0x455208
lea edx, [ebp - 0x81c]
call fcn.0041db60
mov ecx, 0x455208
lea edx, [ebp - 0x81c]
call fcn.0041dd10
push 0x3ff
push esi
push 0x400
lea eax, [ebp - 0x101c]
push eax
call fcn.0042f011
push 0x3ff
push ebx
push 0x400
lea ecx, [ebp - 0x81c]
push ecx
call fcn.0042f011
add esp, 0x20
mov esi, dword [ebp + 0x18]
push esi
lea edx, [ebp - 0x81c]
push edx
lea eax, [ebp - 0x101c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x41b75f
test esi, esi
je 0x41b964
mov ecx, dword [ebp - 0x1824]
test ecx, ecx
je 0x41b964
mov edx, dword [ebp + 0x14]
push edx
push 0
lea edx, [ebp - 0x81c]
call fcn.0041e2c0
add esp, 8
jmp 0x41b964
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebp - 0x1820], edi
cmp edi, dword [ebp + 0x1c]
jne 0x41b7ab
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x101c]
push ecx
push str.Copy_File____s____s_
mov ecx, edi
mov edx, 0x466338
call fcn.0041a540
add esp, 0xc
mov dword [ebp - 0x182c], edi
push 0x459988
lea edx, [ebp - 0x182c]
push edx
call fcn.00430c48
lea eax, [edi - 3]
cmp eax, 0x4d
ja case.0x41b7be.4
movzx eax, byte [eax + 0x41ba00]
jmp dword [eax*4 + 0x41b9ec]
lea ecx, [ebp - 0x1864]
push ecx
lea ecx, [ebp - 0x101c]
call fcn.0041cfa0
add esp, 4
test eax, eax
je 0x41b7f8
lea esi, [ebp - 0x1864]
lea ecx, [ebp - 0x81c]
call fcn.0041ce10
test eax, eax
je 0x41b7f8
cmp eax, 3
jne 0x41b80e
lea edx, [ebp - 0x81c]
push edx
lea eax, [ebp - 0x101c]
push eax
call fcn.0041ce60
add esp, 8
mov esi, dword [ebp + 0x20]
test esi, esi
jne 0x41b827
cmp eax, 2
je 0x41b827
xor edi, edi
mov dword [ebp - 0x1820], edi
jmp 0x41b964
push 0x80
lea ecx, [ebp - 0x81c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
push edi
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x1824]
push eax
lea ecx, [ebp - 0x81c]
push ecx
lea edx, [ebp - 0x101c]
push edx
call fcn.0041b5d0
add esp, 0x1c
mov edi, eax
mov dword [ebp - 0x1820], edi
jmp 0x41b960
push 0x80
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 0x20]
push ecx
jmp 0x41b83a
lea edx, [ebp - 0x81c]
lea ecx, [ebp - 0x101c]
call fcn.0041c830
mov edi, eax
mov dword [ebp - 0x1820], edi
jmp 0x41b960
push 0x800
push 0
lea eax, [ebp - 0x181c]
push eax
call fcn.00430500
add esp, 0xc
push 0x5c
lea ecx, [ebp - 0x81c]
push ecx
call fcn.0043024a
add esp, 8
test eax, eax
je 0x41b960
lea edx, [ebp - 0x81c]
sub eax, edx
sar eax, 1
push eax
mov eax, edx
push eax
push 0x400
lea ecx, [ebp - 0x181c]
push ecx
call fcn.0042f011
mov esi, dword [ebp + 0x14]
push esi
mov ebx, dword [ebp - 0x1824]
push ebx
lea edx, [ebp - 0x181c]
call fcn.0041cbe0
add esp, 0x18
mov edi, eax
mov dword [ebp - 0x1820], edi
test edi, edi
jne 0x41b976
mov edx, dword [ebp + 0x20]
push edx
push 3
push 1
push esi
push ebx
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x101c]
push ecx
call fcn.0041b5d0
add esp, 0x1c
mov edi, eax
mov dword [ebp - 0x1820], edi
jmp 0x41b960
lea edx, [ebp - 0x81c]
push edx
lea eax, [ebp - 0x101c]
push eax
push str.Copy_File____s____s_
mov ecx, edi
mov edx, 0x466338
call fcn.0041a540
add esp, 0xc
test edi, edi
jne 0x41b976
push 0x80
lea ecx, [ebp - 0x81c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 4], 0xffffffff
jmp 0x41b9ce
mov eax, 0x57
jmp 0x41b9d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0042f002
mov esp, ebp
pop ebp
ret