Function at 0x4db348
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x4db350
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4db9bf
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4db978
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x418914]
call fcn.00403ca4
mov dword [ebp - 0x14], eax
mov edx, 0x4db9d8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x20]
mov eax, dword [0x4e59f8]
mov eax, dword [eax]
call fcn.00477298
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00409a9c
lea eax, [ebp - 0x1c]
mov edx, 0x4dbdf0
call fcn.00404da4
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x435dc0]
call fcn.00435e70
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x35c]
mov eax, dword [eax + 0x22c]
call fcn.00442000
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4db49c
lea eax, [ebp - 0x10]
call fcn.00404adc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x35c]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.00442030
mov esi, eax
mov eax, dword [esi + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4db46a
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
cmp dword [ebp - 0x10], 0
je 0x4db454
push dword [ebp - 0x10]
push 0x4dbe08
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.00404e5c
jmp 0x4db462
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 0x4db426
push dword [ebp - 0x10]
push 0x4dbe14
push dword [esi + 0x24]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404e5c
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 0x4db3ee
lea edx, [ebp - 0x30]
mov eax, dword [0x4e59f8]
mov eax, dword [eax]
call fcn.00477298
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00409a9c
lea eax, [ebp - 0x2c]
mov edx, 0x4dbdf0
call fcn.00404da4
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 + 0x348]
mov eax, dword [eax + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4db52a
inc eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
movzx eax, byte [eax + ebx]
push eax
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
mov eax, dword [eax + 0x23c]
mov edx, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x34]
mov edx, 0x4dbe20
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
inc ebx
dec dword [ebp - 0x18]
jne 0x4db4ed
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38c]
call fcn.00456ff8
mov eax, dword [ebp - 0x38]
push eax
mov ecx, 0x4dbe30
mov edx, 0x4dbe40
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 + 0x398]
call fcn.00456ff8
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, 0x4dbe4c
mov edx, 0x4dbe40
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 + 0x3a0]
call fcn.00456ff8
mov eax, dword [ebp - 0x40]
push eax
mov ecx, 0x4dbe5c
mov edx, 0x4dbe40
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 + 0x3a8]
call fcn.00456ff8
mov eax, dword [ebp - 0x44]
push eax
mov ecx, 0x4dbe6c
mov edx, 0x4dbe40
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x37c]
mov edx, dword [eax]
call dword [edx + 0x1d0]
push eax
mov ecx, 0x4dbe80
mov edx, 0x4dbe8c
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 + 0x384]
call fcn.00456ff8
mov eax, dword [ebp - 0x48]
push eax
mov ecx, 0x4dbe9c
mov edx, 0x4dbe8c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c0]
mov eax, dword [eax + 0x22c]
call fcn.00442000
push eax
mov ecx, 0x4dbeac
mov edx, 0x4dbebc
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c0]
mov eax, dword [eax + 0x22c]
call fcn.00442000
dec eax
test eax, eax
jl 0x4db86f
inc eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c0]
mov eax, dword [eax + 0x22c]
mov edx, ebx
call fcn.00442030
mov esi, eax
mov eax, dword [esi + 0x24]
push eax
lea edx, [ebp - 0x50]
lea eax, [ebx + 1]
call fcn.00409284
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 0x4dbe80
call fcn.00404de8
mov ecx, dword [ebp - 0x4c]
mov edx, 0x4dbebc
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.00409284
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, 0x4dbecc
call fcn.00404de8
mov ecx, dword [ebp - 0x58]
mov edx, 0x4dbebc
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.00409284
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x4dbedc
call fcn.00404de8
mov ecx, dword [ebp - 0x64]
mov edx, 0x4dbebc
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.00409284
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov edx, 0x4dbef0
call fcn.00404de8
mov ecx, dword [ebp - 0x70]
mov edx, 0x4dbebc
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.00409284
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
mov edx, 0x4dbe9c
call fcn.00404de8
mov ecx, dword [ebp - 0x7c]
mov edx, 0x4dbebc
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.004dcbf8
mov eax, dword [ebp - 0x84]
push eax
lea edx, [ebp - 0x90]
lea eax, [ebx + 1]
call fcn.00409284
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
mov edx, 0x4dbefc
call fcn.00404de8
mov ecx, dword [ebp - 0x8c]
mov edx, 0x4dbebc
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.004dcbf8
mov eax, dword [ebp - 0x94]
push eax
lea edx, [ebp - 0xa0]
lea eax, [ebx + 1]
call fcn.00409284
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
mov edx, 0x4dbf08
call fcn.00404de8
mov ecx, dword [ebp - 0x9c]
mov edx, 0x4dbebc
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 4]
inc ebx
dec dword [ebp - 0x18]
jne 0x4db65b
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x54]
lea edx, [ebp - 0xa8]
mov eax, dword [0x4e59f8]
mov eax, dword [eax]
call fcn.00477298
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.00409a9c
lea eax, [ebp - 0xa4]
mov edx, 0x4dbf1c
call fcn.00404da4
mov eax, dword [ebp - 0xa4]
call fcn.004098dc
test al, al
je 0x4db942
push 0
lea edx, [ebp - 0xb0]
mov eax, dword [0x4e59f8]
mov eax, dword [eax]
call fcn.00477298
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.00409a9c
lea eax, [ebp - 0xac]
mov edx, 0x4dbf38
call fcn.00404da4
mov eax, dword [ebp - 0xac]
call fcn.00404f9c
push eax
lea edx, [ebp - 0xb8]
mov eax, dword [0x4e59f8]
mov eax, dword [eax]
call fcn.00477298
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
call fcn.00409a9c
lea eax, [ebp - 0xb4]
mov edx, 0x4dbdf0
call fcn.00404da4
mov eax, dword [ebp - 0xb4]
call fcn.00404f9c
push eax
call sub.kernel32.dll_CopyFileA
push 0x40
mov ecx, 0x4dbf58
mov edx, 0x4dbf60
mov eax, dword [0x4e59f8]
mov eax, dword [eax]
call fcn.00476d68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db97f
mov eax, dword [ebp - 0x14]
call fcn.00403cd4
mov eax, dword [ebp - 0xc]
call fcn.00403cd4
ret