Function at 0x405d60
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46267d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x47e700]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov ecx, str.Starting_Installation.
mov dword [ebp - 0x10], 0
mov dword [ebx], eax
mov eax, str.Starting_Uninstallation.
cmp dword [0x480140], 0
cmove eax, ecx
push eax
call fcn.004282a0
add esp, 4
call fcn.00409bc0
push 0xffffffffffffffff
mov ecx, ebx
call fcn.004057e0
push 0
push dword [0x480168]
mov ecx, 0x480150
call fcn.0040a110
push 0x428050
push 0
push dword [0x480170]
mov ecx, 0x480150
push str.InitSession
call fcn.0040a950
cmp dword [0x480140], 0
jne 0x405e32
mov eax, dword [ebx]
push ecx
mov esi, esp
mov dword [ebp + 8], esi
mov eax, dword [eax + 0x30]
sub eax, 0x10
push eax
call fcn.00403650
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004084a0
add esp, 8
mov ecx, 1
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x405e35
mov byte [ebp + 0xb], cl
jmp 0x405e39
mov ecx, dword [ebp - 0x10]
mov byte [ebp + 0xb], 0
test cl, 1
je 0x405e59
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405e59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp + 0xb], 0
je 0x405e8b
push ecx
mov ecx, esp
push str.cond_pkg
call fcn.00401840
mov ecx, ebx
call fcn.00403470
test eax, eax
jne 0x405e8b
mov dword [0x48014c], 1
push str.Installation_canceled.
jmp 0x40600c
mov eax, dword [ebx]
xor esi, esi
cmp dword [eax + 0x3c], esi
jle 0x405fd6
xor ecx, ecx
mov dword [ebp + 8], ecx
nop dword [eax]
cmp dword [0x480148], 0
jne 0x405fd6
test ecx, ecx
js 0x406028
cmp esi, dword [eax + 0x3c]
jge 0x406028
mov edi, dword [eax + 0x38]
mov eax, dword [edi + ecx + 0x10]
add edi, ecx
cmp dword [0x480140], 0
je 0x405ed5
cmp eax, 1
jmp 0x405ed7
test eax, eax
jne 0x405fc1
cmp dword [edi + 0x14], 0
jne 0x405fc1
push dword [edi + 4]
push str.Action:__s...
call fcn.004282a0
push esi
push dword [0x480168]
lea eax, [ebx + 4]
push 0x466d18
push eax
call fcn.00403ec0
mov ecx, dword [ebx]
add esp, 0x18
push esi
call fcn.0040c970
test al, al
je 0x405fa4
mov eax, dword [ebx]
cmp dword [eax + 0x18], 0
je 0x405f7a
push 0
push dword [ebx + 4]
call fcn.0043982f
mov dword [ebp - 0x10], eax
test eax, eax
je 0x405f7a
push str.D:_apreltechSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x14]
call fcn.00401740
push 0x68
push dword [eax]
mov dword [ebp - 4], 0
push dword [ebp - 0x10]
call fcn.00426c80
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405f7a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [ebx + 4]
call fcn.00439908
test eax, eax
je 0x405f95
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x405fa4
push 0
push dword [ebx + 4]
push 3
call fcn.00426c80
add esp, 0xc
push esi
push edi
mov ecx, ebx
call fcn.00405560
push dword [0x480168]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.00409bc0
mov ecx, dword [ebp + 8]
mov eax, dword [ebx]
inc esi
add ecx, 0xb8
mov dword [ebp + 8], ecx
cmp esi, dword [eax + 0x3c]
jl 0x405ea0
cmp dword [0x480140], 0
je 0x405ff0
mov dword [0x480148], 0
push str.Uninstallation_complete.
jmp 0x40600c
cmp dword [0x480148], 0
je 0x406000
push str.Installation_aborted
jmp 0x40600c
mov ecx, ebx
call fcn.00402c80
push str.Installation_complete.
call fcn.004282a0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00429c0d
int3