Function at 0x446a90
Capabilities:
Access peb ldr_data
Move file

Disassembly:
push 0xffffffffffffffff
push 0x5f3de0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
push 0x68718c
lea ecx, [esp + 0x10]
call fcn.004669e0
xor edi, edi
push 0x68718c
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], edi
call fcn.004669e0
mov eax, dword [esp + 0x30]
mov byte [esp + 0x28], 1
cmp eax, edi
jne 0x446ae5
cmp dword [0x68907c], edi
jne 0x446d35
push ebx
push ebp
lea ecx, [esp + 0x18]
call fcn.0046df60
lea eax, [esp + 0x18]
mov byte [esp + 0x30], 2
push eax
call fcn.0041af20
mov eax, dword [esp + 0x20]
add esp, 4
mov ebx, 0x665ff0
xor ebp, ebp
test eax, eax
jle 0x446c4d
mov ecx, dword [ebx]
push ecx
lea ecx, [esp + 0x14]
call fcn.00467530
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov eax, dword [edx + ebp*4]
push eax
push str._LocalAppData_
call fcn.00469220
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.00467400
push str..bak
lea ecx, [esp + 0x18]
call fcn.00467e90
mov ecx, dword [esp + 0x14]
push 0
push ecx
call fcn.0048fbb0
add esp, 8
test eax, eax
jne 0x446bf3
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.0048fbb0
add esp, 8
test eax, eax
je 0x446bf3
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 0x446bc4
mov eax, dword [0x687630]
test eax, eax
je 0x446bb2
push str.RestoreFils_SCClient_1
push str.Update
push 0xf
push 0x6875c4
call fcn.00431af0
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 [0x687630]
test eax, eax
je 0x446c40
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 0x6875c4
call fcn.00431af0
add esp, 0x1c
jmp 0x446c40
mov eax, dword [0x687630]
test eax, eax
je 0x446c40
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
push 0
push eax
call fcn.0048fbb0
add esp, 8
push eax
push 0
push esi
call fcn.0048fbb0
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 0x6875c4
call fcn.00431af0
add esp, 0x24
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jl 0x446b15
add ebx, 4
inc edi
cmp ebx, 0x666000
jb 0x446b0b
lea ecx, [esp + 0x18]
mov dword [0x68907c], 1
mov byte [esp + 0x30], 1
call fcn.0046df70
mov eax, dword [esp + 0x38]
pop ebp
test eax, eax
pop ebx
je 0x446d35
call fcn.004023a0
push eax
lea ecx, [esp + 0x10]
call fcn.00467600
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
call fcn.00467400
push str._binoldnw.bak
lea ecx, [esp + 0x10]
call fcn.00467e90
push str._bin_nw.exe
lea ecx, [esp + 0xc]
call fcn.00467e90
mov ecx, dword [esp + 8]
push 0
push ecx
call fcn.0048fcc0
add esp, 8
test eax, eax
je 0x446d35
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.0048f8c0
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
push ecx
mov byte [esp + 0x34], 3
call fcn.00487eb0
push eax
push esi
call fcn.00490860
mov eax, dword [0x687630]
add esp, 0x14
test eax, eax
je 0x446d27
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 0x6875c4
call fcn.00431af0
add esp, 0x18
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.00467250
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.00467250
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00467250
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret