Function at 0x466ce0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x466ce8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404724
xor eax, eax
push ebp
push 0x46707f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x413fa0]
call fcn.00403500
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46702b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x30]
call fcn.004628e4
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040ca00
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
mov ecx, 0x467094
call fcn.00404588
lea eax, [ebp - 0x34]
call fcn.004622c4
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x24]
call fcn.0040ca40
mov al, byte [0x4670a0]
push eax
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x4670ac
mov edx, 0x4670b8
mov eax, dword [ebp - 4]
call fcn.0040d190
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x467015
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
call fcn.00408510
cmp dword [ebp - 0x14], 0
je 0x467009
mov edx, dword [ebp - 0x14]
mov eax, 0x4670c4
call fcn.00404878
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x466e27
lea eax, [ebp - 0x40]
push eax
mov edx, dword [ebp - 0x10]
add edx, 3
mov ecx, 0x309
mov eax, dword [ebp - 0x14]
call fcn.00404794
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x18]
call fcn.00408510
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x10]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404794
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00408510
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x14]
call fcn.0040431c
jmp 0x466e2f
lea eax, [ebp - 0x18]
call fcn.00404284
cmp dword [ebp - 0x18], 0
jne 0x466e6b
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x54]
xor ecx, ecx
mov eax, 0x4670d0
call fcn.00409520
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x407628]
call fcn.0040bea0
call fcn.00403ce4
jmp 0x467009
mov al, byte [0x4670f0]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, 0x4670fc
mov eax, dword [ebp - 0x18]
call fcn.0040d190
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.0040ca00
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x18]
call fcn.0040431c
mov al, byte [0x4670f0]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, 0x467110
mov eax, dword [ebp - 0x18]
call fcn.0040d190
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.0040ca00
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x18]
call fcn.0040431c
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0xb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0xb
lea edx, [ebp - 0x78]
mov ecx, 1
mov eax, 0x467124
call fcn.00409520
mov eax, dword [ebp - 0x68]
mov edx, 0x467148
call fcn.00464d18
pop ecx
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x14]
call fcn.00408c84
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.00404588
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x1c]
call fcn.00408c50
mov eax, dword [ebp - 0x80]
call fcn.004088c8
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.004089e8
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00404734
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404734
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x466f9e
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0xb
lea edx, [ebp - 0x78]
mov ecx, 1
mov eax, 0x467158
call fcn.00409520
mov ecx, dword [ebp - 0x84]
mov dl, 1
mov eax, dword [0x407628]
call fcn.0040bea0
call fcn.00403ce4
lea eax, [ebp - 0x88]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404588
mov eax, dword [ebp - 0x88]
call fcn.00408894
test al, al
jne 0x467009
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404588
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x54]
xor ecx, ecx
mov eax, 0x46717c
call fcn.00409520
mov ecx, dword [ebp - 0x8c]
mov dl, 1
mov eax, dword [0x407628]
call fcn.0040bea0
call fcn.00403ce4
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x466d9f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467032
mov eax, dword [ebp - 8]
call fcn.00403530
ret