Function at 0x49b430
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f58b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4c
mov eax, dword [0x5925f0]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa50], ecx
mov ecx, dword [0x594280]
call fcn.0042bca0
mov ecx, eax
call fcn.0042b220
push eax
lea ecx, [ebp - 0x40]
call fcn.004015d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004017c0
push eax
lea ecx, [ebp - 0x60]
call fcn.0040a500
mov byte [ebp - 4], 1
push 0x5c
lea ecx, [ebp - 0x60]
call fcn.00428e90
add eax, 1
push eax
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0x60]
call fcn.00428ee0
mov dword [ebp - 0xa54], eax
mov ecx, dword [ebp - 0xa54]
mov dword [ebp - 0xa58], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xa58]
push edx
lea ecx, [ebp - 0x60]
call fcn.004291a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4c]
call fcn.0043b550
push 0x555f68
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00403ab0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.004017c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49b522
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x49b53c
push 1
lea ecx, [ebp - 0x40]
call fcn.004017c0
push eax
lea ecx, [ebp - 0x5c]
call fcn.004017c0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c4f0
push 0x11
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c7d0
mov dword [ebp - 0x10], eax
push 2
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c810
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x10], 0
je 0x49b6ee
mov word [ebp - 0x83c], 0
push 0x3e6
push 0
lea edx, [ebp - 0x83a]
push edx
call fcn.004caa30
add esp, 0xc
mov word [ebp - 0x454], 0
push 0x3e6
push 0
lea eax, [ebp - 0x452]
push eax
call fcn.004caa30
add esp, 0xc
mov word [ebp - 0xa44], 0
push 0x206
push 0
lea ecx, [ebp - 0xa42]
push ecx
call fcn.004caa30
add esp, 0xc
mov dword [ebp - 0xa48], 0
mov edx, dword [ebp - 0x64]
push edx
mov ecx, dword [0x594280]
call fcn.0042bca0
mov ecx, eax
call fcn.0042b180
push eax
push str._sSkin_s.gss
lea eax, [ebp - 0x83c]
push eax
call fcn.004cb62b
add esp, 0x10
lea ecx, [ebp - 0x83c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49b637
mov dword [ebp - 0xa48], 1
jmp 0x49b67d
mov edx, dword [ebp - 0x64]
push edx
mov ecx, dword [0x594280]
call fcn.0042bca0
mov ecx, eax
call fcn.0042b1c0
push eax
push str._sAllSkin_s.gss
lea eax, [ebp - 0x83c]
push eax
call fcn.004cb62b
add esp, 0x10
lea ecx, [ebp - 0x83c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49b67d
mov dword [ebp - 0xa48], 1
cmp dword [ebp - 0xa48], 0
je 0x49b6ee
push 0x555fb4
mov ecx, dword [0x594280]
call fcn.0042bca0
mov ecx, eax
call fcn.0042b180
push eax
push 0x555fcc
lea edx, [ebp - 0xa44]
push edx
call fcn.004cb62b
add esp, 0x10
lea eax, [ebp - 0x83c]
push eax
lea ecx, [ebp - 0xa44]
push ecx
push str.__s___bindinst__s
lea edx, [ebp - 0x454]
push edx
call fcn.004cb62b
add esp, 0x10
lea eax, [ebp - 0x454]
push eax
call fcn.0042e530
add esp, 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x31
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c7f0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
push 0x31
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c970
push 0x43
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c7f0
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
push ecx
push 0x43
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c970
push 0x47
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c7f0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
push 0x47
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c970
push 0x15
mov ecx, dword [0x594280]
call fcn.0042bd00
mov ecx, eax
call fcn.0048c810
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
push 0
push 0x152
push 0x52d
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp - 0x14], 0
je 0x49b7df
push 1
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00401610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.0043b550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401610
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.004ca9d7
mov esp, ebp
pop ebp
ret