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

Disassembly:
push 0xffffffffffffffff
push 0x488f38
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
lea ecx, [esp + 0x64]
call fcn.00453c6b
mov eax, dword [esp + 0x8c]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x88], 0
call fcn.00401bd0
push 0x490654
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x90], 1
call fcn.00403ce0
add esp, 0xc
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x8c], 2
call fcn.00453d03
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 0x42b26a
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 0x42b292
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x42b9c2
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 0x42bb38
test ebx, ebx
jl 0x42bb33
cmp ebx, dword [eax + 8]
jge 0x42bb33
mov ecx, dword [eax + 4]
lea eax, [ecx + ebx*4]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401660
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.00401660
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00409f60
add esp, 4
push 0
push esi
lea ecx, [esp + 0x6c]
call fcn.00453d03
lea ecx, [esp + 0x64]
mov edi, eax
call fcn.004538fc
test edi, edi
je 0x42b6ab
push esi
call fcn.0040c4d0
add esp, 4
test eax, eax
jne 0x42b6ab
push str..__old
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.00403ce0
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 0x42b37d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x42b3d9
push str..__old
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00403ce0
mov eax, dword [eax]
push eax
mov byte [esp + 0x94], 4
call fcn.0040c860
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 0x42b6ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42b6ab
call fcn.0044dc57
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42b9f5
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.00403ce0
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.00401bd0
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.MAIN
mov byte [esp + 0x98], 7
call fcn.00401bd0
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x98], 6
call fcn.00416a90
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x94], 8
call fcn.00403ac0
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 0x42b4a7
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 0x42b4cf
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.0040e570
add esp, 4
xor ebx, ebx
mov edi, edi
call fcn.0044dc57
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42b9f5
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.00403ac0
mov edi, dword [esp + 0x30]
add esp, 0x10
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x42b649
call fcn.0044dc57
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42b9f5
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.00401bd0
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push str.MAIN
mov byte [esp + 0x98], 0xb
call fcn.00401bd0
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x98], 0xa
call fcn.00416a90
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x94], 0xc
call fcn.00403ac0
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 0x42b5e1
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.0040e570
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 0x42b612
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 0x42b636
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebx
cmp ebx, 0xa
jge 0x42b976
mov ebp, dword [esp + 0x40]
jmp 0x42b4e0
push edi
call fcn.0040c860
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 0x42b676
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, 0xa
jge 0x42b976
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 0x42b6a7
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 0x42b7d2
mov edx, dword [esp + 0x8c]
push edx
lea ecx, [esp + 0x4c]
call fcn.00401bd0
push 0x490654
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x90], 0xd
call fcn.00403ce0
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 0x42b710
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 0x42b738
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0044dc57
xor ecx, ecx
test edi, edi
je 0x42b9ec
test eax, eax
setne cl
test ecx, ecx
je 0x42b9f5
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.00401bd0
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push str.MAIN
mov byte [esp + 0x94], 0xf
call fcn.00401bd0
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x94], 0xe
call fcn.00416a90
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x90], 0x10
call fcn.00403ac0
mov eax, dword [esp + 0x58]
mov byte [esp + 0x90], 0xe
jmp 0x42b8e9
mov ecx, dword [esp + 0x8c]
push ecx
lea ecx, [esp + 0x58]
call fcn.00401bd0
push 0x490654
push eax
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x90], 0x14
call fcn.00403ce0
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 0x42b82c
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 0x42b854
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0044dc57
xor ecx, ecx
test edi, edi
je 0x42bab3
test eax, eax
setne cl
test ecx, ecx
je 0x42b9f5
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.00401bd0
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push str.MAIN
mov byte [esp + 0x94], 0x16
call fcn.00401bd0
lea ecx, [esp + 0x64]
push ecx
mov byte [esp + 0x94], 0x15
call fcn.00416a90
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x90], 0x17
call fcn.00403ac0
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 0x42b908
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.0040e570
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 0x42b939
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 0x42b95b
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 0x42bb38
mov eax, dword [esp + 0x90]
jmp 0x42b2b6
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 0x42b99e
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 0x42b9c2
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.00453c94
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 0x42b9ff
push 0x80004005
call fcn.00401280
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.00401bd0
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push str.MAIN
mov byte [esp + 0x98], 0x12
call fcn.00401bd0
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x98], bl
call fcn.00416a90
add esp, 0xc
mov byte [esp + 0x8c], 0x13
mov eax, dword [eax]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00403ac0
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 0x42ba9e
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.0040e570
add esp, 4
lea eax, [edi - 0x10]
jmp 0x42b97d
test eax, eax
setne cl
test ecx, ecx
jne 0x42bac6
push 0x80004005
call fcn.00401280
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.00401bd0
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push str.MAIN
mov byte [esp + 0x98], 0x19
call fcn.00401bd0
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x98], bl
call fcn.00416a90
add esp, 0xc
mov byte [esp + 0x8c], 0x1a
jmp 0x42ba67
call fcn.0044d954
lea ecx, [esp + 0x64]
mov dword [esp + 0x84], 0xffffffff
call fcn.00453c94
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