Function at 0x411050
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x441270
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [0x45616c]
push ebx
push esi
mov esi, dword [ecx + 0x44]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x80]
push edi
lea edi, [esi + 0x18]
push edi
add edx, 0x48
push edx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x24], esi
call fcn.00407fd0
push 0x4468a4
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x74], 0
call fcn.00403020
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4110d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4110f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebx, dword [esi + 0x90]
cmp ebx, dword [esi + 0x94]
mov dword [esp + 0x20], ebx
je 0x411645
jmp 0x411113
mov ebx, dword [esp + 0x20]
call fcn.004335c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x443d70
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 1
call fcn.00403ca0
push 0x443d70
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 2
call fcn.00403ca0
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0x14]
push 0x443ce8
push ecx
mov byte [esp + 0x74], 3
call fcn.00403000
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx - 0xc]
add esp, 0xc
test eax, eax
jle 0x411196
push 0x7c
push ebx
call fcn.00424103
add esp, 8
test eax, eax
je 0x411196
sub eax, ebx
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x411360
mov esi, dword [esp + 0x18]
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x10]
push edx
mov edx, dword [ecx + 0x80]
add edx, 0x48
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00407fd0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 4
call fcn.00402f50
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x68], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4111e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x54]
test eax, eax
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x80]
push edi
je 0x411299
add edx, 0x4c
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00407fd0
push 0x443cf8
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x74], 5
call fcn.00403020
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x74], 6
call fcn.00407fd0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 7
call fcn.00402f50
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x68], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41126d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x68], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411290
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
jmp 0x41132a
add edx, 0x48
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00407fd0
push 0x443cf8
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x74], 8
call fcn.00403020
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x74], 9
call fcn.00407fd0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 0xa
call fcn.00402f50
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x68], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411303
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x68], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411326
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x68], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411349
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x41159f
push esi
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
call fcn.00406a10
mov eax, dword [ebx - 0xc]
sub eax, esi
dec eax
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 0xb
call fcn.00402a30
mov edx, dword [0x45616c]
mov eax, dword [edx + 0x14]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [eax + 0x80]
add ecx, 0x48
push ecx
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x74], 0xc
call fcn.00407fd0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 0xd
call fcn.00402f50
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4113e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x54]
test ecx, ecx
push edi
je 0x411497
mov ecx, dword [0x45616c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x80]
add eax, 0x4c
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.00407fd0
push 0x443cf8
push eax
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x74], 0xe
call fcn.00403020
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x74], 0xf
call fcn.00407fd0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 0x10
call fcn.00402f50
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41146b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41148e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x50]
jmp 0x411536
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x80]
add edx, 0x48
push edx
lea eax, [esp + 0x64]
push eax
call fcn.00407fd0
push 0x443cf8
push eax
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0x74], 0x11
call fcn.00403020
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x74], 0x12
call fcn.00407fd0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 0x13
call fcn.00402f50
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0x12
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41150f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411532
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411555
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411578
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x68], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41159b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov ecx, dword [0x45616c]
mov ecx, dword [ecx + 0x28]
push eax
call fcn.00407a70
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x68], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4115e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x68], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41160a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov dword [esp + 0x68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41162c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x94]
add eax, 4
cmp eax, ecx
mov dword [esp + 0x20], eax
jne 0x41110f
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret