Function at 0x42daf0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450c8b
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x46ab5c]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0xf8], 0xffffffff
mov dword [ebp - 0x120], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004068d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00405420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004068d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004068d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004068d0
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x124]
call fcn.00401000
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00401000
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x11c]
call fcn.004068d0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x130]
push edx
mov ecx, 0x46b648
call fcn.0042fbf0
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.004027e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x130]
call fcn.00401080
push 0x5c
push 0x2f
lea ecx, [ebp - 0x124]
call fcn.0040a180
push 0x2f
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.0040a180
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x24]
call fcn.004010a0
lea eax, [ebp - 0x24]
push eax
call fcn.00416520
add esp, 4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test eax, eax
je 0x42dc46
mov dword [ebp - 0xf8], 0
jmp 0x42df37
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x118]
call fcn.00405550
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x42dc69
jmp 0x42df37
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xfc], 0x64
push 0
push 0x45aa50
push str.info
lea ecx, [ebp - 0x118]
call fcn.00405730
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42dd38
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x128]
call fcn.00401000
mov byte [ebp - 4], 9
push 0x45aa54
lea ecx, [ebp - 0x128]
call fcn.004069b0
push 0
lea ecx, [ebp - 0x128]
call fcn.0040f280
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x42dd1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x120]
push eax
push str.KChannel::RecursiveBackupIndex_fail__error:_d__path:_ws
push 0x46afbc
call fcn.00420980
add esp, 0x10
jmp 0x42dd24
mov dword [ebp - 0xf8], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x128]
call fcn.00401080
jmp 0x42df37
mov dword [ebp - 0x12c], 0
jmp 0x42dd53
mov ecx, dword [ebp - 0x12c]
add ecx, 1
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x12c]
cmp edx, dword [ebp - 0x1c]
jge 0x42df2d
mov eax, dword [ebp - 0x12c]
push eax
push 0x45aa3c
lea ecx, [ebp - 0x28]
push ecx
call fcn.0040a500
add esp, 0xc
push 0x64
lea edx, [ebp - 0xf4]
push edx
push 0x4563e8
lea ecx, [ebp - 0x28]
call fcn.0040f280
push eax
push str.info
lea ecx, [ebp - 0x118]
call fcn.004058a0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x42ddaf
jmp 0x42df2d
push str.oem_
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x42ddcd
jmp 0x42dd44
lea ecx, [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004010a0
lea edx, [ebp - 0xf4]
push edx
lea ecx, [ebp - 0x10]
call fcn.004010a0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x10]
call fcn.0040a180
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.0040a290
add esp, 0xc
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x158]
call fcn.0040f280
push eax
push str.index.txt
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.0040a290
add esp, 0xc
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x160], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x160]
push eax
lea ecx, [ebp - 0x13c]
push ecx
call fcn.0040a290
add esp, 0xc
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x168], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x168]
push eax
lea ecx, [ebp - 0x140]
push ecx
call fcn.0040aa40
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x170], edx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x170]
call fcn.0040f280
push eax
mov ecx, dword [ebp - 0x148]
call fcn.0042daf0
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x140]
call fcn.00401080
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x13c]
call fcn.00401080
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x138]
call fcn.00401080
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x134]
call fcn.00401080
cmp dword [ebp - 0x120], 0
je 0x42df28
jmp 0x42df37
jmp 0x42dd44
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x11c]
call fcn.00401080
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401080
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124]
call fcn.00401080
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401080
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00401080
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.004054d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00401080
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.0044be2c
mov esp, ebp
pop ebp
ret 8