Function at 0x4dbd38
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x4dbd40
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dc3af
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4dc368
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x418200]
call fcn.00403894
mov dword [ebp - 0x14], eax
mov edx, 0x4dc3c8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x20]
mov eax, dword [0x4e6e34]
mov eax, dword [eax]
call fcn.00476924
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040953c
lea eax, [ebp - 0x1c]
mov edx, 0x4dc7e0
call fcn.00404958
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x43563c]
call fcn.004356ec
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
mov eax, dword [eax + 0x22c]
call fcn.00441868
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4dbe8c
lea eax, [ebp - 0x10]
call fcn.00404690
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.00441898
mov esi, eax
mov eax, dword [esi + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4dbe5a
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
cmp dword [ebp - 0x10], 0
je 0x4dbe44
push dword [ebp - 0x10]
push 0x4dc7f8
lea ecx, [ebp - 0x24]
mov eax, dword [esi + 8]
mov edx, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404a10
jmp 0x4dbe52
lea ecx, [ebp - 0x10]
mov eax, dword [esi + 8]
mov edx, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
inc dword [ebp - 8]
dec dword [ebp - 0x18]
jne 0x4dbe16
push dword [ebp - 0x10]
push 0x4dc804
push dword [esi + 0x24]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404a10
mov ecx, dword [ebp - 0x28]
mov edx, 2
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0x60]
dec ebx
cmp ebx, 0xffffffff
jne 0x4dbdde
lea edx, [ebp - 0x30]
mov eax, dword [0x4e6e34]
mov eax, dword [eax]
call fcn.00476924
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040953c
lea eax, [ebp - 0x2c]
mov edx, 0x4dc7e0
call fcn.00404958
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
mov eax, dword [eax + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4dbf1a
inc eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x424]
movzx eax, byte [eax + ebx]
push eax
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
mov eax, dword [eax + 0x23c]
mov edx, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x34]
mov edx, 0x4dc810
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
inc ebx
dec dword [ebp - 0x18]
jne 0x4dbedd
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x388]
call fcn.00456860
mov eax, dword [ebp - 0x38]
push eax
mov ecx, 0x4dc820
mov edx, 0x4dc830
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x394]
call fcn.00456860
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, 0x4dc83c
mov edx, 0x4dc830
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x39c]
call fcn.00456860
mov eax, dword [ebp - 0x40]
push eax
mov ecx, 0x4dc84c
mov edx, 0x4dc830
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a4]
call fcn.00456860
mov eax, dword [ebp - 0x44]
push eax
mov ecx, 0x4dc85c
mov edx, 0x4dc830
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x378]
mov edx, dword [eax]
call dword [edx + 0x1d0]
push eax
mov ecx, 0x4dc870
mov edx, 0x4dc87c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
call fcn.00456860
mov eax, dword [ebp - 0x48]
push eax
mov ecx, 0x4dc88c
mov edx, 0x4dc87c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3bc]
mov eax, dword [eax + 0x22c]
call fcn.00441868
push eax
mov ecx, 0x4dc89c
mov edx, 0x4dc8ac
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3bc]
mov eax, dword [eax + 0x22c]
call fcn.00441868
dec eax
test eax, eax
jl 0x4dc25f
inc eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3bc]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.00441898
mov esi, eax
mov eax, dword [esi + 0x24]
push eax
lea edx, [ebp - 0x50]
lea eax, [ebx + 1]
call fcn.00408d34
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 0x4dc870
call fcn.0040499c
mov ecx, dword [ebp - 0x4c]
mov edx, 0x4dc8ac
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 4]
lea ecx, [ebp - 0x54]
mov eax, dword [esi + 8]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x5c]
lea eax, [ebx + 1]
call fcn.00408d34
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, 0x4dc8bc
call fcn.0040499c
mov ecx, dword [ebp - 0x58]
mov edx, 0x4dc8ac
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 4]
lea ecx, [ebp - 0x60]
mov eax, dword [esi + 8]
mov edx, 1
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x60]
push eax
lea edx, [ebp - 0x68]
lea eax, [ebx + 1]
call fcn.00408d34
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x4dc8cc
call fcn.0040499c
mov ecx, dword [ebp - 0x64]
mov edx, 0x4dc8ac
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 4]
lea ecx, [ebp - 0x6c]
mov eax, dword [esi + 8]
mov edx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x6c]
push eax
lea edx, [ebp - 0x74]
lea eax, [ebx + 1]
call fcn.00408d34
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov edx, 0x4dc8e0
call fcn.0040499c
mov ecx, dword [ebp - 0x70]
mov edx, 0x4dc8ac
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 4]
lea ecx, [ebp - 0x78]
mov eax, dword [esi + 8]
mov edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x78]
push eax
lea edx, [ebp - 0x80]
lea eax, [ebx + 1]
call fcn.00408d34
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
mov edx, 0x4dc88c
call fcn.0040499c
mov ecx, dword [ebp - 0x7c]
mov edx, 0x4dc8ac
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 4]
lea ecx, [ebp - 0x88]
mov eax, dword [esi + 8]
mov edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 4]
call fcn.004dd5e8
mov eax, dword [ebp - 0x84]
push eax
lea edx, [ebp - 0x90]
lea eax, [ebx + 1]
call fcn.00408d34
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
mov edx, 0x4dc8ec
call fcn.0040499c
mov ecx, dword [ebp - 0x8c]
mov edx, 0x4dc8ac
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 4]
lea ecx, [ebp - 0x98]
mov eax, dword [esi + 8]
mov edx, 5
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
mov eax, dword [ebp - 4]
call fcn.004dd5e8
mov eax, dword [ebp - 0x94]
push eax
lea edx, [ebp - 0xa0]
lea eax, [ebx + 1]
call fcn.00408d34
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
mov edx, 0x4dc8f8
call fcn.0040499c
mov ecx, dword [ebp - 0x9c]
mov edx, 0x4dc8ac
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 4]
inc ebx
dec dword [ebp - 0x18]
jne 0x4dc04b
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x54]
lea edx, [ebp - 0xa8]
mov eax, dword [0x4e6e34]
mov eax, dword [eax]
call fcn.00476924
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.0040953c
lea eax, [ebp - 0xa4]
mov edx, 0x4dc90c
call fcn.00404958
mov eax, dword [ebp - 0xa4]
call fcn.0040938c
test al, al
je 0x4dc332
push 0
lea edx, [ebp - 0xb0]
mov eax, dword [0x4e6e34]
mov eax, dword [eax]
call fcn.00476924
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.0040953c
lea eax, [ebp - 0xac]
mov edx, 0x4dc928
call fcn.00404958
mov eax, dword [ebp - 0xac]
call fcn.00404b50
push eax
lea edx, [ebp - 0xb8]
mov eax, dword [0x4e6e34]
mov eax, dword [eax]
call fcn.00476924
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
call fcn.0040953c
lea eax, [ebp - 0xb4]
mov edx, 0x4dc7e0
call fcn.00404958
mov eax, dword [ebp - 0xb4]
call fcn.00404b50
push eax
call sub.kernel32.dll_CopyFileA
push 0x40
mov ecx, 0x4dc948
mov edx, 0x4dc950
mov eax, dword [0x4e6e34]
mov eax, dword [eax]
call fcn.004764a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc36f
mov eax, dword [ebp - 0x14]
call fcn.004038c4
mov eax, dword [ebp - 0xc]
call fcn.004038c4
ret