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

Disassembly:
mov eax, 0x100c8404
call fcn.100a35ac
sub esp, 0x38
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
call dword [eax + 0x18]
push dword [edi + 0x1c]
mov dword [edi + 8], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, edi
call fcn.1009ac75
mov eax, dword [edi + 0xc]
lea ecx, [eax + 0x1c]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp ebx, eax
jae 0x1009ad36
push ebx
call fcn.10001bf2
mov esi, dword [eax]
push str.unpack
lea ecx, [esi + 0x30]
call fcn.10002834
push esi
mov ecx, edi
test eax, eax
jne 0x1009ad2e
call fcn.1009ab5d
jmp 0x1009ad33
call fcn.10099b31
inc ebx
jmp 0x1009acf8
mov eax, dword [edi + 0xc]
add eax, 0x34
push eax
mov ecx, edi
call fcn.10099c0e
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.100404f4
pop ecx
pop ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.1001bdaf
push str.Toolbar.dll
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.10005f07
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.10027133
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10001d29
push str.Helper.dll
lea ecx, [ebp - 0x1c]
call fcn.10005f07
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.10027133
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10001d29
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x44]
sar eax, 2
cmp dword [ebp - 0x1c], eax
jae 0x1009aeca
push dword [ebp - 0x1c]
call fcn.10001bf2
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10005363
add esp, 0xc
push str..new
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 5
call fcn.100053c1
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10001d29
test esi, esi
je 0x1009aeb3
push str..new
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100053c1
mov eax, dword [eax]
add esp, 0xc
push 9
push dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x28]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.10001d29
test bl, bl
je 0x1009aeb3
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.10003561
push 0x104
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.1000357f
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.10002a69
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.10003561
mov ecx, edi
call fcn.1009a6b8
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.10001d29
jmp 0x1009ae21
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10001d29
inc dword [ebp - 0x1c]
jmp 0x1009adbd
call fcn.1000db5a
push dword [ebp - 0x44]
call fcn.100a2009
pop ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001d29
mov eax, dword [edi + 0xc]
add eax, 0x4c
push eax
mov ecx, edi
call fcn.10099c0e
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x100cb0a0
call fcn.10005f07
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.JustUpdated
mov byte [ebp - 4], 7
call fcn.10005f07
mov byte [ebp - 4], 0
call fcn.100402b5
add esp, 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret