Function at 0x446a40
Capabilities:
Access peb ldr_data
Move file

Disassembly:
push 0xffffffffffffffff
push 0x5f20c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
push 0x68400c
lea ecx, [esp + 0x10]
call fcn.00466990
xor edi, edi
push 0x68400c
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], edi
call fcn.00466990
mov eax, dword [esp + 0x30]
mov byte [esp + 0x28], 1
cmp eax, edi
jne 0x446a95
cmp dword [0x685efc], edi
jne 0x446ce5
push ebx
push ebp
lea ecx, [esp + 0x18]
call fcn.0046df10
lea eax, [esp + 0x18]
mov byte [esp + 0x30], 2
push eax
call fcn.0041aed0
mov eax, dword [esp + 0x20]
add esp, 4
mov ebx, 0x662f50
xor ebp, ebp
test eax, eax
jle 0x446bfd
mov ecx, dword [ebx]
push ecx
lea ecx, [esp + 0x14]
call fcn.004674e0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov eax, dword [edx + ebp*4]
push eax
push str._LocalAppData_
call fcn.004691d0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.004673b0
push str..bak
lea ecx, [esp + 0x18]
call fcn.00467e40
mov ecx, dword [esp + 0x14]
push 0
push ecx
call fcn.0048fb60
add esp, 8
test eax, eax
jne 0x446ba3
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.0048fb60
add esp, 8
test eax, eax
je 0x446ba3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x446b74
mov eax, dword [0x6844b0]
test eax, eax
je 0x446b62
push str.RestoreFils_SCClient_1
push str.Update
push 0xf
push 0x684444
call fcn.00431aa0
add esp, 0x10
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 4
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [0x6844b0]
test eax, eax
je 0x446bf0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push edi
push str.RestoreFils_SCClient_2__j_d____s____s_
push str.Update
push 0xf
push 0x684444
call fcn.00431aa0
add esp, 0x1c
jmp 0x446bf0
mov eax, dword [0x6844b0]
test eax, eax
je 0x446bf0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
push 0
push eax
call fcn.0048fb60
add esp, 8
push eax
push 0
push esi
call fcn.0048fb60
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 8
push eax
push ecx
push edx
push edi
push str.RestoreFils_SCClient__j_d____s____s____d____d_
push str.Update
push 0xf
push 0x684444
call fcn.00431aa0
add esp, 0x24
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jl 0x446ac5
add ebx, 4
inc edi
cmp ebx, 0x662f60
jb 0x446abb
lea ecx, [esp + 0x18]
mov dword [0x685efc], 1
mov byte [esp + 0x30], 1
call fcn.0046df20
mov eax, dword [esp + 0x38]
pop ebp
test eax, eax
pop ebx
je 0x446ce5
call fcn.004023a0
push eax
lea ecx, [esp + 0x10]
call fcn.004675b0
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
call fcn.004673b0
push str._binoldnw.bak
lea ecx, [esp + 0x10]
call fcn.00467e40
push str._bin_nw.exe
lea ecx, [esp + 0xc]
call fcn.00467e40
mov ecx, dword [esp + 8]
push 0
push ecx
call fcn.0048fc70
add esp, 8
test eax, eax
je 0x446ce5
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.0048f870
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
push ecx
mov byte [esp + 0x34], 3
call fcn.00487e60
push eax
push esi
call fcn.00490810
mov eax, dword [0x6844b0]
add esp, 0x14
test eax, eax
je 0x446cd7
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 8]
push edx
push eax
push str.RestoreFils_SCClient_NW___s____s_
push str.Update
push 0xf
push 0x684444
call fcn.00431aa0
add esp, 0x18
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.00467200
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.00467200
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00467200
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret