Function at 0x462d88
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x22
push 0
push 0
dec ecx
jne 0x462d90
push ecx
push ebx
push esi
push edi
lea edi, [ebp - 0x79]
xor eax, eax
push ebp
push 0x46311e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x463138
call fcn.004611fc
test al, al
jne 0x462dd6
mov eax, 0x463144
call fcn.00402a0c
call fcn.004029ec
mov esi, eax
test esi, esi
je 0x462dd6
xor ebx, ebx
jmp 0x4630f3
mov eax, 0x463144
call fcn.004028ec
call fcn.004029ec
test eax, eax
je 0x462df0
xor ebx, ebx
jmp 0x4630f3
lea edx, [ebp - 0xd4]
mov eax, dword [0x46550c]
mov eax, dword [eax]
call fcn.00458da8
mov eax, dword [ebp - 0xd4]
lea edx, [ebp - 0xd0]
call fcn.00408dac
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 0xc]
mov ecx, 0x463158
call fcn.00404844
lea eax, [ebp - 0x10]
mov edx, 0x463168
call fcn.004045d8
lea edx, [ebp - 0xdc]
mov eax, dword [0x46550c]
mov eax, dword [eax]
call fcn.00458da8
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0xd8]
call fcn.00408dac
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0x14]
mov ecx, 0x463184
call fcn.00404844
lea edx, [ebp - 0xe4]
mov eax, dword [0x46550c]
mov eax, dword [eax]
call fcn.00458da8
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0xe0]
call fcn.00408dac
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0x1c]
mov ecx, 0x463198
call fcn.00404844
lea eax, [ebp - 0x18]
mov edx, 0x4631ac
call fcn.004045d8
lea eax, [ebp - 0x20]
mov edx, 0x4631cc
call fcn.004045d8
lea edx, [ebp - 0xec]
mov eax, dword [0x46550c]
mov eax, dword [eax]
call fcn.00458da8
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0xe8]
call fcn.00408dac
mov edx, dword [ebp - 0xe8]
lea eax, [ebp - 0x24]
mov ecx, 0x4631ec
call fcn.00404844
lea eax, [ebp - 0x28]
mov edx, 0x463204
call fcn.004045d8
lea eax, [ebp - 4]
mov edx, 0x463228
call fcn.004045d8
mov eax, dword [ebp - 4]
call fcn.004611fc
test al, al
jne 0x462f28
mov eax, dword [ebp - 4]
call fcn.00408fa4
test al, al
jne 0x462f28
xor ebx, ebx
jmp 0x4630f3
lea edx, [ebp - 0xf4]
mov eax, dword [0x46550c]
mov eax, dword [eax]
call fcn.00458da8
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0xf0]
call fcn.00408dac
mov edx, dword [ebp - 0xf0]
lea eax, [ebp - 8]
mov ecx, 0x463244
call fcn.00404844
mov esi, 0x55
mov ebx, 0x464d98
lea eax, [ebp - 0xfc]
mov edx, ebx
call fcn.0040479c
mov ecx, dword [ebp - 0xfc]
lea eax, [ebp - 0xf8]
mov edx, dword [ebp - 8]
call fcn.00404844
mov edx, dword [ebp - 0xf8]
mov eax, edi
call fcn.00409058
lea eax, [ebp - 0x104]
mov edx, ebx
call fcn.0040479c
mov ecx, dword [ebp - 0x104]
lea eax, [ebp - 0x100]
mov edx, dword [ebp - 4]
call fcn.00404844
mov edx, dword [ebp - 0x100]
lea eax, [ebp - 0xca]
call fcn.00409058
push 0
lea eax, [ebp - 0xca]
push eax
push edi
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x462fe2
xor ebx, ebx
jmp 0x4630f3
add ebx, 0xe
dec esi
jne 0x462f68
mov eax, dword [ebp - 0x10]
call fcn.004611fc
test al, al
jne 0x463007
mov eax, dword [ebp - 0x10]
call fcn.00408fa4
test al, al
jne 0x463007
xor ebx, ebx
jmp 0x4630f3
mov esi, 7
mov ebx, 0x465240
lea eax, [ebp - 0x10c]
mov edx, ebx
call fcn.0040479c
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
mov edx, dword [ebp - 0xc]
call fcn.00404844
mov edx, dword [ebp - 0x108]
mov eax, edi
call fcn.00409058
lea eax, [ebp - 0x114]
mov edx, ebx
call fcn.0040479c
mov ecx, dword [ebp - 0x114]
lea eax, [ebp - 0x110]
mov edx, dword [ebp - 0x10]
call fcn.00404844
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 0xca]
call fcn.00409058
push 0
lea eax, [ebp - 0xca]
push eax
push edi
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x463088
xor ebx, ebx
jmp 0x4630f3
add ebx, 0xe
dec esi
jne 0x463011
push 0
mov eax, dword [ebp - 0x18]
call fcn.004049f0
push eax
mov eax, dword [ebp - 0x14]
call fcn.004049f0
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x4630af
xor ebx, ebx
jmp 0x4630f3
push 0
mov eax, dword [ebp - 0x20]
call fcn.004049f0
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004049f0
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x4630d0
xor ebx, ebx
jmp 0x4630f3
push 0
mov eax, dword [ebp - 0x28]
call fcn.004049f0
push eax
mov eax, dword [ebp - 0x24]
call fcn.004049f0
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x4630f1
xor ebx, ebx
jmp 0x4630f3
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463125
lea eax, [ebp - 0x114]
mov edx, 0x12
call fcn.00404564
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00404564
ret