Function at 0x414670
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x446e90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [0x45d16c]
push ebx
push esi
mov esi, dword [ecx + 0x44]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0xac]
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.00407ec0
push 0x44cff4
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x74], 0
call fcn.00403800
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 0x4146f1
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 0x414717
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 0x414c65
jmp 0x414733
mov ebx, dword [esp + 0x20]
call fcn.00438f74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x449de4
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 1
call fcn.004044b0
push 0x449de4
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 2
call fcn.004044b0
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0x14]
push 0x449cf8
push ecx
mov byte [esp + 0x74], 3
call fcn.004037e0
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx - 0xc]
add esp, 0xc
test eax, eax
jle 0x4147b6
push 0x7c
push ebx
call fcn.00429792
add esp, 8
test eax, eax
je 0x4147b6
sub eax, ebx
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x414980
mov esi, dword [esp + 0x18]
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x10]
push edx
mov edx, dword [ecx + 0xac]
add edx, 0x48
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00407ec0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 4
call fcn.00403730
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 0x414809
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 [0x45d16c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0xac]
push edi
je 0x4148b9
add edx, 0x4c
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00407ec0
push 0x449e8c
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x74], 5
call fcn.00403800
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x74], 6
call fcn.00407ec0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 7
call fcn.00403730
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 0x41488d
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 0x4148b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
jmp 0x41494a
add edx, 0x48
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00407ec0
push 0x449e8c
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x74], 8
call fcn.00403800
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x74], 9
call fcn.00407ec0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 0xa
call fcn.00403730
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 0x414923
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 0x414946
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 0x414969
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 0x414bbf
push esi
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
call fcn.00403220
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.004031b0
mov edx, dword [0x45d16c]
mov eax, dword [edx + 0x14]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [eax + 0xac]
add ecx, 0x48
push ecx
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x74], 0xc
call fcn.00407ec0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 0xd
call fcn.00403730
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 0x414a02
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 0x414ab7
mov ecx, dword [0x45d16c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0xac]
add eax, 0x4c
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.00407ec0
push 0x449e8c
push eax
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x74], 0xe
call fcn.00403800
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x74], 0xf
call fcn.00407ec0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 0x10
call fcn.00403730
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 0x414a8b
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 0x414aae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x50]
jmp 0x414b56
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0xac]
add edx, 0x48
push edx
lea eax, [esp + 0x64]
push eax
call fcn.00407ec0
push 0x449e8c
push eax
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0x74], 0x11
call fcn.00403800
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x74], 0x12
call fcn.00407ec0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 0x13
call fcn.00403730
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 0x414b2f
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 0x414b52
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 0x414b75
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 0x414b98
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 0x414bbb
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 [0x45d16c]
mov ecx, dword [ecx + 0x28]
push eax
call fcn.00409090
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 0x414c07
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 0x414c2a
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 0x414c4c
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 0x41472f
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret