Function at 0x4062c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x5b0050]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x620], ecx
mov dword [ebp - 0x624], 0
jmp 0x4062f4
mov eax, dword [ebp - 0x624]
add eax, 1
mov dword [ebp - 0x624], eax
cmp dword [ebp - 0x624], 8
jge 0x406390
mov ecx, dword [ebp - 0x620]
add ecx, 0x50c
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov eax, dword [ebp - 0x624]
shl eax, 8
mov ecx, dword [ebp - 0x620]
lea edx, [ecx + eax + 0x714]
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x5bde08
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov edx, dword [ebp - 0x624]
shl edx, 8
mov eax, dword [ebp - 0x620]
lea ecx, [eax + edx + 0x714]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x4062e5
mov edx, dword [ebp - 0x620]
add edx, 0x50c
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov ecx, dword [ebp - 0x620]
add ecx, 0x1114
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x5bde08
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov ecx, dword [ebp - 0x620]
add ecx, 0x1114
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x620]
add edx, 0x50c
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov ecx, dword [ebp - 0x620]
add ecx, 0x1314
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x5bde08
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov ecx, dword [ebp - 0x620]
add ecx, 0x1314
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x620]
add edx, 0x50c
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov ecx, dword [ebp - 0x620]
add ecx, 0xf14
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x5bde08
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov ecx, dword [ebp - 0x620]
add ecx, 0xf14
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x630], edx
cmp dword [ebp - 0x630], 1
je 0x406516
cmp dword [ebp - 0x630], 3
je 0x4065e2
jmp 0x4066a4
mov dword [ebp - 0x62c], 0
jmp 0x406531
mov eax, dword [ebp - 0x62c]
add eax, 1
mov dword [ebp - 0x62c], eax
cmp dword [ebp - 0x62c], 0x14
jge 0x4065d8
mov ecx, dword [ebp - 0x620]
add ecx, 0x50c
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov eax, dword [ebp - 0x620]
add eax, 0xf14
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x5bde08
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov eax, dword [ebp - 0x62c]
push eax
push str.p1MonXX_d.dll
lea ecx, [ebp - 0x61c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0xa
call fcn.00401b80
add esp, 4
jmp 0x406522
jmp 0x4066a4
mov dword [ebp - 0x628], 0
jmp 0x4065fd
mov eax, dword [ebp - 0x628]
add eax, 1
mov dword [ebp - 0x628], eax
cmp dword [ebp - 0x628], 0x14
jge 0x4066a4
mov ecx, dword [ebp - 0x620]
add ecx, 0x50c
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov eax, dword [ebp - 0x620]
add eax, 0xf14
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x5bde08
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov eax, dword [ebp - 0x628]
push eax
push str.p1MonYY_d.dll
lea ecx, [ebp - 0x61c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0xa
call fcn.00401b80
add esp, 4
jmp 0x4065ee
mov eax, dword [ebp - 0x620]
add eax, 0x50c
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov edx, dword [ebp - 0x620]
add edx, 0x1014
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x5bde08
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov edx, dword [ebp - 0x620]
add edx, 0x1014
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp - 0x620]
add eax, 0x50c
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov edx, dword [ebp - 0x620]
add edx, 0x1414
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x5bde08
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov edx, dword [ebp - 0x620]
add edx, 0x1414
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp - 0x620]
add eax, 0x50c
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov edx, dword [ebp - 0x620]
add edx, 0x1514
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x5bde08
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov edx, dword [ebp - 0x620]
add edx, 0x1514
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp - 0x620]
add eax, 0x50c
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov edx, dword [ebp - 0x620]
add edx, 0x1614
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x5bde08
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov edx, dword [ebp - 0x620]
add edx, 0x1614
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00531c35
mov esp, ebp
pop ebp
ret 4