Function at 0x41d8b0
Capabilities:
Access peb ldr_data
Copy file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x47d7f8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3e28]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
lea ecx, [esp + 0x64]
call fcn.0044385a
mov eax, dword [esp + 0x8c]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x88], 0
call fcn.00401ab0
push 0x484b6c
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x90], 1
call fcn.00402800
add esp, 0xc
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x8c], 2
call fcn.004438f2
test eax, eax
mov eax, dword [esp + 0x28]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x84], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d95a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x84], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d982
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x41e0b2
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 8]
xor ebx, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], ebx
test ecx, ecx
jle 0x41e228
test ebx, ebx
jl 0x41e223
cmp ebx, dword [eax + 8]
jge 0x41e223
mov ecx, dword [eax + 4]
lea eax, [ecx + ebx*4]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401590
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea ebp, [esi - 0x10]
mov dword [esp + 0x44], esp
mov edi, esp
push ebp
mov byte [esp + 0x8c], 3
mov dword [esp + 0x48], ebp
call fcn.00401590
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00405810
add esp, 4
push 0
push esi
lea ecx, [esp + 0x6c]
call fcn.004438f2
lea ecx, [esp + 0x64]
mov edi, eax
call fcn.00443456
test edi, edi
je 0x41dd9b
push esi
call fcn.00408260
add esp, 4
test eax, eax
jne 0x41dd9b
push str..__old
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.00402800
mov eax, dword [eax]
add esp, 0xc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edi, eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41da6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x41dac9
push str..__old
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00402800
mov eax, dword [eax]
push eax
mov byte [esp + 0x94], 4
call fcn.004085f0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x84], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dd9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41dd9b
call fcn.004412f5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41e0e5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push str..__old
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x90], 5
call fcn.00402800
add esp, 0xc
mov eax, dword [eax]
push eax
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.backup_file_error__s_to__s_
mov byte [esp + 0x94], 6
call fcn.00401ab0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x483af8
mov byte [esp + 0x98], 7
call fcn.00401ab0
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x98], 6
call fcn.00412920
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x94], 8
call fcn.004029f0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x84], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41db97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x84], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dbbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00409eb0
add esp, 4
xor ebx, ebx
mov edi, edi
call fcn.004412f5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41e0e5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push ebx
push esi
lea ecx, [esp + 0x28]
push str._s.__old_d
push ecx
mov byte [esp + 0x94], 9
call fcn.004029f0
mov edi, dword [esp + 0x30]
add esp, 0x10
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x41dd39
call fcn.004412f5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41e0e5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push edi
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push str.backup_file_error__s_to__s_
mov byte [esp + 0x94], 0xa
call fcn.00401ab0
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x483af8
mov byte [esp + 0x98], 0xb
call fcn.00401ab0
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x98], 0xa
call fcn.00412920
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x94], 0xc
call fcn.004029f0
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x84], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dcd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x24]
push ebp
call fcn.00409eb0
lea eax, [ebp - 0x10]
add esp, 4
mov byte [esp + 0x84], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dd02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x84], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dd26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebx
cmp ebx, 0xa
jge 0x41e066
mov ebp, dword [esp + 0x40]
jmp 0x41dbd0
push edi
call fcn.004085f0
lea eax, [edi - 0x10]
add esp, 4
mov byte [esp + 0x84], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dd66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, 0xa
jge 0x41e066
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x84], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dd97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
dec ecx
cmp ebx, ecx
jne 0x41dec2
mov edx, dword [esp + 0x8c]
push edx
lea ecx, [esp + 0x4c]
call fcn.00401ab0
push 0x484b6c
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x90], 0xd
call fcn.00402800
mov eax, dword [eax]
add esp, 0xc
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edi, eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41de00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x84], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41de28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004412f5
xor ecx, ecx
test edi, edi
je 0x41e0dc
test eax, eax
setne cl
test ecx, ecx
je 0x41e0e5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push str.update_file__s_
mov byte [esp + 0x90], 0xe
call fcn.00401ab0
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x483af8
mov byte [esp + 0x94], 0xf
call fcn.00401ab0
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x94], 0xe
call fcn.00412920
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x90], 0x10
call fcn.004029f0
mov eax, dword [esp + 0x58]
mov byte [esp + 0x90], 0xe
jmp 0x41dfd9
mov ecx, dword [esp + 0x8c]
push ecx
lea ecx, [esp + 0x58]
call fcn.00401ab0
push 0x484b6c
push eax
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x90], 0x14
call fcn.00402800
mov eax, dword [eax]
add esp, 0xc
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41df1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0x84], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41df44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004412f5
xor ecx, ecx
test edi, edi
je 0x41e1a3
test eax, eax
setne cl
test ecx, ecx
je 0x41e0e5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push str.update_file__s_
mov byte [esp + 0x90], 0x15
call fcn.00401ab0
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x483af8
mov byte [esp + 0x94], 0x16
call fcn.00401ab0
lea ecx, [esp + 0x64]
push ecx
mov byte [esp + 0x94], 0x15
call fcn.00412920
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x90], 0x17
call fcn.004029f0
mov eax, dword [esp + 0x64]
mov byte [esp + 0x90], 0x15
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
add esp, 0xc
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dff8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x24]
push esi
call fcn.00409eb0
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x88], 3
add esp, 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e029
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x84], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e04b
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
inc ebx
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
jge 0x41e228
mov eax, dword [esp + 0x90]
jmp 0x41d9a6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x84], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e08e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
or edx, 0xffffffff
lea ecx, [esi + 0xc]
mov byte [esp + 0x84], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e0b2
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea ecx, [esp + 0x64]
mov dword [esp + 0x84], 0xffffffff
call fcn.00443883
xor al, al
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
test eax, eax
setne cl
test ecx, ecx
jne 0x41e0ef
push 0x80004005
call fcn.004011b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x8c]
push esi
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
mov bl, 0x11
push str.move_file_error__s_to__s_
mov byte [esp + 0x94], bl
call fcn.00401ab0
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0x483af8
mov byte [esp + 0x98], 0x12
call fcn.00401ab0
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x98], bl
call fcn.00412920
add esp, 0xc
mov byte [esp + 0x8c], 0x13
mov eax, dword [eax]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004029f0
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x94], bl
add esp, 0x10
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e18e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x28]
push edi
call fcn.00409eb0
add esp, 4
lea eax, [edi - 0x10]
jmp 0x41e06d
test eax, eax
setne cl
test ecx, ecx
jne 0x41e1b6
push 0x80004005
call fcn.004011b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x8c]
push esi
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
mov bl, 0x18
push str.copy_file_error__s_to__s_
mov byte [esp + 0x94], bl
call fcn.00401ab0
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0x483af8
mov byte [esp + 0x98], 0x19
call fcn.00401ab0
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x98], bl
call fcn.00412920
add esp, 0xc
mov byte [esp + 0x8c], 0x1a
jmp 0x41e157
call fcn.00441013
lea ecx, [esp + 0x64]
mov dword [esp + 0x84], 0xffffffff
call fcn.00443883
mov al, 1
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret