Function at 0x551bb4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x551bbc
push ebx
xor eax, eax
push ebp
push 0x551fc4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
mov ecx, 0x551fdc
mov edx, dword [0x56751c]
call fcn.00407760
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x44ffe8]
call fcn.0045039c
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x435704]
call fcn.00442708
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov byte [ebp - 0x31], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x551e3e
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x1d], 0
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x55200c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x552020
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x552040
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
push dword [0x56751c]
push 0x552054
push 0x552070
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.004077e8
mov dl, 1
mov eax, dword [ebp - 0x30]
call fcn.0041d3e0
test al, al
je 0x551cd1
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x30]
call fcn.00551a3c
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x14]
call fcn.005517e4
test al, al
je 0x551e32
cmp dword [ebp - 0x1c], 0
je 0x551cf2
mov dl, 1
mov eax, dword [ebp - 0x1c]
call fcn.0041d3e0
test al, al
je 0x551cf2
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
call fcn.00406d5c
jmp 0x551d30
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [0x56751c]
call fcn.00407760
mov eax, dword [ebp - 0x4c]
mov dl, 1
call fcn.0041d3e0
test al, al
je 0x551d24
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [0x56751c]
call fcn.00407760
jmp 0x551d30
lea eax, [ebp - 0x1c]
call fcn.00406954
mov byte [ebp - 0x1d], 1
cmp dword [ebp - 0x1c], 0
je 0x551d54
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
call fcn.00551a3c
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x14]
call fcn.005517e4
cmp al, 1
jne 0x551d54
mov byte [ebp - 0x1d], 1
cmp byte [ebp - 0x1d], 0
je 0x551e32
mov eax, dword [0x560f94]
cmp byte [eax], 0
je 0x551dc0
mov eax, dword [0x561124]
cmp dword [eax], 0
je 0x551dc0
push dword [0x56751c]
push 0x552054
push 0x552070
push dword [ebp - 0x10]
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.004077e8
mov edx, dword [0x561124]
mov edx, dword [edx]
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
call fcn.00407760
push 0
mov eax, dword [ebp - 0x28]
call fcn.00407514
push eax
mov eax, dword [ebp - 0x2c]
call fcn.00407514
push eax
call sub.kernel32.dll_CopyFileW
jmp 0x551e2e
mov edx, dword [0x560fdc]
mov edx, dword [edx]
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
call fcn.00407760
push dword [0x56751c]
push 0x552054
push 0x552070
push dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.004077e8
push dword [0x56751c]
push 0x552054
push 0x552070
push dword [ebp - 0x10]
push 0x552080
lea eax, [ebp - 0x28]
mov edx, 5
call fcn.004077e8
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [0x5616d0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00551320
mov byte [ebp - 0x31], 1
inc dword [ebp - 4]
dec dword [ebp - 0x3c]
jne 0x551c31
push dword [0x56751c]
push 0x552054
push 0x552098
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004077e8
lea eax, [ebp - 0x2c]
mov ecx, 0x5520c0
mov edx, dword [0x56751c]
call fcn.00407760
mov dl, 1
mov eax, dword [ebp - 0x30]
call fcn.0041d3e0
test al, al
je 0x551ecc
mov dl, 1
mov eax, dword [ebp - 0x2c]
call fcn.0041d3e0
test al, al
je 0x551ecc
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x30]
call fcn.00551a3c
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x2c]
call fcn.00551a3c
mov eax, dword [ebp - 0x58]
pop edx
call fcn.005517e4
cmp al, 1
jne 0x551f01
push 0
mov eax, dword [ebp - 0x2c]
call fcn.00407514
push eax
mov eax, dword [ebp - 0x30]
call fcn.00407514
push eax
call sub.kernel32.dll_CopyFileW
jmp 0x551f01
mov dl, 1
mov eax, dword [ebp - 0x30]
call fcn.0041d3e0
test al, al
je 0x551f01
mov dl, 1
mov eax, dword [ebp - 0x2c]
call fcn.0041d3e0
test al, al
jne 0x551f01
push 0
mov eax, dword [ebp - 0x2c]
call fcn.00407514
push eax
mov eax, dword [ebp - 0x30]
call fcn.00407514
push eax
call sub.kernel32.dll_CopyFileW
cmp byte [ebp - 0x31], 0
je 0x551f8f
mov eax, dword [0x5616d0]
mov eax, dword [eax]
mov eax, dword [eax + 0x64]
add eax, 0x3c
mov edx, 0x5520e4
call fcn.00406d14
mov eax, dword [0x5616d0]
mov eax, dword [eax]
mov eax, dword [eax + 0x64]
add eax, 0x38
mov edx, 0x552100
call fcn.00406d14
mov eax, dword [0x5616d0]
mov eax, dword [eax]
mov eax, dword [eax + 0x64]
call fcn.00533164
mov eax, dword [0x561634]
mov eax, dword [eax]
call fcn.004ba674
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x38], eax
jmp 0x551f6a
mov eax, dword [0x561634]
mov eax, dword [eax]
call fcn.004ba674
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x38]
add eax, 0x7530
cdq
cmp edx, dword [esp + 4]
jne 0x551f8b
cmp eax, dword [esp]
pop edx
pop eax
ja 0x551f5e
jmp 0x551f8f
pop edx
pop eax
jg 0x551f5e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x551fcb
lea eax, [ebp - 0x58]
mov edx, 7
call fcn.004069b4
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.004069b4
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004069b4
ret