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

Disassembly:
push 0xffffffffffffffff
push 0x489ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b2098]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
lea ecx, [esp + 0x64]
call fcn.0044e923
mov eax, dword [esp + 0x8c]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x88], 0
call fcn.00402410
push 0x490e2c
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x90], 1
call fcn.00403080
add esp, 0xc
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x8c], 2
call fcn.0044e99e
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 0x424e3a
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 0x424e62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x425592
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 0x425708
test ebx, ebx
jl 0x425703
cmp ebx, dword [eax + 8]
jge 0x425703
mov ecx, dword [eax + 4]
lea eax, [ecx + ebx*4]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401380
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.00401380
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00405ef0
add esp, 4
push 0
push esi
lea ecx, [esp + 0x6c]
call fcn.0044e99e
lea ecx, [esp + 0x64]
mov edi, eax
call fcn.0044e5b4
test edi, edi
je 0x42527b
push esi
call fcn.004086c0
add esp, 4
test eax, eax
jne 0x42527b
push str..__old
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.00403080
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 0x424f4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x424fa9
push str..__old
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00403080
mov eax, dword [eax]
push eax
mov byte [esp + 0x94], 4
call fcn.00408a50
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 0x42527b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42527b
call fcn.0044ba29
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4255c5
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.00403080
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.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x48fda4
mov byte [esp + 0x98], 7
call fcn.00402410
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x98], 6
call fcn.00413c80
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x94], 8
call fcn.004019b0
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 0x425077
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 0x42509f
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.0040ad00
add esp, 4
xor ebx, ebx
mov edi, edi
call fcn.0044ba29
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4255c5
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.004019b0
mov edi, dword [esp + 0x30]
add esp, 0x10
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x425219
call fcn.0044ba29
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4255c5
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.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x48fda4
mov byte [esp + 0x98], 0xb
call fcn.00402410
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x98], 0xa
call fcn.00413c80
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x94], 0xc
call fcn.004019b0
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 0x4251b1
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.0040ad00
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 0x4251e2
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 0x425206
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebx
cmp ebx, 0xa
jge 0x425546
mov ebp, dword [esp + 0x40]
jmp 0x4250b0
push edi
call fcn.00408a50
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 0x425246
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, 0xa
jge 0x425546
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 0x425277
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 0x4253a2
mov edx, dword [esp + 0x8c]
push edx
lea ecx, [esp + 0x4c]
call fcn.00402410
push 0x490e2c
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x90], 0xd
call fcn.00403080
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 0x4252e0
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 0x425308
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0044ba29
xor ecx, ecx
test edi, edi
je 0x4255bc
test eax, eax
setne cl
test ecx, ecx
je 0x4255c5
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.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x48fda4
mov byte [esp + 0x94], 0xf
call fcn.00402410
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x94], 0xe
call fcn.00413c80
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x90], 0x10
call fcn.004019b0
mov eax, dword [esp + 0x58]
mov byte [esp + 0x90], 0xe
jmp 0x4254b9
mov ecx, dword [esp + 0x8c]
push ecx
lea ecx, [esp + 0x58]
call fcn.00402410
push 0x490e2c
push eax
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x90], 0x14
call fcn.00403080
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 0x4253fc
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 0x425424
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0044ba29
xor ecx, ecx
test edi, edi
je 0x425683
test eax, eax
setne cl
test ecx, ecx
je 0x4255c5
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.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x48fda4
mov byte [esp + 0x94], 0x16
call fcn.00402410
lea ecx, [esp + 0x64]
push ecx
mov byte [esp + 0x94], 0x15
call fcn.00413c80
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x90], 0x17
call fcn.004019b0
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 0x4254d8
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.0040ad00
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 0x425509
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 0x42552b
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 0x425708
mov eax, dword [esp + 0x90]
jmp 0x424e86
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 0x42556e
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 0x425592
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.0044e94c
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 0x4255cf
push 0x80004005
call fcn.00401000
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.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0x48fda4
mov byte [esp + 0x98], 0x12
call fcn.00402410
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x98], bl
call fcn.00413c80
add esp, 0xc
mov byte [esp + 0x8c], 0x13
mov eax, dword [eax]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004019b0
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 0x42566e
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.0040ad00
add esp, 4
lea eax, [edi - 0x10]
jmp 0x42554d
test eax, eax
setne cl
test ecx, ecx
jne 0x425696
push 0x80004005
call fcn.00401000
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.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0x48fda4
mov byte [esp + 0x98], 0x19
call fcn.00402410
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x98], bl
call fcn.00413c80
add esp, 0xc
mov byte [esp + 0x8c], 0x1a
jmp 0x425637
call fcn.0043ea0b
lea ecx, [esp + 0x64]
mov dword [esp + 0x84], 0xffffffff
call fcn.0044e94c
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