Function at 0x469ffc
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x46a005
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404824
mov eax, dword [ebp - 8]
call fcn.00404824
xor eax, eax
push ebp
push 0x46a6b3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x46a615
mov eax, dword [ebp - 4]
call fcn.00404670
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x46a05f
lea eax, [ebp - 4]
mov edx, 0x46a6cc
call fcn.00404678
lea eax, [ebp - 0x34]
mov ecx, 0x46a6d8
mov edx, dword [ebp - 4]
call fcn.004046bc
mov eax, dword [ebp - 0x34]
call fcn.00464c74
test al, al
je 0x46a615
cmp dword [ebp - 8], 0
je 0x46a615
mov eax, dword [ebp - 8]
call fcn.00404670
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
je 0x46a0a8
lea eax, [ebp - 8]
mov edx, 0x46a6cc
call fcn.00404678
lea eax, [ebp - 0x38]
mov ecx, 0x46a6d8
mov edx, dword [ebp - 4]
call fcn.004046bc
mov ecx, dword [ebp - 0x38]
mov dl, 1
mov eax, dword [0x419e10]
call fcn.00419eb8
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x46a60e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
mov ecx, 0x46a6ec
mov edx, 0x46a700
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
test eax, eax
jl 0x46a1e8
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x10]
call fcn.0040902c
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 0x46a70c
call fcn.004046bc
mov ecx, dword [ebp - 0x3c]
mov edx, 0x46a700
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
push 0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x10]
call fcn.0040902c
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, 0x46a720
call fcn.004046bc
mov ecx, dword [ebp - 0x44]
mov edx, 0x46a700
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [0x46d99c]
mov eax, dword [eax]
call fcn.00469958
mov esi, eax
dec esi
test esi, esi
jl 0x46a1dc
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x50]
mov eax, dword [0x46d99c]
mov eax, dword [eax]
mov edx, ebx
call fcn.0046989c
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x1c]
call fcn.00404780
jne 0x46a1d8
lea ecx, [ebp - 0x58]
mov eax, dword [0x46d99c]
mov eax, dword [eax]
mov edx, ebx
call fcn.0046989c
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x14]
call fcn.00404460
cmp dword [ebp - 0x20], 0
je 0x46a1d8
push dword [ebp - 0x14]
push 0x46a6cc
push dword [ebp - 0x20]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404730
mov dl, 1
mov eax, dword [ebp - 0x20]
call fcn.00464cf4
inc ebx
dec esi
jne 0x46a176
inc dword [ebp - 0x10]
dec dword [ebp - 0x30]
jne 0x46a100
push 0
mov ecx, 0x46a738
mov edx, 0x46a700
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
test eax, eax
jl 0x46a314
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x10]
call fcn.0040902c
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, 0x46a748
call fcn.004046bc
mov ecx, dword [ebp - 0x5c]
mov edx, 0x46a700
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
push 0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x10]
call fcn.0040902c
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x46a758
call fcn.004046bc
mov ecx, dword [ebp - 0x64]
mov edx, 0x46a700
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x18], 0
je 0x46a2ed
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.004046bc
cmp dword [ebp - 0x1c], 0
je 0x46a308
mov eax, dword [0x46d99c]
mov eax, dword [eax]
call fcn.00469958
mov esi, eax
dec esi
test esi, esi
jl 0x46a308
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x70]
mov eax, dword [0x46d99c]
mov eax, dword [eax]
mov edx, ebx
call fcn.0046989c
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x1c]
call fcn.00404780
jne 0x46a2e7
lea ecx, [ebp - 0x78]
mov eax, dword [0x46d99c]
mov eax, dword [eax]
mov edx, ebx
call fcn.0046989c
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x14]
call fcn.00404460
mov cl, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.00469ee0
inc ebx
dec esi
jne 0x46a2a0
jmp 0x46a308
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004046bc
mov cl, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.00469ee0
inc dword [ebp - 0x10]
dec dword [ebp - 0x30]
jne 0x46a210
push 0
mov ecx, 0x46a738
mov edx, 0x46a76c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
test eax, eax
jl 0x46a4d3
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x10]
call fcn.0040902c
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
mov edx, 0x46a748
call fcn.004046bc
mov ecx, dword [ebp - 0x7c]
mov edx, 0x46a76c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
push 0
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x10]
call fcn.0040902c
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
mov edx, 0x46a77c
call fcn.004046bc
mov ecx, dword [ebp - 0x84]
mov edx, 0x46a76c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
push 0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x10]
call fcn.0040902c
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
mov edx, 0x46a758
call fcn.004046bc
mov ecx, dword [ebp - 0x8c]
mov edx, 0x46a76c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x18], 0
je 0x46a4c7
cmp dword [ebp - 0x14], 0
je 0x46a4c7
cmp dword [ebp - 0x1c], 0
je 0x46a492
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.004046bc
mov eax, dword [0x46d99c]
mov eax, dword [eax]
call fcn.00469958
mov esi, eax
dec esi
test esi, esi
jl 0x46a4c7
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x98]
mov eax, dword [0x46d99c]
mov eax, dword [eax]
mov edx, ebx
call fcn.0046989c
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x1c]
call fcn.00404780
jne 0x46a48c
lea ecx, [ebp - 0xa0]
mov eax, dword [0x46d99c]
mov eax, dword [eax]
mov edx, ebx
call fcn.0046989c
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
call fcn.004046bc
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404834
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404834
push eax
call sub.kernel32.dll_CopyFileA
inc ebx
dec esi
jne 0x46a42a
jmp 0x46a4c7
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.004046bc
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004046bc
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404834
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404834
push eax
call sub.kernel32.dll_CopyFileA
inc dword [ebp - 0x10]
dec dword [ebp - 0x30]
jne 0x46a33c
push 0
mov ecx, 0x46a738
mov edx, 0x46a78c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
dec eax
test eax, eax
jl 0x46a5f8
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0x10]
call fcn.0040902c
mov ecx, dword [ebp - 0xa8]
lea eax, [ebp - 0xa4]
mov edx, 0x46a79c
call fcn.004046bc
mov ecx, dword [ebp - 0xa4]
mov edx, 0x46a78c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
push 0
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x10]
call fcn.0040902c
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0xac]
mov edx, 0x46a7ac
call fcn.004046bc
mov ecx, dword [ebp - 0xac]
mov edx, 0x46a78c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
push 0
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x10]
call fcn.0040902c
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
mov edx, 0x46a7c0
call fcn.004046bc
mov ecx, dword [ebp - 0xb4]
mov edx, 0x46a78c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x24], 0
je 0x46a5ec
cmp dword [ebp - 0x28], 0
je 0x46a5ec
cmp dword [ebp - 0x2c], 0
je 0x46a5ec
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
call fcn.004046bc
mov eax, dword [ebp - 0x24]
call fcn.00464c74
test al, al
je 0x46a5ec
mov eax, dword [ebp - 0x2c]
push eax
mov cl, 2
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.00469a50
inc dword [ebp - 0x10]
dec dword [ebp - 0x30]
jne 0x46a4fb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a615
mov eax, dword [ebp - 0xc]
call fcn.00403578
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a6bd
lea eax, [ebp - 0xb8]
mov edx, 6
call fcn.004043ec
lea eax, [ebp - 0xa0]
mov edx, dword [0x4697a0]
mov ecx, 2
call fcn.00404cf0
lea eax, [ebp - 0x90]
mov edx, 6
call fcn.004043ec
lea eax, [ebp - 0x78]
mov edx, dword [0x4697a0]
mov ecx, 2
call fcn.00404cf0
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.004043ec
lea eax, [ebp - 0x58]
mov edx, dword [0x4697a0]
mov ecx, 2
call fcn.00404cf0
lea eax, [ebp - 0x48]
mov edx, 6
call fcn.004043ec
lea eax, [ebp - 0x2c]
mov edx, 7
call fcn.004043ec
lea eax, [ebp - 8]
mov edx, 2
call fcn.004043ec
ret