Function at 0x479d47
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x479b74
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47a197
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x368
mov edx, 0x47a1b0
call fcn.00404574
xor eax, eax
push ebp
push 0x47a126
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x47cdbc]
mov eax, dword [eax]
mov dx, 0xffef
call fcn.0045cf74
xor eax, eax
push ebp
push 0x479bfa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
mov edx, 0x47a1d8
call fcn.0043f2dc
mov eax, dword [ebp - 4]
call fcn.0043f7e8
mov eax, dword [ebp - 4]
call fcn.00478e4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x479c69
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x334]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x35c]
add edx, edx
add edx, 6
mov eax, ebx
call fcn.004309f8
xor edx, edx
mov eax, ebx
call fcn.004309ec
mov edx, 1
mov eax, ebx
call fcn.00430a54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
mov edx, 0x47a264
call fcn.0043f2dc
mov eax, dword [ebp - 4]
call fcn.00478af0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call fcn.00430a90
mov eax, dword [ebp - 4]
call fcn.0043f7e8
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00402a44
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004090b8
lea eax, [ebp - 0x1c]
mov edx, 0x47a284
call fcn.004047e8
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x42eea8]
call fcn.0042ef58
mov ebx, eax
push 1
mov ecx, 0x47a29c
mov edx, 0x47a2ac
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 8]
mov esi, eax
mov eax, ebx
call fcn.0040374c
dec esi
jne 0x479d9d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
mov edx, 0x47a2bc
call fcn.0043f2dc
mov eax, dword [ebp - 4]
call fcn.004788c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call fcn.00430a90
mov eax, dword [ebp - 4]
call fcn.0043f7e8
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00402a44
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.004090b8
lea eax, [ebp - 0x24]
mov edx, 0x47a284
call fcn.004047e8
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x42eea8]
call fcn.0042ef58
mov ebx, eax
push 0
mov ecx, 0x47a29c
mov edx, 0x47a2ac
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, ebx
call fcn.0040374c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x390]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x479f1d
inc esi
xor ebx, ebx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x390]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
call fcn.004047e0
push eax
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x390]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x30]
mov eax, 0x47a2e4
call fcn.00404b24
inc eax
push eax
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x390]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
pop edx
pop ecx
call fcn.00404a40
cmp dword [ebp - 8], 0
je 0x479f15
mov edx, dword [ebp - 8]
mov eax, 0x47a2f0
call fcn.00404b24
test eax, eax
jle 0x479ec2
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x47a2f0
call fcn.00404b24
mov ecx, eax
dec ecx
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00404a40
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x47a2f0
call fcn.00404b24
inc eax
push eax
mov eax, dword [ebp - 8]
call fcn.004047e0
mov ecx, eax
mov eax, dword [ebp - 8]
pop edx
call fcn.00404a40
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
xor ecx, ecx
call fcn.0040992c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
call fcn.0043f2dc
mov eax, dword [ebp - 4]
call fcn.0043f7e8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00478d10
jmp 0x479f07
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
xor ecx, ecx
call fcn.0040992c
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
call fcn.0043f2dc
mov eax, dword [ebp - 4]
call fcn.0043f7e8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00478d10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call fcn.00430a90
inc ebx
dec esi
jne 0x479db9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call fcn.00430a90
mov eax, dword [ebp - 4]
call fcn.0043f7e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call fcn.00430a90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
mov edx, 0x47a2fc
call fcn.0043f2dc
mov eax, dword [ebp - 4]
call fcn.0043f7e8
push 0
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.00402a44
lea eax, [ebp - 0x4c]
mov edx, 0x47a320
call fcn.004047e8
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.004090b8
mov eax, dword [ebp - 0x48]
call fcn.004049e0
push eax
push 0x47a334
call sub.kernel32.dll_CopyFileA
push 0
lea edx, [ebp - 0x54]
xor eax, eax
call fcn.00402a44
lea eax, [ebp - 0x54]
mov edx, 0x47a344
call fcn.004047e8
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.004090b8
mov eax, dword [ebp - 0x50]
call fcn.004049e0
push eax
push 0x47a358
call sub.kernel32.dll_CopyFileA
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x36c]
lea eax, [ebp - 0x58]
mov ecx, 0x47a368
call fcn.0040482c
mov eax, dword [ebp - 0x58]
call fcn.004049e0
push eax
push 0x47a378
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call fcn.00430a90
mov eax, 0x47a390
call fcn.00409020
mov eax, 0x47a3a0
call fcn.00409020
mov eax, 0x47a3b0
call fcn.00409020
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call fcn.00430a90
lea edx, [ebp - 0x60]
xor eax, eax
call fcn.00402a44
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.004090b8
lea eax, [ebp - 0x5c]
mov edx, 0x47a284
call fcn.004047e8
mov ecx, dword [ebp - 0x5c]
mov dl, 1
mov eax, dword [0x42eea8]
call fcn.0042ef58
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
push eax
mov ecx, 0x47a3c8
mov edx, 0x47a3e0
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 4]
push 1
mov ecx, 0x47a29c
mov edx, 0x47a2ac
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, ebx
call fcn.0040374c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
mov edx, dword [eax]
call dword [edx + 0x58]
lea edx, [ebp - 0x68]
xor eax, eax
call fcn.00402a44
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.004090b8
lea eax, [ebp - 0x64]
mov edx, 0x47a3fc
call fcn.004047e8
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 4]
call fcn.0047a6c8
push 0x40
mov ecx, 0x47a224
mov edx, 0x47a400
mov eax, dword [0x47cb98]
mov eax, dword [eax]
call fcn.0045f08c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a12d
mov eax, dword [0x47cdbc]
mov eax, dword [eax]
xor edx, edx
call fcn.0045cf74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
xor edx, edx
call fcn.00430a08
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
xor edx, edx
call fcn.00430a08
ret